With this plugin, you'll can make your own skills with custom rewards like xp or money
Only one command is registered and allows you to see various informations about skills:
/skills<subcommand>[skill]
You can config the plugin to make all skills to give money, xp or individually make a skill don't drop anything. You can disable any skill simply by setting active to false in the CONFIG section in the skill file. You can add new skills by adding a new configuration file in the skills folder. The skill name will be the file name, spaces are replaced with the "_" symbol. You can change the plugin's messages header. You can configure the required points to level-up formula in the plugin's config. use {LEVEL} to refer to the player's skill level.
For now, you can add 5 different events to your skills: PLACE, BREAK, HARVEST, CRAFT and KILL. More are coming soon.
This plugins uses Metrics to have statistics. To turn them off, disable it in the bstats's folder in the plugins folder.
#This is an exemple of making a new skill... You don't need to reload plugin or server, changes are automatically applied. CONFIG: #Set if skill is active. If set to false, players will not can view and get points for this skill. active: false
#Set the maximum level for this skill. Not yet implemented. See change logs :) max_level: 100
#Define if this skill will give xp or money. Not need to set 0 to all events. Money requires the plugin Vault. give_xp: true
give_money: true
EVENTS: #When a player harvest a plant that have age like WHEAT, BAMBOO... HARVEST: #The block or item material name. refer to this page for valid names: #https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html WHEAT: #Experience that be dropped when this block is harvested. Will vary depending on player's skill level. xp: 1
#Skill points player will receive. points: 1
#Money that will be given when this block is harvested. Will vary depending on player's skill level. money: 1
#When a player breaks a block. Event is farming safe, when a player places a block, data will be added to block to prevent farming. #But when server restarts, the data saved in the block is removed, then take care of player farms. Use at your own risk. BREAK:
STONE:
xp: 0
points: 1
money: 0.1
#When a player places a block. I recommend to don't give experience or money. Players can break and place block to farm. PLACE:
SNOW:
xp: 1
points: 1
money: 0
#When an item is crafted. Take care about craftable or uncraftable items. Ex: Mineral blocks, ingots or nuggets. #When craft results in more than one item, rewards will be multiplied by amount crafted. Ex: iron ingots by uncrafting an iron block. #Doesn't works with shift-crafting. Due to minecraft's code. This error is known and Spigot devs works on. #https://hub.spigotmc.org/jira/browse/SPIGOT-1009 CRAFT:
LADDER:
xp: 2
points: 1
money: 10
#When a player kills an entity. Use PLAYER to trigger a player kill. For more entity type names, see: #https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html KILL:
ZOMBIE:
xp: 1
points: 10
money: 5
PLAYER:
xp: 1
points: 20
money: 10
PlaceHolders: <skill> = skill name, as the skill's config file name. %mysticlevels_level_
<skill>% gives the level for a skill
%mysticlevels_points_
<skill>% gives the points in a skill
%mysticlevels_max-level_
<skill>% gives the maximum level for a skill - not implemented yet
%mysticlevels_required-points_
<skill>% points needed to level-up
%mysticlevels_xp-multiplier_
<skill>% xp rewards multiplier
%mysticlevels_money-multiplier_
<skill>% money rewards multiplier
Optional plugins: Vault - for economy support
PlaceholderAPI - to use placeholders
Planned Features: - Global and per skill maximum level
- Global level or skills level average
- More Placeholders plugins integrations
- Level-up rewards
- Add a permission that represents the player's skill level (to make shops by exemple)
- Minimum and maximum level required for events
- More events (anvil repairs, enchants, smelting, movements...)
- Rewards Chance
- More rewards types (Items, Commands, Permissions, Message...)
If you have any issue, please report them on github, on my discord server or by pm. Any suggestion ? Send me a message too. My discord: Choco70#4098 Discord server: https://discordapp.com/invite/MhQ7Kaz GitHub issues tracker: https://github.com/AlanCretel/MysticLevels/issues