Inactive Jobs v2.0.1 - Jobs plugin for Minecraft (iConomy 4/5 & BOSEconomy, Permissions) [860]

Discussion in 'Inactive/Unsupported Plugins' started by flametornado, Apr 17, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    flametornado

    NOTE: THIS PLUGIN IS NO LONGER BEING DEVELOPED \ SUPPORTED BY ME.

    phrstbrn HAS TAKEN UP THE DEVELOPMENT \ SUPPORT AND ALL QUERIES SHOULD GO TO HIM ON HIS POST. (http://forums.bukkit.org/threads/ec...t-935-iconomy-5-boseconomy-permissions.23429/)


    Jobs - The Job plugin for Minecraft:
    Version: 2.0.1

    Requires:
    • iConomy 4/5 / BOSEconomy
    Optional

    • Stats and Achievements
    • Permissions
    • MySQL
    A fully configurable plugin that allows you to get paid for breaking, placing and killing. Class based (experience increases as you perform your job).


    NOTE: Please read the comments in the configuration file thoroughly and check the console errors before posting here for help.

    [fire]IMPORTANT [fire]: If you want to upload your config for help, please do so using the forum's upload functionality.

    If you like this plugin, please donate.

    [​IMG]

    Video



    Thanks Samkio for the plugin tutorial video.

    Downloads
    Previous Versions (open)



    Features:
    • Create your own custom jobs and choose what they get paid for and how much.
    • Leveling mechanic where higher level jobs will give higher incomes. Income earnt = experience gained.
    • Equation determining maximum experience, experience gained and income gained is customizable.
    • Customizable skill levels in the game to mark leveling milestones (fully customizable in the configuration file).
    • Your profession and skill level is part of your display name and whenever you talk everyone will know what you do and how good you are. (optional)
    • Stats of your maximum level in a job is saved if you have the stats and achievements plugin. ( for bragging rights) (optional)
    • Does periodic saving and save on player exiting the server.
    • Leaving a job resets your job level and experience to 0.
    • Permissions support.
    • Admin commands work even when the players are offline.
    Source:


    I made a sourceforge account for this. It will allow you to report bugs and feature requests. It'll help me a lot to make sense of this.

    The link is https://sourceforge.net/projects/flametornadjobs/.

    Some rules before you go there:
    1. Please look through the bugs that have already been reported to see if someone else has already reported that bug. If you have any extra information, post it on the bug's comments. The more information I have, the easier it is for me to fix it and test it.
    2. Same as above for feature requests.


    Commands:
    Code:
    Player:
    /jobs browse -  View a list of the available jobs.
    /jobs join [job name] - Join the job.
    /jobs leave [job name] - Leave the job.
    /jobs info [job name] [break, place, kill] - view information about that job.
    /jobs stats - view your job level and experience needed to level up.
    
    Admins:
    /jobs fire [playername] [job] - fire the player from the specified job.
    /jobs employ [playername] [job] - employ the player into the specified job.
    /jobs promote [playername] [job] [levels] - promote the player in their job X levels.
    /jobs demote [playername] [job] [levels] - demote the player in their job X levels.
    /jobs grantxp [playername] [job] [experience] - grant the player X experience in the selected job.
    /jobs removexp [playername] [job] [experience] - remove X experience from the player in the selected job.
    /jobs transfer [playername] [oldjob] [newjob] - transfer the player's job (keeps levels and experience)
    
    NOTE: All job names are case sensitive.
    
    Permissions Nodes:
    Code:
    jobs.join.<jobname> - allows the group to join the job. Where <jobname> is replaced with the job name (e.g. jobs.join.Woodcutter or jobs.join.* to join all jobs).
    jobs.world.<worldname> - allows players to get paid on selected world.
    
    jobs.admin.fire - enables the fire admin command.
    jobs.admin.employ - enables the employ admin command.
    jobs.admin.promote - enables the promote admin command.
    jobs.admin.demote - enables the demote admin command.
    jobs.admin.grantxp - enables the grant experience admin command.
    jobs.admin.removexp - enables the remove experience admin command.
    jobs.admin.transfer - enables the transfer admin command.
    Changelog:

    Version 2.0.2 WIP
    • Added more parameters to job level up (jobname, jobcolour, titlename, titlecolour, playername, playerdisplayname, joblevel)
    • Fixed promote and demote to correctly change the max exp.
    • job names are no longer case sensitive.
    • Changed the saving mechanism to be synchronous instead of asynchronous (may help with people losing jobs)
    • added config option of enable-pay-near-spawner in general config.
    • Fixed some NPE
    • Wolves killing things gives the player money and experience.
    • Fixed empty tags not resulting in errors.
    • fixed mysql password is all numbers.
    • fixed honorific error
    NOTE: This version is stable, but not fully tested. I will not release this version fully until i track down the jobs vanishing bug and destroy it for all the hassle it has cause me :p


    Version 2.0.1
    • Small bugfixes
    • Moved where the update stats command is called so it won't break anything if there's an error in it. Should also improve performance slightly
    • made the enabling of the stats and achievements plugin optional (configuration parameter in general settings
    • ChatColour can now be in any case and it'll still work.
    Version 2.o.0

    • Multiple jobs
    • Exposed equations
    • More customization
    • Can specify sub-class
    • Can specify job class kills.
    • Messages are customizable.
    • Kills with arrows works
    • Admin commands (work offline too)
    • Can disable payout on certain worlds (mainly for creative servers).
    • Can limit the number of jobs a player can have
    • Can limit the number of people that can have a certain job per server.
    • Better console error messages.
    • Plugin disables itself properly.
    Changelog (open)



    Version 1.3.3b and 1.3.2b
    • Killing works properly now. Drops seem to have gone back to normal levels and you can kill stuff and get paid for it all the time.
    • 1.3.3b is for iConomy 5 AND ONLY iConomy 5
    • 1.3.2b is for before iConomy 5 AND ONLY before iConomy 5
    Version 1.3.3

    • iConomy 5 support.
    Version 1.3.2

    • Removed annoying spam message which was for debugging and i forgot in for 1.3.1
    • Changed experience to be a double so people get experience for things less than 1. Saving mechanism still saves using integers, it would create waaaay too much fuss to change this since the database schema would need to be changed for everyone that used this plugin and it would render all previous saves incompatible. This seems like a decent compromise. People will lose a maximum of .99 exp when they log out.
    • Better method for checking when an animal's dead, should fix the weird animation problem and the lack of drops some people have been experiencing.
    Version 1.3.1

    • Killing near mob spawners will not give you money anymore.
    • Displays payment amount when you do /jobs info for killing now too.
    • Changed way that you create kill tags incode. Results in the system crashing and the plugin not being enabled if you got the wrong name (e.g. capitals or misspelt name)
    Version 1.3.0

    • Killing stuff should work now. This section is not as thoroughly tested, but should work fine.
    • No jobs have been made with killing stuff, you're on your own with the configuration for a while but the template section has been updated, it follows the same pattern as break and place.
    Version 1.2.3 - Bugfix update

    • changed priority to make sure it gets run last (to make the following points work properly)
    • checks if you can place a block or if the event is canceled by another plugin. Done to avoid people getting rick very easily by placing blocks in areas they are not allowed.
    • Fix for players not getting removed properly in the onDisable function which results in weird names when people reload their plugins.
    Version 1.2.2

    • The titles will now take into account any previous modifications to your display name by another plugin and simply tack on the title at the front (and when you change jobs, strip it from your title and tack a new title at the front).
    Version 1.2.1

    • Base experience is now configurable
    • experience multiplier is not configurable (for those who want lower economies). If you want to give 0.2 of your currency to per item, then set the multiplier to 10.
    Version 1.2.0

    • A little code cleanup.
    • Permissions support
    • customizable flat rate pay
    • customizable skill titles.
    Version 1.1.2

    • Cleaned up sql commands more to make them more specific and avoid errors as much as possible. Hard to test this since neither my testing server and my proper server have any problems seen by other people.
    • Fixed the system to work with /reloadall command. The experience was still being saved, you just needed to log out. I didn't even know that this command existed, so i never thought i'd have the plugin enable with people in the server. It now takes that into account and online users will not need to log out to see their stats and work on their jobs.
    Version 1.1.1 [fire] RECOMMENDED [fire]

    • Cleaned up SQL commands to be more exact, should result in less errors.
    • New configuration for what kind of prefix to add to the username (job, skill level, both or none).
    • New configuration to toggle the option of broadcasting messages when users reach the next skill level.
    • [Stats & Achievements] - further integration, this plugin now also adds the iConomy money amount to the stats table. (will always be 1 block behind)
    • URGENT FIX - tables were not getting cleared and players ended up having multiple jobs with multiple levels instead of one job and one set of levels. Code written to auto correct this.
    Version 1.1.0

    • Added BOSEconomy integration. This should be automatically detected.
    • Added flatfile functionality for server admins who don't want to use mysql.
    • EXPERIMENTAL : Added sqlite functionality, I sadly couldn't get sqlite to work properly on my testing machine so i haven't tested it. It should work though.
    Version 1.0.1

    • Small fix on /jobs stats command. It now rounds off the two decimal places and is less annoying to look at when it gives you the price for placing/destroying a block
    Version 1.0

    • Initial build, spent the weekend on it, pretty satisfied with it, added all mentioned functionality.
    [\SPOILER]

    TODO:



    See sourceforge for requested features and bugs.
     
  2. Offline

    RustyDagger

    have you thorght about adding a use section to the config for like using seeds,buckets,bonemeal (on the ground)

    also dose any 1 know if using 59-0 pays for placing seeds? aka Like thats the value for crops just planted. also what about 59-7 for harvesting fully grown wheat dose any 1 know if that works?
     
  3. Offline

    rooster6050

    Keep getting this error everytime anyone breaks a block
    [SEVERE] Could not pass event BLOCK_BREAK to Jobs
    java.lang.NullPointerException
    at me.alex.jobs.config.container.PlayerJobINFO.checkLevels(PlayerJobInfo.java:191)
    at me.alex.jobs.config.container.PlayerJobINFO.broke(PlayerJobInfo.java:86)
    at me.alex.jobs.listener.JobsBlockPaymentListener.onBlockBreak(JobsBlockPaymentListener.java:22)
    at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    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)

    It means no-one is getting paid and the console is full of text so please help :)
     
    Clucky likes this.
  4. Offline

    RustyDagger

    wow 493 lines later i have made 10 jobs

    @flametornado
    I have changed 90% of the messages how ever there is 1 message i can not change and it is bugging me :/ it is the max level text that shows up next to the job when you /jobs browse.

    if you could add that in or even just a color control for the text that would be win i just want it yellow so it fits with the rest of the menu i made.

    also i tested the crops thing it dose NOT work. the plugin dose not pay for planting crops if you use 59-0 and it dose not pay for fully grown crops if you use 59-7 weird IMO but it will work just fine if you use 59: as a break or place event.
     
  5. Offline

    Clucky

    I keep getting this error repeatably\, what is going on and how can it be fixed:

    Code:
    02:01:24 [SEVERE] Could not pass event BLOCK_PLACE to Jobs
    java.lang.NullPointerException
        at me.alex.jobs.Jobs.getJob(Jobs.java:1264)
        at me.alex.jobs.listener.JobsBlockPaymentListener.onBlockPlace(JobsBlockPaymentListener.java:31)
        at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        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)
    Could my build of CraftBukkit be out of date? I don't quite know how to check if it is, or even check the version =/

    Seems like i'm not the only one... (look up two posts)
     
  6. Offline

    flametornado

    To everyone having problems.

    I think i know what the problem could be caused by (in the code), though i have no idea how that situation comes about.

    I can't reproduce it at all :(.

    If anyone can give me steps that i can follow that will ALWAYS lead to this error, it'd be much appreciated.
     
  7. Offline

    RustyDagger

    No errors here :D About to move this win stuff to my live server :D :D :D:D
     
  8. Offline

    Clucky



    well, i don't have really all that many steps, basically, i turn on the server, give it some time, then when someone with a job does their job, it creates an error message such as the following, turns Jobs off (sorry i don't have the script for turning jobs off, just restarted server =/ ), however, it just keeps repeating error messages each time they place or break a block, or log out. I am also using flatfile, for your convienence i will include a list of my configuration files below too. Thanks for all your doing and I love your script =)

    Code:
    02:01:24 [SEVERE] Could not pass event BLOCK_PLACE to Jobs
    java.lang.NullPointerException
        at me.alex.jobs.Jobs.getJob(Jobs.java:1264)
        at me.alex.jobs.listener.JobsBlockPaymentListener.onBlockPlace(JobsBlockPaymentListener.java:31)
        at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        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)
    Show Spoiler


    GeneralConfig.yml

    Code:
    02:01:24 [SEVERE] Could not pass event BLOCK_PLACE to Jobs
    java.lang.NullPointerException
        at me.alex.jobs.Jobs.getJob(Jobs.java:1264)
        at me.alex.jobs.listener.JobsBlockPaymentListener.onBlockPlace(JobsBlockPaymentListener.java:31)
        at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        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)
    There are more of those, but they start out BLOCK_PLACE and something about a player quitting (sorry, again closed the terminal; PS: im using Linux Ubuntu 10.10)

    Code:
    # General configuration.
    #
    #   The general configuration for the jobs plugin mostly includes how often the plugin
    # saves user data (when the user is in the game), the storage method, whether
    # to broadcast a message to the server when a user goes up a skill level.
    #   It also allows admins to set the maximum number of jobs a player can have at
    # any one time.
    
    # storage method, can be MySQL, flatfile
    storage-method: flatfile
    
    # Requires Mysql.
    mysql-username: root
    mysql-password:
    mysql-database: minecraft
    mysql-url: jdbc:mysql://localhost:3306/
    #mysql-table-prefix:
    
    # How often in minutes you want it to save, 0 disables periodic saving and
    # the system will only save on logout
    save-period: 0
    
    # Do all players get a message when somone goes up a skill level?
    broadcast-on-skill-up: true
    
    # maximum number of jobs a player can join
    max-jobs: 2
    
    # option to enable the stats and achievements plugin.
    enable-stats: true


    Show Spoiler


    jobConfig.yml

    Code:
    # Jobs configuration.
    
    #
    
    # Stores information about each job.
    
    #
    
    # NOTE: When having multiple jobs, both jobs will give the income payout to the player
    
    # even if they give the pay for one action (make the configurations with this in mind)
    
    # and each job will get the respective experience.
    
    #
    
    # e.g If player has 2 jobs where job1 gives 10 income and experience for killing a player
    
    # and job2 gives 5 income and experience for killing a player. When the user kills a player
    
    # they will get 15 income and job1 will gain 10 experience and job2 will gain 5 experience.
    
    Jobs:
    
        # must be one word
    
        Woodcutter:
    
            # full name of the job (displayed when browsing a job, used when joining and leaving)
    
            # also can be used as a prefix for the user's name if the option is enabled.
    
            # Shown as a prefix only when the user has 1 job.
    
            #
    
            # NOTE: Must be 1 word
    
            fullname: Woodcutter
    
            # Shortened version of the name of the job. Used as a prefix when the user has more
    
            # than 1 job
    
            shortname: W
    
            # The colour of the name, for a full list of supported colours, go to the message config.
    
            ChatColour: WHITE
    
            # Option to let you choose what kind of prefix this job adds to your name.
    
            # options are: full, title, job and none
    
            chat-display: full
    
            # [OPTIONAL] - the maximum level of this class
    
            max-level: 20
    
            # [OPTIONAL] - the maximum number of users on the server that can have this job at
    
            # any one time (includes offline players).
    
            slots: 20
    
            # Equation used for calculating how much experience is needed to go to the next level.
    
            # Available parameters:
    
            #   numjobs - the number of jobs the player has
    
            #   joblevel - the level the player has attained in the job.
    
            # NOTE: Please take care of the brackets when modifying this equation.
    
            leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    
            # Equation used for calculating how much income is given per action for the job level.
    
            # Available parameters:
    
            #   baseincome - the income for the action at level 1 (as set in the configuration).
    
            #   joblevel - the level the player has attained in the job.
    
            # NOTE: Please take care of the brackets when modifying this equation.
    
            income-progression-equation: baseincome*((1.01)^(joblevel-1))
    
            # Equation used for calculating how much experience is given per action for the job level.
    
            # Available parameters:
    
            #   baseexperience - the experience for the action at level 1 (as set in the configuration).
    
            #   joblevel - the level the player has attained in the job.
    
            # NOTE: Please take care of the brackets when modifying this equation.
    
            experience-progression-equation: baseexperience*((1.3)^(joblevel-1))
    
            ########################################################################
    
            # Section used to configure what items the job gets paid for, how much
    
            # they get paid and how much experience they gain.
    
            #
    
            # For break and place, the block name or id is used.
    
            # You can select a sub-type by using a '-' between the id and the bit
    
            # value for the sub-type. e.g LOG-0 = usual log, LOG-2 = birch log
    
            # 17-2 = birch log.
    
            #
    
            # If no sub-type is give, the payout will be for all sub-types.
    
            #
    
            #
    
            # For kill tags (Kill and custom-kill), the name is the name of the
    
            # mob.
    
            # Available mobs:
    
            #   Chicken
    
            #   Cow
    
            #   Pig
    
            #   Sheep
    
            #   Wolf
    
            #   Creeper
    
            #   Giant
    
            #   Skeleton
    
            #   Spider
    
            #   Zombie
    
            #   PigZombie
    
            #   Squid
    
            #   Ghast
    
            #   Player
    
            #   Slime
    
            #
    
            # NOTE: mob names are case sensitive.
    
            #
    
            # For custom-kill, it is the name of the job (also case sensitive).
    
            #
    
            # NOTE: If a job has both the pay for killing a player and for killing a
    
            # specific class, they will get both payments.
    
            ########################################################################
    
            # payment for breaking a block
    
            Break:
    
                # block name/id (with optional sub-type)
    
                LOG:
    
                    # base income
    
                    income: 2.0
    
                    # base experience
    
                    experience: 2.0
    
            # payment for placing a block
    
            Place:
    
                SAPLING:
    
                    income: 1.0
    
                    experience: 1.0
    
                WOOD:
    
                    income: 0.0
    
                    experience: 0.0
    
            # killing a mob
    
            Kill:
    
                # mob name
    
                Player:
    
                    # base income
    
                    income: 7.5
    
                    # base experience
    
                    experience: 7.5
    
            # killing a jobs class
    
            custom-kill:
    
                # full name of the jobs class
    
                Woodcutter:
    
                    # base income
    
                    income: 10.0
    
                    # base experience
    
                    experience: 10.0
    
        Miner:
    
            fullname: Miner
    
            shortname: M
    
            ChatColour: WHITE
    
            chat-display: full
    
            max-level: 20
    
            slots: 20
    
            leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
    
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    
            Break:
    
                STONE:
    
                    income: 2.0
    
                    experience: 2.0
    
                COAL_ORE:
    
                    income: 3.0
    
                    experience: 3.0
    
                REDSTONE_ORE:
    
                    income: 3.0
    
                    experience: 3.0
    
                IRON_ORE:
    
                    income: 4.0
    
                    experience: 4.0
    
                GOLD_ORE:
    
                    income: 5.0
    
                    experience: 5.0
    
                LAPIS_ORE:
    
                    income: 5.0
    
                    experience: 5.0
    
                DIAMOND_ORE:
    
                    income: 6.0
    
                    experience: 6.0
    
                OBSIDIAN:
    
                    income: 7.5
    
                    experience: 7.5
    
                MOSSY_COBBLESTONE:
    
                    income: 6.0
    
                    experience: 6.0
    
            Place:
    
                RAILS:
    
                    income: 0.0
    
                    experience: 0.0
    
                IRON_ORE:
    
                    income: -4.0
    
                    experience: -4.0
    
                GOLD_ORE:
    
                    income: -5.0
    
                    experience: -5.0
    
            Kill:
    
                Player:
    
                    income: 7.5
    
                    experience: 7.5
    
            custom-kill:
    
                Miner:
    
                    income: 10.0
    
                    experience: 10.0
    
        Builder:
    
            fullname: Builder
    
            shortname: B
    
            ChatColour: WHITE
    
            chat-display: full
    
            max-level: 20
    
            slots: 20
    
            leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
    
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    
            Place:
    
                COBBLESTONE:
    
                    income: 1.0
    
                    experience: 1.0
    
                WOOD:
    
                    income: 1.5
    
                    experience: 1.5
    
                FENCE:
    
                    income: 1.5
    
                    experience: 1.5
    
                WOOL:
    
                    income: 1.5
    
                    experience: 1.5
    
                STONE:
    
                    income: 2.25
    
                    experience: 2.25
    
                GLOWSTONE:
    
                    income: 3.0
    
                    experience: 3.0
    
                SANDSTONE:
    
                    income: 2.0
    
                    experience: 2.0
    
                GLASS:
    
                    income: 3.0
    
                    experience: 3.0
    
                BRICK:
    
                    income: 4.0
    
                    experience: 4.0
    
                LAPIS_BLOCK:
    
                    income: 5.0
    
                    experience: 5.0
    
                DOUBLE_STEP:
    
                    income: 2.0
    
                    experience: 2.0
    
                STEP:
    
                    income: 2.0
    
                    experience: 2.0
    
                BOOKSHELF:
    
                    income: 3.0
    
                    experience: 3.0
    
                WOOD_STAIRS:
    
                    income: 2.0
    
                    experience: 2.0
    
                COBBLESTONE_STAIRS:
    
                    income: 2.0
    
                    experience: 2.0
    
                MOSSY_COBBLESTONE:
    
                    income: 5.0
    
                    experience: 5.0
    
                DIAMOND_BLOCK:
    
                    income: 5.0
    
                    experience: 5.0
    
                GOLD_BLOCK:
    
                    income: 5.0
    
                    experience: 5.0
    
            Kill:
    
                Creeper:
    
                    income: 2.5
    
                    experience: 2.5
    
            custom-kill:
    
                Builder:
    
                    income: 10.0
    
                    experience: 10.0
    
        Digger:
    
            fullname: Digger
    
            shortname: D
    
            ChatColour: WHITE
    
            chat-display: full
    
            max-level: 20
    
            slots: 20
    
            leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
    
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    
            Break:
    
                DIRT:
    
                    income: 2.0
    
                    experience: 2.0
    
                GRASS:
    
                    income: 2.0
    
                    experience: 2.0
    
                GRAVEL:
    
                    income: 2.0
    
                    experience: 2.0
    
                SAND:
    
                    income: 2.0
    
                    experience: 2.0
    
                CLAY:
    
                    income: 3.0
    
                    experience: 3.0
    
            Kill:
    
                Player:
    
                    income: 7.5
    
                    experience: 7.5
    
            custom-kill:
    
                Digger:
    
                    income: 10.0
    
                    experience: 10.0
    
        Farmer:
    
            fullname: Farmer
    
            shortname: F
    
            ChatColour: WHITE
    
            chat-display: full
    
            max-level: 20
    
            slots: 20
    
            leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
    
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    
            Break:
    
                WHEAT:
    
                    income: 4.0
    
                    experience: 4.0
    
                SUGAR_CANE_BLOCK:
    
                    income: 4.0
    
                    experience: 4.0
    
            Place:
    
                SEEDS:
    
                    income: 0.0
    
                    experience: 0.0
    
                SUGAR_CANE_BLOCK:
    
                    income: -4.0
    
                    experience: -4.0
    
            Kill:
    
                Player:
    
                    income: 7.5
    
                    experience: 7.5
    
            custom-kill:
    
                Farmer:
    
                    income: 10.0
    
                    experience: 10.0
    
        Hunter:
    
            fullname: Hunter
    
            shortname: H
    
            ChatColour: WHITE
    
            chat-display: full
    
            max-level: 20
    
            slots: 20
    
            leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
    
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    
            Kill:
    
                Chicken:
    
                    income: 0.25
    
                    experience: 0.25
    
                Cow:
    
                    income: 0.25
    
                    experience: 0.25
    
                Pig:
    
                    income: 0.5
    
                    experience: 0.5
    
                Sheep:
    
                    income: 0.75
    
                    experience: 0.75
    
                Wolf:
    
                    income: 2.0
    
                    experience: 2.0
    
                Creeper:
    
                    income: 5.0
    
                    experience: 5.0
    
                Skeleton:
    
                    income: 4.0
    
                    experience: 4.0
    
                Spider:
    
                    income: 4.0
    
                    experience: 4.0
    
                Zombie:
    
                    income: 1.0
    
                    experience: 1.0
    
                Player:
    
                    income: 7.5
    
                    experience: 7.5
    
            custom-kill:
    
                Woodcutter:
    
                    income: 10.0
    
                    experience: 10.0
    
                Miner:
    
                    income: 10.0
    
                    experience: 10.0
    
                Digger:
    
                    income: 10.0
    
                    experience: 10.0
    
                Farmer:
    
                    income: 10.0
    
                    experience: 10.0
    
                Builder:
    
                    income: 10.0
    
                    experience: 10.0
    
                Hunter:
    
                    income: 20.0
    
                    experience: 20.0      


    Just found ya the server stopping error, forgot about logs =P This is the first error that occurred followed by a ton more such as the BLOCK_BREAK; BLOCK_PLACE; and PLAYER_QUIT

    Show Spoiler
    Code:
    2011-06-08 01:59:08 [SEVERE] [Jobs] - Error loading jobs.data. Disabling plugin!
    2011-06-08 01:59:08 [SEVERE] [Jobs] - Error loading jobs.data. Disabling plugin!
    2011-06-08 01:59:08 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/jobs.data (Too many open files)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.open(Native Method)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.<init>(FileInputStream.java:137)
    2011-06-08 01:59:08 [SEVERE] 	at java.util.Scanner.<init>(Scanner.java:653)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.dao.JobsDAOFlatfile.save(JobsDAOFlatfile.java:117)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.save(Jobs.java:1282)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.saveAll(Jobs.java:1272)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs$1.run(Jobs.java:93)
    2011-06-08 01:59:08 [SEVERE] 	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-06-08 01:59:08 [SEVERE] 	at java.lang.Thread.run(Thread.java:636)
    2011-06-08 01:59:08 [SEVERE] [Jobs] - Error loading jobs.data. Disabling plugin!
    2011-06-08 01:59:08 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/jobs.data (Too many open files)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.open(Native Method)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.<init>(FileInputStream.java:137)
    2011-06-08 01:59:08 [SEVERE] 	at java.util.Scanner.<init>(Scanner.java:653)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.dao.JobsDAOFlatfile.save(JobsDAOFlatfile.java:117)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.save(Jobs.java:1282)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.saveAll(Jobs.java:1272)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs$1.run(Jobs.java:93)
    2011-06-08 01:59:08 [SEVERE] 	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-06-08 01:59:08 [SEVERE] 	at java.lang.Thread.run(Thread.java:636)
    2011-06-08 01:59:08 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/jobs.data (Too many open files)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.open(Native Method)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.<init>(FileInputStream.java:137)
    2011-06-08 01:59:08 [SEVERE] 	at java.util.Scanner.<init>(Scanner.java:653)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.dao.JobsDAOFlatfile.save(JobsDAOFlatfile.java:117)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.save(Jobs.java:1282)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.saveAll(Jobs.java:1272)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs$1.run(Jobs.java:93)
    2011-06-08 01:59:08 [SEVERE] 	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-06-08 01:59:08 [SEVERE] 	at java.lang.Thread.run(Thread.java:636)
    2011-06-08 01:59:08 [SEVERE] [Jobs] - Error loading jobs.data. Disabling plugin!
    2011-06-08 01:59:08 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/jobs.data (Too many open files)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.open(Native Method)
    2011-06-08 01:59:08 [SEVERE] 	at java.io.FileInputStream.<init>(FileInputStream.java:137)
    2011-06-08 01:59:08 [SEVERE] 	at java.util.Scanner.<init>(Scanner.java:653)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.dao.JobsDAOFlatfile.save(JobsDAOFlatfile.java:117)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.save(Jobs.java:1282)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs.saveAll(Jobs.java:1272)
    2011-06-08 01:59:08 [SEVERE] 	at me.alex.jobs.Jobs$1.run(Jobs.java:93)
    2011-06-08 01:59:08 [SEVERE] 	at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-06-08 01:59:08 [SEVERE] 	at java.lang.Thread.run(Thread.java:636)
    2011-06-08 01:59:08 [INFO] [Jobs v2.0.1] has been disabled succesfully.
     
  9. Offline

    Clucky

    I included a text document of the time from when the error occurred, to the time when I stopped the server, hope this helps. Again, thanks for the plugin, love it. :D
     

    Attached Files:

  10. Offline

    flametornado

    That makes soooo much more sense. It was a problem with jobs.data being opened incorrectly or at the same time or something (invalid no matter what happened exactly :p).

    I'll look into making the flatfile storage option better in the future. Might also have to change the saving timer to be asynchronous instead of synchronous.

    For those who are using databases or have switched to databases and wonder why this problem doesn't happen for them, the answer is that databases have their own systems dealing with this problem.
     
  11. Offline

    olimoli123

    Uhh One problem... with jobs, duping money :/
    Takes heaps of config to prevent it
     
  12. Offline

    flametornado

    There is currently no method to prevent people farming money. If you're having a problem with people doing this. Lower the money given per block or make leveling harder.

    I am looking into a way to have payment only given for blocks that have not been placed by a player.
     
  13. Offline

    Darcion

    so somewhat happend today or last night and all jobslevel are gone. every player have to begin at new...

    is there maybe a bug anywhere?

    maybe something eiht this bug
    Code:
    2011-06-04 15:40:26 [SEVERE] Could not pass event PLAYER_QUIT to Jobs
    java.lang.NullPointerException
        at me.alex.jobs.Jobs.save(Jobs.java:1282)
        at me.alex.jobs.Jobs.removePlayer(Jobs.java:1254)
        at me.alex.jobs.listener.JobsPlayerListener.onPlayerQuit(JobsPlayerListener.java:26)
        at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.java:250)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:145)
        at net.minecraft.server.NetServerHandler.disconnect(NetServerHandler.java:105)
        at org.bukkit.craftbukkit.entity.CraftPlayer.kickPlayer(CraftPlayer.java:129)
        at net.hailxenu.serverautostop.AutoStopLoop.forceShutdown(AutoStopPlugin.java:240)
        at net.hailxenu.serverautostop.AutoStopPlugin.onCommand(AutoStopPlugin.java:164)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
        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)
    or is it possible that the new connector deleted all the files?

    here a log from LWC

    Code:
    2011-06-08 06:41:28 [INFO] MySQL    Using: Mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} )
    2011-06-08 06:41:28 [INFO] Patcher    ######################################################
    2011-06-08 06:41:28 [INFO] Patcher    ######################################################
    2011-06-08 06:41:28 [INFO] Patcher    SQLite to MySQL conversion required
    2011-06-08 06:41:28 [INFO] Patcher    Loading SQLite
    2011-06-08 06:41:30 [INFO] Patcher    SQLite is good to go
    2011-06-08 06:41:30 [INFO] Patcher    Preliminary scan...............
    2011-06-08 06:41:30 [INFO] Patcher    TO CONVERT:
    2011-06-08 06:41:30 [INFO] Patcher    Protections:    0
    2011-06-08 06:41:30 [INFO] Patcher    Rights:        0
    2011-06-08 06:41:30 [INFO] Patcher
    2011-06-08 06:41:30 [INFO] Patcher    Closing SQLite
    2011-06-08 06:41:30 [INFO] Patcher    Renaming "plugins/LWC/lwc.db" to "plugins/LWC/lwc.db.old"
    2011-06-08 06:41:30 [INFO] Patcher    SQLite to MySQL conversion is now complete!
    
    2011-06-08 06:41:30 [INFO] Patcher    Thank you!
    2011-06-08 06:41:30 [INFO] Patcher    ######################################################
    2011-06-08 06:41:30 [INFO] Patcher    ######################################################
    2011-06-08 06:41:30 [INFO] PhysDB    Precached 4223 protections.
    2011-06-08 06:41:30 [INFO] LWC    At version: v3.03
     
  14. Offline

    o0AzzA0o

    I get same problem as this even using mysql altho its not to much trouble for my players to relog to clear the issue that prevents them getting paid/xp
     
  15. Offline

    rockiesfan1234

    when i reload my server it comes up with no errors on the console but than when i try to employ somebody it says
    "Internal Error occurred when trying to use this command" or something like that. Please help.
     

    Attached Files:

  16. Offline

    BR3TON

    Did you manage to fix the name moving away from the prefix when joining and leaving a job?
    Thanks
    BR3TON
     
  17. Offline

    ledhead900

    I got an issue with jobs resesting and some other stuff is resetting to not sure why its easy rpg that does it and this.

    Both on flat file
    well easyrpg is sqlite btu still I cannot reproduce this one just the other one happens on restarts sometimes.

    CB839
     
  18. Offline

    o0AzzA0o

    People that have posted here with break_block block_place and other errors are you all running mcmmo? im rly starting to suspect incompatibility with another plugin since its only reasonable explanation as to why developer here cant replicate the issue.
     
  19. Offline

    flametornado

    Strange thing is, I run mcmmo too, with no problems whatsoever.
     
  20. Offline

    o0AzzA0o

    that blows that one out of the water :p

    ~/server/plugins $ ls
    AfkBooter HeroicDeath PlgDisableCmd
    AfkBooterv1.0.2.jar HeroicDeath.jar PlgDisableCmd.jar
    AntiTower iChat PlgSetspawn.jar
    AntiTower.jar iChat.jar PorteCoulissante.jar
    BananaChunk.jar iConomy properTime
    bCoolDown iConomyChestShop properTime.jar
    bCoolDown.jar iConomyChestShop.jar Residence
    BlastControl iConomy.jar Residence.jar
    BlastControl.jar Jail ScheduledAnnouncer
    BlastPick.jar Jail.jar ScheduledAnnouncer.jar
    BlockCantKeepUpSpam.jar Jobs SignColours0.3
    BlocksOnGlass jobs.jar SignColours.jar
    BlocksOnGlass.jar KiwiAdmin SimpleReserve
    BorderGuard KiwiAdmin.jar SimpleReserve.jar
    BorderGuard.jar LogBlock snipers.txt
    BukkitContrib.jar LogBlock.jar SpawnMob
    ButtonWarp LogBlockQuestioner.jar SpawnMob.jar
    ButtonWarp.jar LWC Spyer
    ChatCensor LWC.jar SpyerAdmin.jar
    ChatCensor.jar mcMMO TelePlusPlus
    ChunkRegenerate.jar mcMMO.jar TelePlusPlus.jar
    ColorMe MinecraftRKitPlugin.jar Tombstone
    ColorMe.jar Minequery.jar Tombstone.jar
    Command iConomy MyHome VoxelSniper
    CommandIConomy.jar MyHome.jar VoxelSniper.jar
    dynmap NoCheat WarnFreeze.jar
    dynmap.jar NoCheat.jar WhoAreYou
    GiveTo Permissions WhoAreYou.jar
    GiveTo.jar Permissions.jar

    others that i can think of that interact with blocks is dynmap logblock hmmz i guess we could start turning off other plugins to see if we can identify which if any plugin is causing the problem.
     
  21. Offline

    ledhead900

    Flame did you turn up any issue with later builds of CB ressetting jobs sometimes randomly. ?

    not job but its users stats.
     
  22. Offline

    flametornado

    @o0AzzA0o
    I don't think it is a plugin conflict, i think the plugin somehow got itself in an invalid state. If i knew how that happened, i'd be able to fix it easily, but without that i have to spend aaages trying to reproduce the problem :(.

    If anyone is getting this problem constantly, as soon as they start the server and are willing to zip/rar their server folder up and send it to me, i'd be very happy.

    @ledhead900 I haven't tested any later builds. There are a lot of builds coming out quite quickly and none of them are getting recommended for one reason or another. I don't think they're stable enough for me to test if the makers say they're not stable enough for use.
     
  23. Offline

    RustyDagger

    Uh admin commands are returning internal errors when i try to use them on any 1 bar my self.

    im using the correct format and i get 1 of 2 messages in chat either ther was an error with hee command or internal error. very annoying. in the change from old version to new version i renamed some jobs and im trying to transfer players or give them levels that they lost.

    example 1 of my players.

    /jobs promote bobatron6000 Woodcutter 20 result error with command..... very annoying and it makes me look bad.
     
  24. Offline

    Cookies326

    Could someone fix my config and tell me what was wrong?

    Code:
    Jobs:
        Woodcutter:
            ChatColour: GREEN
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Break:
                LOG: 5.0
            Place:
                SAPLING: 1.0
                WOOD: 2.0
        Miner:
            ChatColour: DARK_GRAY
            levelingProgressionRate: 0.05
            incomeProgressionRate: 0.05
            Break:
                STONE: 2.0
                COAL_ORE: 3.0
                REDSTONE_ORE: 3.0
                IRON_ORE: 4.0
                GOLD_ORE: 5.0
                LAPIS_ORE: 5.0
                DIAMOND_ORE: 6.0
                OBSIDIAN: 7.5
            Place:
                RAILS: 2.0
                IRON_ORE: -5.0
                GOLD_ORE: -6.0
        MonsterHunter:
            ChatColour: GOLD
            levelingProgressionRate: 0.05
            incomeProgressionRate: 0.05
            Kill:
                ZOMBIE: 2.0
                SKELETON: 2.5
                CREEPER: 3.5
                Spider: 2.0
                GHAST: 4.5
                PIGZOMBIE: 3.0
        Digger:
            ChatColour: YELLOW
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Break:
                DIRT: 2.0
                GRASS: 2.0
                GRAVEL: 2.0
                SAND: 2.0
    
     
  25. Offline

    hofec

    Hello flame,

    got this issue in my console on CB #839 and your Jobs 2.0.1 :

    Code:
    [SEVERE] Could not pass event ENTITY_DAMAGE to Jobs
    java.lang.NullPointerException
        at me.alex.jobs.listener.JobsKillPaymentListener.onEntityDamage(JobsKillPaymentListener.java:93)
        at org.bukkit.plugin.java.JavaPluginLoader$49.execute(JavaPluginLoader.java:584)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:415)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:163)
        at net.minecraft.server.EntityWolf.a(SourceFile:382)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:68)
        at net.minecraft.server.EntityWolf.c_(SourceFile:129)
        at net.minecraft.server.EntityLiving.u(EntityLiving.java:692)
        at net.minecraft.server.EntityWolf.u(SourceFile:164)
        at net.minecraft.server.EntityLiving.o_(EntityLiving.java:231)
        at net.minecraft.server.EntityWolf.o_(SourceFile:194)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1104)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:62)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1086)
        at net.minecraft.server.World.cleanUp(World.java:1063)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:395)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    What can i do with this ?

    EDIT: btw this is my JobsConfig ..

    Show Spoiler
    PHP:
    Jobs:
        
    Kopac:

            
    fullnameKopac

            shortname
    K

            ChatColour
    DARK_GRAY

            chat
    -displaynone

            max
    -level10

            leveling
    -progression-equation2000*((3.75+(0.01*(numjobs-1)))^(joblevel-1))

            
    income-progression-equationbaseincome*((1.30)^(joblevel-1))

            
    experience-progression-equationbaseexperience*((1.50)^(joblevel-1))

            Break:

                
    DIRT:

                    
    income0.9

                    experience
    0.8

                GRASS
    :

                    
    income0.9

                    experience
    0.8

                GRAVEL
    :

                    
    income1.2

                    experience
    0.8

                SAND
    :

                    
    income1.1

                    experience
    0.8

                CLAY
    :

                    
    income25.0

                    experience
    3.5
            Place
    :

                
    SEEDS:

                    
    income2.9

                    experience
    1.9

                CLAY
    :

                    
    income: -20.0

                    experience
    : -10.5
        Farmar
    :

            
    fullnameFarmar

            shortname
    F

            ChatColour
    BLUE

            chat
    -displaynone

            max
    -level10

            leveling
    -progression-equation2000*((3.85+(0.01*(numjobs-1)))^(joblevel-1))

            
    income-progression-equationbaseincome*((1.28)^(joblevel-1))

            
    experience-progression-equationbaseexperience*((1.50)^(joblevel-1))

            Break:

                
    DIRT:

                    
    income0.2

                    experience
    0.3

                GRASS
    :

                    
    income0.2

                    experience
    0.3

                WHEAT
    :

                    
    income1.7

                    experience
    3.0

                SOIL
    :

                    
    income1.5

                    experience
    1.9

                SUGAR_CANE_BLOCK
    :

                    
    income1.4

                    experience
    0.9

                CACTUS
    :

                    
    income1.3

                    experience
    0.8

                LEAVES
    :

                    
    income0.2

                    experience
    0.5

                PUMPKIN
    :

                    
    income10.0

                    experience
    5.9

                JACK_O_LANTERN
    :

                    
    income: -9.8

                    experience
    : -6.5

                FENCE
    :

                    
    income: -0.7

                    experience
    : -1.5

                YELLOW_FLOWER
    :

                    
    income0.3

                    experience
    0.5

                RED_ROSE
    :

                    
    income0.3

                    experience
    0.5

                BROWN_MUSHROOM
    :

                    
    income0.6

                    experience
    0.6

                RED_MUSHROOM
    :

                    
    income0.6

                    experience
    0.6
            Place
    :

                
    DIRT:

                    
    income: -0.1

                    experience
    : -0.1

                CACTUS
    :

                    
    income: -1.1

                    experience
    : -0.4

                PUMPKIN
    :

                    
    income: -9.8

                    experience
    : -6.5

                JACK_O_LANTERN
    :

                    
    income10.0

                    experience
    5.9

                FENCE
    :

                    
    income0.9

                    experience
    0.8

                GRAVEL
    :

                    
    income0.2

                    experience
    0.5

                CROPS
    :

                    
    income1.9

                    experience
    1.2
        Lovec
    :

            
    fullnameLovec

            shortname
    L

            ChatColour
    DARK_GREEN

            chat
    -displaynone

            max
    -level10

            leveling
    -progression-equation2000*((3.70+(0.01*(numjobs-1)))^(joblevel-1))

            
    income-progression-equationbaseincome*((1.39)^(joblevel-1))

            
    experience-progression-equationbaseexperience*((1.50)^(joblevel-1))

            Break:

                
    MOB_SPAWNER:

                    
    income15.0

                    experience
    50.5
            Kill
    :

                
    Chicken:

                    
    income0.8

                    experience
    3.5

                Cow
    :

                    
    income0.8

                    experience
    3.5

                Pig
    :

                    
    income0.3

                    experience
    1.2

                Sheep
    :

                    
    income0.8

                    experience
    3.5

                Wolf
    :

                    
    income4.1

                    experience
    5.9

                Creeper
    :

                    
    income5.2

                    experience
    13.0

                Skeleton
    :

                    
    income3.8

                    experience
    8.9

                Spider
    :

                    
    income3.3

                    experience
    7.5

                Zombie
    :

                    
    income3.5

                    experience
    8.5

                Slime
    :

                    
    income5.0

                    experience
    13.0

                PigZombie
    :

                    
    income4.5

                    experience
    9.0

                Ghast
    :

                    
    income5.0

                    experience
    13.0

                Giant
    :

                    
    income5.0

                    experience
    13.0

                Squid
    :

                    
    income4.5

                    experience
    8.5

                Player
    :

                    
    income20.0

                    experience
    25.0

            Place
    :

                
    MOB_SPAWNER:

                    
    income: -12.5

                    experience
    : -45.0
        Tesar
    :

            
    fullnameTesar

            shortname
    T

            ChatColour
    GOLD

            chat
    -displaynone

            max
    -level10

            leveling
    -progression-equation2000*((3.75+(0.01*(numjobs-1)))^(joblevel-1))

            
    income-progression-equationbaseincome*((1.28)^(joblevel-1))

            
    experience-progression-equationbaseexperience*((1.50)^(joblevel-1))

            Break:

                
    LOG:

                    
    income0.9

                    experience
    0.5

                WOOD
    :

                    
    income0.1

                    experience
    0.3
            Place
    :
                
    WOOD:

                    
    income1.3

                    experience
    0.7

                BOOKSHELF
    :

                    
    income2.5

                    experience
    0.5

                WOODEN_DOOR
    :

                    
    income1.5

                    experience
    0.5

                CHEST
    :

                    
    income1.3

                    experience
    0.5

                LADDER
    :

                    
    income0.9

                    experience
    0.5

                WORKBENCH
    :

                    
    income1.5

                    experience
    0.5

                WOOD_STAIRS
    :

                    
    income0.9

                    experience
    0.5

                SIGN_POST
    :

                    
    income0.9

                    experience
    0.5

                WALL_SIGN
    :

                    
    income0.9

                    experience
    0.5

                FENCE
    :

                    
    income1.2

                    experience
    0.5

                WOOD_PLATE
    :

                    
    income0.9

                    experience
    0.5

                STEP
    :

                    
    income0.8

                    experience
    0.5

                DOUBLE_STEP
    :

                    
    income0.8

                    experience
    0.5

                BOOKSHELF
    :

                    
    income2.0

                    experience
    0.5

                WOODEN_DOOR
    :

                    
    income1.2

                    experience
    0.5

                CHEST
    :

                    
    income1.1

                    experience
    0.5

                LADDER
    :

                    
    income0.9

                    experience
    0.5

                WORKBENCH
    :

                    
    income1.5

                    experience
    0.5

                WOOD_STAIRS
    :

                    
    income0.9

                    experience
    0.5

                SIGN_POST
    :

                    
    income0.9

                    experience
    0.5

                WALL_SIGN
    :

                    
    income0.9

                    experience
    0.5

                WOOL
    :

                    
    income0.8

                    experience
    0.5

                FENCE
    :

                    
    income1.2

                    experience
    0.5

                WOOD_PLATE
    :

                    
    income0.9

                    experience
    0.5

                STEP
    :

                    
    income0.8

                    experience
    0.5

                DOUBLE_STEP
    :

                    
    income0.8

                    experience
    0.5
        Geolog
    :

            
    fullnameGeolog

            shortname
    G

            ChatColour
    DARK_PURPLE

            chat
    -displaynone

            max
    -level10

            leveling
    -progression-equation2000*((4.05+(0.01*(numjobs-1)))^(joblevel-1))

            
    income-progression-equationbaseincome*((1.12)^(joblevel-1))

            
    experience-progression-equationbaseexperience*((1.50)^(joblevel-1))

            Break:

                
    STONE:

                    
    income0.1

                    experience
    0.1

                COAL_ORE
    :

                    
    income2.0

                    experience
    1.1

                IRON_ORE
    :

                    
    income3.0

                    experience
    2.2

                REDSTONE_ORE
    :

                    
    income11.0

                    experience
    6.5

                GLOWING_REDSTONE_ORE
    :

                    
    income11.0

                    experience
    6.5

                GOLD_ORE
    :

                    
    income20.0

                    experience
    12.5

                LAPIS_ORE
    :

                    
    income35.0

                    experience
    19.5

                DIAMOND_ORE
    :

                    
    income50.0

                    experience
    35.5

                OBSIDIAN
    :

                    
    income7.0

                    experience
    5.0

                GLOWSTONE
    :

                    
    income5.0

                    experience
    5.0

                MOSSY_COBBLESTONE
    :

                    
    income5.0

                    experience
    5.5

                TORCH
    :

                    
    income: -0.1

                    experience
    : -1.5
            Place
    :
                
    IRON_ORE:

                    
    income: -2.8

                    experience
    : -6.5

                GOLD_ORE
    :

                    
    income: -19.5

                    experience
    : -25.5

                TORCH
    :

                    
    income0.2

                    experience
    0.5

                WORKBENCH
    :

                    
    income1.5

                    experience
    0.5

                FURNACE
    :

                    
    income1.5

                    experience
    0.5

                MOSSY_COBBLESTONE
    :

                    
    income: -4.5

                    experience
    : -6.5

                LADDER
    :

                    
    income1.5

                    experience
    0.8
        Kamenik
    :

            
    fullnameKamenik

            shortname
    K

            ChatColour
    YELLOW

            chat
    -displaynone

            max
    -level10

            leveling
    -progression-equation2000*((4.00+(0.01*(numjobs-1)))^(joblevel-1))

            
    income-progression-equationbaseincome*((1.20)^(joblevel-1))

            
    experience-progression-equationbaseexperience*((1.50)^(joblevel-1))

            Break:

                
    STONE:

                    
    income0.6

                    experience
    0.5

                COBBLESTONE
    :

                    
    income0.3

                    experience
    0.2
            Place
    :
                
    STONE:

                    
    income0.9

                    experience
    0.6

                COBBLESTONE
    :

                    
    income0.3

                    experience
    0.2

                BEDROCK
    :

                    
    income70.0

                    experience
    25.0

                SANDSTONE
    :

                    
    income0.8

                    experience
    0.5

                MOSSY_COBBLESTONE
    :

                    
    income0.9

                    experience
    0.5

                GLASS
    :

                    
    income1.3

                    experience
    0.7

                BRICK
    :

                    
    income2.5

                    experience
    0.5

                OBSIDIAN
    :

                    
    income2.9

                    experience
    0.9

                FURNACE
    :

                    
    income1.9

                    experience
    0.8

                COBBLESTONE_STAIRS
    :

                    
    income0.9

                    experience
    0.5

                STONE_PLATE
    :

                    
    income0.9

                    experience
    0.5

                STONE_BUTTON
    :

                    
    income0.7

                    experience
    0.3

                GLOWSTONE
    :

                    
    income5.0

                    experience
    2.5

                IRON_DOOR_BLOCK
    :

                    
    income0.9

                    experience
    0.5

                STEP
    :

                    
    income0.8

                    experience
    0.5

                DOUBLE_STEP
    :

                    
    income0.8

                    experience
    0.5
        Elektrikar
    :

            
    fullnameElektrikar

            shortname
    E

            ChatColour
    RED

            chat
    -displaynone

            max
    -level10

            leveling
    -progression-equation2000*((3.81+(0.01*(numjobs-1)))^(joblevel-1))

            
    income-progression-equationbaseincome*((1.44)^(joblevel-1))

            
    experience-progression-equationbaseexperience*((1.50)^(joblevel-1))

            Break:

                
    STONE:

                    
    income0.1

                    experience
    1.0

                REDSTONE_ORE
    :

                    
    income18.0

                    experience
    14.5

                GLOWING_REDSTONE_ORE
    :

                    
    income18.0

                    experience
    14.5

                DISPENSER
    :

                    
    income: -15.5

                    experience
    : -5.5

                NOTE_BLOCK
    :

                    
    income: -15.5

                    experience
    : -5.5

                POWERED_RAIL
    :

                    
    income: -13.5

                    experience
    : -5.5

                DETECTOR_RAIL
    :

                    
    income: -13.5

                    experience
    : -5.5

                JUKEBOX
    :

                    
    income: -18.5

                    experience
    : -5.5

                DIODE_BLOCK_ON
    :

                    
    income: -6.5

                    experience
    : -6.8

                DIODE_BLOCK_OFF
    :

                    
    income: -6.5

                    experience
    : -6.8

                GLOWSTONE
    :

                    
    income: -6.5

                    experience
    : -6.2

                REDSTONE_TORCH_ON
    :

                    
    income: -7.8

                    experience
    : -2.8

                REDSTONE_TORCH_OFF
    :

                    
    income: -7.8

                    experience
    : -2.8

                STONE_BUTTON
    :

                    
    income: -5.4

                    experience
    : -6.5

                WOOD_PLATE
    :

                    
    income: -5.4

                    experience
    : -6.5

                STONE_PLATE
    :

                    
    income: -5.4

                    experience
    : -6.5

                LEVER
    :

                    
    income: -5.4

                    experience
    : -6.5

                FURNACE
    :

                    
    income: -7.4

                    experience
    : -8.5

                WORKBENCH
    :

                    
    income: -7.4

                    experience
    : -8.5

                WOODEN_DOOR
    :

                    
    income: -9.4

                    experience
    : -7.5

                IRON_DOOR_BLOCK
    :

                    
    income: -5.4

                    experience
    : -7.5

                IRON_BLOCK
    :

                    
    income: -5.0

                    experience
    : -7.5

                GOLD_BLOCK
    :

                    
    income: -6.0

                    experience
    : -10.5

                LAPIS_BLOCK
    :

                    
    income: -30.0

                    experience
    : -15.5

                REDSTONE_WIRE
    :

                    
    income: -0.6

                    experience
    : -3.5
            Place
    :

                
    DISPENSER:

                    
    income21.0

                    experience
    10.5

                REDSTONE_WIRE
    :

                    
    income1.2

                    experience
    0.5

                NOTE_BLOCK
    :

                    
    income21.0

                    experience
    10.5

                POWERED_RAIL
    :

                    
    income17.0

                    experience
    10.5

                DETECTOR_RAIL
    :

                    
    income17.0

                    experience
    10.5

                RAILS
    :

                    
    income4.0

                    experience
    8.5

                JUKEBOX
    :

                    
    income21.0

                    experience
    10.5

                POWERED_MINECART
    :

                    
    income2.2

                    experience
    1.5

                STORAGE_MINECART
    :

                    
    income2.2

                    experience
    1.5

                DIODE_BLOCK_ON
    :

                    
    income8.5

                    experience
    5.8

                DIODE_BLOCK_OFF
    :

                    
    income8.5

                    experience
    5.8

                GLOWSTONE
    :

                    
    income8.5

                    experience
    5.2

                REDSTONE_TORCH_ON
    :

                    
    income10.8

                    experience
    1.8

                REDSTONE_TORCH_OFF
    :

                    
    income10.8

                    experience
    1.8

                STONE_BUTTON
    :

                    
    income8.4

                    experience
    5.5

                WOOD_PLATE
    :

                    
    income8.4

                    experience
    5.5

                STONE_PLATE
    :

                    
    income8.4

                    experience
    5.5

                LEVER
    :

                    
    income8.4

                    experience
    5.5

                FURNACE
    :

                    
    income10.4

                    experience
    7.5

                WORKBENCH
    :

                    
    income10.4

                    experience
    7.5

                WOODEN_DOOR
    :

                    
    income18.4

                    experience
    9.5

                IRON_DOOR_BLOCK
    :

                    
    income18.4

                    experience
    9.5

                IRON_BLOCK
    :

                    
    income15.0

                    experience
    8.5

                GOLD_BLOCK
    :

                    
    income20.0

                    experience
    14.5

                LAPIS_BLOCK
    :

                    
    income36.0

                    experience
    18.5
     
  26. Offline

    flametornado

    Seems like this problem is quite widespread.

    Quick question to all having this problem. Is everyone that has got this problem used a non-recommended build or has anyone got the problem using CB 818
     
  27. Offline

    Pivinton

    I have an idea, could admins have the ability to configure chests for each type of worked that way a specified amount of their mined goods go directly to the chest, because on my server we manually do that as a sort of "Government Supplies" kind of thing? They'll still get paid of course.
     
  28. Offline

    LudicrousYoshi

    What are the names for roses and dandelions? I tried ROSE, ROSE_BLOCK, RED_FLOWER, RED_FLOWER_BLOCK but nothing seems to work :/

    Edit: Its RED_ROSE :p
     
  29. Offline

    o0AzzA0o

    i will be first to confess im not using 818 and im sorry for not including it already in my reports!

    18:20:41 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-774-g27a45c1-b826jnks (MC: 1.6.6)
     
  30. Offline

    Damnbored

    Hey I have build 818 and have the problem :( heres log:
    2011-06-09 12:56:48 [SEVERE] Could not pass event BLOCK_BREAK to Jobs
    java.lang.NullPointerException
    at me.alex.jobs.config.container.PlayerJobInfo.checkLevels(PlayerJobInfo.java:191)
    at me.alex.jobs.config.container.PlayerJobInfo.broke(PlayerJobInfo.java:86)
    at me.alex.jobs.listener.JobsBlockPaymentListener.onBlockBreak(JobsBlockPaymentListener.java:22)
    at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    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)
    2011-06-09 12:56:53 [INFO] Disconnecting Disrock [/75.130.128.17:55690]: You are not white-listed on this server!
    2011-06-09 12:57:04 [SEVERE] Could not pass event CUSTOM_EVENT to Jobs
    java.lang.NullPointerException
    at me.alex.jobs.config.container.PlayerJobInfo.checkLevels(PlayerJobInfo.java:191)
    at me.alex.jobs.listener.JobsJobListener.onJobLevelUp(JobsJobListener.java:70)
    at me.alex.jobs.event.JobsEventListener.onCustomEvent(JobsEventListener.java:15)
    at org.bukkit.plugin.java.JavaPluginLoader$69.execute(JavaPluginLoader.java:727)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at me.alex.jobs.config.container.PlayerJobInfo.checkLevels(PlayerJobInfo.java:188)
    at me.alex.jobs.config.container.PlayerJobInfo.killed(PlayerJobInfo.java:140)
    at me.alex.jobs.listener.JobsKillPaymentListener.onEntityDamage(JobsKillPaymentListener.java:104)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:527)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:867)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    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)
    2011-06-09 12:57:04 [SEVERE] Could not pass event ENTITY_DAMAGE to Jobs
    java.lang.NullPointerException
    at me.alex.jobs.config.container.PlayerJobInfo.checkLevels(PlayerJobInfo.java:191)
    at me.alex.jobs.config.container.PlayerJobInfo.killed(PlayerJobInfo.java:140)
    at me.alex.jobs.listener.JobsKillPaymentListener.onEntityDamage(JobsKillPaymentListener.java:104)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:570)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:527)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:867)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    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)
     
  31. Offline

    Cookies326

    Can anyone give me the name code list for Monsters?
     
Thread Status:
Not open for further replies.

Share This Page