Config Explanations 2.2.0
# Read http://dev.bukkit.org/server-mods/commandrank-permissionsbukkit/pages/config-yml/ for more information CommandRank: #The message that is displayed if you do not have permissions NoPermissions: You do not have permissions! #Message displayed if you wrote /acceptrules <argument> NoArguments: This command has no arguments! Economy: #Message displayed if the plugin can't access your economy account Failed: /AcceptRules failed #Message displayed if you do not have enough money for a rank up NotEnoughMoney: You do not have enough money #Disable or Enable paying for ranks Enabled: false #This text must be on the first line of a RankUp sign SignText: '[RankUp]' #Message displayed if you were not online long enough for a rank ToLessOnline: You were to less online for RankUp #Here you can disable the onlineTime feature OnlineTimeEnabled: false KillListener: #Here you can disable the KillListener Enabled: false List: #This is the kill rank up list. (RankUpName:Kills) - Prisoner:5 Pw: #Message when player wrote the wrong password WrongPw: You need the right password to execute the RankUp AutoTimeRankUp: Settings: #Example: If player was online for 30 seconds, the Default RankUp will be executed - Default:30 #Here you can disable the AutoTimeRankUp Enabled: false #The default RankUp (Default Sign/Acceptrules command) Default: #Time needed for the rankup OnlineTime: 0 #If you have PermissionsBukkit, write the group name below (the permissionsBukkit command will be executed if useCommandBelow: false) Group: user #You get this message on RankUp RankUp: You are now in the group user! Economy: #Price for RankUp Price: 500 #If you dont use PermissionsBukkit, set this true UseCommandBelow: false #Write in your permissions command below Command: permissions player setgroup %name% user #Set this to true, if the console should execute multiple commands from CommandList UseCommandListBelow: false #The console will execute these commands if UseCommandListBelow: true CommandList: - world yourmainworld - user %player% - user setgroup user Actions: #These will replace the user's current armor with whichever you set to true LeatherArmor: true IronArmor: false GoldArmor: false ChainArmor: false DiamondArmor: false #If set to true, user will be fed upon rank up Food: true #If set to true, user will be healed upon rank up Heal: true #If set to true, user will get these tools upon rank up WoodenTools: true StoneTools: false IronTools: false GoldTools: false DiamondTools: false #Items needed in your inventory for a rank up ItemsNeeded: List: - LOG:10 - DIRT:60 #If true, rankup requires the items listed above Enabled: false #Items can be given on rank up GetItems: List: - LOG:10 - TORCH:15 #If this is set to true, you will receive the items listed under GetItems Enabled: true #Now you can remove/add infinite RankUps. They have the same features as the default RankUp. OtherRankUps: Builder: OnlineTime: 5000 Economy: Price: 1000 Msg: You are now in the group builder! Command: permissions player setgroup %name% builder UseCommandListBelow: false CommandList: - world yourmainworld - user %player% - user setgroup builder Actions: LeatherArmor: false IronArmor: true GoldArmor: false ChainArmor: false DiamondArmor: false Food: true Heal: true WoodenTools: false StoneTools: false IronTools: true GoldTools: false DiamondTools: false ItemsNeeded: List: - IRON_INGOT:50 - COAL:40 - DIAMOND:3 Enabled: true GetItems: List: - COAL:50 - LOG:50 - WOOL:50 Enabled: true Admin: OnlineTime: 10000 Economy: Price: 2500 Msg: You are now in the group admin! Command: permissions player setgroup %name% admin UseCommandListBelow: false CommandList: - world yourmainworld - user %player% - user setgroup admin Actions: LeatherArmor: false IronArmor: false GoldArmor: false ChainArmor: true DiamondArmor: false Food: true Heal: true WoodenTools: false StoneTools: false IronTools: false GoldTools: false DiamondTools: true ItemsNeeded: List: - DIAMOND:30 - GOLD_INGOT:30 - OBSIDIAN:5 Enabled: true GetItems: List: - DIAMOND:3 - STICK:4 - IRON_INGOT:3 Enabled: true Prisoner: OnlineTime: 0 Economy: Price: 0 Msg: You are now Prisoner!!! Command: permissions player setgroup %name% prisoner UseCommandListBelow: false CommandList: - world yourmainworld - user %player% - user setgroup prisoner Actions: LeatherArmor: false IronArmor: false GoldArmor: false ChainArmor: false DiamondArmor: false Food: false Heal: false WoodenTools: false StoneTools: false IronTools: false GoldTools: false DiamondTools: false ItemsNeeded: List: - DIAMOND:30 - GOLD_INGOT:30 - OBSIDIAN:5 Enabled: false GetItems: List: - DIAMOND:3 - STICK:4 - IRON_INGOT:3 Enabled: false
If you want to create a RankUp sign for a specific group, create a RankUp with this group and write the name on the second line of the sign.
Example: RankUp name= Admin
Sign: [RankUp] Admin comment comment
Example 2: RankUp name = BuiLDer Sign: [RankUp] BuiLDer comment comment This is wrong: [RankUp] builder comment comment
I can not edit my config. It always rolls back
Seconding the problem of the config file rolling back to default.
@coffeetailor
I haven't used this yet but I will recommend you edit the file with the server off. Many plugins are constantly reading the config file and will report an error if it changes all of sudden. This could be the reason for the rolling back.
Is this config out of date? When the config file generated it look completely different. I'm having a hard time getting it to work because of this too.