TimedFly 4 BETA | MySQL/SQLite Support | 1.14 icon

TimedFly 4 BETA | MySQL/SQLite Support | 1.14 -----

Set fly mode with money for an amount of time. Has a refund system and much more




Fixed issues with future versions not working. If there's an unsupported version the plugin should work.

If there's any error create an issue here, I'll try to update it as soon as I can.

All changes can be found on the GitHub Repo.

Thank you to @Elprimero for the support.
----------, Feb 23, 2022

Hopefully this fixes issues with changing worlds and fly enable on attack and being on disabled worlds.
  • Fixed Not getting fly back after world change if type is 'all' 5606fab
  • Fixed #42 - Getting fly back on disabled world after attack 6f5e394
----------, Apr 9, 2020

This adds blacklisting worlds again. The option on the config file can now be used. Also fixes a few issues with attack mode.
@GozdniJouza here is what you wanted. Enjoy... and here is where you can change the /fly command https://github.com/Jacxk/TimedFly/blob/v4.4.0-BETA/src/main/resources/config.yml#L37
----------, Apr 6, 2020

This versions adds new currency and possibly fixes some issues I was having.
  • Added option to disable automatic timer stop 8ba9954
    • AutoStopTimer: true/false on the config.yml file
  • Added Updater & timeleft argument 2dce6f4
  • Added romanian language, thanks to axel
  • Added new currency by using items 24cb95c
  • Removed debug message c5ab92d
  • Fixed ResultSet closed error baba0b2
  • Fixed issue with timer not starting on flight 993a66a
  • Fixed issue with languages path not being found 0f1626e
  • Fixed timeleft not working for other playyers 498948e
Only if you're updating:
For this update you need to change your items.yml file and change Currency: 'vault' to
Code (YAML):
Currency:
  Type
: vault
  Item
: DIAMOND
Item can be any item.
Please report any issues on github
----------, Mar 28, 2020

This version fixes issues with timer resetting on a server restart, and adds a few changes. But hopefully the stupid issue with flight resetting is fixed. Also the plugin should work for 1.15

  • Added semi-support for 1.15 89b85d6
  • Added itialian language, thanks to Korazza d5ea651
  • Added argument to add/set time to all players. (using * instead of the player's name) 8fb0086
  • Fixed #38, time does not reset on restart 5afb3c3
  • Fixed issue with insert player into database 3f3f4e9
Please report any issues on github

Note: Sorry for the laziness i needed a break...
----------, Mar 26, 2020

  • Fixed issue with a translation not being found because of missing word. 5ecd34e
  • Fixed issue with the languages files not getting reloaded after reloading the plugin with /tf reload. bb26689
  • Fixed prefix not changing because I was using the wrong variable. d78e6bc
  • Fixed compatibility issues (Plugin not working well with other fly plugins like essentials) 577eeec
  • Added analytics for the bStats page. 192dc86
  • Added the option to toggle flight if using any of the custom commands 520fd10
  • Added onClick and onFlyFinish commands 3e116a8
  • Added short translation for the time_string (example: 5s 3m) acb3fa9
  • Implemented the translations from time_string acb3fa9
You can find all this on my github page.
----------, Nov 14, 2019

Changes
  • Fixed config resetting after /tf reload. e488ef8
  • Fixed resume message not sending translation. f1e6728
  • Added replacePlaceholder to sendMessage of player's method. e488ef8
Join my Dicord server if you have any issues and need a quick response.
Or use the issues tab, so I don't forget what I have to fix.
----------, Sep 29, 2019

Sorry for taking so long... but here it is...
I've been trying to get this update ready for a long time but because of time and bugs I've encounter on the way, I had to delay it.

Remember that this is a beta version so it doesn't have everything in it and may contain bugs so report them.

Please Read this...
----------, Sep 24, 2019

Changelog:
  • Removed Fancy messages.
  • Fixed FlyItem option on items.yml
  • Fixed something with the player join event.
Note: I don't think I'm going to continue with the development of this plugin, that means that I won't add anything else to the plugin, but I might fix some issues people have.
----------, Sep 29, 2018

Changelog:
  • Added support for 1.13.1
  • Added some type of support for Unsupported versions.
  • Fixed version number without dots on new update message.
----------, Sep 5, 2018

ChangeLog:
  • Added a new language lang_pt-br.yml.
  • Added PlayerPoints support. (Togglable in the config. Use %points% to get the player's points).
  • Added cooldown per item. (You need to add Cooldown: 1h to each of your items in items.yml).
  • Added a sub command /tfly fix, to fix any issues with the player not getting its flight ability back.
  • Added a refund system, because why not. /tfly refund
  • Fixed when changing gamemodes player could not fly again.
  • Fixed error that the player could get infinite flight time if landing at 0 seconds left.
  • Fixed flight auto-fly-enable if the player paused the time.
  • Fixed that the on/off message was sent to the wrong player.
  • Fixed an issue with the disable flight in combat mode.
  • Removed Vault from dependencies, now added to soft dependencies. (Now the plugin can work without Vault)
IMPORTANT:
On your config.yml file please add:
Code (YAML):
Refunds:
  Enabled
: true
  TimeRefund
: 5m
  RefundsPerDay
: 2
On your items.yml file please add this to all your items
Code (YAML):
Cooldown : 1h
On your language file please add this under the others part
Code (YAML):
Refund:
  TimeLimit
: '&7You have reached the time limit to be able to refund this. Limit is &a %refund_limit%'
  MaxRefunds
: '&7You have reached the max refunds today. Try again in &a %refund_cooldown%'
  NotValid
: '&7There was an error while trying to refund.'
  Refunded
: '&7You have been refunded &a %refund_amount%.'
  Disabled
: '&7Refunds are disabled.'
Fixed
: '&7Your flight has been fixed.'
I you have any problems let me know, join my discord server if you have to.
----------, Sep 4, 2018

Changelog:
  • Fixed when using timelefft command the message will send to the player given in the command.
  • Fixed issue with the timer not stopping when the player is on the ground.
  • Fixed config.yml not having LogConsoleOnBuy by default.
  • Fixed the timer stopping before reaching 0.
----------, Aug 27, 2018

Changelog:
  • Added LogConsoleOnBuy which will log when a player buys flight time, if enabled.
  • Fixed a message error on /tfly off.
  • Fixed a Player casting error on timeleft.
  • Fixed error when a player is not found.
  • Fixed issue that the player could get infinite time.
----------, Aug 21, 2018

Changelog:
  • Added a config option to toggle the skip flight time for those who have timedfly.fly.onoff
  • Added support for 1.13 (This means that the other versions might not be supported by me, meaning that if there is an error I might not fix it)
  • Fixed an issue that spammed the console non-stop.

NOTE:
You need to add this to your config
Code (YAML):
SkipFlightTimeIfHasPerm : true
If you had a version below v3.3.0 and you want to update to use 1.13, you need to go to items.yml and replace the number on every material to the name of the material, since you can't use their IDs anymore on 1.13
----------, Aug 6, 2018

Changelog:
  • Fixed the permission error (Hopefully)
  • Fixed the help message which said to use /tf help # instead of /tf help#
----------, Jul 28, 2018

Changelog:
  • Fixed where the action bar message was being sent even though it was disabled in the config.
  • Fixed an issue with the stop/resume command permission.
  • Fixed where the player got charged for buying flight time where there was a cooldown active.
  • Fixed an error with the help menu, where it said hide instead of stop
  • Fixed message error, if the player did not had permission to user the resume command.
  • Fixed where the player without permission to set time got a permission error but the command was still executed.
  • Now people with the permission to toggle flight will not get time.
  • Added more placeholders for PAPI: %timedfly_players_timeleft_oneworded%, %timedfly_players_timeleft_oneworded_short%
  • Slightly changed the name of the plugin, now called TimedFly 3
NOTE: You'll have to add this to your language file under the Other section.
Code (YAML):
CannotDo : '&cYou cannot do this.'
----------, Jul 27, 2018

Changelog:
  • Fixed issue with servers on 1.8.
  • Added two new placeholders for PAPI: %timedfly_timeleft_oneworded%, %timedfly_timeleft_oneworded_short%
  • Removed the automatic disabled of the plugin if the server version is not supported by the plugin. (I guess I didn't removed it last update...)
----------, Jul 21, 2018

Changelog:
  • Fixed issue where player could fly underground if they were standing on the ground.
  • Fixed where StopFlyOnGround will be enabled if set to `false`.
  • Removed the automatic disabled of the plugin if the server version is not supported by the plugin.
  • Disabled bossbar automatically if the server version is 1.8.
----------, Jul 19, 2018

Changelog:
  • Fixed issue where players got fly for free if they died.
  • Fixed the version of the plugin. (I forgot to change it last time)
----------, Jul 17, 2018

ChangeLog:
  • Fixed a console error that showed up when the player did not have enough money.
  • Fixed the updater.
  • Fixed an error with the boss bar (Progress must be between 0.0 and 1.0).
  • Fixed an issue with the player manager for players who were not added to the manager (which fixes an aSkyblock issue).
  • Fixed issue not enabling flight when respawning.
  • Flight time now pauses when on ground and resumes when the player starts flying with double jump.
----------, Jul 16, 2018

Hi people, I know I haven't updated this plugin since forever but I just got lazy because the code was so awful that I got depressed just thinking about it, but I've come to the decision to re-code most of it.

If you have any errors please let me know on my discord server since it's the place where I spend the most time.


Changes:
  • Re-coded the entire plugin to increase performance.
  • Fixed most errors that people always had in v2
  • Fixed the bossbartimer.
  • New placeholders added for PlaceholderAPI:
    • %timedfly_timeleft_formatted%
    • %timedfly_timeleft_formatted_short
    • %timedfly_timeleft_seconds%
    • %timedfly_timeleft_millis%
    • %timedfly_players%
    • %timedfly_players_timeleft%
    • %timedfly_players_timeleft_short%
  • Added /tf update-config command to update the config.yml file if there is something missing.
----------, Jul 2, 2018

ChangeLog:
  • Fixed that when changing game-mode back to survival the fly did not enable again.
  • That's it
Thanks to tnecniv for reporting it. Don't forget to join my discord server.
----------, Apr 22, 2018

ChangeLog:
  • Fixed that the gui will still appear even if it was disabled using the custom command.
  • Hopefully fix a weird error.
----------, Apr 21, 2018

FIXED A STUPID MISTAKE I MADE WITH THE UPDATER... I WANNA DIE...

I have to update because if I don't there are going to be people that are going to complain because they get an error on the plugin enable and on join. But, yeah, sorry for all these updates.

Here is a funny history: I updated the wrong plugin by accident... how nice is that... (kill me pls)
----------, Apr 17, 2018

Changelog:
  • Fixed an error in the code where I forgot to change the path of some message.
  • Fixed the update checker. (It was checking for other plugin :() EDIT: Disable check for updates because I'm so stupid that I forgot to change the plugin name when checking for updates...
  • Fixed the set and add commands where you'll get an error if you didn't use the command correctly.
Thank you cwyfl#7129 for letting me know about these errors on my discord server. JOIN MY DISCORD SERVER.
----------, Apr 17, 2018

Changelog:
  • Fixed an error that showed up when the player joins or leaves.
  • Changed language strings on the Hungarian file.
  • Maybe fixed the set time command. If it doesn't work try using, for example: 1h 30m 50s
----------, Apr 17, 2018

Hello there, sorry for not updating the plugin frequently and its because I don't have much time, I have to study and do some other shit (like play fortnite). I'm also working in a discord bot, so that's why spigot is on a side for now. Lets start with the changes...

  • Fixed the bossbar thingy that I removed because it didn't work, but now its fixed.
  • Fixed the set/add fly command, I think... I don't remember if it was broken before this update...
  • Fixed titles not showing up.
  • Changed the updater for one that is better (Made by me)
  • Added a feature that if you hit a mob/player your fly will be disable for 10 seconds.
  • Added an option to disable the action bar message. Someone asked for it so there you go person that I don't remember.
  • Now Github will be updated every time I update the plugin.
I have to implement other things but I'm realeasing this version beacuse I don't want to start working on it and break everything if this version gives you problems.
Join my discord server if you have any problems please. That way I can know what errors there are because I don't remember who talked to me from here.

If I you told me to add/fix something and its not on this update just tell me again because I forgot about it.
----------, Apr 15, 2018

ChangeLog:
  • Fixed a few errors that showed up when the server starts.
  • Fixed an error when the player clicks an item to buy time.
  • Added the ability to see other player's time left.
  • Change Vault from Depends to Soft-Depends.
Thanks to @ JohZant and @ ronc617 for letting me know about these errors.
If you encounter another error let me know by PM or Discord.
----------, Mar 5, 2018

I know I've been inactive for a long time, but it's because I just started to go to college and I don't have too much time to work on plugins. Sorry for not updating the plugin for almost a month :c

ChangeLog:
  • Fixed the cooldown that wasn't working for custom cmd.
  • Fixed an error that showed up when a player's time finished.
  • Fixed disabled worlds, it wasn't working before.
  • Added a new option in the config StopTimerOnBlackListedWorld, this will stop the timer when a player enters a world where the plugin is disabled.
  • Added a new currency option from EXP points.
  • Made some code optimization.
  • Changed updater. (new permission timedfly.getupdate)
Thanks to all the people who reported these issues. (Like if you are one of those people)
If you have any errors just let me know. Join my discord server to get support quicker. CLICK HERE
----------, Mar 2, 2018

ChangeLog:
  • Changed the way on how the database will get update, now its using a cache system and the database will be updated on every player disconnect to increase performance.
  • Fixed an issue (finally) that when a player had the time stopped and uses the timeleft command it will show as no fly time left. Reported by @DaveDevil and others (I think)
  • Fixed an error when shutting down the server. Reported by @Small_Pear
  • Readded the option to toggle if the time will be saved when disconnecting from the server. Requested by @yousefbassam1234
  • Added a new message for when you add time to a player. (Please send me the translated string of the missing languages in the Discussion area. (I got lazy and didnt wanted to translate them :D)
  • Last, changed some code :p
Well since today is Friday (aka Lazy-Day) I didnt tested the plugin 100+ times to make sure it doesnt have a hidden bug, so please let me know if there is one.
----------, Jan 19, 2018

ChangeLog:
  • Fixed the resume argument for the custom fly cmd, which was executing the stop flight time cmd.
  • Added an option to toggle the ASkyBlock support requested by @Elprimero
Any Issue let me now as soon as possible.
----------, Jan 16, 2018

ChangeLog:
  • Added ASkyBlock support, when the player exits their island flight mode will be disabled. Requested by Dragonfire241.
  • Fixed a possible bug when the config not generating right. (If the config does not have comments try to see the one in the main page)
  • Using defaults now for the config.
  • Added the resume and stop arguments to the custom command.
If you encounter any problem please let me know as soon as possible.
Sorry for the late update but I've been busy working on other plugins. :3
----------, Jan 14, 2018

ChangeLog:
  • Fixed an SQL error while trying to update the table. Reported by ronc617.
  • Fixed a missing string in the SQL code :)
If you encounter a problem PM me :)
----------, Jan 5, 2018

ChangeLog:
  • Removed a message that was broadcast numbers when using /tfly add <player> <time> (I was testing and forgot to remove that sorry)
  • Fixed something with the time left command.
----------, Jan 3, 2018

ChangeLog:
  • Fixed an issue that when the player uses /tfly stop he will take fall damage.
  • Fixed an issue with the add time command when the player have the timer stopped it wouldn't add the time told by the command
  • Changed the update format (in Spigot) instead of Fixed and Added is now change log :D
Thanks to Elprimero for reporting this issues, also thank you all for all the support I really appreciate it, and Happy New Year!!! :D
----------, Jan 3, 2018

Fixed:
  • Permission for the new arguments not working.
  • Some errors that occurred when using one of the /tf command arg.
Thanks to ronc617 for reporting the permission bug I appreciate it :D :)
----------, Dec 31, 2017

Sorry if I didn't make an update before, since we are in Christmas people are not always in their home. But here is the update for some people that reported some bugs... If something wrong happens with this update try to contact me.

Fixed:

  • Auto-updater when trying to download a new update.
  • Some minor bugs.
Changes:
  • Added 2 new cmd's arg, stop and resume to save and resume the time left a player has.
  • Added new permission to be able to use the new arguments.
    timedfly.fly.stopresume.
----------, Dec 31, 2017

Fixed:
  • NPE/ERROR when using spigot 1.8 because of the bossbar.
  • NPE/ERROR when adding time to players because of the bossbar.
  • A missing message when using /tfly add.
  • The update check is now checking for an update every 3 hours.
If you are setting the bossbar to true you need to restart or reload your server, the built in cmd doesn't work for that yet.

Any other error please let me know ;D
----------, Dec 21, 2017

PLEASE READ THE CHANGES.

Fixed:

  • Changing worlds bug if a player had time left.
  • Nothing else that I can remember.
Changes
  • Added a level currency so you can charge players levels to buy time.
  • Added BossBar time left thing. (only for spigot 1.9 and above, I think).
  • Added more messages.
  • Changes in the config will be automatically made from new versions.
  • Added commands to be executed when the time of the player is over.
  • Moved announcer times and some other things such as sounds to the config.yml
  • Added a Sound enable value for some people...
  • Added a option to enable flight if the player has permission, timedfly.fly.onof, using one of the custom cmds.
  • Added a new language file, lang_vi.yml thanks to JeckTN-Gaming.
  • Added a new column to the database. (if you get any errors whiile updating just delete your SQLite file or delete the timedfly table from your MySQL database.
If you have any errors with the bossbar, let me know and I'll try to fix them.
Also if your language file does not update let me know and delete the english one so you get a new one and transfer what you are missing to your language. (if your language is not english).
----------, Dec 18, 2017

IMPORTANT YOU MUST DELETE ALL FILES (except items.yml, but delete it just in case)

Fixed:

  • Some messages in lang_de.yml
  • Format message for the time left a player had.
  • Update checker, it broke before because of a change from spigot.
  • Some small bugs.
  • Cool-down system, now is better (I think)
  • Tab completions.
Changes:
  • Changed a big part of the code so its easier to update the plugin.
  • Removed ActionbarAPI dependency, that means no dependencies.
  • Added custom /fly command, since some people asked me why I removed it, now I have it back.
  • You can add multiple commands to open the fly menu.
  • Added a auto download update, so you don't have to manually download the update if is enabled.
  • Changed the method which you enabled worlds, now you have 3 types of methods, disabled which disables the plugin in the worlds listed, enabled which enables the plugin in the worlds listed and all which enabled the plugin in all worlds.
  • Removed the beta message spam :D
  • Added MySQL and SQLite support, now you can have multiple servers sharing the same time left for a user.
  • Added NMS methods (maybe only developers now what is this).
  • Changed the /fly command now is /tfly (this is only to use the other arguments such as /tfly set, so the custom cmd only works to open the fly menu).
That's it for now, hope you guys enjoy this update I worked really hard on it, any error or new features you want to be implemented just let me know through discord or discussion area, don't leave a bad review just because you can.

This version was highly tested in Spigot 1.12.2

NEED SUPPORT? Join my Discord:
[​IMG]
----------, Dec 16, 2017

Fixed:
  • Error that the config kept resetting if you restart/reload the plugin
If you have any other error let me know please :D
----------, Nov 11, 2017

You need to delete your old files, except data.db
This update is to test some of the new features added in the plugin, so I need you to send me bugs and error you found.

Fixed:
  • A typo in the items.yml (ammount) now fixed.
  • The Permission section from UsePermission in the config.yml.
  • Desorganized code, there are a few things here and there still.
  • Some other minor bug that I don't remember.
Added:
  • A %timedfly_timeleft% PlaceholderAPI placeholder that shows the amount of time left the player has for their flight.
  • An option to disable the permission in the items.yml file.
  • A maximum amount of time a player can add time to their timed flight (I'm still working on this to have by permission max time) to bypass this just use timedfly.limit.bypass.
  • Better time left format (e.g 01:30:50 > 1 hour, 30 minutes and 50 seconds).
  • If a player doesn't have no time left, then the time left placeholder will say whatever the "NoTimeLeft" is set to in the language file.
  • Better money format in cost placeholders (e.g $5000 > $5,000).
  • A cooldown between each time shopped.
  • Support for TokenManager
Thanks to @ Dennisxo, @Elijah and @Matin_Dark for all the suggestions.
This is a BETA version so expect some bugs or errors. The limit time is still in development.

Messages are not translated yet...
----------, Nov 10, 2017

Fixed:
  • Some stuff in the code.
  • Some messages that where ugleh
Added:
  • New language: lang_de
  • New command arg to add time to a player, so if the player has 1 min left you can add 2 and it will be 3 mins left
  • Config backup, so if I update something your old config doesn't resets.
  • New permission, you can see it with /tf permissions.
  • Option to enable and customize the permission to open the GUI
Removed:
  • Custom command for the /fly command, if you still what this feature just download version 1.6.1
  • Herobrine (nah just kidding)
If some issues occur let me know, please
----------, Nov 3, 2017

Added:
  • Custom /fly command since some people where asking for a custom command to open the GUI.
Thanks to AbstractCommand, this update is possible :D

To install this update you'll have to backup your current config.yml and let the plugin create a new one.

If you have any problem with this update let me now so I can fix it.

I gonna still be working in the custom command part since there are some things that are not working like fill the players name you you use the tab button.
----------, Oct 29, 2017

Fixed:
  • An error message when you clicked outside the inventory GUI.
  • File creation code.
Added:
  • New Language file lang_hu.yml (Hungarian) thanks to Toldi.

Just a normal update to fix things expect more updates :D
----------, Oct 28, 2017

Fixed:
  • You needed PlaceholderAPI to be able to open the GUI
  • Time left not updating in the item.
Thanks to Elijah for reporting this errors, he is the best :D
And sorry for me not see this before.
----------, Oct 27, 2017

Fixed:
  • Error which disabled flight when switching world (According to my testing.)
  • The Data.file is now Data.db
  • Some code that no one cares about :D
  • Update message for the player.
Added:
  • Option to disable flight time when the player is offline. requested by Elijah
  • The posibility to add any item in the interface which includes PlaceholderAPI support. requested by Elijah.
You need to save a copy of your old files, move them or rename them, the are some changes in the config.yml and items.yml files.

I'll be updating the plugin with some new features later...

If you have an issues please tell me, I'm not perfect and I want this plugin to be perfect so I need your help telling me the problem you encounter.
----------, Oct 27, 2017

Fixed:
  • The disaster in the config, which the messages and items where all together.
Added:
  • More files like items.yml, config.yml, and a folder of languages where you can store your translations and change it easily from the config.
  • Enabled worlds. Now you can enable this plugin in the worlds of your choice. (Suggested by
    Dragonfire241.
  • Two languages Spanish and English (you can translate the lang file and send it to me so I can put it by default).

If there is any error just PM me or leave it in the discussion area. I already tested it but some times there are thing that I forget or don't realize.
----------, Oct 24, 2017

Fix:
  • Finally fixed NullPointerException error when a player leaves the server and the time left of that player is 0.
  • Players could get fly for free.
  • Some other little stuff.
Added:
  • Action bar messages. (You need ActionBarAPI), and you need to add something to the config.yml. See Below.
  • Sounds for Announcer time left and for the disable fly
New config.yml, you need to add this in you config:
Code (Text):
Fly:
  DisabledSound: 'ENTITY_WITHER_DEATH'
  ActionBar:
    Enabled: true
    Message: '&cYou have %timeleft% of fly time'
Announce:
  Sound: 'ENTITY_EXPERIENCE_ORB_PICKUP'
 

If you have any issue don't forget to tell me in the discussion area or PM me.
If you don't know what to do just copy the old or rename it so you the plugin loads it generate a new one for you.

I skiped one version because.... nobody cares why am I writing this.
----------, Oct 23, 2017

Fixed:
  • Titles not sending in version 1.9 and above.
  • An error spamming the console when a non player entity is damaged.
  • Maybe n NullPointerException spamming the console and crashing the server.
  • Getting damage if you have any other plugin that let you be immortal. (God Mode).
Thanks to insanerc and Chimpy, if any other error occurs don't forget to tell me, I'll be glad to fix them.
----------, Oct 22, 2017

Fixed:
  • An error when the plugin loads.
  • Update Notifier.
Thanks to insanerc for reporting the error.
If you have any more errors please report it.
----------, Oct 22, 2017

Added:
  • Just an update noticator. (when a new update is available you will when a message, permission needed timedfly.admin
----------, Oct 21, 2017

Resource Information
Author:
----------
Total Downloads: 28,441
First Release: Oct 21, 2017
Last Update: Feb 23, 2022
Category: ---------------
All-Time Rating:
58 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings