Giter Club home page Giter Club logo

flytime's Introduction

FlyTime - For Towny

This plugin allows you to grant time-limited flying permission, and restrict it to a player's own town borders.

Permissions

  • flytime.townflight - required to allow flight.
  • flytime.give - required to allow giving out fly-time. (grant this permission to admins/mods)

Commands

There is only one command: /flytime

With no arguments it enables flight when the player is within their town borders, has fly-time available, and has the flytime.townflight permission. The players available fly-time is only used up while they are actually in flight.

if at any point the player remains on the ground for 5 seconds, flight is automatically disabled. this is to prevent exploiting /flytime for permanent fall-damage immunity.

/flytime give <player> <time_in_seconds> can be used by anyone with the flytime.give permission to give fly-time to other players.

flytime's People

Contributors

andrepl avatar

Watchers

 avatar

flytime's Issues

Players occasionally take falling damage.

The server was reporting no performance issues at the time. The log shows:

2013-02-19 04:45:35 [INFO] [FlyTime] Starting flight for klangg
2013-02-19 04:45:53 [INFO] [FlyTime] Ending flight for klangg
2013-02-19 04:45:53 [INFO] [FlyTime] Disabling flight for klangg
2013-02-19 04:45:54 [INFO] klangg hit the ground too hard
2013-02-19 04:45:54 [INFO] [FlyTime] Adding klangg to falling players list.
2013-02-19 04:45:54 [INFO] [FlyTime] klangg went from Y=64.0 to 64.0 # This line repeated 130 times.
2013-02-19 04:46:29 [INFO] [FlyTime] klangg went from Y=64.0 to 64.41999998688698
2013-02-19 04:46:29 [INFO] [FlyTime] klangg was falling, but moved upward. not falling.
2013-02-19 04:46:29 [INFO] [FlyTime] KatyaPryde was falling, but moved upward. not falling.

It looks like the plugin didn't notice the player was falling until after they landed. The player was descending using shift at the time. Other players have noted that it happens when crossing the town border into the wilderness rarely.

Using Craftbukkit RB 1.2.7-R1.0 with Towny v0.82.1.0 and FlyTime v0.1.4.

Please let me know if you need any additional information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.