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)
-
View User Profile
-
Send Message
Posted Apr 22, 2012Thank you for updating this :)) But is this for the latest version of McMmo and PermissionsEx? I'm getting this Error when someone joins:
-->Error Log<-
View User Profile
-
Send Message
Posted Apr 22, 2012for me it doesn't work i have this error (appear until 5 minute when i reboot the server)
I test two config : 2000 and 20000refresh time in the config file
Autopromote work for 2 minute and after this error
2012-04-22 11:14:26 [SEVERE] Exception in thread "Timer-1" 2012-04-22 11:14:26 [SEVERE] java.lang.NullPointerException 2012-04-22 11:14:26 [SEVERE] at com.gmail.nossr50.mcPermissions.acrobatics(mcPermissions.java:405) 2012-04-22 11:14:26 [SEVERE] at com.gmail.nossr50.datatypes.SkillType.getPermissions(SkillType.java:78) 2012-04-22 11:14:26 [SEVERE] at com.gmail.nossr50.datatypes.PlayerProfile.getPowerLevel(PlayerProfile.java:1144) 2012-04-22 11:14:26 [SEVERE] at com.gmail.nossr50.api.ExperienceAPI.getPowerLevel(ExperienceAPI.java:134) 2012-04-22 11:14:26 [SEVERE] at me.tagette.mcmmoap.APPowerLevel.getSkillLevel(APPowerLevel.java:177) 2012-04-22 11:14:26 [SEVERE] at me.tagette.mcmmoap.APPowerLevel.tryPromote(APPowerLevel.java:111) 2012-04-22 11:14:26 [SEVERE] at me.tagette.mcmmoap.APPowerLevel$2.run(APPowerLevel.java:83) 2012-04-22 11:14:26 [SEVERE] at me.tagette.mcmmoap.extras.TaskManager.performNextTask(TaskManager.java:41) 2012-04-22 11:14:26 [SEVERE] at me.tagette.mcmmoap.extras.TaskManager$1.run(TaskManager.java:32) 2012-04-22 11:14:26 [SEVERE] at java.util.TimerThread.mainLoop(Timer.java:534) 2012-04-22 11:14:26 [SEVERE] at java.util.TimerThread.run(Timer.java:484)
The autopromote don't work...
-
View User Profile
-
Send Message
Posted Apr 21, 2012Thanks for the update (can't wait for bPermissions/superperms support)
-
View User Profile
-
Send Message
Posted Apr 21, 20121.0.3
-
View User Profile
-
Send Message
Posted Apr 21, 2012@CommanderNZ
I cant seem to get that error when using vanishNoPacket. Can you re-create that error over and over?
@nicquehen
I am uploading a new version that will hopefully fix that lag issue. If this does not fix it with default settings... In the config.properties. Change checkInterval to 20000. This will check the stats every 20 seconds instead of every second. Then let me know if it got better or if it lags every 20 secs instead.
-
View User Profile
-
Send Message
Posted Apr 21, 2012@Tagette
Of course I am using PermissionsEx otherwise this plugin wouldnt be working. It only happens when I person joins vanished.
-
View User Profile
-
Send Message
Posted Apr 21, 2012@nicquehen
Working on a fix right now.
-
View User Profile
-
Send Message
Posted Apr 21, 2012@Tagette
The lag is for everybody in the same time more huge when player loggin but it can be lag during play (without player connexion)
-
View User Profile
-
Send Message
Posted Apr 21, 2012@nicquehen
I have already talked to mcMMO and they are looking into that error. I know it only gives that error when you run my plugin. However it shows the error happening inside of mcMMO so they did something wrong inside there as well.
Does the lag happen every time someone logs in? Or is it only one lag per person.
-
View User Profile
-
Send Message
Posted Apr 21, 2012@Tagette
O sorry i don't think it's a pex problem because my group permission don't change between the two version and i don't remember lag with the previous version.
But i think you have right it can be that i will send you my config in pm.
Thx for your help
-
View User Profile
-
Send Message
Posted Apr 21, 2012@nicquehen
That's wierd. Do you mind if I take a look at your permissions? An issue with PermissionsEx is that if everything inherits from the rank below itself, it starts to lag.
Just send me a private message withe the url.
-
View User Profile
-
Send Message
Posted Apr 21, 2012@nicquehen
I put in the config file the debug mode please find theses error message i have :
http://pastebin.com/JqhHFcKB
-
View User Profile
-
Send Message
Posted Apr 21, 2012I have one issue with the new version 1.0.2
I have some very huge lag when user connect in my server.
2012-04-21 10:08:41 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 2012-04-21 10:08:41 [INFO] [Spout] Successfully authenticated remior's Spoutcraft client. Running client version: 1412 2012-04-21 10:08:44 [INFO] munshie [/91.179.87.165:50627] logged in with entity id 813 at ([Servergame] -1000.5, 67.0, -760.5) 2012-04-21 10:08:58 [INFO] /83.198.37.238:62672 lost connection 2012-04-21 10:08:58 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 2012-04-21 10:09:01 [INFO] alkaish [/82.233.122.44:60382] logged in with entity id 1050 at ([Servergame] -49.461044072538435, 72.0, 827.2067179399362) 2012-04-21 10:09:14 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 2012-04-21 10:09:14 [INFO] kevineor [/90.52.180.74:50206] logged in with entity id 1200 at ([Servergame] -66.61646192688828, 72.5, 259.42235297712114) 2012-04-21 10:09:27 [INFO] [Spout] Successfully authenticated kevineor's Spoutcraft client. Running client version: 1412 2012-04-21 10:09:27 [INFO] nicquehen [/88.179.64.157:52684] logged in with entity id 1248 at ([Servergame] -24.4561566862578, 78.62380380545423, 242.27997160919625)
When i delete the jar all is fine.
Anybody have this bug too?
-
View User Profile
-
Send Message
Posted Apr 20, 2012Also I just created a mod page for my other plugin.
It's called mcMMO Reward
Check it out!
-
View User Profile
-
Send Message
Posted Apr 20, 2012@Nekuroi Yes permissions is what I will be working on next. I will talk with mcMMO about the levelDown.
@stutiguias <3
@CronosDage You seem very nice! :D
@CommanderNZ That is very odd. You are using PermissionsEx?
-
View User Profile
-
Send Message
Posted Apr 20, 2012:) just use VAULT ! and this will be a very need plugin
-
View User Profile
-
Send Message
Posted Apr 20, 2012I think something in your plugin doesnt like VanishNoPacket. I get this if I joined vanished, yet it doesnt happen when other people join that don't have acess to Vanish.
http://pastebin.com/De9eW8f2
-
View User Profile
-
Send Message
Posted Apr 20, 2012Damn, this seems useful.
-
View User Profile
-
Send Message
Posted Apr 20, 2012Niceeeeeeeeeeeee :D
i ask for "Auto-promotion depending on specific skills." and its done !
love you :D
-
View User Profile
-
Send Message
Posted Apr 20, 2012@Nekuroi
You'd probably have to link him to it to make it compatible, if he chooses.