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

    flametornado

    That in no way gives me enough information to help you. If you want me to help, you have to tell me what's wrong (more than it's not working).
     
  3. Offline

    Tinou_Bro

    Ok flame i just found an interesting line: mysql-table-prefix property invalid or missing;

    is my conf ok?

    # storage method, can be MySQL, flatfile
    storage-method: MySQL

    # Requires Mysql.
    mysql-username: root
    mysql-password: password
    mysql-database: jobs
    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: 10

    # 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: 3
     
  4. Offline

    flametornado

    yea, it's fine. The table prefix is for people who have conflict errors or who want to add a prefix to the table.

    In the server console, anything that's labeled as info is generally just info, anything labeled as sever means there's a problem and the plugin has most likely shut itself down.
     
  5. Offline

    Tinou_Bro

  6. Offline

    flametornado

  7. Offline

    Tinou_Bro

    btw we are looking for an plugin dev so you can visit our server (we are french) : minesquare.com it ll a great point for us to got you in our team!

    omg okok i c thanks for this warning, it will help me to fix it =)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  8. Offline

    flametornado

    anytime. I prob wouldn't be a dev for your server :(. I have enough on my plate between uni work, working on this plugin and maintaining my own server :p
     
  9. Offline

    Shanev

    thank you! looking forward to see it implemented!
     
  10. Offline

    Grimmy777

    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    would 1.03 rather then 1.05 mean that it takes them more or less time to level? I don't know how the result of this equation works with the plugin. I see as the level goes up, the solution goes up slightly (5%) but does that mean the amount of exp they need goes up by 5%? Thanks.
     
  11. Offline

    mxms

    Is this planned? Also thanks for the response.
     
  12. Offline

    Ripper76

    I've got a problem yet with my config file :
    Code:
    Jobs:
        Bucheron:
            fullname: Bucheron
            shortname: B
            ChatColour: WHITE
            chat-display: full
            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:
                LOG:
                    income: 0.10
                    experience: 0.10
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
    
        Mineur:
            fullname: Mineur
            shortname: M
            ChatColour: WHITE
            chat-display: full
            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: 0.01
                    experience: 0.01
                COAL_ORE:
                    income: 0.08
                    experience: 0.08
                REDSTONE_ORE:
                    income: 0.25
                    experience: 0.25
                IRON_ORE:
                    income: 0.10
                    experience: 0.10
                GOLD_ORE:
                    income: 0.25
                    experience: 0.25
                LAPIS_ORE:
                    income: 0.50
                    experience: 0.50
                DIAMOND_ORE:
                    income: 1.0
                    experience: 1.0
                OBSIDIAN:
                    income: 1.0
                    experience: 1.0
                MOSSY_COBBLESTONE:
                    income: 0.50
                    experience: 0.50
            Place:
                RAILS:
                    income: 0.05
                    experience: 0.05
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
        Paysan:
            fullname: Paysan
            shortname: Pays
            ChatColour: WHITE
            chat-display: full
            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:
                SEEDS:
                    income: 0.10
                    experience: 0.10
                SUGAR_CANE_BLOCK:
                    income: 0.10
                    experience: 0.10
            Place:
                SEEDS:
                    income: 0.05
                    experience: 0.05
                SUGAR_CANE_BLOCK:
                    income: 0.05
                    experience: 0.05
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
    
        Chasseur:
            fullname: Chasseur
            shortname: Chas
            ChatColour: WHITE
            chat-display: full
            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:
                ROSE:
                    income: 0.25
                    experience: 0.25
                FLOWER:
                    income: 0.25
                    experience: 0.25
                CACTUS:
                    income: 0.25
                    experience: 0.25
                RED_MUSHROOM:
                    income: 0.30
                    experience: 0.30
                BROWN_MUSHROOM:
                    income: 0.30
                    experience: 0.30
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                CHICKEN:
                    income: 2.5
                    experience: 2.5
                COW:
                    income: 2.5
                    experience: 2.5
                PIG:
                    income: 2.5
                    experience: 2.5
                SHEEP:
                    income: 2.5
                    experience: 2.5
                WOLF:
                    income: 5.0
                    experience: 5.0
        Garde:
            fullname: Garde
            shortname: G
            ChatColour: WHITE
            chat-display: full
            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:
                LOG:
                    income: 0.10
                    experience: 0.10
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                WOLF:
                    income: 2.5
                    experience: 2.5
                CREEPER:
                    income: 3.0
                    experience: 3.0
                SKELETON:
                    income: 2.0
                    experience: 2.0
                SPIDER:
                    income: 2.0
                    experience: 2.0
                ZOMBIE:
                    income: 2.0
                    experience: 2.0
                PLAYER:
                    income: 3.0
                    experience: 3.0
                GIANT:
                    income: 5.0
                    experience: 5.0
                GHAST:
                    income: 5.0
                    experience: 5.0
                PIG_ZOMBIE:
                    income: 3.0
                    experience: 3.0
                SLIME:
                    income: 2.0
                    experience: 2.0
        Pecheur:
            fullname: Pecheur
            shortname: P
            ChatColour: WHITE
            chat-display: full
            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:
                BEDROCK:
                    income: 0.00
                    experience: 0.00
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                SQUID:
                    income: 3.0
                    experience: 3.0
        Teinturier:
            fullname: Teinturier
            shortname: T
            ChatColour: WHITE
            chat-display: full
            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:
                BEDROCK:
                    income: 0.00
                    experience: 0.00
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
        Vendeur:
            fullname: Vendeur
            shortname: V
            ChatColour: WHITE
            chat-display: full
            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:
                BEDROCK:
                    income: 0.00
                    experience: 0.00
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                PLAYER:
                    income: 0.00
                    experience: 0.00
        Cuisinier:
            fullname: Cuisinier
            shortname: C
            ChatColour: WHITE
            chat-display: full
            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:
                BEDROCK:
                    income: 0.00
                    experience: 0.00
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
        Chauffeur:
            fullname: Chauffeur
            shortname: Ch
            ChatColour: WHITE
            chat-display: full
            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:
                BEDROCK:
                    income: 0.00
                    experience: 0.00
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
        Ouvrier:
            fullname: Ouvrier
            shortname: O
            ChatColour: WHITE
            chat-display: full
            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:
                BEDROCK:
                    income: 0.00
                    experience: 0.00
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
        Cartographe:
            fullname: C
            shortname: Cart
            ChatColour: WHITE
            chat-display: full
            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:
                BEDROCK:
                    income: 0.00
                    experience: 0.00
            Place:
                FIRE:
                    income: 0.00
                    experience: 0.00
            Kill:
                PLAYER:
                    income: 0.00
                    experience:0.00
    My logs are :

    Code:
    at me.alex.jobs.config.JobsConfiguration.loadJobSettings(JobsConfiguration.java:244)
    at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:76)
    at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:990)
    at me.alex.jobs.Jobs.onEnable(Jobs.java:82)
    Please help me!
     
  13. Offline

    Filano

    hi
    are 1.6 (818) I have problems with your plugin, players can not execute / jobs

    errors:


    my config:


     
    Clucky likes this.
  14. Offline

    BR3TON

    I disabled the class names on my chat because I didnt like it too much with my current setup but it seems to make my name move a couple of spaces away from my prefix is there anyway to prevent this?
     
  15. Offline

    Grimmy777

    Another thing. Can you make it where you can view someones job level from ingame so admin can check the leveling of other players and maybe a /jobs top that displays who has the highest level? Thanks.
     
  16. Offline

    lobsterbee

    Damn it took a whole day to figure out why i couldn't get money or exp from harvesting Netherrack. >.< First i thought it was a problem with the configuration file for the jobs (i took numbers instead of names).

    After hours i realized that every attempt to harvest Netherrack was done in the Nether... so i checked permissions and found out that you used the old permissionsystem (I'm using the new version 3). So i had to set the "per world setup, with nether mirroring" to a globalpermissions system.

    Now it works and im happy! :D But please add Permission3.1.4 support! Else it breaks the entire concept.
     
  17. Offline

    flametornado

    it takes more time to level if you make it 1.03. This equation regulates how much experience you gain per item when you level up (higher levels give more experience per action)

    it's planned, I just haven't thought of an elegant solution yet :(. All of the ways i thought of doing it end up breaking under some circumstance or another :(.

    can you please upload using the upload a file on the forum, also give me the error log from the beginning. Something didn't get started properly.

    Strange, I'll look into that.

    I guess. I don't really see how that'd be useful, but it's only a small change.

    i would love to. but i have no idea how to set up permissions 3.x :( i tried once and failed miserably. I'll try again when i have some time :)
     
  18. Offline

    o0AzzA0o

    23:29:17 [SEVERE] Could not pass event BLOCK_BREAK to Jobs
    java.lang.NullPointerException
    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:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    this also occurs for block_place builder
    and Entity_damage for hunter

    when this occurs it means player isnt getting paid for there work altho once they relog this fixes itself again for an unknown amount of time..... as a guess 10 mins
     
  19. Offline

    Shadowtrollboy

    Im pretty sure Farmers are not getting XP from breaking wheat because the name WHEAT in config file is not the right word or atleast in this update. Cane is giving XP but Wheat is not giving xp when broken =[
     
  20. Offline

    o0AzzA0o

    yes i can confirm this...

    more console errors... as i say relog usualy fixes
    java.lang.NullPointerException
    at me.alex.jobs.listener.JobsKillPaymentListener.onEntityDamage(JobsKillPaymentListener.java:104)
    at org.bukkit.plugin.java.JavaPluginLoader$48.execute(JavaPluginLoader.java:577)
    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:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    00:27:05 [SEVERE] Could not pass event ENTITY_DAMAGE to Jobs
     
  21. Offline

    Shadowtrollboy

    Solved it by putting CROPS instead of WHEAT
     
  22. Offline

    Taien

    Hey Flame, have you been able to duplicate the jobs loss thing yet? I'm attempting it as an SQL file now instead of flatfile, I'm hoping it's just a bug in flatfile's setup...
     
  23. Offline

    flametornado

    nop.
     
  24. Offline

    6y7t8h

    MySQL fixed job loss for me, if that helps.
     
  25. Offline

    Filano

    @Flame

    I have just deleted the log was 18mb in size and server restarted weollte give you a small log your plugin now works against

    let's see how long if you come against errors, I invite the high log

    I'm sorry about my enlgisch I use google translator
     
  26. Offline

    Taien

    Yep, it was the flatfile. No one has lost a job since changing to MySQL. Cool. :)
     
  27. Offline

    Filano

    ok i have changed from flatfile to mysql nwo i havnt problems but errors are still there...
     

    Attached Files:

  28. Offline

    Robbo905

    I was wondering if someone would have any idea why I'm having this issue: Jobs has, according to my log, loaded correctly and hooked into iConomy 5 and Permissions. All commands except '/jobs info [jobname]' seem to work. when I type, for example, '/jobs info Miner' it gives me the same list I would get if I simply typed '/jobs'! Can anyone work out why this is happening? No error log's to be found anywhere either :(
     
  29. Offline

    o0AzzA0o

    i also get same results..... upgrading to mysql improves the situation and often a relog fixes the job loss. but the errors are exactly the same as your ones.

    I have a theory ..... before i was running and old system with alot of old user data when i first upgraded to 2.01 i didnt get the problem but soon as i deleted the user data so everyone was at 0 due to payout changes the problem then became apparent. Do you think the problem occurs less frequently with players of a higher lvl because they are lvling less often that that somehow this error is kickstarted by moving to a new job level?

    yes read the output you have to do /jobs info jobname break or /jobs info jobname place

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  30. Offline

    Robbo905

    Sorry! Silly error on my part - I installed the plugin a while ago and didn't realise the command had changed. Thanks.
     
  31. Offline

    flametornado

    I'll look into that.

    For everyone that's been having problems with flatfile saving, I think i know what's wrong.
    I have a feeling that what's going wrong is that the save file is getting modified by 2 sources at the same time and one of those sources is overwriting the changes made by the other. I will look further into this problem

    Also for everyone out there, some news :p. I'm working on the next patch. I've made some progress with making the join commands not need to be case sensitive. I'm currently working on getting the killing by your wolves to give you money (which is done weirdly, but i should fix soon). I also am working on essentials economy support (and i think that's ready). Once i'm done with wolves i'll release the patch and work on this annoying flatfile problem.

    I'm taking a bit longer than normal because i have lots of uni work to do :).

    I'll also most likely not make big modifications to the plugin till i finish that, but i'll be working on bugfixes and smaller modifications.
     
Thread Status:
Not open for further replies.

Share This Page