[RPG]Skillz v5.9 - The simple skill plugin [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Lolmen, Apr 21, 2011.

  1. Offline

    Lolmewn

    Skillz - The Simple Skill Plugin

    Give me a reason to go update this plugin more often!
    [​IMG]

    Simple to use Skill system



    Moving to BukkitDev!
    http://dev.bukkit.org/server-mods/skillz/


    ChangeLog
    Show Spoiler

    Version 5.1:
    - Fixed some API stuff
    - Added Auto-Update (updates on disable)
    - The settings with "SkillnameEnabled = true" are now working.

    Version 5.0:

    - Added API (http://dev.bukkit.org/server-mods/skillz/pages/api/)
    - Fixed some stuff

    Version 4.5:

    - Fixed settings file not being created sometimes
    - Fixed typo (omg)
    - Started on making an API for other Skills

    Version 4.4:

    - Fixed HighScores not saving AND not loading properly.

    Version 4.3:

    - Fixed HighScores not saving properly

    Version 4.2:

    - Added HighScores!
    - Added some fancy colors.

    Version 4.0:
    - New way of handling leveling up (instead of going through a large list of checks, it now only has to check one thing.)
    - New Settings File
    - Help page is better now (/skills help)
    - Fixed other player's skills viewing
    - Totally re-written the plugin. THERE!
    - Added a convertion tool, see /skills help (You have to be OP to see it!)
    - Check when you levelup with /skills check <skillname1> <skillname2> etc.

    Version 2.2:
    - Permissions added.

    Version 2.11:
    - Fixed that stupid thingy with XP,newXP which was sent to the log every single time someone does something.

    Version 2.1:
    - MySQL Should work now. Not sure. Test it if you want, and do /skillz to convert Flat to MySQL.

    Version 2.0:
    - SQLite inserted! You HAVE to regenerate your settings file.
    - Convert flatfile to SQL with the /skillz command. Dont mind the "errors", something with "uuh, can't find the field!".
    - Some fixes I can't remember.

    Version 1.62:
    - Fixed doubledrop, you will not get the actual ore but the mineral now.
    - Fixed Acrobatics problem, you could gain HP by falling (I mean, what?!?)

    Version 1.61:
    - Small bugfix involving some player.sendMessage shizzle

    Version 1.6:
    - Possibility to add your own skills! (awesome xD)

    Version 1.5:
    - Custom Levelup Message, SKILL will be replaced with the skillname, and LEVEL with the new level.

    Version 1.4:
    - Code Cleanup

    Version 1.3:
    - Eeh, lots of things.

    Version 1.1:
    - Woodcutting added
    - Digging added
    - Swimming added
    -Change of Double Drops added
    -Some Code cleanup which really was necessary.
    Version 1:
    - Release


    Anyone interested in a new Skill or something?
    I am working on some interesting things, such as extra damage when you are a higher level.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
    dylanryan, Litt and Tang like this.
  2. Offline

    Lolmewn

    Means there's something wrong in the config.
    Probally. Let it regenerate ;)

    v4.4 contains the latest HighScore fixed, they didn't save properly.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  3. Offline

    Bordafan

    Thanks for the fast response.

    I tried deleting the config, but now i'm getting this:

    Code:
    2011-09-08 18:50:37 [INFO] [Skillz] Trying to create default config...
    2011-09-08 18:50:37 [SEVERE] java.util.zip.ZipException: error in opening zip file
    2011-09-08 18:50:37 [SEVERE] 	at java.util.zip.ZipFile.open(Native Method)
    2011-09-08 18:50:37 [SEVERE] 	at java.util.zip.ZipFile.<init>(ZipFile.java:131)
    2011-09-08 18:50:37 [SEVERE] 	at java.util.jar.JarFile.<init>(JarFile.java:150)
    2011-09-08 18:50:37 [SEVERE] 	at java.util.jar.JarFile.<init>(JarFile.java:87)
    2011-09-08 18:50:37 [SEVERE] 	at nl.lolmen.Skillz.Skillz.extract(Skillz.java:272)
    2011-09-08 18:50:37 [SEVERE] 	at nl.lolmen.Skillz.Skillz.makeSettings(Skillz.java:301)
    2011-09-08 18:50:37 [SEVERE] 	at nl.lolmen.Skillz.Skillz.onEnable(Skillz.java:115)
    2011-09-08 18:50:37 [SEVERE] 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    2011-09-08 18:50:37 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    2011-09-08 18:50:37 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    2011-09-08 18:50:37 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    2011-09-08 18:50:37 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    2011-09-08 18:50:37 [SEVERE] 	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    2011-09-08 18:50:37 [SEVERE] 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    2011-09-08 18:50:37 [SEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    2011-09-08 18:50:37 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    2011-09-08 18:50:37 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-08 18:50:37 [WARNING] [Skillz] Error creating settings file! Using default settings!
    
     
  4. Offline

    Lolmewn

    For some reason that's happening.. I got no clue why.
    I'll try to see if I can fix it..
     
  5. Offline

    Bordafan

    Thanks, but it seems like there are even more problems with file handling.

    When i deleted the config, i deleted the whole folder "Skillz".

    That is not (and should not be) a problem, the plugin created the required files. Well at least some of them...

    But here comes the tricky part. When the players' files get created, they are fully lowercase, but the plugin sometimes tries to find them named with a starting uppercase character.

    For example my name ingame is "Borda", the file name (which got created automatically) is "borda.txt", and i get exceptions like this:

    Code:
    2011-09-08 19:40:38 [SEVERE] java.io.FileNotFoundException: plugins/Skillz/players/Borda.txt (No such file or directory)
    2011-09-08 19:40:38 [SEVERE] 	at java.io.FileInputStream.open(Native Method)
    2011-09-08 19:40:38 [SEVERE] 	at java.io.FileInputStream.<init>(FileInputStream.java:137)
    2011-09-08 19:40:38 [SEVERE] 	at java.io.FileInputStream.<init>(FileInputStream.java:96)
    2011-09-08 19:40:38 [SEVERE] 	at nl.lolmen.Skillz.CPU.getLevel(CPU.java:299)
    2011-09-08 19:40:38 [SEVERE] 	at nl.lolmen.Skillz.SBlockList.onBlockBreak(SBlockList.java:51)
    2011-09-08 19:40:38 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:497)
    2011-09-08 19:40:38 [SEVERE] 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-09-08 19:40:38 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:121)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:481)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    2011-09-08 19:40:38 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  6. Offline

    Lolmewn

  7. Offline

    Bordafan

    @Lolmewn This one works completely. I restarted the server, it created the config without error. I joined the server, destroyed some blocks and rebuilt them, everything went fine without error. It leveled up my digging skill properly.

    Thanks for the fast fixing, and the nice plugin :) Keep up the good work.
     
  8. Offline

    Lolmewn

    no problem ;)
    Version 4.5 is out!
    - Possible Settings creation fail fixed
    - Some other bug fixed involving a typo ( a , instead of ; )
    - Starting on an API

    wtf an earth-quake hit my country. (and me!)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  9. Offline

    mxm24

    how does this compare to mcmmo?
     
  10. Offline

    Lolmewn

    More lightweight, mostly.
    Im going to add an API soon.
     
  11. Offline

    Lolmewn

    Last edited by a moderator: May 13, 2016
  12. Offline

    Space Ghost

    You should really post what all the skills do as you level up.
     
  13. Offline

    Lolmewn

    I think I'm going to make a sort serparate plugin, with all of that configurable.
    Right now, I'm really busy with my server, one of my Admins just got crazy :O
     
  14. Offline

    Lolmewn

  15. Offline

    Jack_Miller

    will it work with 1.8.1?
     
  16. Offline

    Lolmewn

    of course! I'm running it.
     
  17. Offline

    Jack_Miller

    cool, tank you ;D
     
  18. Offline

    Subject0017

    Would it be possable to add a skill for athletics that gives you increased speed or something (This may have been said before I know)
     
  19. Offline

    Lolmewn

    In theory, it's possible but I don't like it cuz it uses some things which are quite.. extensive. They use quite a lot of CPU and such (it's PLAYER_MOVE btw.)
     
  20. Offline

    Emiya Shirou

    It uses built in exp bar?
     
  21. Offline

    Lolmewn

    Nope, but I will add this soon!
     
  22. Offline

    rareshutzu

    mcMMO uses Spout which means you have to pay for the game. We must admit that there are people who didn't buy the game... Thank you for this mod
     
  23. Offline

    Lolmewn

    People should buy the game. It's better that way.
     
  24. Offline

    rareshutzu

    I know.. Totally agree, but still there are people... (I buyed it)
     
  25. Offline

    lordkalem

  26. Offline

    sardinhadura

    a good thing to thief skill would be: chets not creating noise wen opening (unlocked in lvl 20 or something) and not to make noise whille walking :)
     
  27. Offline

    Lolmewn

    Oh ye, new version is out. I think I mentioned that somewhere..
     
  28. Offline

    AlexTheDooD

    Enough with the chit-chat, does this plugin offer actual abilities? Or does it just say 'You have leveled up' and nothing more. You need to implement those things you have been talking about, faster wood cutting, all that crap, this plugin is useless without it. Or have you done it!? Nowhere can I find anything relating to this.
     
  29. Offline

    Lolmewn

    Not yet done, it's on my todo list.
    Although it already can be done (through another plugin, because Skillz has an API)
     
  30. Offline

    AlexTheDooD

    And what may that plugin be? Any examples? Thanks.
     
  31. Offline

    Lolmewn

    A not-yet existing one actually. Some developer could make it.
    Right now I'm really busy with school (test week), but when that's done I'll get started on it.
     

Share This Page