Paste #51262: Login

Date: 2018/12/30 09:08:07 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
15
16
17
18
19


"OneBigNewPlayerLoginEvent":
  type: world
  debug: false
  events:
    On player logs in for the first time:
    - log "<server.flag[Spielercounter].as_int> ist <player.name>" type:info file:/plugins/Denizen/logs/Spielercounterlog.log
    - adjust <player> "player_list_name:<red><&chr[2671]> <gray><player.name> <green>[E 0]"

"OneBigPlayerLoginEvent":
  type: world
  debug: false
  events:
    On player logs in:
    - if <player.has_flag[Banned]||false> && <player.flag[Banned].is_expired||true> {
      - flag player Banned:!
      }
      else if <player.has_flag[Banned]||false> {
      - determine "KICKED Banned mit Grund <player.flag[Banned]>"
      }