McMMOCap
McMMOCap
This plugin will allow you to set a daily cap for McMMO skill experience. Caps are defined per group with a hierarchic system, so that, for example, donators have an higher cap than regular users, but it is also possible to set personal caps. Caps can be defined for each McMMO skill, and when an user reaches its daily cap he will stop getting exp in that skiil. This allows server administrators to get a better control over player skills avoiding uncontrolled experience farming.
Commands
- None at the moment
Permissions
- mcap.exempt.* - exempts from all caps
- mcap.exempt.<skillname> - exempts user from a given skill cap (i.e. mcap.exempt.mining)
Configuration
settings: nocapforop: true ##custon caps caps: groups: examplegroup1: EXCAVATION: 1000 HERBALISM: 2000 examplegroup2: WOODCUTTING: 2000 HERBALISM: 3000 users: exampleuser1: ARCHERY: 500 TAMING: 1000
- nocapforop: if set to true, OPs will be automatically exempted from skill caps. Set to false otherwise
- groups: a list describing per-group skill caps.
- users: a list describing per-group skill caps.
Note: groups are defined in an hierarchic mode: settings from first groups will override settings from last groups. In this case, a player in examplegroup1 will get an herbalism experience cap of 2000, but won't get a woodcutting experience cap unless you define it in the examplegroup1.
Dependencies
This plugin requires both Vault, SQLibrary and McMMO to work (in addition to any permission system supported by vault)
-
View User Profile
-
Send Message
Posted May 24, 2015Any chance you can make it so players stop gaining experience when they hit a certain level in there abilites base on group permissions. So if a user is in a member group and that group in the config is limited to not going past level 50 in ANY skill then they cant until they get into another group?
-
View User Profile
-
Send Message
Posted Sep 29, 2014I need help the caps are not working for me it is not setting a cap on the skills here is the Config
settings:
nocapforop: false
caps:
groups:
Member:
EXCAVATION: 2000
HERBALISM: 30
ALCHEMY: 1500
WOODCUTTING: 1000
TAMING: 500
AXES: 250
ARCHERY: 5000
ACROBATICS: 1500
UNARMED: 500
SWORDS: 5000
SMELTING: 1500
FISHING: 1000
REPAIR: 1500
MINING: 1500
users: {}
What am I doing wrong
-
View User Profile
-
Send Message
Posted Jun 8, 2013@soulscapex This plugin uses sqlite, and only updates DB when you stop/restart the server, so there is no worry about it being resource consuming. I will remove the dependency from SQLibrary as soon as I find a better method to easily integrate SQLite in my plugin (sqlibrary offers interfacing to several databases, and I feel that's a bit "wasted" for my plugin's purposes).
No, mcmmo doesn't need to be using sql for this to load. this hooks directly in MCmmo's events
-
View User Profile
-
Send Message
Posted Jun 7, 2013I love the sound of this <sub> but it wont load on my server. Does mcmmo have to be using sql for this to load, i dont even get a config file.</sub>
-
View User Profile
-
Send Message
Posted May 28, 2013@dibz82 the permanent cap limit is already supported by Mcmmo config, and can be defined skill-wise (you can define a different cap for every skill)
this plugin does a different thing: limits the experience you can get every day
-
View User Profile
-
Send Message
Posted May 28, 2013you said that it gives them a daily cap, i have mcmmo and i want to limit my players to say 500 permenantly. Will this plugin do that or will it allow another 500 the following day rather than a perminant cap?
-
View User Profile
-
Send Message
Posted May 20, 2013I uploaded McMMOCap v0.5, the first stable version.
As soon as it gets approved, give me feedback
-
View User Profile
-
Send Message
Posted May 8, 2013I'm sorry to be late, I had lost all the source code due to accidentally repository delete. I just recovered it by decompiling the last jar, so I will release a stable version as soon as possible