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




    Jobs - The Job plugin for Minecraft:
    Version: 2.0.1

    • iConomy 4/5 / BOSEconomy

    • 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.



    Thanks Samkio for the plugin tutorial video.

    Previous Versions (open)

    • 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.

    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

    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.

    /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.
    /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:
    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).<worldname> - allows players to get paid on selected world. - 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.

    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.


    See sourceforge for requested features and bugs.
  2. Offline


    Way to ruin my happiness with math...

    I had numbers similar to your defaults before, but it wasn't assigning credit... I'll try again.
  3. Offline


    sorry :(. Your exp multiplier is also a little low btw.
  4. Offline


    I have the same problem as you Man Ill list what i use that's on your list hopefully we can narrow it down :) From the looks of it Its going to be 1 of the major plugins. Heres what i have thats on your list.

    World Edit
    Jobs Ofc
    Iconomy 5.0
    BorderGuard (mines the turbo version)

    If its any of them then I'm surprised more people don't have the problem.

    I may set up a local server with just Jobs and see if the killing works then slowly 1 by 1 add the above till it stops working its going to be the only way to work it out. :/ I'm betting its world guard its the only thing i can think that might have handling's in mobs Due to stopping them spawning in regions.
  5. Offline


    It's not iConomy, obv :p. Also make sure you have 1.3.3 if you're using iConomy 5.0 or Permissions.
  6. Offline


    Yer i have all the files that are on my server localy so its not that hard to grab them from storage and move them over to the local server the only thing ill need to fetch from the live server is my jobs file.

    And i have to dl the RB cause my host takes care of that for me no clue why its a tad annoying at times.

    I also Highly doubt its permissions

    Ok Ok Huge Problem with my testing get this right.

    I was able to cause the problem with just:

    Permissions Iconomy And Jobs installed yep thats all i have installed and no credit has been given for the kill.

    I have the default Jobs File and i just added a kill section to woodcutter and added sheep inside it.

    Some thing is really wrong with the killing man.

    Unless its some how my permissions file causeing it its an exact copy of my file thats on my live server no1 in the whole file is given - '*'

    I just just cant explain this...

    Ok it gets worse i added Sheep Cow and Spider to the list to kill Sheep dose not work but spider dose it took me a lot more to kill the spider i wonder if that is why?

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


    I also got something quite weird. I killed stuff with a diamond sword and diamond axe ...

    i found the problem ... quite a silly mistake :p.

    Somewhat embarassed :p

    							if(victim.getHealth() - damage < 0){
    is meant to be

    							if(victim.getHealth() - damage <= 0){
  8. Offline


    /B!^@* slap for you i bet now your facepalming so hard :) Glad to know you found the problem Now it can be fixed Yay !!!! BUG testing ftw Even if it didnt help.
  9. Offline


    1.3.3b and 1.3.2b are released. They work for the different versions of iConomy (because i'm sure not everyone has made the switch yet, I know i havn't)

    And yes, it was quite a big facepalm moment. I haven't done something as silly as that in a loooong time.
  10. Offline


    I have made the switch But the banking is being a bitch Its refusing to make the table ..... in my mysql and i lack the skills to go in and make it my self Mainly because I dont have php admin access to it.

    I have to use some other little program that i cant remember its name :/

    Not looking good man I just killed a cow thats on my job list and no credit for it still With the new version :/
  11. Offline


    Banking is one of the only reasons i haven't switched too. I could prob create the tables manually, but i'd rather wait for the proper release. In case it has other bugs.

    I wish localshops made the switch too.
  12. Offline


    oh it has other bugs trying to set a banks name that dose not exist crashes the server :/ found that out the hard way.

    But yer killing still not working Some how im still not getting credit For my Cow :(
  13. Offline


    did you get 1.3.3b?
  14. Offline


    Can you add this feature:
    someone enters the job "miner"
    the plugin tells the GroupUsers permissions plugin to transfer the player to the "miner" group
    the player leaves the "job"
    the player is removed from the miner group again
    that would be great!
  15. Offline


    Flame... Buddy did you really have to ask Ofc i did

    But i just realized i overwrote the Config File so I was the job but the job was not to kill........

    /facepalm Yay for invalid testing

  16. Offline


    im confused how to add this plugin. Is there a jar File? all i see is the RAR. file.
  17. Offline


    Open up the .rar file with a program like 7-zip or WinRar. A rar file is basically a mini-container with files within, if you open up the rar file with the mentioned programs you'll see the jar and config files!
  18. Offline


    Ok thankyou
  19. Offline


    Thank you SO much for keeping this up-to-date for *both* iConomy 4 and 5!!!
  20. Offline


    Everything works until i try to join a job. what files do you all need to make this work? i got iconomy 5, the rar for jobs, excel file for the balances, and the source download. what do i do with all of these and where do i put them all?
  21. Offline



    I have a maybe silly question. Take the Digger group e.g., in your default config they get 2.0 for breaking a Dirt block. Now - what stops them from placing the just broken block and breaking it again? Can't people use the Jobs to gain endless money quickly? Maybe I am just missing something :D
  22. Offline


    Guys i have a problem, i wanted to add some jobs, and i made this:
    ChatColour: BLUE
    levelingProgressionRate: 0.15
    incomeProgressionRate: 0.05
    WHEAT: 3.0
    SUGAR_CANE: 2.0
    SEEDS: 2.0
    SUGER_CANE: 1.0
    ChatColour: RED
    levelingProgressionRate: 0.15
    incomeProgressionRate: 0.05
    Chicken: 5.0
    Cow: 5.0
    Pig: 5.0
    Sheep: 5.0
    Wolf: 5.0
    Creeper 10.0
    Giant: 10.0
    Skeleton: 10.0
    Spider: 10.0
    Zombie: 10.0

    I tried to run the server but JOBS won't work, what did i do wrong? help please
  23. Offline


    What's the error that Jobs is creating?


    On the other hand, no error report here - can't use /jobs join at all. Entering that doesn't allow a player on the server to do anything. Jobs 1.3.3b

    Whoop! No, now I have an error. Attempting /jobs info brings about:

    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jobs' in plugin Jobs v1.3.3b
        at org.bukkit.command.PluginCommand.execute(
        at org.bukkit.command.SimpleCommandMap.dispatch(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at net.minecraft.server.NetServerHandler.handleCommand(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.Packet3Chat.a(
        at net.minecraft.server.NetworkManager.a(
        at net.minecraft.server.NetServerHandler.a(
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
        at org.bukkit.command.PluginCommand.execute(
        ... 12 more
    Edit: Found the following issues.

    1) Jobs are coming up as "false entities" when not called for exactly. So /jobs info farmer is not the same as /jobs info Farmer. A little confusing to break sentence structure.

    2) Job salaries do not display properly. If I set "Kill: Pig" to say, 30, my /money shows me a much different figure (13,000), which is a bit excessive. I've double-checked, and my skill "level" is still 1.

    3) Making a job description "too long" in the configuration can cause the above error.

    4) Not having the job descriptions alphabetically sorted in the configuration can cause the above error.

    5) Using the /jobs command with a fresh install can cause the above error.

    6) The configuration file still suggests SQLite as a DB option...

    Other than that - and these are very minor compared to other betas I have tested - this is a very, very good mod. I hope to see it progress soon, and +1 diamond!

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


    me2. Have Flatfile and when i write /jobs browse it didnĀ“t show me my jobs. have jobs.job.* permissions

    Here my config

    Attached Files:

    Last edited by a moderator: May 14, 2016
  25. Offline


    Hi! Sorry for bugging you but I can't get it to work. When I do /jobs the menu shows up, but when i do /jobs browse nothing comes up! :/ Please help! I'm really confused! Thanks :)
  26. Hi. my server is running both Iconomy and Jobs properly working but not with each other. When doing selected job it doesnt change the money in Iconomy
  27. Offline


    Is it possible to block coal/iron/diamond/gold ores destroying, if im woodcutter? And nice versa, if im miner - i cant cut trees. It will be great!
  28. Offline


    I think you were having the same problem I was having when I started using this plugin. Since the money is given when you get xp and it doesn't keep track of xp if it is less than 1. But he said that will be fixed in the future. I just had to increase the xp multiplier and base xp value by the same multiplier that would allow to have numbers that would work. For example if I wanted to have some kill to give 0.1 I just changed the xp modifier to 10 so 10 *0.1 = 1 then this increased the rate at which I leveled so I just increased the base xp from 100 to 1000. It's not a perfect solution but should help some hopefully.
  29. Offline


    Im running 105% fine All 9 of my jobs show up and none of them exceed the chat box at any time (sitting on the edge in places.) I would like to add a 10th job but then you will have to open the chat box to see it :/

    O how i wish notch would over haul the chat box its so uh simple and it lacks so much such as RGB And a scroll bar to look at the history.
  30. Offline


    did you install properly?

    not very quickly (depends on the server economy) And yes, people can do that.

    Please upload your configuration.

    That was somewhat fixed in a version ( i forget which). I made it so you can get less than 1 experience but the experience saved will still be an integer.

    That would get very very very annoying very very very quickly. Imagine being a woodcutter. You can't break dirt, stone, anything and you can't place anything but saplings. It really would make the game far too boring.

    I need to know the version of both iConomy, Jobs and i need the configuration uploaded.

    You're using german characters. They config has problems with those.

    I really wish he would do that too.

    Some Gui hooks would also be great.

    If there was a way for servers to have a list of client mods required and upload them to the client and enable them I would be sooooooo happy.

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


    @flametornado hey flame I am getting an error on the configuration of jobs is there anyway you can look over it for me please?

    Attached Files:

Thread Status:
Not open for further replies.

Share This Page