Skillz

Logo


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

CommandPermission nodeDescription
/skillsskillz.skillsSee your skill levels
/skills page <pagenumber>skillz.skillsView other pages of your skills (Not yet implemented)
/skills <Player>skillz.skills.otherShows skills of another player (Not yet implemented)
/skills check <skillname>skillz.checkChecks when you level up (Not yet implemented)
/skills topView the top players for every skill (Not yet implemented)
/skills resetskillz.reset.selfReset your skills (Not yet implemented)
/skills reset <Player1> <Player2> etcskillz.reset.otherReset 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: http://jd.bukkit.org/beta/apidocs/org/bukkit/Material.html
    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:

NameHow to gain XP
AcrobaticsFall and get hurt
ArcheryHit players or animals with your arrows
DiggingDig dirt, sand, grass or gravel
MiningMine blocks, get XP
SwimmingSuffocate in water
Swords CombatHit players or animals with your sword
WoodcuttingChop trees

A Video about it

Source

Click here to view the source code!

API

Hook into the API to get player levels, XP, add new Skills, and more! Click here to see the API

IRC Support

You can find me (and possibly, when I'm around, support) in my IRC channel #Lolmewn on irc.esper.net - See you there!

Metrics

This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:

  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version If you wish to disable this feature (/me cries), you can do so by opt-ing out, which you can do in the config file under /plugins/PluginMetrics/

Auto-updater

This plugin has a built-in auto-updater, which connects to BukkitDev to check for updates. If you, for some reason, wish to disable this process, you can do so by setting 'update' to false in the plugins' settings file.

Statistics

Statistics
Stats from http://mcstats.org/plugin/Skillz

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of UnwrittenPaper UnwrittenPaper Oct 10, 2014 at 12:49 UTC - 0 likes

    @andrewcramer: Go

    You can enable/disable different skills by using permissions. Only give the skillz.<skill> permissions that you want to use.

  • Avatar of UnwrittenPaper UnwrittenPaper Oct 10, 2014 at 12:48 UTC - 0 likes

    Hello, I'm getting this error in the console! I am running CraftBukkit 1.7.10 and Skillz 5.9. I have not modified Skillz' configuration file in any way. Also, when players type /skills, a message shows up saying "There is no page 1 for <Player>"

    EDIT: I've tried using a MySQL database, but then, when I type /skills, it says "===Skillz===" and only that.

    Here's the error in the console. [14:42:17] [Server thread/INFO]: [Skillz] Enabling Skillz v5.8 [14:42:17] [Server thread/INFO]: [Skillz] Metrics loaded! View them @ http://mcstats.org/plugin/Skillz [14:42:18] [Server thread/ERROR]: Error occurred while enabling Skillz v5.8 (Is it up to date?) java.lang.NumberFormatException: For input string: "6.0-DEV" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) [?:1.7.0_67] at java.lang.Double.parseDouble(Unknown Source) [?:1.7.0_67] at nl.lolmen.Skillz.Updater.versionCheck(Updater.java:491) [?:?] at nl.lolmen.Skillz.Updater.<init>(Updater.java:206) [?:?] at nl.lolmen.Skillz.Skillz.onEnable(Skillz.java:121) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:455) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:389) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:352) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:326) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:282) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:189) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:436) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-24-g07d4558-b3116jnks]

    Last edited Oct 18, 2014 by UnwrittenPaper
  • Avatar of andrewcramer andrewcramer Sep 11, 2014 at 19:33 UTC - 0 likes

    could you add a "crafting" skill where you cant craft diamond stuff until a certain crafting level. so you have to craft leather/wood until you get high enough level to craft iron then craft enough iron stuff to craft diamond etc. maybe have it so you can enable/disable certain skills as well. in case someone does not want a crafting skill plugin for there faction server.

  • Avatar of Lolmewn Lolmewn Jul 17, 2014 at 08:12 UTC - 0 likes

    @FTOtter: Go

    No party system in this plugin, and no plugin that I know of that provides this.

    Waiting to see what's going to become of BukkitDev. May or may not switch to a replacement if it completely dies off (which is what I presume to happen really).

  • Avatar of FTOtter FTOtter Jul 16, 2014 at 18:15 UTC - 0 likes

    Does this have a party system, or is there another plugin that works with this one to do a party system like mcMMO has? Where you can share a certain percentage of exp, chat in the party, etc?

  • Avatar of Lolmewn Lolmewn Jul 15, 2014 at 11:05 UTC - 0 likes

    @smokeymcjay: Go

    Please create a ticket!

  • Avatar of smokeymcjay smokeymcjay Jul 14, 2014 at 18:06 UTC - 0 likes

    You should add a feature where after a certain level in a skill you get a little power like if your unarmed is level 5 you can do a sort of power attack for a little more damage than usual every X amount of minutes

    MythicCraftMC

  • Avatar of pepper82 pepper82 May 27, 2014 at 22:16 UTC - 0 likes

    1.8? it's coming september 2014^^


    German Minecraft Server [RPG][PVP][SURVIVAL][+MANY FEATURES]
    Minecraft RPG Survival PvP Server

  • Avatar of elyssah elyssah Apr 28, 2014 at 01:54 UTC - 0 likes

    @Lolmewn: Go

    Looking forward to it Lolmewn! Will the rewrite include a tutorial on making custom skills?

    Last edited Apr 28, 2014 by elyssah
  • Avatar of Snipingfool Snipingfool Apr 25, 2014 at 00:52 UTC - 0 likes

    Can anyone help me getting the 5.9 version to work?

Facts

Date created
Aug 25, 2011
Categories
Last update
Jul 11, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Skillz
Downloads
196,015
Recent files
  • B: v6.0-DEV for CB 1.7.9-R0.1 Jul 11, 2014
  • A: v6.0-DEV for 1.7.2 Sep 28, 2013
  • R: v5.9 for 1.7.2 Jun 20, 2013
  • R: v5.8 for 1.5.2 May 22, 2013
  • R: v5.7 for 1.5.2 May 01, 2013

Authors