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

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

  1. Offline

    CRussian

    I have a problem with crafting when I'm a weapon smith. When I craft a wooden sword, it wont give me the money for it? Anyone else with that problem?
     
  2. Offline

    patey

    error on startup:
    Code:
    [SEVERE] Error occurred while enabling Jobs v2.5.3 (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.JobConfig.loadJobSettings(JobConfig.java:236)
        at com.zford.jobs.config.JobConfig.reload(JobConfig.java:66)
        at com.zford.jobs.Jobs.reloadConfigurations(Jobs.java:1341)
        at com.zford.jobs.Jobs.onEnable(Jobs.java:124)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    also, the jobs config doesn't seem to be documented very well,
    http://142.176.58.46/phpbb/viewforum.php?f=16
    ^could use that, users could post different stuff like jobs they made, someone could explain the math system, etc.

    (let me know if you approve of that phrstbrn)
     
  3. Offline

    meiamone

    How can I find out everyone that has a job and what job they have?
     
  4. Offline

    rskelhorn

    Checked my server log tonight:

    2011-09-29 20:28:50 [SEVERE] Could not pass event CUSTOM_EVENT to Jobs
    java.lang.NullPointerException
    at org.bukkit.material.SimpleAttachableMaterialData.getFacing(SimpleAttachableMaterialData.java:38)
    at org.bukkit.material.SimpleAttachableMaterialData.toString(SimpleAttachableMaterialData.java:43)
    at java.lang.String.valueOf(String.java:2838)
    at java.lang.StringBuilder.append(StringBuilder.java:132)
    at com.zford.jobs.config.container.Job.getItemActionIncome(Job.java:334)
    at com.zford.jobs.config.container.Job.getCraftIncome(Job.java:200)
    at com.zford.jobs.config.container.PlayerJobInfo.crafted(PlayerJobInfo.java:260)
    at com.zford.jobs.listener.JobsCraftPaymentListener.onInventoryCraft(JobsCraftPaymentListener.java:31)
    at org.getspout.spoutapi.event.inventory.InventoryListener.onCustomEvent(InventoryListener.java:57)
    at org.bukkit.plugin.java.JavaPluginLoader$93.execute(JavaPluginLoader.java:897)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:329)
    at net.minecraft.server.Packet102WindowClick.a(SourceFile:28)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)


    Not really sure what that is about, any ideas? Thanks bud,
    rskel
     
  5. Offline

    ledhead900

    @phrstbrn​
    Do you have a entity block list that I can read that contains the proper names of all the blocks that and entity's that may be used in the config for this ?​
     
  6. Offline

    patey

  7. Offline

    Magge

    I have some problem adding the new blocks in game as placing - stone brick stairs and so...
    When i load the config it says that stone_brick_stairs is not a valid block...

    Is this one of those wood=log issue where it is called something else, and where do i find those names?
     
  8. Offline

    patey

  9. Offline

    Gwynei

    Same here... with latest version.
     
  10. Offline

    phrstbrn

  11. Offline

    Magge

  12. Offline

    Da_legend123

    i have 2 problems 1st is when i try to join a job it says An internal error has occurd while attempting to perform this commend and this is the error code
    Code:
    12:19:24 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jobs' in plugin Jobs v2.5.4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at com.zford.jobs.Jobs.onCommand(Jobs.java:260)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 12 more
    
    and i have the black smith job but when i type /jobs browse blacksmith isn't there this is my config....
    Jobs:
    Blacksmith:
    fullname: Blacksmith
    shortname: B
    ChatColour: DARK_PURPLE
    chat-display: full
    max-level: 20
    slots: 2
    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))
    Craft:
    WOOD_SWORD:
    income: .10
    experience: .10
    269:
    income: .10
    experience: .10
    270:
    income: .10
    experience: .10
    271:
    income: .10
    experience: .10
    290:
    income: .10
    experience: .10
    IRON_SWORD:
    income: 1.0
    experience: 1.0
    256:
    income: 1.0
    experience: 1.0
    257:
    income: 1.0
    experience: 1.0
    258:
    income: 1.0
    experience: 1.0
    292:
    income: 1.0
    experience: 1.0
    306:
    income: 1.0
    experience: 1.0
    307:
    income: 1.0
    experience: 1.0
    308:
    income: 1.0
    experience: 1.0
    309:
    income: 1.0
    experience: 1.0
    GOLD_SWORD:
    income: 1.5
    experience: 1.5
    284:
    income: 1.5
    experience: 1.5
    285:
    income: 1.5
    experience: 1.5
    286:
    income: 1.5
    experience: 1.5
    294:
    income: 1.5
    experience: 1.5
    314:
    income: 1.5
    experience: 1.5
    315:
    income: 1.5
    experience: 1.5
    316:
    income: 1.5
    experience: 1.5
    317:
    income: 1.5
    experience: 1.5
    DIAMOND_SWORD:
    income: 4.0
    experience: 4.0
    277:
    income: 4.0
    experience: 4.0
    278:
    income: 4.0
    experience: 4.0
    279:
    income: 4.0
    experience: 4.0
    293:
    income: 4.0
    experience: 4.0
    310:
    income: 4.0
    experience: 4.0
    311:
    income: 4.0
    experience: 4.0
    312:
    income: 4.0
    experience: 4.0
    313:
    income: 4.0
    experience: 4.0

    thanks
     
  13. Offline

    Butterbrot207

    Jobs won't show any information about the job or rank in chat. No error messages. It worked with an earlier Version, btw. Can someone help me?

    EDIT
    It says optional in the description, but there is no "option" in any config files. Where is it?
    Also, using NO CHAT PLUGIN won't fix it.
     
  14. Offline

    Mitunzz_

    How do I make jobs configured so players can have only one job?
     
  15. Offline

    Butterbrot207

    generalConfig

    max-jobs: 1

    now someone help me.
     
  16. Offline

    Mitunzz_

    Never mind, my lazy bum didn't check the other config files lol.

    Thanks anyways :)
     
  17. Offline

    rskelhorn

    is there a feature in this where if they reach another level they can be rewarded with an item?
     
  18. Offline

    Butterbrot207

    no
     
  19. Offline

    Da_legend123

    also what does jobs.h2.db do
     
  20. Offline

    darkcloud784

    I still get
    Code:
    2011-10-02 12:17:54 [SEVERE] Could not pass event BLOCK_BREAK to Jobs
    java.lang.NullPointerException
        at com.iCo6.system.Queried.useMiniDB(Queried.java:86)
        at com.iCo6.system.Queried.hasAccount(Queried.java:231)
        at com.iCo6.system.Accounts.get(Accounts.java:14)
        at com.zford.jobs.economy.JobsiConomy6Link.pay(JobsiConomy6Link.java:48)
        at com.zford.jobs.config.container.PlayerJobInfo.broke(PlayerJobInfo.java:104)
        at com.zford.jobs.listener.JobsBlockPaymentListener.onBlockBreak(JobsBlockPaymentListener.java:50)
        at org.bukkit.plugin.java.JavaPluginLoader$39.execute(JavaPluginLoader.java:511)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:195)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:159)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:160)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    on 2.5.4 causes some lag on the server =X
     
  21. Offline

    phrstbrn

    I've been told iConomy 6 causes lag, and that iConomy 5 doesn't have the lag issue. I use iConomy 5 and don't have any issues with lag. I haven't looked too far into it, but I have a feeling iConomy 6 locks up the main server thread.
     
  22. Offline

    Butterbrot207

    Can somebody tell me please where I can find this option?
     
  23. Offline

    Magge

    hmm something strange happens to the xp...
    First of all you raise 2 levels at the time.
    But u need all the xp for 2 levels.
    When u ding a level, u will start in minus xp so that u will have to go from -x -> 0 and 0 -> to 100 to get 2 levels.
    What can i have done wrong?

    Could not pass event PLAYER_QUIT to Jobs
    java.lang.NullPointerException
    at com.zford.jobs.dao.JobsDAOH2.save(JobsDAOH2.java:139)
    at com.zford.jobs.Jobs.save(Jobs.java:1294)
    at com.zford.jobs.Jobs.removePlayer(Jobs.java:1259)
    at com.zford.jobs.listener.JobsPlayerListener.onPlayerQuit(JobsPlayerLis
    tener.java:48)
    at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.ja
    va:251)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConf
    igurationManager.java:154)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:650)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    I get this error in 1185 - but im not using slq... Can I avoid this?

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

    juaner

    is this plugins working with 1.8,1?
     
  25. Offline

    Magge

    yes
     
  26. Offline

    Butterbrot207

    Nobody will ever give me this simple hint where to find this:
    "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)"
    HELP ME
     
  27. Code:
    # Restricted area configuration
    
    # Configures restricted areas where you cannot get experience or money
    # when performing a job.
    
    # Uncomment below to enable restricted names.  There is no limit to the number
    # of restricted areas.
    
    #restrictedareas:
    #    area1:
    #        world: 'world'
    #        point1:
    #            x: 125
    #            y: 0
    #            z: 125
    #        point2:
    #            x: 150
    #            y: 100
    #            z: 150
    #    area2:
    #        world: 'world_nether'
    #        point1:
    #            x: -100
    #            y: 0
    #            z: -100
    #        point2:
    #            x: -150
    #            y: 100
    #            z: -150
    restricredAreas.yml
     
  28. Offline

    phrstbrn

    Just don't give them the jobs.world.yourcreativeworld permission node.
     
  29. Well if you are here...
    Would you make so that for methods (place/break/kill etc.) players will get money AND lose their money (constant?) for all things that AREN'T in the list of a job in jobConfig.yml? It's some kind of white-list.

    UPD: Am I blind or there's no command to see if slots are availble? Would be very useful.
     
  30. Offline

    Butterbrot207

    Why do you guys ignore me

    Guys it can't be this difficult to tell me what I failed to see to turn on Job and Rank in the displayed name

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

Share This Page