[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

    Unscrewed

    I get this message when a block is being placed:

    And if you think about getting that message each blockplace, this plugin is getting really CPU-heavy. BTW I know this has to do to the checking if a block is fresh or placed by a player. :) Maybe it will help you.
     
  3. Is there a way to take someone off of a job?
     
  4. Offline

    coxy

    hello sorry im new to this but i have got the plugin onto the game but wen i type a command it says iJobs permissions not found. what have i done wrong?
     
  5. Offline

    beebsproduction

    hello, thanks for this cool plugin ! how can i translate it in french ?
     
  6. Offline

    Unscrewed

    You will need to get Permissions 2.7? or 2.6? I dont know because I use:

    essentialsGroupBridge and essentialsGroupManager (same as permissions but let's you change permission nodes, groups, users, etc all in-Game)
     
  7. Offline

    Gary Heaton

    Getting this:
    2011-04-25 14:32:05 [SEVERE] Nag author: '<NoAuthorGiven>' of 'iJobs' about the following: onPluginEnable has been replaced with a new signature, (PluginEnableEvent)
     
  8. Offline

    Zethin

    Hey, I know people have had this problem allot, but I wasn't able to find a solution for this.. Its the permissions thing where it says i dont have permission to access the jobs. And, I was also wondering, is this compatible with groupmanager/essentials? Anyways, here is my permissions code:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   Does not work for the default world.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
    
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
         - colorme.list
         - colorme.self
         - colorme.other
         - localshops.buysell (general buying and selling in the shop)
         - localshops.manage (manage a shop with set commands)
         - localshops.manage.owner (be able to use command /shop set owner)
         - localshops.create (create new shops)
         - localshops.create.free (shops don't cost money for this group)
         - localshops.move (move a shop)
         - localshops.move.free (shops don't cost money to move for this group)
         - localshops.destroy (destroy existing shops)
         - localshops.reload (use /shop reload command)
         - localshops.admin
         - 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
    
    
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
             - colorme.list
             - colorme.self
             - colorme.other
             - IBICF.fly
             - localshops.buysell (general buying and selling in the shop)
             - localshops.manage (manage a shop with set commands)
             - localshops.manage.owner (be able to use command /shop set owner)
             - localshops.create (create new shops)
             - localshops.create.free (shops don't cost money for this group)
             - localshops.move (move a shop)
             - localshops.move.free (shops don't cost money to move for this group)
             - localshops.destroy (destroy existing shops)
             - localshops.reload (use /shop reload command)
             - localshops.admin
             - 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
    users:
        Zethin:
            group: Admin
            permissions:
        Klayburned:
            group: Admin
            permissions:
        BenJahMon:
            group: Admin
            permissions:
    Thanks!
     
  9. Offline

    Taien

    Does this work in build 720?
     
  10. Offline

    beebsproduction

    i love this plugin ! Continue developing it ! :D
    ps: when I tape /reloadall to reload all my plugins ,"it's pay day" message flood like crazy ! :eek:
     
  11. Offline

    Aaron Flynn

    So far so good, I like the plugin.

    I get some weird error for BLOCK_PLACE to iJobs every time I post a sign.. everything works, just a heads up!

    Is there a way you can add /jobs payday to the /jobs menu? I want players to know how they get paid!
    Also, with payday, is it possible to make the money players earn accrue into an 'account' and then when their bonus comes in, and they do /jobs payday, they get all of their earned money - instead of paying per block?

    just thoughts, keep up the good work!
     
  12. Offline

    anagog

    2011-04-27 23:24:08 [SEVERE] Could not pass event BLOCK_PLACE to iJobs
    java.lang.NullPointerException
    at com.bukkit.Snakeruler.iJobs.iJobsBlockListener.onBlockPlace(iJobsBlockListener.java:26)
    at org.bukkit.plugin.java.JavaPluginLoader$25.execute(JavaPluginLoader.java:352)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:64)
    at net.minecraft.server.ItemFlintAndSteel.a(ItemFlintAndSteel.java:77)
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:519)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)


    Looking at it with my minimal knowledge of these things... it would appear that a supposed "block listnener" isnt working

    (733)
     
  13. Offline

    Perling

    i get the same error like anagog (733)
     
  14. Offline

    John Adams

    I also get same error as anagog and it lagged down my server horribly also using 733 cool plugin though i hope u fix it.
     
  15. Offline

    Weirdo327

    Whenever i type /jobs or /jobs set, it says (iJobs) Permissions not found. What should I do?
     
  16. News for BLOCK_PLACE errors?
     
  17. Offline

    rhadiem

    Could you add support for Mineconomy? Thanks!
     
  18. Offline

    Krealle

    Can you update to 740? I really like this plugin but after looking at what the other guys get...Well i want an update!
     
  19. Offline

    RebornSheep

    Can you make so that workers can get thair money in comma values, like 1.2? Right now workers only can get payed without comma, like 1 coin pr wood. I want that the woodcutter can get ex. 0.2 coin for 1 wood.

    Can you make this?
     
  20. Offline

    painbutcher

    hi men when i config permissions i dont know why when im in game i try to activate commands and its always says "commands not found" what can i do?
     
  21. Offline

    Qlaras

    Yes, the ability to use a fraction of a coin would be wonderful. (I tried it, it didn't like it at all)

    Otherwise I have to set other things really high to compensate. (Which I can do, if need be)
     
  22. Offline

    Methlon

    Sooooo... Ah, It's giving me permissions not found when I try to use it in game. Testing out plugins 'cause I'm thinkin of starting up a real MC server.. any thoughts?
     
  23. Offline

    Trevor_

    Profession: Doctor
    Job: Heal players by right clicking with certain food. They can generate food for themselves to use on other players.

    Just a thought.
     
  24. Offline

    HEmile

    Please add the ability to do decimal prices :)
     
  25. Offline

    Danzzz

    i noticed that players can continually use /payday there should be like a 10hour gap before u are allowed 2 use again ?
     
  26. Offline

    anielg

    way dint u add the sign transportation on this 1?
     
  27. Offline

    gain

    What do all the jobs do?
     
  28. Offline

    Snakeruler

    Hi all. Thanks for your comments. This is going to be hard to reply to every comment xD I'll do my best.

    I'll also be away for a few days too, I'll get on adding some of the features you all suggested too! :D

    @People with Permissions not being found

    I'm not sure what to do, I'll have a look and play about with the coding soon. In theory it should work.

    @People with errors

    I'll try and fix those for V 1.3

    @People with payday issues

    I noticed it glitches and resets payday several times when you reload, I'll fix that.

    And it should only let you do payday after a certain amount of time. Check your settings.

    @People with requests

    I will be updating soon to the recommended build.
    I will possibly adding doctors and mayors and whatnot, but I might just Let you make your own jobs in a txt file.

    I will probably be rewriting the whole plugin, but you probably won't be able to tell the difference xD
     
  29. Offline

    _lewis_

    I think the permissions not found error is because ppl are using an updated version of permissions and the ijobs is out dated. You should make a 740 version. When i was using an older permissions it worked fine but the second i updated it said permissions not found.

    Also im looking forward to V1.3. Good luck and cant wait.
     
  30. Offline

    XxBTWxX

    Please make it for 740 because it print errors in console output and for 1 day mine server file get up to 2GB space
     
  31. Offline

    Markus Schiller

    I use build 740 and i always get the message: "There was an error linking to Iconomy" but Iconomy works perfect for me.
     

Share This Page