Inactive Jobs v2.0.1 - Jobs plugin for Minecraft (iConomy 4/5 & BOSEconomy, Permissions) [860]

Discussion in 'Inactive/Unsupported Plugins' started by flametornado, Apr 17, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    flametornado

    NOTE: THIS PLUGIN IS NO LONGER BEING DEVELOPED \ SUPPORTED BY ME.

    phrstbrn HAS TAKEN UP THE DEVELOPMENT \ SUPPORT AND ALL QUERIES SHOULD GO TO HIM ON HIS POST. (http://forums.bukkit.org/threads/ec...t-935-iconomy-5-boseconomy-permissions.23429/)


    Jobs - The Job plugin for Minecraft:
    Version: 2.0.1

    Requires:
    • iConomy 4/5 / BOSEconomy
    Optional

    • Stats and Achievements
    • Permissions
    • MySQL
    A fully configurable plugin that allows you to get paid for breaking, placing and killing. Class based (experience increases as you perform your job).


    NOTE: Please read the comments in the configuration file thoroughly and check the console errors before posting here for help.

    [fire]IMPORTANT [fire]: If you want to upload your config for help, please do so using the forum's upload functionality.

    If you like this plugin, please donate.

    [​IMG]

    Video



    Thanks Samkio for the plugin tutorial video.

    Downloads
    Previous Versions (open)



    Features:
    • Create your own custom jobs and choose what they get paid for and how much.
    • Leveling mechanic where higher level jobs will give higher incomes. Income earnt = experience gained.
    • Equation determining maximum experience, experience gained and income gained is customizable.
    • Customizable skill levels in the game to mark leveling milestones (fully customizable in the configuration file).
    • 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)
    • Stats of your maximum level in a job is saved if you have the stats and achievements plugin. ( for bragging rights) (optional)
    • Does periodic saving and save on player exiting the server.
    • Leaving a job resets your job level and experience to 0.
    • Permissions support.
    • Admin commands work even when the players are offline.
    Source:


    I made a sourceforge account for this. It will allow you to report bugs and feature requests. It'll help me a lot to make sense of this.

    The link is https://sourceforge.net/projects/flametornadjobs/.

    Some rules before you go there:
    1. Please look through the bugs that have already been reported to see if someone else has already reported that bug. If you have any extra information, post it on the bug's comments. The more information I have, the easier it is for me to fix it and test it.
    2. Same as above for feature requests.


    Commands:
    Code:
    Player:
    /jobs browse -  View a list of the available jobs.
    /jobs join [job name] - Join the job.
    /jobs leave [job name] - Leave the job.
    /jobs info [job name] [break, place, kill] - view information about that job.
    /jobs stats - view your job level and experience needed to level up.
    
    Admins:
    /jobs fire [playername] [job] - fire the player from the specified job.
    /jobs employ [playername] [job] - employ the player into the specified job.
    /jobs promote [playername] [job] [levels] - promote the player in their job X levels.
    /jobs demote [playername] [job] [levels] - demote the player in their job X levels.
    /jobs grantxp [playername] [job] [experience] - grant the player X experience in the selected job.
    /jobs removexp [playername] [job] [experience] - remove X experience from the player in the selected job.
    /jobs transfer [playername] [oldjob] [newjob] - transfer the player's job (keeps levels and experience)
    
    NOTE: All job names are case sensitive.
    
    Permissions Nodes:
    Code:
    jobs.join.<jobname> - allows the group to join the job. Where <jobname> is replaced with the job name (e.g. jobs.join.Woodcutter or jobs.join.* to join all jobs).
    jobs.world.<worldname> - allows players to get paid on selected world.
    
    jobs.admin.fire - enables the fire admin command.
    jobs.admin.employ - enables the employ admin command.
    jobs.admin.promote - enables the promote admin command.
    jobs.admin.demote - enables the demote admin command.
    jobs.admin.grantxp - enables the grant experience admin command.
    jobs.admin.removexp - enables the remove experience admin command.
    jobs.admin.transfer - enables the transfer admin command.
    Changelog:

    Version 2.0.2 WIP
    • Added more parameters to job level up (jobname, jobcolour, titlename, titlecolour, playername, playerdisplayname, joblevel)
    • Fixed promote and demote to correctly change the max exp.
    • job names are no longer case sensitive.
    • Changed the saving mechanism to be synchronous instead of asynchronous (may help with people losing jobs)
    • added config option of enable-pay-near-spawner in general config.
    • Fixed some NPE
    • Wolves killing things gives the player money and experience.
    • Fixed empty tags not resulting in errors.
    • fixed mysql password is all numbers.
    • fixed honorific error
    NOTE: This version is stable, but not fully tested. I will not release this version fully until i track down the jobs vanishing bug and destroy it for all the hassle it has cause me :p


    Version 2.0.1
    • Small bugfixes
    • Moved where the update stats command is called so it won't break anything if there's an error in it. Should also improve performance slightly
    • made the enabling of the stats and achievements plugin optional (configuration parameter in general settings
    • ChatColour can now be in any case and it'll still work.
    Version 2.o.0

    • Multiple jobs
    • Exposed equations
    • More customization
    • Can specify sub-class
    • Can specify job class kills.
    • Messages are customizable.
    • Kills with arrows works
    • Admin commands (work offline too)
    • Can disable payout on certain worlds (mainly for creative servers).
    • Can limit the number of jobs a player can have
    • Can limit the number of people that can have a certain job per server.
    • Better console error messages.
    • Plugin disables itself properly.
    Changelog (open)



    Version 1.3.3b and 1.3.2b
    • Killing works properly now. Drops seem to have gone back to normal levels and you can kill stuff and get paid for it all the time.
    • 1.3.3b is for iConomy 5 AND ONLY iConomy 5
    • 1.3.2b is for before iConomy 5 AND ONLY before iConomy 5
    Version 1.3.3

    • iConomy 5 support.
    Version 1.3.2

    • Removed annoying spam message which was for debugging and i forgot in for 1.3.1
    • Changed experience to be a double so people get experience for things less than 1. Saving mechanism still saves using integers, it would create waaaay too much fuss to change this since the database schema would need to be changed for everyone that used this plugin and it would render all previous saves incompatible. This seems like a decent compromise. People will lose a maximum of .99 exp when they log out.
    • Better method for checking when an animal's dead, should fix the weird animation problem and the lack of drops some people have been experiencing.
    Version 1.3.1

    • Killing near mob spawners will not give you money anymore.
    • Displays payment amount when you do /jobs info for killing now too.
    • Changed way that you create kill tags incode. Results in the system crashing and the plugin not being enabled if you got the wrong name (e.g. capitals or misspelt name)
    Version 1.3.0

    • Killing stuff should work now. This section is not as thoroughly tested, but should work fine.
    • No jobs have been made with killing stuff, you're on your own with the configuration for a while but the template section has been updated, it follows the same pattern as break and place.
    Version 1.2.3 - Bugfix update

    • changed priority to make sure it gets run last (to make the following points work properly)
    • checks if you can place a block or if the event is canceled by another plugin. Done to avoid people getting rick very easily by placing blocks in areas they are not allowed.
    • Fix for players not getting removed properly in the onDisable function which results in weird names when people reload their plugins.
    Version 1.2.2

    • The titles will now take into account any previous modifications to your display name by another plugin and simply tack on the title at the front (and when you change jobs, strip it from your title and tack a new title at the front).
    Version 1.2.1

    • Base experience is now configurable
    • experience multiplier is not configurable (for those who want lower economies). If you want to give 0.2 of your currency to per item, then set the multiplier to 10.
    Version 1.2.0

    • A little code cleanup.
    • Permissions support
    • customizable flat rate pay
    • customizable skill titles.
    Version 1.1.2

    • Cleaned up sql commands more to make them more specific and avoid errors as much as possible. Hard to test this since neither my testing server and my proper server have any problems seen by other people.
    • Fixed the system to work with /reloadall command. The experience was still being saved, you just needed to log out. I didn't even know that this command existed, so i never thought i'd have the plugin enable with people in the server. It now takes that into account and online users will not need to log out to see their stats and work on their jobs.
    Version 1.1.1 [fire] RECOMMENDED [fire]

    • Cleaned up SQL commands to be more exact, should result in less errors.
    • New configuration for what kind of prefix to add to the username (job, skill level, both or none).
    • New configuration to toggle the option of broadcasting messages when users reach the next skill level.
    • [Stats & Achievements] - further integration, this plugin now also adds the iConomy money amount to the stats table. (will always be 1 block behind)
    • URGENT FIX - tables were not getting cleared and players ended up having multiple jobs with multiple levels instead of one job and one set of levels. Code written to auto correct this.
    Version 1.1.0

    • Added BOSEconomy integration. This should be automatically detected.
    • Added flatfile functionality for server admins who don't want to use mysql.
    • EXPERIMENTAL : Added sqlite functionality, I sadly couldn't get sqlite to work properly on my testing machine so i haven't tested it. It should work though.
    Version 1.0.1

    • Small fix on /jobs stats command. It now rounds off the two decimal places and is less annoying to look at when it gives you the price for placing/destroying a block
    Version 1.0

    • Initial build, spent the weekend on it, pretty satisfied with it, added all mentioned functionality.
    [\SPOILER]

    TODO:



    See sourceforge for requested features and bugs.
     
  2. Offline

    ItsMeYaniv

    how can i add something like this:
    if i woodcutter and i break log it say in chat "you got 2 EXP"
    and i want add this tag when i msg in chat [Digger]
    if im digger
    or [Woodcutter] if i woodcutter
    how i do this things
     
  3. Offline

    Clucky

    Here's a list of all my current plugin's, maybe others can post their's and you can see if it's a confliction or not:

    DeathMessagePlugin, Residence, BedHeal, Vegetation, TeleConfirmLite, SimpleAwaySleep, StarterKit, Permissions, RepairChest, LockChest, Fridges, Citizens, Turnstile, MineCal, MobBounty, LastSeen, SimpleSave, playerList, CoorTeleport, PhysicalShop, WorldEdit, iConomy, PlayerLogger, Runecraft, SpyerAdmin, Tips, LoginMessage


    PS: If I were to zip my server folder until this bug is fixed, how would you like me to send it to you? PS: I'm going to reinstall the recommended build, i may have installed the wrong one, I'll see if that fixes the problem and get back to you.

    PSS: I put your plugin into a separate folder because it was lagging down my server; JIC you was wondering why it wasn't in the list. :p





    EDIT: I thought i had updated to the correct build, however, I looked again and come to find out, the newest is 823, so I backtracked, downloaded 818 and it worked fine, I think before i may had been using 766 (May had, somehow i was running 1.6.6 which leads me to believe I was using 818, but in a file somewhere it said 766... very confusing), they come so fast... Anyways, its been 10 minutes and so far so good, however, I have my server with the previous build of BUKKIT with the errors many have been experiencing if you would like it. If I have the problems again, I will be sure to talk back to you. Thanks for your help! :D


    New error on next page :(

    HAHA spoke too soon, now im getting this error:

    Code:
    04:31:25 [SEVERE] [Jobs] - Error loading jobs.data. Disabling plugin!
    04:31:25 [SEVERE] [Jobs] - Error loading jobs.data. Disabling plugin!
    04:31:25 [SEVERE] java.io.FileNotFoundException: plugins/Jobs/jobs.data (Too many open files)
    04:31:25 [SEVERE]     at java.io.FileInputStream.open(Native Method)
    04:31:25 [SEVERE]     at java.io.FileInputStream.<init>(FileInputStream.java:137)
    04:31:25 [SEVERE]     at java.util.Scanner.<init>(Scanner.java:653)
    04:31:25 [SEVERE]     at me.alex.jobs.dao.JobsDAOFlatfile.save(JobsDAOFlatfile.java:117)
    04:31:25 [SEVERE]     at me.alex.jobs.Jobs.save(Jobs.java:1282)
    04:31:25 [SEVERE]     at me.alex.jobs.Jobs.saveAll(Jobs.java:1272)
    04:31:25 [SEVERE]     at me.alex.jobs.Jobs$1.run(Jobs.java:93)
    04:31:25 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    04:31:25 [SEVERE]     at java.lang.Thread.run(Thread.java:636)
    
    Basically repeats after that for approx: 200-400 lines...

    I have both builds, ask for whichever you want, or both, your choice.

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

    Leetman

    For me the plugin works perfect, but only for admins...
    Normal users can also join jobs and so on, but they didn't get payed.

    Here are my Permissions:
    Code:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'jobs.join.*'
                - 'jobs.world'
                - 'iConomy.access'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.bank.access'
                - 'iConomy.bank.main'
                - 'iConomy.bank.main.view'
                - 'iConomy.bank.join'
                - 'iConomy.bank.join.multiple'
    I hope someone can help me :)
     
  5. Offline

    Kylei

    Error ...
    [​IMG]
     
  6. Offline

    Lead2Life

    It's "- 'jobs.world.[worldname](*)'" not "- 'jobs.world'"
     
    Leetman likes this.
  7. Offline

    Bunnizor

    I have a question. How do you Enable The title likes AM and AH into the chat? Doesn't seem to be in the default.
     
  8. Offline

    Dalaxerking13

    The Download dosnt work for macs can you make the download a Zip,Because Rar files don't work on macs
     
  9. Offline

    Haduke

    As soon as I put the freshly downloaded 2.1 version into my plugins folder and fire up my server, I get told that each and every job in the plugin is missing the max level and slots property.
    I tried going into the jobsconfig file and deleting the # icon in front of each of these places. It seemed to fix the problem for everything except Woodcutter. When I look at the jobsconfig, Woodcutter barely has anything under it. It's almost as if it was meant to be an example or something.
    Any ideas what I could be doing wrong? I am using MC 1.6.6 and Bukkit 860.

    Seriously. This has to be the most screwed up bunch of code I have yet to see in a plugin. Everything I try and go gives me an error.
    Now that I FINALLY got rid of the stupid errors I stated above, I am NOW getting the following error for each and every block type that I try and use for either breaking, or placing under the Woodcutter job:
    [SEVERE] [Jobs] - Job Woodcutter has an invalid WOODEN_PLANK Place block type property. Disabling jobs!
    How about get someone to do a tutorial on how to add jobs, or to fix the ones that you placed in the code that don't work. And perhaps someone who speaks english please. Thanks.

    And now I have just deleted the Woodcutter job completely from the jobsconfig file and the entire plugin has crashed. Geeze. This is pathetic. I guess I will have to just continue to NOT use this plugin as I have been for the past 3 months that my server has been active.

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

    Da_legend123

    cud some one help me, i typed all this........
    Code:
        Gardener:
            fullname: Gardener
            shortname: Gardener
            ChatColour: BLUE
            chat-display: full
            max-level: 25
            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:
                WHEAT:
                    income: 4.0
                    experience: 4.0
                SUGAR_CANE_BLOCK:
                    income: 4.0
                    experience: 4.0
            Place:
                SEEDS:
                    income: 3.0
                    experience: 3.0
                SUGAR_CANE_BLOCK:
                    income: 3.0
                    experience: 3.0
                SAPLING:
                    income: 4.0
                    experience: 4.0
                YELLOW_FLOWER:
                    income: 3.0
                    experience: 3.0
                RED_ROSE:
                    income: 3.0
                    experience: 3.0
                BROWN_MUSHROOM:
                    income: 2.0
                    experience: 2.0
                RED_MUSHROOM:
                    income: 3.0
                    experience: 3.0
    but it is only giving credit for sapling when i type /jobs info Gardener place ...
     
  11. Offline

    xyxgreendayxyx

    help me please, my players can't get money by for example mining! Help!
     
  12. Offline

    Lead2Life

    Hello
    I've got an error with reference to the place or break from Farmers. I don't gain exp or money to place seeds and I don't gain exp or money to break wheat. If I break or place sugar canes everything is working perfectly but I cannot do anything with seeds and wheat. Is there anything I'm doing wrong?
     
  13. Offline

    Hex

    How come I dont get money when I kill animals and break stone blocks?
    (Miner and a Hunter)
     
  14. Offline

    Grimmy777

    Anyone have any idea why players keep randomly losing their jobs? They will just log in and suddenly no longer have a job assigned to them. Not sure what is causing this... MYSQL is not an option right now. any suggestions?
     
  15. Offline

    Klomax

    Hey i have the following Problem :
    I have installed the latest version of the Plugin .
    I have Craftbukkit 790 .
    I use the standard configuration of the plugin .
    But when I type /jobs browse it always comes : There are no jobs.
    In the Server console aren´t any Error with the Plugin.
    So what can I do pls help me
     
  16. Offline

    olimoli123

    Request for anti money duping, lemme know when its done ^^
     
  17. Offline

    Tadas159

    Why it's not saving jobs for players?
     
  18. Offline

    iiShaun

    When ever a player on my server trys to gain xp , The xp does not transfer to the stats and the players don't get money for doing there jobs..
     
  19. Offline

    LukeD1994

    Is it possible to make it so certain jobs (say farmers) get money and experience for picking up items like eggs
     
  20. Offline

    Taien

    New Stable Build 860 is out :)

    Also, the flatfile thing is the source of the jobs resetting bug people are having. If you switch to SQL, it works fine. Some kind of bug in the flatfile programming for multijobs(as the bug wasn't present in 1.3.3).

    I've also noticed that the newest version of LogBlock conflicts with this...that's fine though, I went back to an older version :)

    Patiently awaiting 2.1 (or 3.0, whatever) :)

    Some more suggestions:
    1. Find a way to allow conventional color codes and this plugin's color codes to work together. If I have prefixes or suffixes set to certain user groups, they are not applied when the jobs tags are present because the jobs tags are based on the user's name and not their nickname. So if a user has a red name in my group permissions, if jobs is running that &4 is ignored by their name, and they come out with correctly colored job names/titles but incorrectly colored names. It also causes loss of nicknames if people have them.
    2. More customization for the messages, ability to remove certain messages or have more of those nice variables you made up able to be used with more messages, so I can make something like "You have advanced a job level in Miner - You are now level 39."
    3. (I know you said this is a bitch but) a Craft: heading :)
    4. Ability to "level down" if you lose too much XP, ability to turn this option on/off per class

    Keep up the good work flame :)

    Wow dude, no need to be such a troll just because you can't figure out a few simple lines of code. I can understand being frustrated but damn.

    The item/monster names have to be EXACTLY correct or it won't work. The errors people are getting with the 'Woodcutter has no max level property!' are minor and you can ignore them. If you don't know the exact item names(all item names are in full caps and have underscores for spaces, there is a list somewhere but I forget where, it's the game code names for the items), you should really use IDs instead to avoid problems.

    Every job HAS to have certain things...the three formulas, a fullname and shortname, chat display, chat color, and at least one Place, Break, Kill, or custom_Kill setting. Each item has to have an experience and an income amount, and you can't use tabs in the yml file(duh). Numbers for experience and pay have to be floats(decimals), so even if all your rates are even amounts you have to put 1.0 or 4.0 or whatever.

    If you alter the jobsConfig.yml file, you have to restart the server to get the changes to take effect, unless you have one of those wierd servers where /plugin reload actually works.

    I'd post all my jobs here, but I don't want my ideas stolen :)

    So here's a sample:

    Code:
        Farmer:
            fullname: Farmer
            shortname: F
            ChatColour: DARK_GREEN
            chat-display: job
            #max-level: 10
            #slots: 10
            leveling-progression-equation: 20*((1.14+(0.01*(numjobs-1)))^(joblevel-1))
            income-progression-equation: baseincome*((1.06)^(joblevel-1))
            experience-progression-equation: baseexperience*((1.06)^(joblevel-1))
            Break:
                CROPS-7:
                    income: 0.125
                    experience: 0.125
                CROPS:
                    income: -0.025
                    experience: 0.0
                SUGAR_CANE_BLOCK:
                    income: 0.05
                    experience: 0.05
                CACTUS:
                    income: 0.04
                    experience: 0.04
                SEEDS:
                    income: -0.025
                    experience: 0.0
            Place:
                CROPS-1:
                    income: 0.025
                    experience: 0.025
                SUGAR_CANE_BLOCK:
                    income: -0.05
                    experience: 0.0
                CACTUS:
                    income: -0.04
                    experience: 0.0
            Kill:
                Pig:
                    income: 0.15
                    experience: 0.15
                Chicken:
                    income: 0.1
                    experience: 0.1
                Cow:
                    income: 0.2
                    experience: 0.2
    As you can see here, as with all my jobs, I have it set up so if people try to place/break/place/break things they can still gain XP, but they'll lose any income they would have gained. Also, crops are set up to only payout on the fully grown crop (CROPS-7). :)

    Hopefully this helps some...

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

    TimHTran

    Okay for my server it says that jobs 1.3.3b has an error in the config file i dont know what the error is pls help
    Code:
    # storage method, can be MySQL, sqlite, flatfile
    storage-method: flatfile
    
    # Requires Mysql.
    mysql-username: root
    mysql-password:
    mysql-database: minecraft
    mysql-url: jdbc:mysql://localhost:3306/
    sqlite-url: jdbc:sqlite:test.db
    
    # base experience needed to level up from level 1 to 2
    # experience to level up is base-exp*(1+levelingProgressionRate)^level
    base-exp: 100
    
    # mutiplier for xp. xp-multiplyer*jobPay = experience
    xp-multiplyer: 1.0
    
    # choose the prefix in chat- full = job and skill level, skill = skill level only,
    # job = job level only, none = no prefix
    chat-display: full
    
    # choose to broadcast when the user goes up a skill rank to everyone
    broadcast-skill-up: true
    
    # How often in minutes you want it to save, 0 disables periodic saving and
    # the system will only save on logout
    save-period: 10
    
    # money you get paid for any block placed or destroyed not in the list for your job
    flat-rate-payout: 0.0
    
    # Create Jobs
    # All jobs must follow this framework, <...> means optional
    #
    # Jobs:
    #     [NAME]
    #         ChatColour: [COLOUR]
    #         levelingProgressionRate: [double]
    #         incomeProgressionRate: [double]
    #         Break:
    #             <object_name: [price]>
    #             ...
    #             <object_name: [price]>
    #         Place:
    #             <object_name: [price]>
    #             ...
    #             <object_name: [price]>
    #         Kill:
    #             <creature_name: [price]>
    #             ...
    #             <creature_name: [price]>
    #
    # * In the break section they users will be given or subtracted money on breaking the object.
    # * In the place section they users will be given or subtracted money on placing the object.
    # * In the kill section they users will be given or subtracted money on killing a creature.
    # * levelingProgressionRate is the rate at which the experience required to get to the next
    # level increases between levels.
    # * incomeProgressionRate is the rate at which the money gained per item.
    # * ChatColour is the colour of the title.
    #
    # NOTE: the object name must be exactly what the material is in the code. e.g:
    # cobblestone      -> COBBLESTONE
    # diamond ore      -> DIAMOND_ORE
    # tree trunks(any) -> LOG
    # wooden boards    -> WOOD
    #
    Jobs:
        logger:
            ChatColour: GREEN
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Break:
                LOG: 5.0
            Place:
                SAPLING: 1.0
                WOOD: 2.0
        miner:
            ChatColour: DARK_GRAY
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Break:
                STONE: 2.0
                COAL_ORE: 3.0
                REDSTONE_ORE: 3.0
                IRON_ORE: 4.0
                GOLD_ORE: 5.0
                LAPIS_ORE: 5.0
                DIAMOND_ORE: 6.0
                OBSIDIAN: 7.5
            Place:
                RAILS: 2.0
                IRON_ORE: -5.0
                GOLD_ORE: -6.0
        builder:
            ChatColour: WHITE
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Place:
                COBBLESTONE: 2.0
                STONE: 3.0
                GLASS: 5.0
                BRICK: 7.0
        digger:
            ChatColour: YELLOW
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Break:
                DIRT: 2.0
                GRASS: 2.0
                GRAVEL: 2.0
                SAND: 2.0
        hunter:
            ChatColour: WHITE
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Kill:
              Creeper: 50.0
              Chicken: 5.0
              Sheep: 5.0
              TamedWolf: -500.0
              PigZombie: 28.5
              Slime: 5.0
              Spider: 28.5
              Pig: 5.0
              ElectrifiedCreeper: 69.0
              Squid: 15.0
              Wolf: 20.5
              Zombie: 20.0
              Cow: 8.0
              Ghast: 69.0
              Skeleton: 20.0
              Giant: 0.0
    Titles:
        Apprentice:
            ChatColour: WHITE
            levelReq: 0
        Novice:
            ChatColour: GRAY
            levelReq: 30
        Journeyman:
            ChatColour: GOLD
            levelReq: 60
        Master:
            ChatColour: BLACK
            levelReq: 90
     
  22. Offline

    Taien

    Actually it seems my Farmer class is broken after all :p CROPS-7 doesn't reward experience, even though they are definitely CROPS-7 when I break them. CROPS works fine, but CROPS-7 and WHEAT don't give anything for fully grown crops. And I can't in good conscience use just CROPS because then people can just place and break and repeat...

    Flame - help! :)

    I doubt that 1.3.3 supports ElectrifiedCreeper and TamedWolf, since it came out before those were out really. You can try deleting those. I know it's a bitch to convert your classes but you should really try 2.0.1 :) works a lot better.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  23. Here is a request... you could actually make it an update for this mod... if you want to try...
    Anyway, I think it would push the content even further =).
    YourJobs
     
  24. Offline

    Tarmon11

    Everytime I run the server, I get this:

    2011-06-12 20:04:10 [INFO] [Jobs] - Job Miner is missing the max-level property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Miner is missing the slots property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Digger is missing the max-level property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Digger is missing the slots property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO][Jobs] - Job Miner is missing the max-level property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Miner is missing the slots property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Digger is missing the max-level property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Digger is missing the slots property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Farmer is missing the max-level property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Farmer is missing the slots property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Hunter is missing the max-level property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs] - Job Hunter is missing the slots property. defaulting to no limits !
    2011-06-12 20:04:10 [INFO] [Jobs v2.0.1] has been enabled succesfully.
    2011-06-12 20:04:10 [INFO] [Jobs] Successfully linked with iConomy 5+.

    Before it gave me another error in addition to the other ones, but i messed around and now its gone.

    19:37:16 [INFO] [Jobs] - enable-stats property does not exist. Defaulting to false

    I looked in all the configs but could not see anyway to turn it on. am i doing something wrong or is this the interference of another plugin?
     
  25. Offline

    flametornado

    Sounds like a different function to this plugin.

    It's in the configuration file comments.

    I didn't do the you get 2 exp thing because it'll end up being chat spam.
    Tags have to be fixed, i'll be doing that at one point.

    If you zip/rar it up and post it here or PM me i'll be really glad. I really want to get to the bottom of this problem.
     
  26. Offline

    RustyDagger

    CB 860 my users are losing their jobs and levels and are not impressed at all :eek: using flat file ATM and i don't really want to swap to mysql cause my annoying host don't have phpmyadmin and i have to use this other weird program that i cant make head nor tail of .... don't get me wrong i can use it but uh takes a while to get tit to do what i want that's all.
     
  27. Offline

    flametornado

    Those titles happen when you have more than 1 job. I have done it so you can do that in the next update thought (shortfull, shortjob ... in the config)

    http://lmgtfy.com/?q=rar+mac

    Zip files have poor compression.

    If it says INFO in the console, it's just to let you know. Unless it says SEVERE then it's not a problem. The plugin should disable itself in all cases where there are actual bugs in the code.

    Firstly, you're not paying for this, you can't expect any level of support.
    Secondly WOODEN_PLANK is not the correct name at all, It's WOOD, if you don't know the names of the objects just use the ids.
    Thirdly, the configuration files are commented thoroughly, you can always copy and paste a job and modify its parameters.

    do not care at all. I'm making this plugin for me, my friends and anyone who wants to use it.

    check that those are not item names, but are block names. (e.g. wheat is an item, crop is the block version. Seeds are also items not blocks ...)

    is permissions set up properly?

    wheat and seeds are items. crops are the actual blocks.

    are your permissions set up properly?

    working on that.

    permissions set up properly?

    bug in flatfile storage. working on it.

    permissions set up properly?

    technically yes, but it's too easy to farm them (dropping and picking up counts as picking up).

    yay, new bukkit RB, I'll work with that.

    1. yup, i know, i'll have to do something about prefixes and stuff.
    2. i will open up more variables as time goes on.
    3. i will do that ... eventually
    4. cool idea, def putting that in. Should be fairly easy to do too.

    i would recommend going to 2.x, messages are more clear, config files are more spread out. Also, tamed wolf isn't a creature and i don't think electrified creeper is either.

    i'll look into that.

    it's just letting you know what it does. Unless it says SEVERE instead of INFO, it's fine.

    That is a big mod, and most of that you can do with a combination of multiple current mods, like jobs and level craft and a few others.

    I personally tend away from large mods as they get quite complicated and hard to maintain. If someone wants to use my code and build upon that to make this mod, they can feel free.

    i'm looking into that. sorry for any inconvenience

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

    Hex

    @flametornado
    Yea permissions are set up right
    jobs.join.*
     
  29. Offline

    flametornado

    jobs.world.* too?
     
  30. Offline

    Hex

    Didn't use that, thanks :)
    (It works now)
     
  31. Offline

    xyxgreendayxyx

    Is something wrong in my permission?
    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.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # 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:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: 'Newbie'
                suffix: ''
                build: True
            inheritance:
            permissions:
                - 'foo.bar'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.bank.access'
                - 'bedrock.place'
                - 'graveyard.spawn.closest'
                - 'petition'
                - 'jobs.join.<jobname>'
                - 'jobs.world.<worldname>'
        Builder:
            default: false
            info:
                prefix: 'Builder'
                suffix: ''
                build: True
            inheritance:
            permissions:
                - 'foo.bar'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.bank.access'
                - 'iConomy.bank.transfer'
                - 'bedrock.place'
                - 'graveyard.spawn.closest'
                - 'petition'
                - 'jobs.join.<jobname>'
                - 'jobs.world.<worldname>'
        Moderator:
            default: false
            info:
                prefix: '&2Moderator&f'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.bank.access'
                - 'iConomy.bank.transfer'
                - 'bedrock.place'
                - 'graveyard.spawn.closest'
                - 'petition'
                - 'jobs.join.<jobname>'
                - 'jobs.world.<worldname>'
        Admins:
            default: false
            info:
                prefix: '&6Admin&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'SignHeal.place'
                - 'bedrockcontrol.destroyblock'
                - 'bedrockcontrol.getdrop'
                - 'bedrockcontrol.placeblock'
                - 'locker.lock.self'
                - 'locker.lock.other'
                - 'locker.unlock.self'
                - 'locker.unlock.password'
                - 'locker.unlock.other'
                - 'izone.zones.create'
                - 'izone.zones.delete'
                - 'izone.zones.info'
                - 'izone.zones.flag'
                - 'izone.zones.allow'
                - 'izone.zones.disallow'
                - 'izone.zones.expand'
                - 'izone.edit.undo'
                - 'izone.edit.fill'
                - 'izone.edit.count'
                - 'izone.edit.replace'
                - 'izone.edit.delete'
                - 'izone.zones.check'
                - 'izone.zones.define'
                - 'izone.zones.ignoreowner'
                - 'fastmining.fastmining'
                - 'graveyard.command.tp'
                - 'graveyard.command.add'
                - 'graveyard.command.list'
                - 'graveyard.command.closest'
                - 'graveyard.command.delete'
                - 'graveyard.spawn.closest'
                - 'OpenInv.openinv'
                - 'OpenInv.search'
                - 'OpenInv.exempt'
                - 'OpenInv.override'
                - 'jobs.world.<worldname>'
                - 'jobs.join.<jobname>'
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Human44:
            group: Admins
            permissions:
                - '
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
     
Thread Status:
Not open for further replies.

Share This Page