McMmo Auto-Promote
McMmo Auto-Promote
About
This plugin allows for users to get promoted by getting mcMMO levels.
Once a certain skill level has been reached the plugin will automatically promote the user according to the permissions.
Uses vault for permissions. Vault
Features
- Auto-promotes when a skill level has been reached in mcMMO.
- Custom promotion message.
- Public or user-only promotion message.
- Debug tools for advanced servers admins.
- Multiple ladders.
- Auto-promotion depending on specific skills.
- Auto-promotion based on Vault permissions.
- Multiple skill requirements must be met before auto-promote.
- Requiring and rejecting groups a player has can prevent a player from auto-promoting.
Future Features
- Command to show statistics and next promotion requirements.
- Player name prefix for non-permission servers.
- Nested conditions. ( 'and' inside another 'and' )
- Commands to add, remove, modify promotion settings in-game or through console.
- If you have more ideas please post them below.
FAQ
- What is a ladder?
A ladder is similar to a leader-board for players, except a ladder tells the plugin what groups a player can be promoted to and in what order. Having multiple ladders means a player can be promoted in multiple groups at once.
- What is the group rank for?
The rank tells the plugin which group should be promoted to next. If a group has the highest rank then the plugin will try to promote to that group before any of the others.
- How do I stop staff from promoting?
A) Reject the group in the first group of the ladder.
B) Add the 'mcmmoap.disallow' permission to the staff group.
- How can I support this plugin?
Please visit this button below. I invest quite a bit of time on the plugins I make so any amount of donation helps a lot.
Config Glossary
- rank - Tells the plugin which group should be promoted to next.
- reject - Will prevent a player from being promoted to the next group if they have a rejected group.
- require - Will prevent a player from being promoted to the next group if they dont have the required group.
- Skills - power, acrobatics, archery, axes, excavation, fishing, herbalism, mining, repair, smelting, swords, taming, unarmed, woodcutting
- and { } - Only allows promotion if the player has every skill in the 'and' list.
- message - The allows a custom message for each group. It is displayed when the player is promoted to the group.
- Or { } - There is no 'or' list. If you want the player to only have to get 1 of the skills in the group to be promoted to the group then put the skills outside of any 'and' list. Like in the Basic Example below.
Config Examples
- Basic Example
ladders { default { # This is the default ladder. Normal { rank = '100' # Must be unique to the ladder. reject = 'Admin' .# If the player gets either of these skills, they will promote. power = '5' mining = '1' woodcutting = '1' excavation = '1' } Awesome { rank = '90' # Must be unique to the ladder. message = '&GREENYou are awesome.' .# Player will only promote if they have all these skills. and { power = '5' mining = '1' excavation = '1' woodcutting = '1' } } Epic { rank = '80' # Must be unique to the ladder. .# Will promote if the player has 20 power level. power = '20' .# Or if they have all of these skills. and { mining = '5' woodcutting = '5' excavation = '5' } } } }
Please report any errors you find!
Enjoy.
Need lots of groups? Try my javascript config generator.
http://www.mediafire.com/?t9cul3vvbynwamt
Current Bugs
- None yet. Report them! (Include Bukkit, mcMMO and McMmoAp versions)
@Tagette
Open source is great for times like this :)
My computer broke down so until I can get that working or the files off of the backup. I cannot update the plugin. Sorry.
Needs to be updated :)
@Tagette
Any word on a 1.4 compatible version?
@Javi_San_Power
No, that is incorrect.
This is what you want: http://pastebin.com/3TRaDrJp
@Tagette http://pastebin.com/dNHuEE7e
Is it like this? (I only did the first one to check if I did it correctly)
Alright so what you need to do is reject all other races and all other classes that are in the same race for each class.
Example
Humanblademaster {
Reject = 'Elf, Tyrant, Beast, HumanWarrior'
}
Humanblademaster {
and {
swords = '1
axes = '1'
}
}
@Tagette
pastebin.com/D2fmYEbU
What skills are you requiring for the two classes? Are they the same? If so it's possible that the players are being promoted to both at the same time.
@Tagette
Also this is how it looks like in my permissionsex:
users: Skyrimassassin93: group: - TidebornAssassin1 - TidebornPsychic1 - Tideborn
As you can see they have 3 groups in the same class but they also have TidebornAssassin1 and TidebornPsychic1 which is what I was talking about that they intefere with each others classes!
@Tagette
What I was trying to say was for example:
When a person joins and chooses a rank" lets just say they chose human rank and then they lvl up to HumanBlademaster" Then I want them to stay in HumanBlademaster but then the player starts doing different tasks from the HumanBlademaster and does tasks for the HumanWarrior then he lvls up to HumanWarrior?? I just want them to say in one certain class in the same rank Im not saying they are transferring from race to race Im saying they are transferring from class to class in the same race.
Edit: Would I just have to put it to reject HumanWarrior on HumanBlademaster and put HumanBlademaster to reject HumanWarrior so they cant transfer from one class to the other?
@Javi_San_Power
The only way that could be happening is if the player doesn't have the Human, Tyrant, Beast, Tideborn, or Elf. Are you sure you are giving them this group?
A way to make sure that this is not a problem just add some required groups.
Also make sure you are using the most recent version of the plugin. 1.0.4b. With mcMMO version 1.3.14.
@Tagette
Thanks man It worked! One more question though It seems as if that Humanblademaster can still become a humanwarrior as well as other groups, how do I prevent this from happenening? example: When a person lvls up to lvl1HumanBlademaster and they start doing Lvl1HumanWarrior stuff then they will become HumanWarriorLvl1 How do I prevent them from turning onto one race and then going back to the other race I just want them to stay in Humanblademasterlvls 1-10 and not intefer with HumanWarrior!
Edit: I meant class not race sorry.
mcMMO has released a new update 1.4. I would recommend not using this update yet. Stay at 1.3.14 for now until I can build a new version. My computer has recently broken down and I need to get the source code off of the backup disk. Until then I cannot make a new build of the plugin. If you need the plugin to work with 1.4, McMmoAp 1.0.3g-beta may work with it however it will be missing the 'and', 'reject, and 'require' properties for the config.
@Javi_San_Power
Here you go, I've started the config for you. You need to add the groups 3 through 10 for each race and also change what skills are required. I left them as power level.
I've added rejects for the permision's groups Human, Tyrant, Beast, Tideborn, and Elf. Rejects are only required in the very first group of the ladder. (because if they arn't already in the ladder they cannot be promoted the groups past the first in the ladder)
Also note that in your permisions, the Humanblademaster group has a lowercase b for blade. The promotions config requires the exact case with most permissions plugins.
http://pastebin.com/MZVajrPJ
EDIT: There was an error in the config I gave you. (Missing a bracket) I have updated the link for a new pastebin.
You are doing it right however some of your ranks are wrong. HumanWarrior & HumanWarrior1, 2 & 3. Need unique ranks. As well as elfArcher.
@Tallcraft
So am I basically doing it right Or do I have to put the race classes together or separated (I was doing it separated) ? I just want the person to be able to lvl up from Human (Randomly do tasks) and either lvl up to HumanBlademaster or to HumanWarrior determining on if they are pvping or using their axe alot? Is this possible?
@Javi_San_Power
That seems quite easy. You just put each race on a different rank-ladder.
Im having trouble putting my ranks into the permissions since I don't know how to set it up in a correct way. If you can, can you do it for me Tagette? I don't want groups to be able to inherit the other races group example:
Tideborn is a race and I only want Tideborn to be able to become an Assassin and only lvl up through the Assassin ranks from Assassinlvl1 - Asassinlvl10 I dont want the human race to be able to become a Tideborn and inherit the Assassin rank I want them to stay in the Group they are in, like stay in the HumanBlademasterlvl1 - Humanbladeamsterlvl10 ? Is it possible to do this because I cant seem to figure it out thats why Im asking you? So are you willing to help took me alot to make this ranks and stuff right here is my pastebin of the permissions:
http://pastebin.com/rzabHY0m
And here is my promotion.yml (So far)for your plugin:
http://pastebin.com/mgYvnni7
All im asking (atleast) taking a look at it and giving me a short tutorial on how to do this :/
@Tagette
Aww.. to late, already took me about 2 hours to port over all my old configs. Thank you anyway!