RankTimer
Sell permission groups on your server! RankTimer allows administrators to create ranks players will be able to purchase. Once purchased players will gain permissions associated with that rank for a limited amount of time.
This plugin depends on Vault in order to hook into the economy and permission plugins vault supports.
Getting Started
Configuration
RankTimer was designed for easy configuration. All configuration can be done in game, or through a configuration file.
In order to get started you will need to configure the "Default" rank.
You can do that with: /rtadd Default <cost> <groupname> <timespan> or by editing the config file which loads all ranks listed in that file through the /rtload command (the default rank is already in the configuration file and assumes the default rank has a groupname named 'Default' .
The default rank will be assigned to new players when they join. Timespan is measured in seconds. This may change in the future depending on plugin user recommendations. Once the purchased rank expires, users will downgrade to the default rank.
Commands
for information on available commands visit: Commands
Advanced Usage
If you would like to provide your players another means of purchasing ranks visit: Signs
Did you know?
Ranks not configured with the configuration file will not be saved when the server reloads.
Debug mode is provided in the configuration file and is its typically not turned on. Please only use debug mode only with the intention of submitting bugs. Debug mode may provide useful information when assessing problems with the plugin.
This plugin is fully tested with GroupManager from Essentials and PermissionsEx. But since it uses Vault, it should support other permission systems Vault supports
if you would like to contribute to the source you can find the git repository here: ranktimer
Suggestions?
If you have any suggestions please leave them, or participate in the poll.
so this plugin can its be made so that u don't have to pay for a rank but instead they have to stay on the server for a set amount of time so like in the config there could be 2 options either time or money to rank up or if u can say if its money or time depending on the rank.
Its hard to explain but if you got what I mean would it be possible
yolol
So its working! But Saving Player Data is a must! I want to run this on my server but if a player can't keep what they buy for the time they buy it. That Sucks...
@noob1211
Its really hard to choose between save player stats and single node managment, I hope somehow both this features can be added.
P.S. thank you for you answers!
@ValeraSTK
Okay i've added it to the poll. Please vote for it, its a great way for me to keep track of what should be done in the future.
@noob1211
you the developer here, so its up to you, but as user and as server owner, I can assure you that wraping every needed node with group will make huge mess. So, in my opinion, possibility to work directly with permission nodes it is a "mast have" feature for such plugin.
@ValeraSTK
@ValeraSTK I think the best way to approach features is to let people vote. So if you would like to see this particular feature added I can add it to the poll on the right side bar. However, I think what you're asking for its kinda already there. Anything you can do with individual permission nodes, you can do with groups. So if you need 1 permission node, just create one group with one node. I know it seems a bit weird, but the functionality is still the same. I don't know what do you think? Is there a better way?
@noob1211
yes, exactly.
@ValeraSTK
you mean just one permission node?
Hi!
Any chance that this plugin will handle timed permissions (without groups)?
@clienthax
I've went ahead and uploaded RankTimer on git. ranktimer
@LegendMinecrafter001
What permission plugin is the server using? and did you make sure to add the group "Default" to the permission plugin you are using, if you don't then RankTimer will fail to add the rank.
Hi, I am the Co Owner of a server that has no ranks, so I saw this plugin and asked the Owner to get it. He did and I joined on and did /rtadd Default 1 Default 11111110000000
But I hit enter and it said 'unable to add rank because group name Default is invalid (group names are case sensitive). What did I do wrong and what is the group name/group node
@clienthax
I will open source it on sunday. It will take several hours(4 hours) to make sure there is enough documentation for anyone who wishes to contribute. Thank you for your interest.
@noob1211
Hi!, any chance of open sourcing this?, id like to work on improvements to it
@clienthax v1.7 was uploaded. once it becomes available and approved by the Bukkit staff I would encourage everyone to update!
@clienthax
yes you are right! i'm surprised no one has reported this! lol! This was overlooked.
@clienthax
thank you for your bug submission. I've created a forum for this bug here:
http://dev.bukkit.org/bukkit-plugins/ranktimer/forum/65555-1002-wihdraw-deposit-bug/#p1
this is a major bug and will be fixed in the next release. thanks again!
Hi, just pointing this out public boolean deposit(double amount) { EconomyResponse response = this.econ.depositPlayer(this.player.getName(), amount);
return response.transactionSuccess(); }
public boolean withdraw(double amount) { EconomyResponse response = this.econ.depositPlayer(this.player.getName(), amount);
return response.transactionSuccess(); }
Basicaly your deposit and withdraw are the same, so when someone buys arank they get credited the cost ;)
@flyeatingdaisys
I've went ahead an uploaded RankTimerv1.6 as soon as it becomes available you can give it a go and see if it has resolved your issues. Thanks for reporting this!