[INACTIVE][ECON] iJobs Version 1.2 - Jobs for iConomy! + Permissions [674]

Discussion in 'Inactive/Unsupported Plugins' started by Snakeruler, Apr 13, 2011.

  1. Offline

    Snakeruler

    iJobs - Add jobs to iConomy
    Version: v1.2

    iJobs is a small addon for iConomy, which enables you to have jobs!

    Jobs available:
    <font color="rgb(0, 128, 0)">Woodcutter</font>
    <font color="rgb(169, 169, 169)">Miner</font>
    <font color="rgb(255, 204, 0)">Farmer</font>
    <font color="rgb(0, 100, 0)">Terraformer</font>
    <font color="rgb(255, 255, 0)">Builder</font>
    <font color="rgb(255, 0, 0)">Engineer</font>
    <font color="rgb(0, 204, 255)">Citizen</font>
    <font color="rgb(0, 0, 255)">Police officer</font>
    <font color="rgb(0, 0, 128)">SWAT</font>

    <Edit by Moderator: Redacted mediafire url>

    Commands:
    /jobs - View the jobs menu
    /jobs set <name> <job> - Set a player's job
    /jobs reload - Reload settings <font color="rgb(255, 0, 0)">NEW</font><font color="rgb(255, 0, 0)"><font color="rgb(0, 0, 0)"> [Requires new permission]</font></font>

    Permissions:
    iJobs.user.menu - View the iJobs menu
    iJobs.user.join - Join a job
    iJobs.user.browse - Browse through the jobs
    iJobs.user.payday - Get your money from payday!
    iJobs.user.info - View a jobs info
    iJobs.admin.setpayday - Set payday!
    iJobs.admin.set - Set another players job
    iJobs.admin.reload - Reload settings

    Info:

    You are free to join any job EXCEPT <font color="rgb(0, 0, 255)">Police</font> and <font color="rgb(0, 0, 139)">SWAT</font>. If you want to be one of them, you must ask someone with the correct permissions to set it for you. Or do it yourself; If you have the permissions. Of course, people with Admin permissions can join this without needing someone to set their job for them.

    To collect your money from payday, someone with permissions must use the command /jobs setpayday

    Miners, Woodcutters, Terraformers and Farmers will receive money per block they break. To prevent cheating:
    * Terraformers only get money for digging untouched grass, exact same method as the woodcutters;
    * Miners only get money for mining stone. Not cobblestone;
    * Farmers get money from breaking wheat;
    * Woodcutters only get money for mining log; that hasn't been placed by a player.

    Changelog:
    Version 1.2
    * Added option to disable jobs.
    * Miners get paid for mining ores. Gold and iron uses same system as stone.
    * Customize how much Miners are paid for ores. (Located in block.config)
    * Command to reload settings
    * Automatic payday. Customizable delay. Automatically set to 600000 milliseconds.<font color="rgb(0, 0, 0)"></font>

    Version 1.1
    * Fixed misspelling of credits from 'redits'
    * Added Builder job. Builders will be paid to build stuff by other players, aswell as payday
    * Added time limit on switching jobs. You can change it to however long you want. Remember to do it in milliseconds. Automatically set to 180000 seconds (3 minutes)
    * Added customizable pay for jobs. You choose what they're paid!

    Version 1
    * Released

    Things to come:
    * Customizable pay for jobs <font color="rgb(0, 128, 0)">Added in V.1.1</font>
    * Shop. Job specific. Farmers can buy seeds, Swat can buy weapons, etc.
    * Automatic payday <font color="rgb(0, 128, 0)">Added in V.1.2</font>
    * A voting system. When players try to be a Police or a SWAT, there will be an automatic vote.
    * Police and SWAT get a private chatting channel. Talk with /police [message].
    * Police commands such as /wanted [player] and /unwanted [player] to declare them as a wanted enemy
    * <font color="rgb(255, 0, 0)">Engineers <font color="rgb(0, 0, 0)">- Get paid for making redstone circuits by players.</font></font><font color="rgb(255, 0, 0)"><font color="rgb(0, 0, 0)"> </font></font><font color="rgb(0, 128, 0)">Added in V.1.2</font>

    My Twitter

    Please donate to help me produce more mods

    Urgh, how come there's 2 spoiler tags?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 14, 2016
    _lewis_ and Catox like this.
  2. Offline

    Rhuen

    Same here?PLZ FIX IT...i become a big Log
    You see, every second when a player destroy a block in his job:

    Code:
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:389)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:392)
        at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockBreak(iJobsBlockListener.java:41)
    java.lang.NullPointerException
    2011-04-16 18:52:49 [SEVERE] Could not pass event BLOCK_BREAK to iJobs
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:389)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:392)
        at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockBreak(iJobsBlockListener.java:41)
    java.lang.NullPointerException
    2011-04-16 18:52:48 [SEVERE] Could not pass event BLOCK_BREAK to iJobs
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:389)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:392)
        at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockBreak(iJobsBlockListener.java:41)
    java.lang.NullPointerException
    2011-04-16 18:52:48 [SEVERE] Could not pass event BLOCK_BREAK to iJobs
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:365)
        at net.minecraft.server.World.e(World.java:942)
        at net.minecraft.server.World.f(World.java:965)
        at net.minecraft.server.WorldServer.a(WorldServer.java:52)
        at net.minecraft.server.World.a(World.java:983)
        at net.minecraft.server.EntityPlayer.f_(EntityPlayer.java:80)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:45)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:392)
        at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockBreak(iJobsBlockListener.java:41)
    java.lang.NullPointerException
    2011-04-16 18:52:44 [SEVERE] Could not pass event BLOCK_BREAK to iJobs
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:389)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:392)
        at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockBreak(iJobsBlockListener.java:41)
    java.lang.NullPointerException
    2011-04-16 18:52:44 [SEVERE] Could not pass event BLOCK_BREAK to iJobs
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:389)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.java:392)
        at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockBreak(iJobsBlockListener.java:41)
    java.lang.NullPointerException
    2011-04-16 18:52:43 [SEVERE] Could not pass event BLOCK_BREAK to iJobs
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    
     
  3. Thanx. This fix the Chat problem. But, I still have the BLOCK_BREAK errors :(

    @Snakeruler:
    I've a proposition to upgrade your plugin => 1 - Job List Displaying :D
    This is really a good plugin, I'm impatiently waiting for the next updates :)

    Edit 17/04: More propositions:
    2 - If you delete an existing jog on config file, it's automatically regenerated when reload plugin. Maybe, add the possibility to unable this option allow users to really personalize jobs.
    3 - I've tried your plugins, Are you sure that is correctly linked with iConomy? When I launch the server the console display something like: "[iJobs] correctly link with iConomy". But when I take my payday, my money don't seem change. More, it's not possible to receive payday everyday. iConomy give me an interest of 1.5% all the 20 minutes (1 day and 1 night), if I try /jobs payday all the 20 minutes, plugin display something like "You've already took your payday from today" (sorry for my bad english and my poor memory).


    A french administrator =)
     
  4. Offline

    Killernoob

    how do I do that with what I have to create the Premissons?:eek:
     
  5. You need the permissions plugin to use any kind of permissions based plugin such as this.

    Really promising plugin, waiting for the 1.5 MC update to ruin bukkit for a bit before I download for my server =]
     
  6. Offline

    Killernoob

    That is now what?
     
  7. Offline

    Shooty

    Can you add 'Hunt' :D ?

    Gain coins when they kills mobs !
     
  8. Offline

    anonymous

    omg its 2bucks!
     
  9. Offline

    x3ndless

    i would love a cfg file for editing the pay, i dont want pay per block jsut want pay per job on payday
     
  10. Offline

    joshua read

    I love this plugin,
    but i am having a problem. Every time i type /jobs nothing comes up?
    does anyone know why this is?
    oh and great plugin btw!
    thanks for any help
     
  11. Same problem
    the command doesnt make anything :(
    But also no Unknown Command only nothing happens. Plz fix it :(
    This cames on startup too :
    2011-04-17 13:28:50 [SEVERE] Nag author: '<NoAuthorGiven>' of 'iJobs' about the following: onPluginEnable has been replaced with a new signature, (PluginEnableEvent)
     
  12. Offline

    Tealk

    hi its possible to make if one join a job he become a ather permission group?
     
  13. Offline

    Metalcore

    how to link iConomy with iJobs????
     
  14. Offline

    BukkTutorial

    This is a nice plugin
    I only discovered earlier this plugin
    and was impressed then total
    I like this plugin because the players choose what jobs they can takein a real live the fastziniert me very good plugin to make contact so on:)


     
  15. Offline

    Ryole

    What about Fisher or Hunter?


    AND Please add, that I can disable Terraformer and Citizen or so!
    I just want, my people to choose between Farmer Miner and Luberjack :D
     
  16. Offline

    Snakeruler

    I'll try and fix the block break errors tomorrow

    What do you mean by Job list displaying? Like to find out who has what job?

    I will be adding the ability to delete jobs too

    Have you typed /jobs setpayday?
     
  17. Offline

    TazzyFFS

    Hello ! I am a bit new to Bukkit, but erhm, help me out here a bit pls :-D
    I've installed bukkit and all correctly ( Im running a "stats" mod currently ) but when i downloaded this and put it in the Plugin folder and launch server and write /jobs set Tazzy ( my name ) Miner it says an error.. [iJobs] There was an error linking to iConomy.

    After launched the server, i looked in the plugins folder again, and i saw iJobs made an folder, so i checked inside of it, found nothing intresting rly, found 4 files ( 5 if u count with the folder )
    Plugins > iJobs : Mainconfig, Users, JobsConfig ( the folder )
    iJobs > JobsConfig ( the folder ) : block, payday

    Can anyone please help me sum here? And i didn't quiet get how to set permission...
    Sry for bein' so "Noobish" about this, and i hope someone can help me !

    Thanks :)

    *edit *
    got it to work a bit more, dont have the error linking to iConomy anymore, but it says i dont have permissions for it, but i have set it up already, i've followed a couple of videos..
     
  18. Offline

    beastsniper

    You should add BOSEconomy support because i can't get iconomy to work =(
     
  19. Offline

    Ryole

    Great Job! Now I have to wait for 1.5 Support! :3

    You got +45 EXP!
     
  20. Offline

    Snakeruler

    Try renaming the file to 'iJobs.jar' Take off the version number. That's helped some people.

    I'm not sure it would be too easy too link that in in this stage.

    :D




    iJobs v1.2 will be released tomorrow, or the day after, or maybe even tonight. So far it includes;

    • Options to disable jobs you don't like
    • Automatic payday from set intervals.
    And I will also add for v1.2
    • Options to disable payday and pay per block.
    • Options to choose how much miners are made for mining different ores
    • Engineer and FBI. These will both be disabled by default.
     
  21. Offline

    Ryole


    YAYAYAAYAYAAAAAY!
    Freakin out.
    But whats with Hunter and Fisher :S ??
     
  22. Offline

    CoolCat98

    Great plugin! But for some reason this plugin stops the Stargate plugin from working :(
     
  23. Offline

    Snakeruler

    They may be added too.

    D: Sorry about that, does it say anything in the console when it stops Stargate?
     
  24. Offline

    Ryole

    Hey! I found a BUG :S
    Code:
    2011-04-18 20:50:20 [SEVERE] Could not pass event PLAYER_CHAT to iJobs
    java.lang.NullPointerException
        at com.bukkit.Snakeruler.iJobs.JobsEditing.getColour(JobsEditing.java:69)
        at com.bukkit.Snakeruler.iJobs.iJobsPlayerListener.onPlayerChat(iJobsPlayerListener.java:33)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:234)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:595)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:583)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    That slows my Server huge :S
     
  25. Offline

    CampingHero

    Well i installed it and tried it at a local server but when i type /jobs setpayday and then /jobs payday i don't get money.
    iconomy shows nothing when i type money and BOSEconomy don't shows the added money
     
  26. Offline

    Snakeruler

    That should be fixed in the version I'm about to release.

    iJobs doesn't support BOSEconomy, sorry
     
  27. Offline

    ephesian

    can tell me what this error is ?

    Code:
    07:33:26 [SEVERE] Could not pass event BLOCK_BREAK to iJobs
    java.lang.NullPointerException
            at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockBreak(iJobsBloc
    kListener.java:41)
            at org.bukkit.plugin.java.JavaPluginLoader$32.execute(JavaPluginLoader.j
    ava:392)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:157
    )
            at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118
    )
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:389)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    im not even doing a job yet, im still setting up a town :s
     
  28. Offline

    Snakeruler

    Are you using v1.1 or v1.2?
     
  29. Offline

    Orcem12

    please make so private servers don't need permissions I'm lazy xD or if there is a way for only OP's to use it please tell me
     
  30. Offline

    Snakeruler

    There isn't a way like that, it doesn't take long to add permissions :p

    Basically, if you want someone to use the normal commands, add iJobs.user.*

    For op equivelant, add iJobs.admin.*
     
  31. Offline

    Orcem12

    lol I guess I just gotta live with it eh? xD
     

Share This Page