FlyTime Version 1.2

Limit players' fly time!

  1. Captain_Sisko
    Tested Minecraft Versions:
    • 1.12
    Source Code:
    https://github.com/CaptnSisko/FlyTime
    FlyTime
    This plugin allows you to limit players' time spent flying.

    Features
    • Lightweight
    • Safe - Automatically puts player on the ground and stops counting fly time if they log out while flying
    • Highly configurable - every message can be changed. Flight time and reset interval can also be changed
    • Accurate - Tracks flight time to the second
    • UUID Compatible - flight times remain even if usernames change
    • Persistent file storage - flight times are not reset if the server is reloaded or shut down
    Commands
    [Optional Argument] <Required Argument>
    • /fly - fly for a limited or unlimited time depending on permission
    • /flytime [player] - check your own fly time someone else's
    • /flyreset <player> - reset someone's fly time
    • /flyreload - reload the plugin configuration
    Permissions
    • flytime.fly - fly and check your own fly time with /flytime
    • flytime.unlimitedfly - fly without time restriction
    • flytime.others - check others' fly time with /flytime [player]
    • flytime.reset - reset others' fly time with /flyreset <player>
    • flytime.reload - reload the plugin with /flyreload
    Configuration
    Code (Text):
    flyTime: 1800 # Amount of time in seconds of allowed flight
    flyResetTime: 86400 # Interval of flight reset. Set to -1 to disable
    teleportOnLogout: true # enables/disables teleportation to the ground after logging out
    autoTeleportToGround: true # enables/disables teleportation to the ground after disabling flight
    prefix: '&3[&bFlyTime&3]&r ' # prefixes all messages.
    lang: # change all messages here
      noFlyPermissionMessage: '&cYou can''t fly!'
      noFlyTimePermissionMessage: '&cYou don''t have permission to check others'' fly
        time!'
      noResetPermissionMessage: '&cYou don''t have permission to reset fly times!'
      noReloadPermissionMessage: '&cYou don''t have permission to reload FlyTimes!'
      timeLeft: '&aYou have %MINUTES% minutes and %SECONDS% seconds of flight remaining.'
      timeLeftPlayer: '&a%PLAYER% has %MINUTES% minutes and %SECONDS% seconds of flight
        remaining.'
      timeLeftWarning: '&cWarning: %SECONDS% of flight remaining'
      enabled: '&aFlight enabled.'
      enabledUnlimited: '&aUnlimited flight enabled.'
      disabled: '&cFlight disabled.'
      disabledUnlimited: '&cUnlimited flight disabled.'
      noFlightTime: '&cYou''re out of flight time!'
      hasNotFlown: '&c%PLAYER% has not flown'
      usage: '&cUsage: %COMMAND%'
      flytimereset: '&aReset fly time for %PLAYER%'
      pluginreload: '&aFlyTime reloaded!'
      attemptGroundTp: '&aAttempting to teleport you to the ground safely...'
      groundTpFail: '&cCouldn''t find a safe landing spot!'
    *Note: Fly time resets are checked on player join. This means if you are online when your fly time is reset, you must rejoin for it to take effect.

    Requirements
    • Vault (used for permissions)

    PLEASE LEAVE GLITCHES ON GITHUB, NOT IN REVIEWS.
    Github Issues
    Github Code


    Thank you! Enjoy!
    EnderDragonEP and Eartharoid like this.

Recent Reviews

  1. Eartharoid
    Eartharoid
    5/5,
    Version: Version 1.2
    Awesome :)
    Works perfectly with 1.12 and is easy and simple to configure.
    ★★★★★ :D
  2. _8D_
    _8D_
    3/5,
    Version: 1.12
    Great Plugin! Can you please add a Count down. Please keep up the good work and effort.
    1. Captain_Sisko
      Author's Response
      The plugin already has a countdown feature. Please post your request in github instead of in the reviews. Thanks!
  3. RobertZigo
    RobertZigo
    5/5,
    Version: 1.12
    Amazing plugin! i love it :) sadasdasdadsasdasdasdasdasdasdadsassssssssssssssssssssssssssssss ssssssssssssssssssssss
    1. Captain_Sisko