Paste #57524: PlayerData

Date: 2019/08/30 23:19:05 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8


player_file:
  type: world
  events:
    on player logs in:
    - if <server.has_file[/plugins/Denizen/playerdata/<player.uuid>.yml]>:
      - yaml "load:/plugins/Denizen/playerdata/<player.uuid>.yml" id:<player.uuid>
      else 
      - yaml create id:<player.uuid>