CommandRank
Promote players with Kills, Signs, Passwords, Time, Exp, Items, Money and more!
Tired of promoting every player by hand? No Problem! Just use CommandRank :)
It allows the players to promote themselves (With configurable conditions) or even promotes them automatically (for example after a specific time).
Example usage on a PvP-Server:
Players need kills to get a better rank.
With every promotion they get some rewards and a better title.
Features
- Different ways to promote players if they meet the conditions
- Permissions support
- Economy support (needs Vault)
- Everything is configurable
- You can add infinite different "RankUps"
- Possible conditions:
- Player needs money
- Player needs kills (CommandRank is able to count kills)
- Player needs specific "onlineTime" (CommandRank is able to count the time a player is online)
- Player needs specific items in his inventory
- Player needs "Points" (PlayerPoints)
- Player needs to enter a password
- Player needs XP
- Possible ways to execute a rankup:
- "RankUp"-Sign
- Acceptrules command (executes one specific "RankUp")
- Declinerules command (executes one specific "RankUp" (default is prisoner))
- RankUp command (executes the next possible "RankUp"
- AutoRankUp (If enabled, a schedule checks players data every x seconds and executes a "RankUp" if possible)
- Password (Player is able to enter a password. If it's the right one a "RankUp" will be executed)
- Possible actions:
- Commands executed by console
- Commands executed by player
- Items given to player (Enchantments or things like colored wool are possible)
- CommandRank contains an "RankUpEvent" which allows other developers to work with
Commands
- /AcceptRules | Ranks the players to the given group (default: user)
- /DeclineRules | Ranks the players to the given group aswell (default: prisoner *evil* )
- /Password <pw> | Allows the player to enter a password
- /RankUp | Executes the next possible "RankUp"
- /cr | Shows "onlineTime" or kills to the player
- /cra | Admincommand to check onlineTime/kills of a player or to promote somebody
Permissions
- CommandRank.Admin | Allows to execute admincommands and to create a "RankUp" sign & contains "CommandRank.User" permission
- CommandRank.createSign | Allows to create a "RankUp" sign
- CommandRank.AdminCommand | Allows to use the admincommands
- CommandRank.User | Basic permissions
- CommandRank.useSign | Allows to use a "RankUp" sign
- CommandRank.AcceptRules | Allows to use the AcceptRules command
- CommandRank.DeclineRules | Allows to use the DeclineRules command
- CommandRank.Password | Allows to enter a password
- CommandRank.UserCommand | Allows to use the /cr command
- CommandRank.RankUpCommand | Allows to use the /rankup command
- CommandRank.RankUp.<name of rankup> | Allows to use the named "RankUp"
- CommandRank.isGroup.<name of rankup to group> | Prevents from getting AutoRankUp to <name of rankup to group> (You should give the permission to every group to prevent from getting the same "RankUp" multiple times.)
- CommandRank.exclude.* | contains:
- CommandRank.exclude.auto | Excludes from "AutoRankUp"s
- CommandRank.exclude.sign | Excludes from sign-"RankUp"s
- CommandRank.exclude.command | Excludes from command-"RankUp"s
- Advanced guide with permissions
ToDo
- Add FAQ to description
Got any ideas? Post them here: Forum
Found a bug? Create a ticket: Tickets
CommandRank is not working? Your config probably contains some mistakes. Check out your server.log or create a new ticket!
API | Setup guide | Tips & Tricks | Modifications
NOTE: This plugin has not been updated since a long time but should still be working fine! Due to circumstances (For example final school year) I am not able to update my plugins anymore. However most of them should still be working fine and besides I have found Maintainers for a few of my projects, who keep these updated. Thanks for your understanding ;-)
-
View User Profile
-
Send Message
Posted Dec 29, 2012@BrennoBot
So first you should install a permissions plugin like PEX, PermissionsBukkit, BPermissions, Groupmanager etc. This plugin allows you to create groups, give them permissions and manage them. Then you could install CommandRank to allow guests to become member when they have done something like getting 500 money. About your donator plugin: Search for "Buycraft".
-
View User Profile
-
Send Message
Posted Dec 28, 2012Hey Blackixx, Im sorta new at this. Does this plugin add ranks ( Admin, Mod, Helper, Member) . I need this plugin to add people to there " Group " . If this is that adds ranks, How do I add commands for the ranks to use. Also, you wouldnt know were to find a plugin that when someone donates, it gives them like for a example : 64 Diamond blocks? I use Enjin.
-
View User Profile
-
Send Message
Posted Dec 28, 2012@AlloyCraft
I'm currently working hard at my new custom server. When it's done I will have more time to update my plugins. Then I might rewrite the whole CommandRank plugin (I've learned alot of new things) and finally fix the online time.
-
View User Profile
-
Send Message
Posted Dec 27, 2012Fantastic plugin! Any idea when online time will work? I really need that for my server!
-
View User Profile
-
Send Message
Posted Dec 27, 2012@danmark2312
I'm also using CommandRank at my server and it only needs 200 ms at all. I think the cause of the lagg is the error. I just have to find out, why the error was caused.
Edit:
Your pasted error looks like this:
-
View User Profile
-
Send Message
Posted Dec 27, 2012@Blackixx
I have FTP acces and i can change every file in my server? so i guess my anwser would be yes
edit: It also seems like it is lagging my server alot? 600 ms? Entitydamageevent uses 300 ms just alone?
-
View User Profile
-
Send Message
Posted Dec 26, 2012@danmark2312
Hm I don't know this error... Is it possible that your server does'nt has permissions to create a yaml-file and edit its text?
-
View User Profile
-
Send Message
Posted Dec 26, 2012This part i missed but it said: failed to response for 10 seconds 2012-12-26 12:18:02 [WARNING] [Server] Probable Plugin cause: 'CommandRank' 2012-12-26 12:18:02 [WARNING] [Server] What follows is the stack trace of the main thread 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.emitter.Emitter.prepareTag(Emitter.java:870) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.emitter.Emitter.checkSimpleKey(Emitter.java:691) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.emitter.Emitter.access$2600(Emitter.java:61) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.emitter.Emitter$ExpectBlockMappingKey.expect(Emitter.java:623) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.emitter.Emitter.emit(Emitter.java:215) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:180) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:206) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:207) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:207) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:207) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.serializer.Serializer.serializeNode(Serializer.java:207) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.serializer.Serializer.serialize(Serializer.java:112) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:271) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:261) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.Yaml.dumpAll(Yaml.java:233) 2012-12-26 12:18:02 [WARNING] [Server] at org.yaml.snakeyaml.Yaml.dump(Yaml.java:209) 2012-12-26 12:18:02 [WARNING] [Server] at org.bukkit.configuration.file.YamlConfiguration.saveToString(YamlConfiguration.java:38) 2012-12-26 12:18:02 [WARNING] [Server] at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:54) 2012-12-26 12:18:02 [WARNING] [Server] at me.black_ixx.commandRank.store.StoreYAML.save(StoreYAML.java:29) 2012-12-26 12:18:02 [WARNING] [Server] at me.black_ixx.commandRank.store.StoreYAML.setString(StoreYAML.java:62) 2012-12-26 12:18:02 [WARNING] [Server] at me.black_ixx.commandRank.Listeners.PlayerKillListener.onDamage(PlayerKillListener.java:41) 2012-12-26 12:18:02 [WARNING] [Server] at sun.reflect.GeneratedMethodAccessor927.invoke(Unknown Source) 2012-12-26 12:18:02 [WARNING] [Server] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2012-12-26 12:18:02 [WARNING] [Server] at java.lang.reflect.Method.invoke(Method.java:601) 2012-12-26 12:18:02 [WARNING] [Server] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 2012-12-26 12:18:02 [WARNING] [Server] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 2012-12-26 12:18:02 [WARNING] [Server] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 2012-12-26 12:18:02 [WARNING] [Server] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.Entity.burn(Entity.java:791) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.Entity.move(Entity.java:700) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.EntityLiving.e(EntityLiving.java:1065) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.EntityHuman.e(EntityHuman.java:1144) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.EntityLiving.c(EntityLiving.java:1306) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.EntityHuman.c(EntityHuman.java:305) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.EntityLiving.j_(EntityLiving.java:534) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.EntityHuman.j_(EntityHuman.java:154) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.EntityPlayer.g(EntityPlayer.java:193) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:351) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.Packet10Flying.handle(SourceFile:136) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) 2012-12-26 12:18:02 [WARNING] [Server] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Have a fix? This freeze my server for 5 secs
-
View User Profile
-
Send Message
Posted Dec 25, 2012@94ge7j998
Yes it will. I could add a feature which prevents that, but currently I'm not working with the OnlineTime because it is a bit buggy atm.
-
View User Profile
-
Send Message
Posted Dec 24, 2012If I choose to rank on time will it count time when a player is afk?
-
View User Profile
-
Send Message
Posted Dec 23, 2012@crohakon
It should still work because it does not use API except bukkit.
-
View User Profile
-
Send Message
Posted Dec 23, 2012Is this 1.4.6 safe?
-
View User Profile
-
Send Message
Posted Dec 21, 2012@DarkIcicle2
I might add this in the feature but currently its not possible.
-
View User Profile
-
Send Message
Posted Dec 20, 2012Is there any way that you can use the /rankup command and allow it to not set group to user. I want my players to be able to /rankup instead of having to use a sign every time each time they rankup. So is there a way to do this? Allowing /rankup to work for multiple groups and each has a different rank instead of adding them to group user?
-
View User Profile
-
Send Message
Posted Dec 20, 2012@Hypertrax
What permissions nodes are missing?
-
View User Profile
-
Send Message
Posted Dec 20, 2012Oo whoops, turns out it was my mistake... Proof that it works: http://puu.sh/1D4hP
The "you dont' have permissions", is due i clicked on level1 while i'm level 2 already.
Anyways my mistake for perhaps other people that experience the same:
I forgot to set this on true, and fill in my world:
UseCommandListBelow: true
CommandList:
- world medieval-city
- user %player%
- user setgroup level2
Anyways, i love this plugin, this is what i just needed for my server. Its a private server for friends, anyhow i like to make it as professional as i can! :D
-
View User Profile
-
Send Message
Posted Dec 20, 2012Hee man,
First off all, this plugin was EXACTLY what i was looking for, however;
-there is an lack on information, not all the permissions nodes are here.. :( toke me a while to find them.
Anyways here is my real problem, my server runs on bPermissions. It says it ranked up, but it is not, seen in the chat there is a screen:
http://puu.sh/1D45w
How come the system knows i'm level2 (a rank in my server) and it knows it because i don't have permissions for Level1 sign anymore. I disabled that for high levels. So it uses the permissions of a level2 account for still has the prefix from a level1.... Prefixes are controlled by Essentials, when i manually promote a account it does get updated...
Edit, it does not use the level2 permissions, i did that manually i saw, it just says you're level 1 or 2 but your still the same level in my case now level 0
-
View User Profile
-
Send Message
Posted Dec 19, 2012@Koz4christ
it looks like a line in your config is missing. Set "DontAddDefaults" to false then CommandRank might regenerate the line.
-
View User Profile
-
Send Message
Posted Dec 19, 2012The autoTimeRankup is not working on my server and it gives this error every time a new player joins
-
View User Profile
-
Send Message
Posted Dec 19, 2012@frozenscream Does anything happens except the message?