Player Status - momoservertw/PlayerdataPlus GitHub Wiki
Automatically disable the special status of players such as flight mode and creative mode.
Improves server security and make special states more customizable.
How to create a temporary fly for players?
- A flight plugin like EssentialsX and CMI.
- Sets temporary permission for players using LuckPerms.
- Uses ItemJoin to create a one-time item as a reward.
Index:
Settings
Settings:
  Check:
    Schedule:
      Enable: true
      Interval: 100
    Login: true
    Leave: false
    World-Change: false
- Check
- Schedule
- Enable - Check online players every a specific time.
- Interval - The check interval. (ticks)
 
- Login - Checks when the players join the server.
- World-Change - Checks when the players teleport to another world.
 
- Schedule
Fly
Disable player illegal fly status.
Fly:
  Enable: false
  Teleport:
    Enable: true
  Ignore:
    Permissions:
      - cmi.command.fly
    CMI:
      tfly: true
    Residence: true
  Check:
    Schedule:
      Enable: true
      Interval: 100
    Login: true
    Leave: false
    World-Change: false
  Location:
    - world
    - world_nether
    - world_the_end
- Enable - Enable checking flight mode and cancel it if player doesn't have permission or other ignore conditions.
- Teleport - Teleport players to save location and cancel the fly status.
- Ignore
- Location - The checking location. More information: Location
God
Disable player illegal god status.
Need: CMI
God:
  Enable: false
  Ignore:
    Permissions:
      - cmi.command.god
    CMI:
      tgod: true
  Check:
    Schedule:
      Enable: true
      Interval: 100
    Login: true
    World-Change: false
  Location:
    - world
    - world_nether
    - world_the_end
Op
Disable player illegal op status.
Op:
  Enable: false
  Ignore:
    Permissions: []
  Check:
    Schedule:
      Enable: true
      Interval: 100
    Login: true
    World-Change: false
  Location:
    - world
    - world_nether
    - world_the_end
Gamemode
Disable player illegal gamemode.
Gamemode:
  Enable: false
  Ignore:
    Survival:
      Enable: false
      Default: "Survival"
      Permissions:
        - cmi.command.gm.survival
    Creative:
      Enable: true
      Default: "Survival"
      Permissions:
        - cmi.command.gm.creative
    Adventure:
      Enable: true
      Permissions:
        - cmi.command.gm.adventure
    Spectator:
      Enable: true
      Default: "Survival"
      Permissions:
        - cmi.command.gm.spectator
  Check:
    Schedule:
      Enable: true
      Interval: 100
    Login: true
    World-Change: false
  Location:
    Survival: []
    Creative: []
    Adventure: []
    Spectator: []
- Ignore
- Survival
- Enable - Check survival mode.
- Default - The changing default gamemode if players failed checking.
 
 
- Survival
- Location
- Survival - The location of checking survival mode. "[]" means to check all worlds. More information: Location