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

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

  1. Offline

    Imakunee

    I love your plugin a lot as we wouldn't have an economy without it and I think most any economy server should use it. It works flawlessly for me.

    The only issue I'm having is that OtherBlocks interferes with it. I don't know if this is an easily solvable issue or even a solvable issue at all but if there's anything you could suggest for me to suggest to the maker of OtherBlocks I'd appreciate it. Thank you for your time!
     
  2. Offline

    phrstbrn

    Somehow you got the Unicode character FFFD into your config file, probably during a copy and paste. Try using a different text editor (Notepad++ maybe?) to see if you can find the hidden character and remove it. Otherwise I would recommend redoing your config (unfortunately copy/pasting will copy/paste the hidden character).

    I looked at OtherBlocks, problem is OtherBlocks is canceling the BlockBreakEvent event. I check for the outcome of the BlockBreakEvent to see if the player should get paid. OtherBlocks is actually tricking the server into thinking the block was never broken.

    Besides the conflicts this would cause with other plugins (this almost definately break BigBrother), it would be possible to fix this if he uses a higher priority than Jobs, and Jobs uses a priority lower than his. If OtherBlocks can make the event priority configurable, I could add a configurable event priority to Jobs, and then let the user decide if he wants to change the order which events get fired off. Changing the event priority of both plugins would almost definately cause conflicts with other plugins, but if the user is allowed to decide, then it will be up to them to find what priority is best for them.

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

    IcyDeadPeople

    Hey, everything works fine for me, but my custom job I made (techniker) is screwed up! It always says "An internal error has occured..." when I'm writing /jobs info techniker. Here's my Job config:
    Code:
    # Jobs configuration.
    #
    # Stores information about each job.
    #
    # NOTE: When having multiple jobs, both jobs will give the income payout to the player
    # even if they give the pay for one action (make the configurations with this in mind)
    # and each job will get the respective experience.
    #
    # e.g If player has 2 jobs where job1 gives 10 income and experience for killing a player
    # and job2 gives 5 income and experience for killing a player. When the user kills a player
    # they will get 15 income and job1 will gain 10 experience and job2 will gain 5 experience.
    
    Jobs:
        Baumfaeller:
            fullname: Baumfaeller
            shortname: Bf
            ChatColour: GREEN
            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: 5.0
                    experience: 5.0
            Place:
                SAPLING:
                    income: 1.0
                    experience: 1.0
                WOOD:
                    income: 2.0
                    experience: 2.0
            Kill:
                Player:
                    income: -7.5
                    experience: -7.5
          # custom-kill:
                # full name of the jobs class
              # Woodcutter:
                    # base income
                  # income: 10.0
                    # base experience
                  # experience: 10.0
        Mienenarbeiter:
            fullname: Mienenarbeiter
            shortname: M
            ChatColour: DARK_GRAY
            chat-display: full
            #max-level: 10
            #slots: 10
            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: 2.0
                    experience: 2.0
                COAL_ORE:
                    income: 3.0
                    experience: 3.0
                REDSTONE_ORE:
                    income: 3.0
                    experience: 3.0
                IRON_ORE:
                    income: 4.0
                    experience: 4.0
                GOLD_ORE:
                    income: 5.0
                    experience: 5.0
                LAPIS_ORE:
                    income: 5.0
                    experience: 5.0
                DIAMOND_ORE:
                    income: 6.0
                    experience: 6.0
                OBSIDIAN:
                    income: 7.5
                    experience: 7.5
                MOSSY_COBBLESTONE:
                    income: 6.0
                    experience: 6.0
            Place:
                RAILS:
                    income: 2.0
                    experience: 2.0
                IRON_ORE:
                    income: -5.0
                    experience: -5.0
                GOLD_ORE:
                    income: -6.0
                    experience: -6.0
            Kill:
                Player:
                    income: -7.5
                    experience: -7.5
          # custom-kill:
              # Miner:
                  # income: 10.0
                  # experience: 10.0
        Bauarbeiter:
            fullname: Bauarbeiter
            shortname: B
            ChatColour: WHITE
            chat-display: full
            #max-level: 10
            #slots: 10
            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))
            Place:
                COBBLESTONE:
                    income: 1.0
                    experience: 1.0
                WOOD:
                    income: 1.5
                    experience: 1.5
                FENCE:
                    income: 1.5
                    experience: 1.5
                WOOL:
                    income: 1.5
                    experience: 1.5
                STONE:
                    income: 2.25
                    experience: 2.25
                GLOWSTONE:
                    income: 3.0
                    experience: 3.0
                SANDSTONE:
                    income: 2.0
                    experience: 2.0
                GLASS:
                    income: 3.0
                    experience: 3.0
                BRICK:
                    income: 4.0
                    experience: 4.0
                LAPIS_BLOCK:
                    income: 5.0
                    experience: 5.0
                DOUBLE_STEP:
                    income: 2.0
                    experience: 2.0
                STEP:
                    income: 2.0
                    experience: 2.0
                BOOKSHELF:
                    income: 3.0
                    experience: 3.0
                WOOD_STAIRS:
                    income: 2.0
                    experience: 2.0
                COBBLESTONE_STAIRS:
                    income: 2.0
                    experience: 2.0
                MOSSY_COBBLESTONE:
                    income: 5.0
                    experience: 5.0
                DIAMOND_BLOCK:
                    income: 5.0
                    experience: 5.0
                GOLD_BLOCK:
                    income: 5.0
                    experience: 5.0
            Kill:
                Player:
                    income: -7.5
                    experience: -7.5
          # custom-kill:
              # Builder:
                  # income: 10.0
                  # experience: 10.0
        Graeber:
            fullname: Graeber
            shortname: G
            ChatColour: GOLD
            chat-display: full
            #max-level: 10
            #slots: 10
            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:
                DIRT:
                    income: 2.0
                    experience: 2.0
                GRASS:
                    income: 2.0
                    experience: 2.0
                GRAVEL:
                    income: 2.0
                    experience: 2.0
                SAND:
                    income: 2.0
                    experience: 2.0
                CLAY:
                    income: 2.0
                    experience: 2.0
            Kill:
                Player:
                    income: -7.5
                    experience: -7.5
          # custom-kill:
              # Digger:
                  # income: 10.0
                  # experience: 10.0
        Bauer:
            fullname: Bauer
            shortname: Fa
            ChatColour: BLUE
            chat-display: full
            #max-level: 10
            #slots: 10
            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:
                CROPS-7:
                    income: 4.0
                    experience: 4.0
                SUGAR_CANE_BLOCK:
                    income: 4.0
                    experience: 4.0
                BROWN_MUSHROOM:
                    income: 4.0
                    experience: 4.0
                RED_MUSHROOM:
                    income: 4.0
                    experience: 4.0
                YELLOW_FLOWER:
                    income: 3.0
                    experience: 3.0
                RED_ROSE:
                    income: 3.0
                    experience: 3.0
                CACTUS:
                    income: 3.0
                    experience: 3.0
            Place:
                SEEDS:
                    income: 3.0
                    experience: 3.0
                SUGAR_CANE_BLOCK:
                    income: 1.0
                    experience: 1.0
                RED_MUSHROOM:
                    income: 0.5
                    experience: 0.5
                BROWN_MUSHROOM:
                    income: 0.5
                    experience: 0.5
            Kill:
                Player:
                    income: -7.5
                    experience: -7.5
          # custom-kill:
              # Farmer:
                  # income: 10.0
                  # experience: 10.0
        Jaeger:
            fullname: Jaeger
            shortname: H
            ChatColour: RED
            chat-display: full
            #max-level: 10
            #slots: 10
            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))
            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
                Creeper:
                    income: 10.0
                    experience: 10.0
                Skeleton:
                    income: 10.0
                    experience: 10.0
                Spider:
                    income: 10.0
                    experience: 10.0
                Zombie:
                    income: 10.0
                    experience: 10.0
                Player:
                    income: -7.5
                    experience: -7.5
            Fish:
                RAW_FISH:
                    income: 4.0
                    experience: 4.0
          # custom-kill:
              # Woodcutter:
                  # income: -10.0
                  # experience: -10.0
        Techniker:
            fullname: Techniker
            shortname: T
            ChatColour: GRAY
            chat-display: full
            #max-level: 10
            #slots: 10
            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)
            Place:
                DETECTOR_RAIL:
                    income: 3.0
                    experience: 3.0
                DIODE:
                    income: 1.0
                    experience: 1.0
                DISPENSER:
                    income: 1.0
                    experience: 1.0
                LEVER:
                    income: 1.0
                    experience: 1.0
                MINECART:
                    income: 1.0
                    experience: 1.0
                NOTE_BLOCK:
                    income: 1.0
                    experience: 1.0
                PISTON_BASE:
                    income: 1.0
                    experience: 1.0
                PISTON_STICKY_BASE:
                    income: 1.0
                    experience: 1.0
                POWERED_MINECART:
                    income: 1.0
                    experience: 1.0
                STORAGE_MINECART:
                    income: 1.0
                    experience: 1.0
                POWERED_RAIL:
                    income: 1.0
                    experience: 1.0
                STONE_BUTTON:
                    income: 1.0
                    experience: 1.0
                REDSTONE:
                    income: 0.5
                    experience: 0.5
                RAILS:
                    income: 1.0
                    experience: 1.0
            Kill:
                Player:
                    income: -7.5
                    experience: -7.5
        None:
            fullname: None
            shortname: N
            ChatColour: WHITE
            chat-display: none
            #max-level: 10
            #slots: 10
            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))
            Kill:
                Player:
                    income: -200.0
     
  4. Offline

    darkzersoo


    Thanks helped me, found the hidden charakter.
     
  5. Offline

    Jamie Tees

    Would this work with essentials economy?
     
  6. Offline

    Datenkralle

    I found a bug: When somebody killing a sheep - hunter or something - they earned nothing - no exp, no money.
     
  7. Offline

    VoidingNixx

    bump

    Has the [SEVERE] Could not pass event PLAYER_DROP_ITEM to Jobs been fixed yet? I was using this plugin with default settings, and the console was spammed with these. Haven't seen a response to this yet.
     
  8. Offline

    phrstbrn

    "with both the mod and the compatible version of the plugin."

    What mod? What is "compatible version"? Am I supposed to guess? How am I or anybody supposed to help you when you only give partial information?
     
  9. Offline

    Stardoc

    I have a problem :(

    Player X -> world-2 -> Job Woodcutter
    i have set world-1 in the restricted.yml , but if the player X on World-1 , he become money an experience !

    I have tested with...

    #restrictedareas:
    area1:
    world: 'world1'

    and...

    #restrictedareas:
    area1:
    world: 'world1'
    point1:
    x: *
    y: *
    z: *
    point2:
    x: *
    y: *
    z: *

    (*) = my map data ;)

    what am I doing wrong ?
     
  10. Offline

    phrstbrn

    Restricted areas don't support wildcards. Use Permissions and "jobs.world.?" nodes
     
  11. Offline

    VoidingNixx

    Well, by MOD, since I mentioned in my original post above, I was running 953 and compatible version... by compatible version, since I'm posting here, I mean the version which is stated to run on 953 and is linked from your plugin page...

    [ECON] Jobs v2.4.2 - Jobs plugin for minecraft [953] [iConomy 5 & BOSEconomy][Permissions]


    I thought this was pretty self-explanatory, and it was mentioned in my original post. Now, if you need to know which MOD I am running, I will tell you that as well... it's CraftBukkit... if you want to know what game is being modded... it's for Minecraft.... but I think I'll just drop this plugin instead. Your response sir, isn't very nice.
     
  12. Offline

    oleg

    There's any way remove the item drop when they using the jobs
     
  13. Offline

    phrstbrn

    You still don't get it. You know the plugin has been updated since you've posted, right? And that there are also different versions floating around there...
     
  14. Offline

    nggmc

    Also just to add How can I change it so that when I /jobs admininfo (player). That only there /jobs stats show rather than the info of there job and /jobs stats
     
  15. Offline

    Darcion

    after updateing from 2.4.1 to 2.4.2 and restart i got this error

    Code:
    2011-07-16 15:41:29 [SEVERE] Error occurred while enabling Jobs v2.4.2 (Is it up to date?): tried to access class com.zford.jobs.Jobs$1 from class com.zford.jobs.Jobs
    java.lang.IllegalAccessError: tried to access class com.zford.jobs.Jobs$1 from class com.zford.jobs.Jobs
        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 org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        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)
    2011-07-16 15:41:29 [SEVERE] Error occurred while enabling Jobs v2.4.1 (Is it up to date?): com/zford/jobs/Jobs$1
    java.lang.IllegalAccessError: com/zford/jobs/Jobs$1
        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 org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:358)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        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)

    edit:

    found it! you renamed jobs.jar and Jobs.jar before, so i got 2 different jobs on my linux server.
     
  16. Offline

    phrstbrn

    Yeah, sorry. One of the first things I did was create an autobuild+packaging script once I took the project over from flametornado (he didn't have any build scripts released). I think Flametornado had it lowercase, I changed it to uppercase, but didn't realize it until after about a week, and by that point I figured more harm than good could be done by changing it a 3rd time.

    It shouldn't change again :p
     
  17. Offline

    thehutch

    Thank you so much for the jobs reload :) also a feature i'd like to add would be that you would auto-implement a non-cheating system where if a player did the opposite of what he is meant to do they would lose money/xp, you see i have to do this manually

    ie: when you farm you lose money/xp for placing sugarcane but then gain the same about by break it therefore you have to break more than you place, same with mining, woodcutting but ofc not hunter.
     
  18. Offline

    Fabis94

    Why no support for Essentials economy?
     
  19. Offline

    nggmc

    Still waiting a response..
    I checked the Message.config file
    There wasnt anything there
     
  20. Offline

    ArmaSteiner

    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 ist so? Whats the rigt permission????
    i've written this in the groupmanager:
    jobs.join.<Woodcutter>
    jobs.join.<Digger>
    jobs.join.<Builder>
    jobs.join.<Hunter>
    jobs.join.<Farmer>
    jobs.join.<Woodcutter>
    jobs.join.<Fisherman>
    jobs.world.<world>
    where is the mistake?
    If i am admin, the exp is running
     
  21. Offline

    SBD09

    Is it possible to stop people joining more than one jobs?
    if so how?
     
  22. Offline

    Matterz

    # maximum number of jobs a player can join
    #max-jobs: 3

    Change this to:

    # maximum number of jobs a player can join
    max-jobs: 1
     
  23. Offline

    Tadas159

    Don't use these (<,>)
    example: jobs.join.Builder

    How to fix 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

    merlijn155

    hello.
    I downloaded this plugin and it works fine for admins but when my friend tries to join or browse a job he cant Join or see any jobs. i tried to use the /jobs employ (playername) (job) command but if he Farms anything he doesn't get any Exp. help?
     
  25. Offline

    1Trigger1

    Hey, i'm totally new at this. Registered a few minuts ago.

    But i got a question. (more like a problem).

    I have downloaded the Job Plugin. And i installed everything correct (i think)
    This works great.
    But my problem is, when people write: /jobs join miner (for example miner)
    It says miner infront of there name. Thats normal, but the problem is. Some people lag (they got bad computer).
    So they leave my server. And when they come back, they got Miner Miner infront of there names. Yes, times miner.
    So when they lag out again, and come in the server again, its Miner Miner Miner, 3 times. xD.

    Atm there are a few ppl who got the word Miner like 7 times infront of there name. Or another job name.
    Cause i took miner for example.

    And the people can not get rid of it. Cause at some point the: /jobs leave miner (example) doesn't work anymore.
    Cause it kinda freaks out cause its there for like 7 times.

    idk what to do about it, and i really want it to be fixed. I even deleted the jobs plugin, but it stays.
    Its weird. And when they say something in the chat, its Miner Miner Miner Miner Miner Miner Miner BKiller (example name): lol

    And when they say alot of things, it lags the hole server.

    I hope somebody can help me with this.

    Thanks

    Trigger
     
  26. Offline

    SBD09

    Thanks for the help
     
  27. Offline

    danielfdsilva

    Hi,
    is it possible to earn for the usage of bonemeal? if it is, how it's done?
    i tried to use the item id: 351-15 but it didn't work.

    Thanks in advance.
    ah, awsome plugin btw :)
     
  28. Offline

    Chrysanta

  29. Offline

    Syrena

    i have a problem i got plugin on server but when i go into woodcutter i dont get money or anything from breaking wood
     
  30. Offline

    TheBeast808

    I keep getting this error no matter what I try. I'm running 1000, but it was happening to me before I updated
    Code:
    06:02:04 [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(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)
     

Share This Page