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

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

  1. Offline

    ArmaSteiner

    OK, THANKS, Jobs is already running
     
  2. Offline

    Poeschl

    I like this plugin and it works perfectly.

    Can you add CraftBukkitUpToDate-Support?
     
  3. Offline

    Rsccman

    ok buddy i got 2 things, how do i get my ranks,jobs ect to work with ichat? 2 how do i get when anyone level's up to brodcast to the whole server?
     
  4. Offline

    hjdumanator

    Hi, I just had a really quick question. How do I disable the ranks and everything that's in chat? I looked in all the configs but I can't seem to fine it.

    Thanks
    -HJ
     
  5. Offline

    phrstbrn

    In the jobs config file, change the chat display method to none (or None or NONE maybe, I don't remember exactly off the top of my head the syntax). Do that for each job
     
  6. Offline

    Rsccman

    ok buddy i got 2 things, how do i get my ranks,jobs ect to work with ichat? 2 how do i get when anyone level's up to brodcast to the whole server?
     
  7. Offline

    Hanver

    Good morning,
    i have got a problem with the jobsplug. The User can only join the jobs, but if they work, the exp stayed on 0/100.
    Why is it so? Whats the right permission?
    i've written this in the groupmanager:
    - jobs.join.*

    where is the mistake?
    If i am admin, the exp is running - no problem

    i use permissionPEX
     
  8. Offline

    Robbo905

    It's broken, fix it!

    No, I shan't be stupid like that. However, it has recently broken on my server. It was working okay a few days ago, but on a server start I get this in the log file:
    Code:
    [INFO] [Jobs] - max-jobs property not found. Defaulting to unlimited!
    2011-07-19 11:21:09 [SEVERE] Error occurred while enabling Jobs v2.4.2 (Is it up to date?): null; expected '<document start>', but found BlockMappingStart
    expected '<document start>', but found BlockMappingStart
     in "<reader>", line 13, column 1:
        Jobs:
        ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentStart.produce(ParserImpl.java:233)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:108)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:82)
        at com.zford.jobs.config.JobsConfiguration.loadJobSettings(Unknown Source)
        at com.zford.jobs.config.JobsConfiguration.reload(Unknown Source)
        at com.zford.jobs.config.JobsConfiguration.<init>(Unknown Source)
        at com.zford.jobs.config.JobsConfiguration.getInstance(Unknown Source)
        at com.zford.jobs.Jobs.onEnable(Unknown Source)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    and all jobs have broken - no-one has a job and no-one can get any money or XP. No commands are working and when I try '/jobs', this comes up in the log:

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jobs' in plugin Jobs v2.4.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.zford.jobs.config.JobsMessages.getMessage(Unknown Source)
        at com.zford.jobs.Jobs.onCommand(Unknown Source)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Hope someone can help! Thanks.

    P.S. I do not know the exact time they stopped working, but as far as I'm aware, nothing major has changed on the server since they broke.
     
  9. Offline

    Muyloco1

    Exactly my problem
     
  10. Offline

    Haduke

    My players job levels keep resetting back to 1 every couple of days or so.
     
  11. Offline

    zbahi

    The job plugin wont work whit iconomy 5.0.1 i try to do /money but it appear noting in me bukkit say fail load player_join WTF?????
     
  12. Offline

    buckeT.de

    Hello,

    CB:954
    Jobs: 2.4.2

    as your config file says
    Code:
            # 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.
    ID's shall be able to be used, but it still isn't tho, hum? (first page this issue was already told)
    Code:
    2011-07-20 06:19:16 [SEVERE] Error occurred while enabling Jobs v2.4.2 (Is it up to date?): java.lang.Integer cannot be cast to java.lang.String
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
    	at com.zford.jobs.config.JobsConfiguration.loadJobSettings(Unknown Source)
    	at com.zford.jobs.config.JobsConfiguration.reload(Unknown Source)
    	at com.zford.jobs.config.JobsConfiguration.<init>(Unknown Source)
    	at com.zford.jobs.config.JobsConfiguration.getInstance(Unknown Source)
    	at com.zford.jobs.Jobs.onEnable(Unknown Source)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    config:
    Code:
    [...]
        Prospektor:
            fullname: Prospektor
            shortname: P
            ChatColour: GOLD
            chat-display: none
            max-level: 100
            slots: 2
            leveling-progression-equation: 100*((1.5+(0.01*(numjobs-1)))^(joblevel-1))
            income-progression-equation: baseincome*((1.05)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
            Break:
                14:
                    income: 3.0
                    experience: 7.0
                15:
                    income: 2.0
                    experience: 5.0
                16:
                    income: 1.0
                    experience: 3.0
                21:
                    income: 5.0
                    experience: 10.0
                22:
                    income: 5.0
                    experience: 10.0
                41:
                    income: 5.0
                    experience: 10.0
                42:
                    income: 5.0
                    experience: 10.0
                56:
                    income: 10.0
                    experience: 12.5
                57:
                    income: 20.0
                    experience: 25.0
                73:
                    income: 3.0
                    experience: 4.0
                74:
                    income: 3.0
                    experience: 4.0
                89:
                    income: 5.0
                    experience: 12.5
            Place:
                14:
                    income: -3.0
                    experience: -7.0
                15:
                    income: -2.0
                    experience: -5.0
                16:
                    income: -1.0
                    experience: -3.0
                21:
                    income: -5.0
                    experience: -10.0
                22:
                    income: -5.0
                    experience: -10.0
                41:
                    income: -5.0
                    experience: -10.0
                42:
                    income: -5.0
                    experience: -10.0
                56:
                    income: -10.0
                    experience: -12.5
                57:
                    income: -20.0
                    experience: -25.0
                73:
                    income: -3.0
                    experience: -4.0
                74:
                    income: -3.0
                    experience: -4.0
                89:
                    income: -5.0
                    experience: -12.5
    [...]

    Greetz,
    buckeT
     
  13. Offline

    LavaBucket

    Bukkit Version: Build 1000
    Jobs Version: 2.4.2
    Using Permissions: Yes - But I has removed all my other plugins for trying it without
    Economy Plugin: iConomy 5
    Plugins Installed: No one
    Did you try disabling plugins? No . How?
    What troubleshooting steps did you try: I tried all

    Supplement : Bukkit don't do a own folder for the config etc. It's just doing a iConomy folder

    I tried other versions of Jobs too

    Bukkit show me some errors too :

    Code:
    16:31:05 [SEVERE] [Jobs] - configuration file generalConfig.yml does not exist
    16:31:05 [SEVERE] [Jobs] - configuration file generalConfig.yml does not exist
    16:31:05 [SEVERE] [Jobs] - configuration file jobConfig.yml does not exist
    16:31:05 [SEVERE] [Jobs] - configuration file titleConfig.yml does not exist, di
    sabling titles
    16:31:05 [SEVERE] [Jobs] - configuration file messageConfig.yml does not exist,
    using default messages.
    16:31:05 [SEVERE] Error occurred while disabling Jobs v2.4.2 (Is it up to date?)
    : null
    java.lang.NullPointerException
            at com.zford.jobs.config.JobsConfiguration.loadSlots(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.reload(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.<init>(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.getInstance(Unknown Source)
            at com.zford.jobs.Jobs.onDisable(Unknown Source)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
            at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoade
    r.java:899)
            at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManag
    er.java:288)
            at com.zford.jobs.Jobs.disablePlugin(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.loadGeneralSettings(Unknown S
    ource)
            at com.zford.jobs.config.JobsConfiguration.reload(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.<init>(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.getInstance(Unknown Source)
            at com.zford.jobs.Jobs.onEnable(Unknown Source)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    16:31:05 [SEVERE] [Jobs] - configuration file jobConfig.yml does not exist
    16:31:05 [SEVERE] [Jobs] - configuration file titleConfig.yml does not exist, di
    sabling titles
    16:31:05 [SEVERE] [Jobs] - configuration file messageConfig.yml does not exist,
    using default messages.
    16:31:05 [SEVERE] Error occurred while enabling Jobs v2.4.2 (Is it up to date?):
     null
    java.lang.NullPointerException
            at com.zford.jobs.config.JobsConfiguration.loadSlots(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.reload(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.<init>(Unknown Source)
            at com.zford.jobs.config.JobsConfiguration.getInstance(Unknown Source)
            at com.zford.jobs.Jobs.onEnable(Unknown Source)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) 
     
  14. Offline

    phrstbrn

    Updated new build, should fix almost all of the NullPointerExceptions. Almost all are caused by some misconfiguration issue, and Jobs not turning itself off to protect the server.
     
  15. Offline

    ricodestar

    for my works the plugin ot i go not lvl up ant it /mony gommand works not
     
  16. Offline

    LavaBucket

    Your new update is awesome. It works now :D Thanks very much

    I just got a short question. I want to get 1 Diamond if I break one Ironore. How can I do this?
     
  17. Offline

    Klomax

    Hey
    is there a way for my own job (assassin ) that i only get money for killing players of a group (permissions ).
    ? would be very nice
     
  18. Offline

    thehutch

    Awesome plugin and I must say most people join my server because of jobs. I have a request for this amazing plugin:

    Would it be possible for a command or a file which tells me how many of each job there are so I can find out how many farmers there are online and offline for example:

    /jobs available

    Woodcutter: 3/5
    Farmer 4/5
    Hunter 6/8

    [this is how it would be where for woodcutter '3' would be how many jobs have been taken and '5' be how many slots meaning that there are only 2 slots available

    Also would it be possible if I typed the command:

    /jobs availible <jobname>

    and this list would appear:

    player1
    player2
    player3

    where player1,2,3 is the players name who are in this job.

    I hope I have explained this as simply as I could as I absolutely love this plugin good job and continue this plugin for sure.

    Thank you.

    Thehutch
     
  19. Offline

    gmore70

    My server is overloading and crashing every hour. I turned off my plugins, then slowly added them back, when I add jobs, my cpu usage gets spikes - big spikes.

    I am running BigBrother and Iconomy - both the lastest as I just updated to see if that helps.

    Im running MC 1.7.3, RB 1000 and Jobs 2.4.3.

    I get this in the jobs.trace.db - numerous times:

    07-20 18:35:14 jdbc[3]: null
    org.h2.message.DbException: The connection was not closed by the application and is garbage collected [90018-157]
    at org.h2.message.DbException.get(DbException.java:167)
    at org.h2.message.DbException.get(DbException.java:144)
    at org.h2.message.DbException.get(DbException.java:133)
    at org.h2.jdbc.JdbcConnection.closeOld(JdbcConnection.java:174)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:121)
    at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    at org.h2.Driver.connect(Driver.java:72)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at com.zford.jobs.dao.JobsDAOH2.getConnection(Unknown Source)
    at com.zford.jobs.dao.JobsDAOH2.getAllJobs(Unknown Source)
    at com.zford.jobs.config.container.PlayerJobInfo.<init>(Unknown Source)
    at com.zford.jobs.Jobs.addPlayer(Unknown Source)
    at com.zford.jobs.listener.JobsPlayerListener.onPlayerJoin(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: org.h2.jdbc.JdbcSQLException: The connection was not closed by the application and is garbage collected [90018-157]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
    ... 24 more
     
  20. Offline

    Teldelariel

    I do not know if this is an issue with BigBrother or your Jobs plugin, but everytime without fail when I install Jobs BigBrother functions cease to work at all, I have duplicated this approx 10 times and everytime same thing. I generally have to delete your plugin, then delete my BB folder so it can generate a new one. Im running Bukkit 1000 on MC 1.7.3
     
  21. Offline

    Ziliya

    Hi, Whenever I start my server, I get this message in my McMyAdmin chat:

    Jobs: v2.4.3] has been disabled succesfully.

    I do not want the plugin disabled; my plugin list also says it is enabled. I installed the jobs.jar from the plugins folder inside the .zip file download into my plugins folder, then I added the "Jobs" folder and its contents (such as configs and the h2 jar) into my plugins folder.

    I'm not sure why the plugin isn't working for me but any help would be appreciated, thanks!
     
  22. Offline

    AndyFox42

    DL link is down
     
  23. Offline

    Simanova

    Is it possible to change all command to another language? Really nobody on my server would like to use this plugin, because of those commands
     
  24. Offline

    Smee2112

    I am having the same problem using MC 1.7.2, RB953 & Jobs2.4.3. Even with only 3-4 players on, I'm maxing out at 1GB RAM and have to reboot every hour.
    Other plugins installed is Essentials 2.4.2, HeroicDeath 1.8.1.156, Lockette 1.3.8, Permissions 3.1.6, Permissions SQL 1.3 and iConomy 5.01.
    All of these as well as BigBrother were working fine together up until I installed Jobs last night.
    I am using H2 for Jobs, would it be better with SQL?
     
    gmore70 likes this.
  25. Offline

    gmore70

    phew...I thought I was going crazy...seems like 2 others are having the same issue. So it is a real problem.
     
  26. Offline

    ExplorerMP

    is there any chance you could post your config files? maybe the default config can be reworked and he can include two files his stock one and a stock+anticheat[exploit]...
     
  27. Offline

    Rsccman

    show me how or what i need to edit so i can make it so when someone levels up it broadcasts?
     
  28. Offline

    Makan747

    Why jobs will disappear after 24 hours? or Less
     
  29. Offline

    a.aqua

    Bukkit Version: Build ###
    Jobs Version: 2.4.3
    Using Permissions: yes
    Economy Plugin: iConomy 5.01
    Plugins Installed:
    Code:
    NoWeather, SimpleSave, iConomy, Dynamic Effect Whitelist, AuthMe, MyWarp, WorldGuard, FalseBookCore, Towny, iConomyChestShop, DreamLand, BukkitContrib, Permissions, FalseBookChat, MyHome, FalseBookCart, LogBlockQuestioner, ControllerBlock, FalseBookIC, FalseBookBlock, WorldEdit, LWC, CommandBook, FalseBookExtra, LogBlock, dynmap, Jobs
    Did you try disabling plugins? no
    What troubleshooting steps did you try:
    • Entering /job
    Steps to Reproduce:
    • Entering /job
    Problem:
    Code:
    2011-07-22 13:46:56 [SEVERE] Unexpected exception
    java.lang.NoClassDefFoundError: org/bukkit/permissions/Permission
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
        at java.lang.Class.getMethod0(Class.java:2687)
        at java.lang.Class.getMethod(Class.java:1620)
        at org.bukkit.craftbukkit.command.ServerCommandListener.getName(ServerCommandListener.java:29)
        at net.minecraft.server.ConsoleCommandHandler.handle(ConsoleCommandHandler.java:25)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:307)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: org.bukkit.permissions.Permission
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        ... 17 more

    Oh, sorry, my bad, i forgot update bukkit to 1000 ._.
     
  30. Offline

    Nelo

Share This Page