Time Ranks
This is a very simple and easy to use plugin that works right when you install it. This is my first plugin and I am not familiar with some of the code, this plugin does work wonderful though. Please post comments in the comment box and don't post full errors in there. Suggestions are greatly accepted and I will get back to you as soon as I can.
The config.yml SHOULD be blank! For an example config click Here
The only way I can help you is if you leave a ticket!!
Features
This plugin runs a configurable command after a specified amount of time( just put in the command that is used to rank up players). This will also let you see who has come on your server and how long they have been on for.
Commands
/timeranks {player} This command doesn't have a permission node anyone can use it on the server - Allows you to see how long the specified player has been on and can be used as a 'rank up' if the player has exceded the time
/timeranks list Lists the players that have been on and how long they have been on and their rank.
Permissions
timeranks.bypass
Only used if you are an admin, owner, and/or donator (time ranks ignores you so you dont get ranked down)
timeranks.list
gives access to /timeranks list
Installation
Click the download link and get the most up to date version. Drop the TimeRanks.jar into your plugins folder and restart your server. Make sure you have some sort of already set up permission system (PEX recommended) if you intend to use this plugin for rank ups. Thats it, everything you have to do to install.
Configuration
If this doesn't help you then go HERE for an example config
The name bronze is only a default name. Change it to your first ranked up group. Say miner is default and gold is the ranked up group then switch out bronze with gold.
Bronze:
The amount of time before a player is ranked up. (set in minutes so if you are doing days your going to have to do some math to convert)
playingtime: 25 {time in minutes}
this command is not a ranking up command i am only showing that you can use the <player> and it will put in the players' name who has spent 25 minutes.
command: tell <player> You have spent 25 minutes on the server hooray!
To have multiple ranks just copy the three lines above and paste them below as many times as you want just like below, but you cant do more than one command per group; that will be in the next update.
This is the next group.
Iron:
playingtime: 60
command: gamemode 1 <player>
Remember
You must have different groups and times or else this plugin will probably crash your server. Also make the time a good about higher as you go down the file (10 minutes at least) Also TimeRanks creates a blank config file for a reason so all you have to do is copy the example config above and it should work for you.
If you have an error or don't understand either comment or leave a ticket
Coming Next Update
configurable messages
per world commands
Leave a comment if you want anything else
Authors' Note
Dont forget to come on my server: play.jackcrafters.com
Thank you so much for downloading! This took me a long time and I plan to keep it up to date and respond to every comment. Please, if you have been searching for a plugin like this for a long time and are happy that its finally here DONATE!! It motivates me to get this plugin as good as it can possibly be.
It would be awesome if you updated the plug-in to 1.5.2
In reply to SawyerKIDRED1:
Sorry guys I haven't been working on this because of my server stuff and no one seems to have an interest in donating I haven't made one cent off this and my motivation is almost gone but if I can just get one donated then I may be able to put this plugin back up and make it good again sorry again it's just there are so many other plugins out there like this well what ever if you trully do need it then motivate me by donating otherwise I don't see any purpose for this anymore
I need help to a config file, someone can help me??
I'm worried this plugin is going to fuck up... but I need it..
ok guys i see what you mean its from the latest craftbukkit so i will fix this probably be a download by saturday or sunday depending on how bukkit is feeling
@spy85
I had a feeling there was something wrong. I'm not sure what is causing it, but it makes me a bit happier knowing I'm not the only one with this issue.
@davenger
I have the same problem the name at the top removes itself.
2013-04-17 11:39:54 [SEVERE] Could not pass event PlayerJoinEvent to TimeRanks v1.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R2.PlayerList.c(PlayerList.java:205) at net.minecraft.server.v1_5_R2.PlayerList.a(PlayerList.java:101) at net.minecraft.server.v1_5_R2.PendingConnection.d(PendingConnection.java:129) at net.minecraft.server.v1_5_R2.PendingConnection.c(PendingConnection.java:44) at net.minecraft.server.v1_5_R2.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:41) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:404) at java.lang.Long.parseLong(Long.java:483) at com.jackcrafters.plugins.timerank.TimeRanks.executeCommandTimeRank(TimeRanks.java:336) at com.jackcrafters.plugins.timerank.TimeRanks.onPlayerJoinEvent(TimeRanks.java:265) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 14 more
This actually doesn't go and look into your permissions system at all it actually runs a command you specify in the config so make sure that command is right which I beleive it is t the proper command you would do I think cause I don't use bperms is do /promote <player> Veteran this may not be right but if that's how you would rank someone up using an Ingame command then that's what it is also don't forget to have your spacing correctly check the example config file at the top of the page is a link if you need anything else feel free to ask
Hi, I'm having an issue with the plugin. Little background here my first rank when people log on to the server is Builder, and the next rank from that is Veteran. I set the config file like this
Veteran:
playingtime: 60
command: promote <player>
Now when I restart the server it deletes the Veteran: part and leaves the rest. I know this addon is known to work with PEX, but does it work bpermissions? Cause what I "think" is happening is it's not seeing rank names from bpermissions, and so it's deleting the rank in the config file.
make sure your config is correct send me it here so i can take a look
I got a problem on my dev bukkit 1.5.1 server where the config delets itself after i reload to reload the new configs, any help?
So did I fix your problem or do you have any more questions? Plus pls suggest how I can make this plugin better
@jackattackbusa
My server? LOL you don't understand portuguese, so you can't play on my server. But thx and good Luck for your plugins. :)
also I have tried your ip and it says it is outdated you should really get the new version of bukkit.
the plugin will change that registered players group but if you dont want that players group to change the put the permission node timeranks.bypass into your permission system for that group. Tell me if this works or if I am not getting something.
If a player is already resgisted and in a group, and when I put that on my server Will change the group? Or only change the group for new players register after I put the pluin on my server?
This is an awesome plugin, keep the good work up!!!
Please leave suggestions I can't make this better if u don't suggest anything.