Inactive [MECH/RPG] LevelCraft v0.1.7.2 - The leveling up plugin; adds skills to Minecraft [1060+]

Discussion in 'Inactive/Unsupported Plugins' started by Samkio, Jan 25, 2011.

  1. Offline

    Samkio

    [​IMG]

    <Edit by Moderator: Redacted mediafire url>

    LevelCraft v0.1.8- The leveling up plugin; adding skills to Minecraft!

    Slowly moving to BukkitDev: <Edit by Moderator: Redacted mediafire url>


    Version: [617<font color="rgb(51, 102, 255)">+</font>]
    Description:
    LevelCraft is a plugin devised to add a Challenge to Minecraft Single Multiplayer.It denotes normal actions into "Levels" this level is increased via the gaining of "Experience" the experience of which relates to the level. It is fully customizable and due to some recent changes is medium weight. This congratulates the user for doing certain actions. For example the more mining a player does the faster they mine and the better then mine. Makes sense right?

    LevelCraft is licensed under a <Edit by Moderator: Redacted mediafire url> Commons Attribution-NoDerivs 3.0 Unported License[/url].

    <Edit by Moderator: Redacted mediafire url>

    <Edit by Moderator: Redacted mediafire url> Suite.[/url]
    LevelCraftCore:
    <font color="rgb(51, 102, 255)"><font color="rgb(0, 0, 0)">Download:</font> <Edit by Moderator: Redacted mediafire url>
    <font color="rgb(0, 0, 0)"><Edit by Moderator: Redacted mediafire url>

    <font color="rgb(0, 0, 0)">Features:</font>
    * Dyamic ExpBar without the use of a client mod!
    * Support for API Permissions.
    * Improved Code.
    * Compatability with 1.8. :)

    <font color="rgb(0, 0, 0)">

    LevelCraftCore is necessary to have to enable all the level plugins. It is the glue that holds them all together, it also handles the commands and the data storage. It is a beast, a boss and made my the 1337 pro that is Samkio. :cool: "Core' blimey it is mighty good."


    Show Spoiler
    [X] = Outdated.

    [​IMG]
    Mining: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Mining level depicts the use of the mighty pickaxe. Players leveling up by the mining of blocks enabling them to gain access of new pickaxes and new blocks.
    Features:
    1. Denotes use of Pickaxes. Higher level unlocks better pickaxes.
    2. Denotes block mining. Higher level the more types of blocks they can mine.
    3. Faster Mining. Higher level the faster you can mine.
    4. Double Drops. Higher level the higher your change of the block dropping twice.
    5. FirePick. Higher level unlocks the FirePick. A portable furnace that when mining blocks with golden pickaxe will drop what it would be if smelted.
    ie. CobbleStone -> Stone, IronOre -> IronIngot

    * Gain Experience by Mining.


    ------------------------------------------------------------------------------------------------------
    [​IMG]
    WoodCutting: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The WoodCutting level depicts the use of the hatchet or more commonly know as the axe. Players can gain experience by chopping down trees and planks allowing them to gain access to higher level axes.
    Features:
    6. Denotes usage of hatchets (axes). The higher the level the more axes you can use.
    7. Denotes cutting of logs/wood. The higher the level the more types of log you can cut.
    8. Faster Cutting. The Higher your level the faster you can chop down trees.

    * Gain Experience by chopping trees.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Combat: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Combat level depicts the use of swords on both players and mobs. A true warrior will attain to keep this high.
    Features:
    9. Denotes usage of swords. The higher the level the more swords are unlocked.
    10. PVP Range (Toggleable). Allows players to only attack players withing a range of combat level.

    * Gain Exp by fighting mobs and players.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Range: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Range level depicts how much damage you do per arrow. A handly level for keen archers.
    Works both on Players and Mobs.
    Features:
    11. Greater Damage Arrows. The higher the level the greater damage your arrows do.

    * Gain Experience by attacking mobs and players with a bow.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Dexterity: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Dexterity level allows players to jump higher and run faster with the aid of boots. Level up by jumping. Jumping higher is turned off by default and only applies to Gold and Diamond boots. Players also receieve less Fall Damage with higher levels. (Note. Every attempt to make this level a light a possible has been done. This Level however may contribute a large amount of lag. Due to this LevelUpdates for this level are run every 1min [as upposed to everytime someone moves]).
    Features:
    12. Allows users to run. Crouch to run. Must be wearing boots.
    13. The higher level you are the move boots you unlock.
    14. The higher the level of boot the greater running speed and jumping height.
    15. Survive greater fall damage the higher level you are.

    * Gain Experience by jumping.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Farming: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Farming level depicts how a player is one with the land. It depicts the use of hoes allowing the player to use a greater level of hoe the higher their level. Gain experience via harvesting crops, tilling land and much more. Also adds the ability to obtain apples from trees by farming the leaves.
    Features:
    16. Depicts the level for hoes. The greater level you are the higher level of hoe you can use.
    17. Random chance to yield more wheat from crops the higher level you are.
    18. Random chance to yield Coca Beans from crops the higher level you are


    * Gain Exp for things such as Harvesting crops, tilling land, finding seeds, using bonemeal on crops

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Digging AKA Excavation: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Excavation level depicts the use of the shovel. Allowing users to dig greater depths with a higher excavation skill.
    Features:
    19. Depicts the use of shovel. The greater your level higher shovel you can use.
    20. Depicts what blocks you can dig. The greater your level the more block types are dig able.

    * Gain experience by digging.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Swimming/Diving: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Swimming level allows players to use helmets as scuba-diving gear. Having a higher level allows you to stay under water longer, then re-fill your helmet on land.
    Features:
    21. Allows users to wear "scuba-gear" to enhance their breath in water.
    22. The higher level the more scuba-gear obtainable.
    23. Crouch to fill and empty air.

    * Gain Experience by using the scuba gear.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Explosives: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Explosives level depicts your ability with explosive devices. This being TNT, Dynamite Sticks (Redtorch light with lighter), and grenades (eggs Thank to @<Edit by Moderator: Redacted mediafire url> for letting me use this functionality.) This plugin makes explosives really poor damage at the start but as you level up you deal greater damage. Be warned :D
    Features:
    24. Denotes range of Explosives. The higher level you are the more choice of range you can use.
    25. Denotes Levels for TNT. Must be higher than this level to use TNT.
    26. Adds Dynamite and Grenades.
    27. Toggle Grenades with left click.
    28. Light RedStoneTorch with a lighter.
    29. Change Dynamite Range with left click.
    30. Depicts Levels for Dynamite and Grenade.

    * Gain Experience by using TNT,Dynamite and Grenades.

    -------------------------------------------------------------------------------------------------------
    [​IMG]:mad:
    Health[X]: Author @<Edit by Moderator: Redacted mediafire url>:mad:
    Download <Edit by Moderator: Redacted mediafire url>
    The Health level allows players to take greater damage. This is leveled up by getting:mad: damaged.:mad:
    BUGGY. :'( Avoid use.
    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Defence: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Defence Level depicts the use of armor. Allowing players to wield armor only when they attain the correct level. Level up by using the armor.
    (Disclaimer: not fully tested use at own risk.)
    Features:
    31. Denotes level to use armor. The higher level you are the more armour you can wear.

    * Gain Experience by getting damaged when using armour.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Forgery: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Forgery level, the most configurable level to date, allows users to forge tools, forge armour and repair tools and armour. The higher level you are the more you can forge! Level it up by smelting/repairing and forging items. A truly epic skill if i say so myself. :p
    Features:
    32. Allows tools to be repaired by placing in a furnace.
    33. The higher level you are the greater tools can be repaired.
    34. The higher level you are the more tools/armour that can be forged.
    35. The higher level you are the more blocks that can be smelted.

    * Gain Experience by Repairing,Smelting and Forging.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Scavengar: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    Users have a small chance of finding 'lost' items in the sand / gravel /dirt /grass.
    The higher level you are, the better chance of finding the items.
    Features:
    36. Allows hidden items to be found when destroying blocks.
    37. The higher level you are the more items that can be found.

    * Gain Experience by finding items.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Prayer[X]: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    Introducing the new Prayer level! Users can now be at one with the gods. Level up by burying the bones of past victims to gain Prayer Points that allow you to do many functions such as healing and protecting. When your Prayer points are low don't forget to pray at an alter to replenish them!
    Features:
    38. Creates Prayer Points Replenish-able by praying at an alter.
    39. The higher level you are the more prayers you can do.
    40. Prayers use prayer points and must be replenished.

    * Gain experience by using prayers and burying bones.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Construction: Author @<Edit by Moderator: Redacted mediafire url> Fixed by: @Samkio
    Download <Edit by Moderator: Redacted mediafire url>
    The construction level depicts what blocks are allowed to be placed. The higher level you are the more blocks that can be placed.

    Features:
    41. Depicts level for block placement.

    * Gain experience by placing blocks.



    Show Spoiler
    LevelsProgess/NeedDeveloper: <font color="rgb(255, 0, 0)">1</font><font color="rgb(255, 153, 0)">-</font><font color="rgb(153, 204, 0)">3</font> Difficulty.
    <font color="rgb(153, 204, 0)">Excavation</font>: COMPLTED.
    <font color="rgb(153, 204, 0)">Combat</font>: COMPLETED
    <font color="rgb(153, 204, 0)">Range:</font> COMPLETED
    <font color="rgb(255, 153, 0)">Forgery</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Dexterity</font>: COMPLETED
    <font color="rgb(153, 204, 0)">PvP</font>: INTEGRATED WITH COMBAT
    <font color="rgb(153, 204, 0)">Swimming</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Thieving</font>: Author @Samkio/<Edit by Moderator: Redacted mediafire url> me[/url]. The ability to steal items from players inventory.
    <font color="rgb(255, 153, 0)">Sorcery</font>: Author @<Edit by Moderator: Redacted mediafire url>. The ability to do a series of magical abilities using a wand (stick).
    <font color="rgb(255, 0, 0)">Necromancy</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to summon agressive mobs (on your side).
    <font color="rgb(255, 153, 0)">Crafting</font>: Author @1337. The ability to craft items.
    <font color="rgb(255, 0, 0)">Dungeonee</font>ring: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to destroy dungeons.
    <font color="rgb(255, 153, 0)">Explosives</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Cooking</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to cook items without burning them.
    <font color="rgb(255, 153, 0)">Prayer</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Health</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Defence</font>: COMPLETED
    <font color="rgb(153, 204, 0)">Angling</font>: Author @<Edit by Moderator: Redacted mediafire url> The ability to catch more fish quicker.
    <font color="rgb(153, 204, 0)">Fletching</font>: Author @Spartan_V23. The ability to craft more arrows.
    <font color="rgb(255, 0, 0)">Merchant</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to sell items. [Possibly have NPC "Traveling Salesman" randomly generated. They will try and sell stuff.]
    <font color="rgb(255, 153, 0)">Engineering</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to engineer transport.
    <font color="rgb(255, 0, 0)">Electrician</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to use redstone.
    <font color="rgb(255, 0, 0)">Tamer</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to tame mobs.
    <font color="rgb(255, 0, 0)">Speech</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to talk. ;) [Possibly have NPC's and have a sort of Persuasion level Possibly could be linked with Merchant]
    <font color="rgb(255, 0, 0)">Survivalist</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to "Survive"
    <font color="rgb(255, 0, 0)">Luck</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to find greater number of ores.
    Could be one Level.
    <font color="rgb(255, 153, 0)">Hunger</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to last longer without food.
    <font color="rgb(255, 153, 0)">Thirst:</font> Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to last longer without water.
    <font color="rgb(255, 153, 0)">Fatigue</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to last longer without sleep.
    <font color="rgb(255, 0, 0)">Locksmith</font>: Author @<Edit by Moderator: Redacted mediafire url> Friedrich[/url]. The ability to break into locked chests/doors. (LWC or other protection).
    <font color="rgb(153, 204, 0)">Forager</font>: COMPLETED
    <font color="rgb(153, 204, 0)">Florist</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. Get more flowers.
    <font color="rgb(153, 204, 0)">Medicine/Doctor</font>: Author @Samkio. Heal players from poison and damage with bandages and herbal remedies.
    <font color="rgb(153, 204, 0)">Builder</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. Build Blocks!
    <font color="rgb(153, 204, 0)">Artist</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. Paint Wool with a brush!
    <font color="rgb(153, 204, 0)">Masonary</font>: Author @Torrent. Bricks/Stone etc.
    <font color="rgb(153, 204, 0)">Carpentary</font>: Author PM me. Create wooded items.



    Show Spoiler
    Videos:





    Show Spoiler
    LevelView:
    If you are using MySql to store LevelCraft Data you can use LevelView curtesy of @<Edit by Moderator: Redacted mediafire url> to allow users to view their levels online!
    [​IMG]
    Download: <Edit by Moderator: Redacted mediafire url>


    Show Spoiler
    Love LevelCraft? Express it:
    Code:
    <Edit by Moderator: Redacted mediafire url> <Edit by Moderator: Redacted mediafire url>
    
    
    [spoiler]Translations:
    Dutch: Curtesy of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
        German: Curtesy of @<Edit by Moderator: Redacted mediafire url> 			 				[/url]<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    Polish: Curtesty of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    Swedish: Curtesty of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    French: Curtesty of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    Spanish: Curtesty of @<Edit by Moderator: Redacted mediafire url> [/url]: <Edit by Moderator: Redacted mediafire url>
    Czech: Curtesty of [USER=90570041]@rodier[/USER]@ceskejparan.cz : <Edit by Moderator: Redacted mediafire url> / <Edit by Moderator: Redacted mediafire url>
    
    
    [spoiler]FlatFile to MySQL by @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    
    
    [spoiler]LevelCraft is Expanded by Spout!
    Download it here: <Edit by Moderator: Redacted mediafire url>
    Features:
      * Skill Capes - Obtained by Level Mastery.
      * LevelUp Sounds - Sound played on LevelUp.
      * LevelUp Notification - Achievement Style Notification.
      * + More to come![IMG]http://forums.bukkit.org/attachments/2011-08-22_15-20-27-png.6113/?embedded=1[/IMG][/spoiler]
    
    
    Have any issues or ideas?
     Post here: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Jul 14, 2017
  2. @Samkio

    Back to level-cap: Is it possible, that the line "Levelcap: 100" in the config.yml overwrites "Excavation=5" inside the classes.yml?
    Isn't it working at all or just a problem with the config?
     
  3. Offline

    Andreas Brisner

    What does these mean?
    UnlockLines: 7
    ExpLines: 7

    And why does it show all classes in front of my name? that is SO annoying, how to turn it off?
     
  4. Offline

    42and19

    I finally got it to work with the config file. I have no idea what I was doing wrong however. The yaml format seems really sensitive and that is with Notepad++. Anyway, my users are loving this plugin so thanks for the hard work everyone.
     
    Samkio likes this.
  5. Offline

    Redem

    Is there a way to enable anti-boost because I cannot find the configuration to turn it on at all.
     
  6. Offline

    Samkio

  7. Offline

    Flipp

    Hi Guys, Levelcraft is really nice!
    Two Questions:
    1. Is it possible to configure, that a "Woodcutter" maybe levels "X-Times" as fast in WoodCutting than in other Skills? (For each class, Woodcutter is just the example)
    2. Do you know how long it will take, until the Crafter is ready, and will it be possible to make different Crafters for configured Items?
    (I have to configure a Server until next week, and would like to have it in there, but I don´t want to make "stress" because i´m glad that there are Poeple like you, which make the great Minecraft-Plugins in their free-time. "The Heroes that make Minecraft really interessting".

    Thank´s for this great Plugin!
     
  8. Offline

    Samkio

    @Flipp
    1.Not possible yet.
    2.Not sure I'm working heavily on he core atm.

    Cheers :)
     
    Flipp likes this.
  9. Offline

    Andreas Brisner

    I am still waiting for a response on the demolitions/explosives issue/bug.

    Eggs do not hatch when grenade is turned off, and this is pretty annoying. Will there be a bugfix?
     
  10. Offline

    DestructDez1

    Im getting a "An internal error occured while attempting to perform this command" when i type "/level class switch miner". I am getting xp to warrior but the animal Imm killing doesn't die for some time while I continue to level even after its dead. To my knowledge everything is set up correctly.

    PermissionsEX running on File instead of SQL:
    Code:
    groups:
        default:
            default: true
            permissions:
            - lc.LevelName
            - lc.shout
            - lc.level.*
        admin:
            permissions:
            - permissions.*
            - lc.*
            - lc.level.LevelName
            - lc.shout
            - lc.level.*
            - lc.admin
            - WirelessRedstone.*
            - WirelessRedstone.createsign
            - modifyworld.*
            - permissionsex.*
            - permissionsex
            - weatherplugin.weather
            - weatherplugin.*
    users:
        dez:
            group: admin
            permissions:
            - permissions.*
            - lc.*
            - lc.level.LevelName
            - lc.shout
            - lc.level.*
            - lc.admin
            - WirelessRedstone.*
            - WirelessRedstone.createsign
            - modifyworld.*
            - permissionsex.*
            - permissionsex
            - weatherplugin.weather
            - weatherplugin.*
    LevelCraft Config running with SQL support:
    (LevelView shows charecters: http://urbanlyadjusted.com/uacraft/ )
    Code:
    SwitchableClasses: Warrior,Mage,Farmer,Lumberjack,Miner
    ExpLines: 7
    MySqlDatabaseUsername: uacraft
    LevelCap: 100
    EnableLevelCap: true
    Database: mysql
    ColourGood: GREEN
    LevelConstant: 20
    EnableSkillMastery: true
    ResetExpOnClassSwitch: true
    UnlockLines: 7
    MySqlDatabasePassword: ******
    ColourTwo: YELLOW
    ColourBad: RED
    AllowClassSwitching: true
    UseClassSystem: true
    NotifyAll: true
    MySqlDatabaseDirectory: uacraft.db.3262010.hostedresource.com:3306/uacraft
    Worlds: world,world_nether,
    ColourOne: GOLD
    
     
  11. Offline

    Andreas Brisner

    Probably because "miner" and "Miner" isnt the same class :)
    Try writing Miner wigh a big M :)
     
  12. Offline

    filthyklean

    Any simple ways to move the flatfiles to mysql ??
     
  13. Offline

    DestructDez1

    xD im a dum. Is there any way to make your own class using the existing classes levels and skills? For example, a class that has all the skills available so no class change is necessary to level up the proficiencys.
     
  14. Offline

    Andreas Brisner

    Yes, change the class config file I think. I did not want this on my server because then I could just as well remove the plugin :)
     
  15. Offline

    Torrent

    I'll look into it - I had a similar problem with the farming level doing this when awarding Exp.
    I'm not doing anything tonight so i'll roll out some bug fixes ^^

    and maybe a new level ;)

    Yes, there is a way to make custom classes, like so;

    Classes:
    Miner:
    Default: false
    Levelable: [Mining, Forgery, Excavation,]
    Prefix: '[Miner]'
    UnLevelable: ['*']

    Change the 'Miner' to something you desire, keep the default off - unless you want people to join that class when they first join the server. Under levelable enter all the skills you want people to be able to Level. Put the prefix to whatever you want. UnLevelable should be kept as the star as it denotes all over levels apart from the Levelable ones.

    .... If that makes sense :p

    E.G:

    Classes:
    Archer:
    Default: false
    Levelable: [Range, Dexterity,]
    Prefix: '[Archer]'
    UnLevelable: ['*]

    That would create the archer group and only allow them to level up in the ranged skill and dexterity :)

    Good eh?

    Watch this if you have any errors:




    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  16. Please help ..
    If I want to use the command /lvl p i become a message "An internal error occured while attempting to perform this command" and in the server log is this:


    Code:
    17:18:01 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'lvl'
     in plugin LevelCraftCore v0.1.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    81)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NumberFormatException: For input string: "0,9"
            at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
            at java.lang.Double.valueOf(Unknown Source)
            at me.samkio.levelcraftcore.Tools.roundTwoDecimals(Tools.java:31)
            at me.samkio.levelcraftcore.LCCommands.showStat(LCCommands.java:28)
            at me.samkio.levelcraftcore.LCCommands.determineMethod(LCCommands.java:1
    19)
            at me.samkio.levelcraftcore.LevelCraftCore.onCommand(LevelCraftCore.java
    :179)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    >
    and another problem ..
    if i start the server with LCDextery this appears:


    Code:
    17:33:33 [WARNUNG] Task of 'LCDexterity' generated an exception
    java.lang.NullPointerException
            at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
            at java.lang.Double.parseDouble(Unknown Source)
            at me.samkio.levelcraftcore.util.FlatFile.getDouble(FlatFile.java:45)
            at me.samkio.levelcraftcore.LevelFunctions.getExp(LevelFunctions.java:46
    )
            at me.samkio.levelcraftcore.LevelFunctions.getLevel(LevelFunctions.java:
    21)
            at me.samkio.lcdexterity.CheckThread.run(CheckThread.java:18)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:138)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  17. Offline

    Samkio

    @unrwitten
    Update. +
    Caused by: java.lang.NumberFormatException: For input string: "0,9"
    Change you config to 0.9

    + Stop + Start server when adding new levels.
     
  18. Offline

    looklee

    config.yml
    MySqlDatabaseUsername: root
    LevelCap: 100
    EnableLevelCap: true
    Database: mysql
    ColourGood: GREEN
    LevelConstant: 20
    EnableSkillMastery: true
    MySqlDatabasePassword: ******
    ColourTwo: YELLOW
    ColourBad: RED
    NotifyAll: true
    MySqlDatabaseDirectory: localhost:3306/minecraft
    Worlds: world,
    ColourOne: GOLD
    ----------------------------------------------------------------------------------
    <?php
    // mySQL information
    $server = 'localhost'; // MySql server
    $username = 'root'; // MySql Username
    $password = '******' ; // MySql Password
    $database = 'minecraft'; // MySql Database
    $LevelConstant = '20';


    and i try enter site
    but
    see picture that error
    please tell me what will i do?
     

    Attached Files:

  19. Offline

    Tealk

    @Torrent

    if i edit "LevelForCocoBeans and LevelForMoreWhea" it all times will write twice there

    LevelForCocoBeans <- Recommended over level 30=30
    LevelForMoreWheat <- Recommended over level 50=50
    LevelForCocoBeans <- Recommended over level 70=70
    LevelForMoreWheat <- Recommended over level 40=40
     
  20. Offline

    Andreas Brisner

    1) put the PHP files in a dir INSIDE the www folder,
    2) Point browser to correct url
     
    Samkio likes this.
  21. Offline

    Samkio

    @Blackstorm72
    Thanks for the suggestions/bugs :)
    Atm I am working on the core and will then work on each level working down the list :p
    I have decided to remove the class system. Why? It doesn't suit levelcraft. instead i am making a better permissions system and heck i might make a new plugin that is a fake version of Permissions with Classes.
    Do not worry. There is a way to set levelcap and multipliers via permissions.

    Stay tuned.
     
  22. Offline

    Andreas Brisner

    What? And I just installed it BECAUSE of classes? I dont want my users being able to do everything...
    I will probably not upgrade to any new version you release if class feature is removed. (CLass'es via GM/groups and permissions is OK though.)

    It will be set'able through permissions right?
    No problem setting up class'es in permissions.

    If the group doesnt have levelcraft.<class> , the users cannot raise that skill.
     
  23. Offline

    Samkio

    @Andreas Brisner
    I will probably make a separate plugin for Classes. :)
    It will be setup-able via permissions correct.

    Nice thinking! :D
     
  24. Offline

    Trenix

    Aww man. The class system looked like it had potential but I believe it was a little disorganized. It was nice that some players were unable to make certain crafts, which actually made players rely on each other. Would be nice if we were able to choose our own skills though. Most games have a primary skill list and a secondary one. In xsyon, you were required to select one primary one, then two secondary ones, along with a combat skill. Now that would be interesting. I mean, swimming is a cool skill but it's far from a primary one. Therefore it was just a filler in most classes. So you should keep the idea of a class system, but allow more customization like Xsyon has. The current one has way too much restrictions.
     
  25. Offline

    Andreas Brisner

    Imo, the players that dont have that class, shouldnt even be able to pick up certain things, or even hold an item that belongs to that class.
     
  26. Offline

    DestructDez1

    I have a suggestion. How about being able to set classes through the site. People would be able to input their username and class in the site then the plugin would read the entry in the sql database and assign the username the class on login. This would save the GM's some effort and the players time if no GM is on.
     
  27. Offline

    Zeroi9

    Well, atm the classes part doesn't use any database?
    If/when classes does save to a database, it would be very very easy.
    BUT-
    it would also be easy to abuse and change someone's job?


    index.php/html:
    HTML:
    <form action="changejob.php" method="post">
    
    Ingame name: <input type="text" name="ign"/><br/>
    
    New job: <input type="text" name="newjob"/><br/>
    
    <input type="submit" value="Change job!"/>
    changejob.php:
    PHP:
    <?php
    require_once('database.php');
    $ign mysql_real_escape_string($_POST['ign']);
    $newjob mysql_real_escape_string($_POST['newjob']);
    $query "UPDATE ExperienceTable SET class='$newjob' WHERE playername='$ign'";
    $resource mysql_query($query);
    if(!
    $resource)
    {
    echo 
    "Something went wrong!";
    }
    else
    {
    if(
    mysql_affected_rows($resource)!=0)
    {
    echo 
    "Your job has been changed!";
    }
    else
    {
    "Sorry, couldn't find any player with that name.";
    }
    }
    ?>
    database.php:
    PHP:
    <?php
    // You must set up the host, suer, password, and the last row, $db.
    $host "localhost";
    $user "username";
    $password "password";


    $conn mysql_connect($host$user$password) or die ('Something went wrong.');

    $db 'minecraft_database';
    mysql_select_db($db);
    ?>


    Well, as I said, it doesn't support classes in database yet?
     
  28. Offline

    BioRage

    @Samkio

    What makes levelcraft awesome, and unique is that it offers FREEDOM, and users to make classes THEMSELVES if they want.

    Hell there's atleast 5 RPG class plugins, go there, LONG LIVE LEVELCRAFT!
     
    Samkio likes this.
  29. @ Samkio

    I hope the new Class-Extension comes with the next update.
    We upgraded our whole economy- and player system to 0.1.6 and classes! :(
     
  30. Offline

    DestructDez1

    @zeroi9

    Wow thats amazing. I will try it and report back in a day or so. I find that having sql turned on causes a lot of lag on the server. Blocks break then reappear then bleak again and when you attack a creature the thing just stands there until you stop hitting it giving you exp for every swing. The creature doesn't die even after 2 full minutes of swinging at it with a sword. You will need to let it be for a few seconds then swing again to kill it. I believe it has something to do with the server trying to inject the data into the sql. Using the default settings causing no lag. Running the server on 3.2Ghz and 2gb ram minimum and start. No othe r program running.
     
  31. Offline

    Samkio

    @BioRage
    Thanks :)
    I think i will make it seperate though. Thing is it will be better.
    It will be a sort of FakePermissionsGroup thing. But players can choose their class.
    Each class will have it's own prefix,suffix and nodes. Players may be able to choose multiple classes and have the total amount of nodes. That way say a mod can be in a mod class and be in a farmer class.

    But for that i need to rework the permissions for LC so i am working on that. Perfecting it and allowing things like multipliers and levelcaps in the permission nodes.
     
    BioRage likes this.

Share This Page