Disable fly

Discussion in 'Spigot Plugin Help' started by tcmcraft, Mar 30, 2020.

  1. How to disable fly for players who left the server, or how to disable fly for players hwo voted and get fly for 30min?
     
  2. Disabling fly for players who have simply quit or disconnected from the server just turn Flight off from there Player Interface on the PlayerQuitEvent, you can probably find a new developer out in the Forums looking to do free commissions.

    But in terms of the Player getting Flight for 30 minutes after voting the appropriate amount of times; that should be handled appropriately via another plugin on your server.
     
  3. Where can i find PlayerQuitEvent?
     
  4. Essentials has a option to disable fly while logged off.

    And use a plugin like this for them to fly for a certain amount of time.
    https://www.spigotmc.org/resources/tempfly.54987/
     
    • Agree Agree x 1
  5. Where is that option?