[ECON] Jobs - The Job plugin for minecraft [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by phrstbrn, Jun 27, 2011.

  1. Jobs
    The Job plugin for Minecraft is a fully configurable plugin that allows you to get paid for breaking, placing, killing, fishing, and crafting. Class based (experience increases as you perform your job).


    >> Get the latest release @ Dev Bukkit <<


    Original Plugin:

    The original Jobs plugin was written by Flametornado. The original thread can be found here.
     
  2. The other one isnt inactive is it?
     
    Telanis likes this.
  3. Flametornado has stopped developing the Jobs plugin and has asked me to take over development.

    See his post
     
    IstominHero, DeathNOES and kahlilnc like this.
  4. Nice
     
  5. Offline

    Alpha52

    Good ole phrstbrn.
    This plugin is goin places!
     
  6. Offline

    lammiboy

    I get this
    I got it with the original jobs aswell, Help?
    [​IMG]
     
  7. Offline

    jlu


    --> Jobconfig.yml; define a max level for each job; ?????; PROFIT.
    However, it's not an error, define max-lvl is optionnal.
     
  8. Offline

    lammiboy

    I tried that before, I changed the slot number and job level to my choice yet even though it does not get this exact error thing it doesnt show any jobs in-game.
     
  9. Offline

    TheBeast808

    Please tell me you don't need permissions 3.x.
     
  10. Add these two permission 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).
    jobs.world.<worldname> - allows players to get paid on selected world.

    ex
    Code (Text):
    1.  
    2. jobs.join.*
    3. jobs.browse.*
    4.  
     
  11. I've tested it against both Permissions 2.7.4 and Permissions 3.1.6, however it should work without Permissions. I haven't tested much without Permissions before taking over for flametornado, however it should work without it, it was working after I did some light testing.
     
  12. Offline

    Gilbertamie

    Thanks for the 935 update, I was freaking out :p
     
  13. Offline

    Alpha52

    @lammiboy

    Make sure you uncomment the max level/slots line in the config.
    By this I mean remove the # before both lines.
     
  14. Offline

    Darcion

    link is down...

    edit
    after some tries its back
     
  15. Offline

    Kitzur

    I cant see my job. but i hsave Permission and i had make /jobs join Miner. Job title is job. I NEED HELP
     
    XxDawnsusxX likes this.
  16. Bug: It doesnt give EXP or money for Playerkills.
     
  17. I'll look into that, I don't use that feature on my server, so it might not be working. Do you happen to know if this works in the flametornado version, 2.0.2?
     
  18. Offline

    DooBLER

    when i have in jobConfig.yml something like:
    Code (Text):
    1. Break:
    2.             RAILS:
    3.                 income: -2.0
    4.                 experience: -2.1
    5.             27:
    6.                 income: -6.0
    7.                 experience: -6.2
    8.             28:
    9.                 income: -6.0
    10.                 experience: -6.2
    I get an error:
    Code (Text):
    1. 2011-06-28 20:21:07 [SEVERE] Error occurred while disabling Jobs v2.1.1 (Is it up to date?): java.lang.Integer cannot be cast to java.lang.String
    2. java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    3.     at com.zford.jobs.config.JobsConfiguration.loadJobSettings(Unknown Source)
    4.     at com.zford.jobs.config.JobsConfiguration.<init>(Unknown Source)
    5.     at com.zford.jobs.config.JobsConfiguration.getInstance(Unknown Source)
    6.     at com.zford.jobs.Jobs.onDisable(Unknown Source)
    7.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    8.     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:878)
    9.     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:280)
    10.     at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:273)
    11.     at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:146)
    12.     at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:312)
    13.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:391)
    14.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Where can I find all the names of items?
     
  19. http://jd.bukkit.org/apidocs/org/bukkit/Material.html
     
  20. Offline

    DooBLER

    Thank you for your very quick reply :*
     
  21. Offline

    TheBeast808

    Everytime I try to reload or start up the server with jobs it gives this error:

    Code (Text):
    1. 2011-06-28 19:15:57 [SEVERE] Error occurred while enabling Jobs v2.1.1 (Is it up to date?): java.lang.Integer cannot be cast to java.lang.String
    2. java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    3.     at com.zford.jobs.config.JobsConfiguration.loadJobSettings(Unknown Source)
    4.     at com.zford.jobs.config.JobsConfiguration.<init>(Unknown Source)
    5.     at com.zford.jobs.config.JobsConfiguration.getInstance(Unknown Source)
    6.     at com.zford.jobs.Jobs.onEnable(Unknown Source)
    7.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    8.     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    9.     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    10.     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    11.     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    12.     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    13.     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    14.     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    15.     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    16.     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    The config is set up right, and I'm running an up to date bukkit with an up to date iConomy and permissions 2.7.4. Why is this happening? I really want to get jobs to work.
     
  22. You're doing the same thing DooBLER was doing.
     
  23. Offline

    DooBLER

    I have another strange issue
    fresh installation of craftbukkit 935 and jobs 2.1.1 (default settings)

    Players lose their jobs when they disconnect from server

    Test on one player:
    - jobs.data 0B
    - user join to job - jobs.data 24B
    - user leave server - jobs.data 0B
     
  24. Offline

    olimoli123

    Is the money duping fixed?
     
  25. Offline

    Grimmy777

    Hopefully I can keep my job now. Thanks for the update!
     
  26. Offline

    4z3rty

    Hi,
    I have a little problem with this plugin (2.0.1), I use iConomy but not MySQL :
    Code (Text):
    1. 01:15:16 [SEVERE] Error occurred while disabling Jobs v2.0.1 (Is it up to date?): null
    2. java.lang.NullPointerException
    3.         at me.alex.jobs.config.JobsConfiguration.loadGeneralSettings(JobsConfiguration.java:110)
    4.         at me.alex.jobs.config.JobsConfiguration.<init>(JobsConfiguration.java:76)
    5.         at me.alex.jobs.config.JobsConfiguration.getInstance(JobsConfiguration.java:1007)
    6.         at me.alex.jobs.Jobs.onDisable(Jobs.java:62)
    7.         at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    8.         at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:820)
    9.         at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
    10.         at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
    11.         at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:129)
    12.         at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:260)
    13.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:339)
    14.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15.  
    and generalConfig.yml :
    Code (Text):
    1. # General configuration.
    2. #
    3. #   The general configuration for the jobs plugin mostly includes how often the plugin
    4. # saves user data (when the user is in the game), the storage method, whether
    5. # to broadcast a message to the server when a user goes up a skill level.
    6. #   It also allows admins to set the maximum number of jobs a player can have at
    7. # any one time.
    8.  
    9. # storage method, can be MySQL, flatfile
    10. #storage-method: flatfile
    11.  
    12. # Requires Mysql.
    13. #mysql-username: root
    14. #mysql-password:
    15. #mysql-database: minecraft
    16. #mysql-url: jdbc:mysql://localhost:3306/
    17. #mysql-table-prefix:
    18.  
    19. # How often in minutes you want it to save, 0 disables periodic saving and
    20. # the system will only save on logout
    21. save-period: 10
    22.  
    23. # Do all players get a message when somone goes up a skill level?
    24. broadcast-on-skill-up: true
    25.  
    26. # maximum number of jobs a player can join
    27. max-jobs: 1
    28.  
    29. # option to enable the stats and achievements plugin.
    30. #enable-stats: true
    31.  
    32. # option to allow payment to be made when near a spawner
    33. #enable-pay-near-spawner: true
    Thank you for helping me.

    (I'm french, I don't speak very good English ^^)
     
  27. Update to 2.1.1, flametornado wrote the 2.0.1 plugin and I'm not supporting the jobs plugin before 2.1.0.
     
  28. I've stated my position on this behavior, and why I have no plans to change it in the original post. I have posted a workaround several times in different threads which fixes the issue by changing your configuration.
     
  29. I just got some friends together to make sure this is still working, it's working in 2.1.1. Tested against Bukkit 935, iConomy 5.0.1, and Jobs 2.1.1
     
  30. Offline

    4z3rty

    The solution was very sample.
    Thank lot.

    (I have download there for the first one)
     

Share This Page