Paste #80565: No quick join!

Date: 2021/02/09 08:49:49 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14


no_quick_join_world:
    type: world
    debug: false
    events:
        on server start:
        - flag server start_time:<util.time_now>
        on player logs in:
        - if <util.time_now.duration_since[<server.flag[start_time]>].in_seconds> < 10:
            - determine "KICKED:Slow down, server still loading!"
        on server list ping:
        - if <util.time_now.duration_since[<server.flag[start_time]>].in_seconds> < 10:
            - determine passively "<server.flag[cmdcoerror]>Server is loading..."
            - determine passively VERSION_NAME:Loading
            - determine passively PROTOCOL_VERSION:999