Skillz
Stats - made by Lolmewn
Description
This plugin adds Skills to your server. With skills, the player has a goal to work towards to, and get rewarded for playing actively. You can also use these skills as requirement for a rank-up, for example. Gaining levels can also make you more powerful, but not overpowered.
Commands and permissions
Command | Permission node | Description |
/skills | skillz.skills | See your skill levels |
/skills page <pagenumber> | skillz.skills | View other pages of your skills (Not yet implemented) |
/skills <Player> | skillz.skills.other | Shows skills of another player (Not yet implemented) |
/skills check <skillname> | skillz.check | Checks when you level up (Not yet implemented) |
/skills top | View the top players for every skill (Not yet implemented) | |
/skills reset | skillz.reset.self | Reset your skills (Not yet implemented) |
/skills reset <Player1> <Player2> etc | skillz.reset.other | Reset other player's skills (Not yet implemented) |
Default Skills
There are a couple of basic skills. To give an idea of what they do, I'll take the Mining skill as example and walk you through the config.
#name of the skill name: Mining #description of the skill, will be used later for more in-depth commands. description: Level up your mining skill to unlock new features, like breaking new blocks and using new tools. #default XP-gain multiplier multiplier: 1 #whether or not this skill is enabled at all enabled: true #send a message to everyone that a player has leveled up. You can change the message below broadcastLevelup: true #blocks used by this skill, either for gaining XP, blocking until a certain level, or blocking items until a certain level. blocks: #the stone block gets associated with this skill. You can find a list with all possible itemnames here: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/Material.java#84 STONE: # get 1 XP for breaking a stone block. You level up when your XP is higher than level^2*10 (so to get level 3, you need 40 xp) xp: 1 COBBLESTONE: xp: 0.5 #you can only start mining cobblestone from Mining level 5. level: 5 tool_level: #only for breaking blocks #you can't use a Diamond pickaxe until you are level 5 DIAMOND_PICKAXE: 5 #Special abilities that randomly happen, usually with a higher chance of happening as the player gets to a higher level. special: #get double drops every now and then doubleDrops: #whether or not this special is enabled enabled: true #what the chance is of getting a double drop, in percentages (from 0-100) chance: "%level%/3" #when a double drop happens, send the player a message notifyPlayer: true doubleXp: enabled: true chance: "%level%" notifyPlayer: false messages: levelup: - '&3Congratulations %player%! You leveled up your %name% skill.' - '&6Your skill level is now %newlevel%' broadcast: - '&3%player% leveled up his %name% skill! He is now level %newlevel%' needsHigherLevelBlock: "You can't break this block! %name% level required: %level%" needsHigherLevelTool: "You can't use this tool yet! %name% level required: %level%" itemsDroppedOnGround: "Your inventory was full, causing your item rewards to be dropped on the ground!" doubleDrop: "Your block had a double drop! How lucky you are." doubleXp: "Your block dropped double XP! How lucky you are." #rewards for leveling up rewards: #some items you get. Separated by ; for multiple items. 89,4 means 4 glowstone (will use material name in a newer version), 17,2,1 means 2 wood with data-type 1 (so Spruce wood). items: 89,4;17,2,1 #money you get for leveling up. Nice incentive for working towards a levelup. money: 100
Basic Skills
There are a few basic skills you can train:
Name | How to gain XP |
---|---|
Acrobatics | Fall and get hurt |
Archery | Hit players or animals with your arrows |
Digging | Dig dirt, sand, grass or gravel |
Mining | Mine blocks, get XP |
Swimming | Suffocate in water |
Swords Combat | Hit players or animals with your sword |
Woodcutting | Chop trees |
A Video about it
Source
https://gitlab.com/lolmewn/Skillz
API
Hook into the API to get player levels, XP, add new Skills, and more! Click here to see the API
Please add abilities like how mcmmo did, i hate mcmmo now
I still waiting for thieving and sneaking skills. Good for burglars, thieves and assasins.
@Ninespire
Please, make a ticket for it. It's much easier keeping track of issues when people create tickets.
On my server, skillz still works, but conflicts with citizens2. When it conflicts, there are errors spit out by the console almost every second. Everything still works in the two plugins, but the error lags my console and makes my server.log file HUGE. It's over 750mb. This is the error. Please fix this quickly, I love your plugin and I would hate to remove it from my server. http:pastebin.com/8pArTT4t
@poncjusz
Love this Idea!
@Lolmewn
Take a thieving skills like this: press shift while standing next to another player (stealth mode) and click on it with the right. The chance of success to preview the items depends on the level. If you do not succeed - the player will get the information that you have tried. Another attempt to steal anyone can have for some time (not right away!). Also i suggest to give the name of skill levels: novice, apprentice, journeyman, master, grand master ... etc. It will be fun and good for RPG.
@poncjusz
I see. I will take this into account when updating, thanks for the feedback!
This plugin is exactly what I was looking for. You did a wonderful job. There are a few things that are critical to your plugin perfectly served its purpose. It lacks some skills that are important for RPG servers. I mean THIEVERY and SNEAKING. Robbing players must rely on a percentage chance of access to their equipment, if the thief and the player does not move. Please, make this simple skill. Another thing is the descriptions of colors - red color looks really bad. Can enter the color choices, or change it to a relaxed (eg blue).
Update coming soon.
this plugin is awesome exept on my server someone has a unarmed skill of i think 39 and he is just boss at the fist combat XD
If you have NPCs in your server... players can punch them and get experience. >.<
Sometimes when I join the game and use /skills it doesn't show any of my skills unless i restart the server...
Also, the link to the src is dead.
Could someone make a guide on how to use and setup the custom skills?
i agree this is awesome. Wish the farming skill would be added :D
Love this plugin, this plugin is so awesome, hope there is more updates!!
@Lolmewn
Okay, well thank you. I appreciate it.
@OnyxNewt
I could, but I won't, since there aren't many users who'd use this. I'll see if I can make it myself, if I find time for it. I recommend looking for a dev though, it really isn't that hard :)
@Lolmewn
I can't code. Do you think it's possible you can add this in an update?
@OnyxNewt
This can be done through the API. Listen for the SkillzLevelUpEvent (or something), change the player bar accordingly.
Is it possible that this plugin can show the player's total level above the player's xp bar? If not could you make this a possibility in the next build?