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

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

  1. Offline

    erdrickk

    Anyway to disable the chat formatting? so it doesn't list the job titles before the names?
     
  2. Offline

    --GJ--

    Yeah, just set the chat-option to "none" in your Jobs config file.
     
  3. Offline

    erdrickk

    ah ty ty ty ty
     
  4. Offline

    Darcion

  5. Offline

    phrstbrn

    Write your own plugin to do it? You can write hooks on the onJobLeave/onJobJoin event to do what you want. No chance in hell I want to support that feature, way too dangerous for my taste.
     
  6. Offline

    atlan1

    1. I looked on this page for the BukkitAPI for the names of dyes.
    2. I added crafting of dyes to a Job.
    3. On start of the server it says:
    Code:
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid ORANGE Craft mat
    erial type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid CYAN Craft mater
    ial type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid PURPLE Craft mat
    erial type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid GRAY Craft mater
    ial type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid LIGHT_BLUE Craft
     material type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid PINK Craft mater
    ial type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid LIME Craft mater
    ial type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid SILVER Craft mat
    erial type property. Skipping!
    18:37:29 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid MAGENTA Craft ma
    terial type property. Skipping!
    Questions:
    Are the names of the dyes right?
    Does this plugin support crafting dyes?
    If not, can you add it to the to-do-list?

    Thank you
     
  7. Offline

    --GJ--

    You've got the naming wrong. All the dyes are subsets of type ink_sac. So if you want them to get credit for crafting dyes, just use that. If you want specific ones, use the following list. It'd be INK_SAC-X, where X is the damage value below.

     
  8. Offline

    cgotto

    Just a quick question.

    Is it possible for Jobs to not pay per block when using other mods to break blocks quickly such as runecrafts powerpick?

    We have had to disable powerpick in order to avoid easy farming of gold.

    Thank you.
     
  9. Offline

    atlan1

    Code:
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC Craf
    t material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-ORANGE C
    raft material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-MAGENTA
    Craft material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-0x3 Craf
    t material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-0x4 Craf
    t material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-0x5 Craf
    t material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-0x6 Craf
    t material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-0x7 Craf
    t material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-8 Craft
    material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-9 Craft
    material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-10 Craft
     material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-11 Craft
     material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-12 Craft
     material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-13 Craft
     material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-14 Craft
     material type property. Skipping!
    21:11:26 [SCHWERWIEGEND] [Jobs] - Job Pharmacist has an invalid INK_SAC-15 Craft
     material type property. Skipping!
    I tried it, but neither the dec values nor the hex values works.
    I also tried INK_SAC only and the names I used in my first post.

    Has anybody else a suggestion?
     
  10. Offline

    --GJ--

    I stand corrected. It should be INK_SACK, not INK_SAC
     
  11. Offline

    atlan1

    Thank you for the quick reply.
    The loading of Jobs works now without errors.
    But when I craft a dye (in this case the grey one) I get this error:
    Code:
    21:42:00 [SCHWERWIEGEND] Could not pass event CUSTOM_EVENT to Jobs
    java.lang.NullPointerException
            at com.zford.jobs.config.container.Job.getItemActionIncome(Job.java:336)
    
            at com.zford.jobs.config.container.Job.getCraftIncome(Job.java:200)
            at com.zford.jobs.config.container.JobsPlayer.crafted(JobsPlayer.java:27
    4)
            at com.zford.jobs.listener.JobsCraftPaymentListener.onInventoryCraft(Job
    sCraftPaymentListener.java:50)
            at org.getspout.spoutapi.event.inventory.InventoryListener.onCustomEvent
    (InventoryListener.java:60)
            at org.bukkit.plugin.java.JavaPluginLoader$96.execute(JavaPluginLoader.j
    ava:934)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :330)
            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
    :501)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    I think this isn't a spelling misstake, perhaps a bug.
     
  12. Offline

    phrstbrn

    What version?
     
  13. Offline

    atlan1

    Jobs v2.5.6

    I updated to v2.6 but the same error occurred again.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  14. Offline

    cgotto

    I just wanted to clarify my post a little.

    Is it possible for a toggle to ask: "Are you using Runecraft?" Yes/No

    We are trying to only pay xp/gold for the block that is touched rather than all blocks destroyed while using the powerpick rune which destroys a 3x3x3 area.

    Thanks!
     
  15. Offline

    Darcion

    your using spout?
     
  16. Offline

    atlan1

    Of course, otherwise I could not use the crafting feature at all.
    I can use it for anything else but for dyes the described error occures.
     
  17. Offline

    domingo15

    I'm having a problem with the permissions nodes, the jobs.join.[jobsname] doesn't seem to work anymore on Jobs v2.6.0, anyone else having same problem?
     
  18. Offline

    atlan1

    I had this problem, too.
    I use PermissionsEx and I fixed that with Superperms.
    Just write 'superperms.jobs.join.*' , this is working for me.
     
  19. Offline

    Akiliz

    Hi !

    I have a little problem with the "Weaponsmith" job. Whenever I create a sword (wood,iron,gold or diamond), it does nothing, no Xp and money. I've checked the jobsconfig and everything is fine. Looks like there's no Craft option in the plugin. Can you help me out ?
     
  20. Offline

    --GJ--

    @phrstbrn

    Now that mcMMO has added the ability to get things from fishing other than fish, is there a way to reward this with the current Fisherman job? Or would it require rewriting something in the code, not just altering the config file?

    Do you have Spout installed? If not, crafting doesn't work.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  21. Offline

    Blood_dog_2004

    again......im running BOSEconomy 0.7.2 and permissions 3.1.6.... when i run my server i get no errors. i went throw and modified the exp and income on my jobs but when in game play you cant gain income in decimal amounts such as
    income: .50
    experiance: .50
    no income is gained unless it is in dollar amounts (1.00) but the exp works fine either way why is this ?...... anybody? any ideas are welcome and appreciated​
     
  22. Offline

    --GJ--

    Not sure. I've got several (most) of my income values in decimal amounts and it's working just fine. Make sure you put a zero before the decimal place, maybe?
     
  23. Offline

    Akiliz

    Thanks a lot !
    Stupid mistake of mine !
     
  24. Offline

    Karst1

    plus another question: Is it possible to have this plugin disabled on a certein world?
     
  25. Offline

    atlan1

    I also tried the WOOL-1WOOL-2, ... but the same/a similar error occured:

    Code:
    [/FONT][/COLOR]15:58:59 [SCHWERWIEGEND] Could not pass event CUSTOM_EVENT to Jobs
    java.lang.NullPointerException
            at com.zford.jobs.config.container.Job.getItemActionIncome(Job.java:336)
    
    
            at com.zford.jobs.config.container.Job.getCraftIncome(Job.java:200)
            at com.zford.jobs.config.container.JobsPlayer.crafted(JobsPlayer.java:27
    4)
            at com.zford.jobs.listener.JobsCraftPaymentListener.onInventoryCraft(Job
    sCraftPaymentListener.java:53)
            at org.getspout.spoutapi.event.inventory.InventoryListener.onCustomEvent
    (InventoryListener.java:60)
            at org.bukkit.plugin.java.JavaPluginLoader$96.execute(JavaPluginLoader.j
    ava:934)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :330)
            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
    :501)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    [/CODE]
     
  26. Offline

    --GJ--

    @atlan1

    Do you have the latest version of Spout, as well as the latest version of Jobs?
     
  27. Offline

    Akiliz

    Hi everyone !

    I feel dumb, is it normal that only OP can have money with a Job ... I don't know why but it seems that I can't earn money at all. I did not change the jobs config.
     
  28. Offline

    atlan1

    I think so:
    Spout: 510
    Jobs: 2.6

    Perhaps is the error is caused by another plugin.
    I have this installed:
    Code:
    BookWorm
    Citizens
    CitizenSpout
    dynmap
    Essentials
    EssentialsProtect
    EssentialsSpawn
    FalsebookCore
    FalsebookCart
    FalsebookBlock
    Jobs
    LWC
    Modifyworld
    PermissionsEx
    Spout
    SuperpermsBridge
    WorldEdit
    Planetoids
    
    I think you have to install a permissions plugin, e.g. PermissionsEx, PermissionsBukkit

    I checked every plugin twice by putting it outside of the plugins folder and trying to craft dyes.
    But the error occured over and over. It went on even when I only had Jobs and Spout in my plugins folder.

    Does crafting dyes produce the same error for one of you?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  29. Offline

    Artistofphat

    Hi guys :)

    Could anyone help me with Jobs 'unloading' after some time? By 'unloading' i mean Jobs disabling itself(and noone can use it, even if someone used anything from jobs few minutes earlier) after hour or two and it stays like that until reload/restart. Also, i cant find any error in server log, so its very strange :)
    cb: 1337
    spout: 510
    jobs: v2.6.0
    iConomy6: v6.0.8b
    java: v1.7
    sorry for my crappy english, still learning :)
     
  30. Offline

    Blood_dog_2004

    Thanks ill have to keep messing with it i guess and the zero.
     

Share This Page