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
Going on an out of town trip for the first part of the week, but when I return I'll get started!
@elyssah
You can totally help me test the latest builds if you want to. If you find bugs anywhere, report them to me and ill try to fix them :D
Lolmewn, how can I help?
@Gusjohansson92
Not sure wtf is going on. If you're new, you can totally try out 6.0 I guess. Please note though, it's developmental.
Hey guys, I just downloaded this to my Craftbukkit Server (all 1.6.4)
Does this have to be enabled somehow? I type /skills in-game and I get this message: "there is no page 1 for <player>"
Do you need a MYSQL database to store all information about player skills or how do I enable this plugin?
Cheers guys.
@Lolmewn
version 5.8 and 5.9
@drakfyr13
The /skills command looks up data for a player with your name (yourself). If you don't have permissions it *could* be that the player does not exist, causing this error. Otherwise... Not sure. Might be fixed in 6.0.0, although that's too unstable yet to use on a production server.
@Lolmewn
im using 5.8, and am getting the "no pages" error. which version should i be using?
1.6.4 bukkit server, does it matter if the players have already been on the server, or would i have to delete the player files for the plugin to work?
@LosMatthew
Same question: Which version?
Same error as lucaspart7...
If i type in chat /skills Show me only this msg "there is no page for <player>"
Please help :)
@lucaspart7
Which version? You don't need other plugins.
Don't work for me ... /skills -> there is no page for <player>
Have I to install other plugins ?
@Nheir
And that's exactly the reason I'm rewriting. I can send you the jar for testing, if you want.
Another bug, with farming in SkillsManager.java:340
btw, in plugin.yml, for v5.9, it's still 5.8 ;-)
@Nheir
Aaaah, so that's the issue. Well, I'm almost done with the rewrite anyway.
there is a bug with player skill file when the player got uppercase in his name :
the code tries to open
name.toLowerCase()+'.Txt'
but savesname+'.txt'
@Lolmewn
I have an idea for farming. The farming skill could give you a chance that the crop you place get's grown instantly.
@Lolmewn
I got it. Thank you very much for the immediate reply. And btw, your plugin is great.
@Fyodorb
Oh, right. I still haven't gotten down to writing it down. Basically, acrobatics lets you avoid damage based on your level. Archery gives more damage, as does Axes, Unarmed and Swords. Farming doesn't really give much (yet?). Mining and Digging give you chance for double-drops. And swimming lets you ignore damage.
All of this is configurable, of course. It will be even better in 6.0!
Hello there!
Please pardon my curiosity and inexperience, I'm new in Minecraft and server running business. I was looking for a good skills plugin and I ended up here. To me, this plugin is the best one around and it is exactly what I need - free of too much rpg feeling, just enough to make it a little more realistic.
Can you please tell me, what does each skill works for? What is the benefit of getting a higher level in each skill? And how visible are the results? What do I experience in practice when I've got 25 skill levels of -for example- woodcutting or mining?