Configuration
Configuration
Configuration
A sample configuration with comments:
A sample configuration with comments:
# Message when player get from rewards. money-message: '%6%You received %money% money.' # New skillname: power # power is equal to power level skillname: # Any skillname from mcmmo. Example: archery,mining,excavation. rewards: - items: # Items (Optional) - id: 276 # Item id amount: 1 # Item amount enchantments: # Enchantments (Optional) - id: 16 # Enchantment id (Sharpness) level: 5 # Enchantment level - id: 17 # Enchantment id (Smite) level: 5 # Enchantment level money: 100.0 # Money reward (Optional) permissions: # Permission reward (Optional) - test.perm - test2.perm groups: # Group reward (Optional) - test1 - test2 perms-req: # Permissions require to get the rewards (Optional) - test.reqall - test2.reqall permissions-for-world: 'world' # Permissions will be added for the specified world. If you want it to be global just forget this. (Optional, Default: GLOBAL) groups-for-world: 'world' # Groups will be added for the specified world. If you want it to be global just forget this. (Optional, Default: GLOBAL) groups-req: # Groups require to get the rewards (Optional) - test1-req - test2-req worlds: # The player will only get the rewards if he is in one of the listed worlds,if not defined,then it will work in all worlds (Optional,Default: all) - 'world_nether' - 'world_end' run-commands: # Run commands if the player meet the requirements. (Optional) - "say test" - "broadcast test" everylevel: 10 # The player will get every 10 level rewards (Optional,Default: 1) minlvl: 1 # Minimum level to get the reward maxlvl: 1000 # Maximum level to get the reward money-message-enable: false # If you want custom message for money reward at this skill,set to false. If true it will use the money-message (Optional,Default: true) broadcast-message-enabled: true # Enable Broadcast messages (Optional,Default: false) broadcast-messages: # Broadcast messages (Optional) - '%5%%playername% reached %skilllvl% in %skillname% skill.' # Messages showed. # All color is possible. %colorcode% # %1%,%2%,%3%,%4%,%5%,%6%,%7%,%8%,%9%,%a%,%b%,%c%,%d%,%e%,%f%,%k% # Possible variables: # %money% money received # %skillname% skillname # %playername% playername messages: (Optional) - '%4%You have received test2.deny' - '%5%You have received test2.allow' - '%6%You have received test1 group.' - '%7%You have received test2 group.' - 'You have received 64 Torch.' - '%6%You received %money% money.'
Multi skill example:
Multi skill example:
money-message: '%6%You received %money% money.' multi: rewards: - skills: - Excavation - Mining minlvl: 5 maxlvl: 5 messages: - Works money: 100.0 - skills: - Excavation - Herbalism - Mining minlvl: 5 maxlvl: 5 messages: - Works2 money: 100.0
Multi reward example:
Multi reward example:
money-message: '%6%You received %money% money.' mining: rewards: - minlvl: 1 maxlvl: 1 money: 100.0 - minlvl: 2 maxlvl: 2 money: 100.0 - minlvl: 3 maxlvl: 3 money: 100.0
Are you able to make a reward if say, a player had two skills both leveled to 100? If yes, how would you go about that?
@CXA26483
Ummm,really no idea O_O
I will do it.
hi .. cool plugin ..
how would i do my config if i wanted a player in group Member rank up to Settler, recieve 1000 money .. based on powerlevel?
i tried to create my own config .. but i got event errors :(
thx
Sirmyllox
How can I combine Multi Skill and Multi Reward?
Im having issues with my config file.
The spaces are in the right place in the config.
with this config i get 100$ every first 3 skills of all mcmmo skills.
Do i need to cap the names or am i doing this all wrong.
This is a section of the config of the mining skills frmo 25 - 100 with the rewards.
money-message: '%6%You received %money% dollars.'
###GATHERING SKILLS START
############NEW SKILL
mining:
rewards:
- minlvl: 25
maxlvl: 25
money: 25.0#Dollars
- minlvl: 50
maxlvl: 50
money: 50.0#Dollars
- minlvl: 75
maxlvl: 75
money: 75.0#Dollars
- minlvl: 100
maxlvl: 100
money: 100.0#Dollars
items:# Steel pick with 32 steel ingots and 3 diamonds
- id: 27282#ironwood pick ( efficiency I )
amount: 1
- id: 7780#steel ingot
amount: 32
- id: 264#diamond
amount: 3