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

    flametornado

    you're using the wrong combination.

    for iconomy 4.65 you have to use 1.3.2b
     
  3. Offline

    DemonCraft

    Alright thanks, same Config file?
     
  4. Offline

    flametornado

    yup
     
  5. Offline

    DemonCraft

    Now it doesn't list the jobs...
    Here's the config file;
    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: 150
    
    # 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: job
    
    # 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: 0
    
    # money you get paid for any block placed or destroyed not in the list for your job
    flat-rate-payout: 0.1
    
    # 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:
        Woodcutter:
            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
    # Create titles
    # to create a title, they must follow this patter.
    # Titles:
    #     [Title Name]:
    #         ChatColour: [ChatColor]
    #         levelReq : [Integer]
    #
    # NOTE: levelReq must be the lowest level you can be to gain this title. It is recommended
    # but not neccessary to have a title at 0.
    Titles:
        Apprentice:
            ChatColour: BLUE
            levelReq: 0
        Novice:
            ChatColour: GRAY
            levelReq: 30
        Journeyman:
            ChatColour: GOLD
            levelReq: 60
        Master:
            ChatColour: BLACK
            levelReq: 90
    
    help?

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

    Codewow

    How do you leave a job?
     
  7. Offline

    Lanuk

    why is it a rar file? Will this still work if I stick it in plugins?
     
  8. Offline

    flametornado

    rar is convenient for me.

    http://lmgtfy.com/?q=extract+a+rar+file

    you can't right now.


    works for me.
    Is the console giving you any errors?
     
  9. Offline

    DemonCraft

    Code:
    2011-05-11 00:10:45 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-11 00:10:45 [INFO] Loading properties
    2011-05-11 00:10:45 [INFO] Starting Minecraft server on *:25565
    2011-05-11 00:10:45 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-05-11 00:10:45 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-11 00:10:45 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-11 00:10:45 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-11 00:10:45 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks (MC: 1.5_02)
    2011-05-11 00:10:45 [INFO] Preparing level "DemonCraft"
    2011-05-11 00:10:45 [INFO] Preparing start region
    2011-05-11 00:10:46 [INFO] Preparing spawn area: 97%
    2011-05-11 00:10:46 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-05-11 00:10:46 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    2011-05-11 00:10:46 [INFO] Fake Permissions version 2.7.2 is enabled!
    2011-05-11 00:10:46 [INFO] [bColoredChat] Permission system found
    2011-05-11 00:10:46 [INFO] [bColoredChat] version 2.0.0 is enabled!
    2011-05-11 00:10:46 [INFO] BlocksOnGlass version 0.22 is enabled!
    2011-05-11 00:10:46 [INFO] [ChocolateFever] version 1.4.3 is enabled!
    2011-05-11 00:10:46 [INFO] Loading ColoredSigns
    2011-05-11 00:10:46 [SEVERE] [Cookbook]: Cannot find recipes file.
    2011-05-11 00:10:46 [SEVERE] [Cookbook]: Cannot find furnace recipes file.
    2011-05-11 00:10:46 [INFO] [Cookbook]: version [1.4.3] (Classy) loaded
    2011-05-11 00:10:46 [INFO] CraftBookCommon 3.0-alpha2 enabled.
    2011-05-11 00:10:46 [INFO] CraftBookCommon: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:46 [INFO] CraftBookCircuits 3.0-alpha2 enabled.
    2011-05-11 00:10:46 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:46 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:46 [INFO] CraftBookMechanisms 3.0-alpha2 enabled.
    2011-05-11 00:10:46 [INFO] CraftBookMechanisms: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:46 [INFO] 1 cauldron recipe(s) loaded
    2011-05-11 00:10:46 [INFO] CraftBookVehicles 3.0-alpha2 enabled.
    2011-05-11 00:10:46 [INFO] CraftBookVehicles: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:46 [INFO] DeathMessagePlugin version 1.9 is enabled with permissions!
    2011-05-11 00:10:47 [INFO] Loaded Essentials build 2.2.7 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-05-11 00:10:47 [INFO] Fake Permissions version 2.5.1 is enabled!
    2011-05-11 00:10:47 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:47 [INFO] FortuneCookie version 1.1 is enabled!
    2011-05-11 00:10:47 [INFO] Found Diamonds STARTED
    2011-05-11 00:10:47 [INFO] GlassPlugin version 1.0 is enabled with permissions!
    2011-05-11 00:10:47 [INFO] [iConomy] Logging is currently disabled.
    2011-05-11 00:10:48 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    2011-05-11 00:10:48 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    2011-05-11 00:10:48 [INFO] [iConomy] hooked into Permissions.
    2011-05-11 00:10:48 [INFO] [iConomyChestShop] version 2.54 initialized!
    2011-05-11 00:10:48 [INFO] [iConomyChestShop] iConomy version 4.65 loaded.
    2011-05-11 00:10:48 [INFO] [iConomyChestShop] Permissions version 2.7.2 loaded.
    2011-05-11 00:10:48 [INFO] [iConomyChestShop] Lockette version 1.3.7 loaded.
    2011-05-11 00:10:48 [INFO] [iWatch] iWatch version 0.6 is enabled!
    2011-05-11 00:10:48 [INFO] [iWatch] Settings Loaded!
    2011-05-11 00:10:48 [INFO] Jobs started
    2011-05-11 00:10:48 [INFO] [Jobs] Successfully linked with iConomy.
    2011-05-11 00:10:48 [INFO] [Jobs] Successfully linked with Permissions.
    2011-05-11 00:10:48 [INFO] Lockette version 1.3.7 is being enabled!  Yay!  (Core version 1.0)
    2011-05-11 00:10:48 [INFO] Lockette: Detected craftbukkit build [766] ok.
    2011-05-11 00:10:48 [INFO] Lockette: Linked to GroupManager plugin version 1.0(alpha-5)
    2011-05-11 00:10:48 [INFO] Lockette: Using ops file for admin permissions.
    2011-05-11 00:10:48 [INFO] Lockette: Ready to protect your containers.
    2011-05-11 00:10:48 [INFO] Persistence version 0.64 is enabled
    2011-05-11 00:10:48 [INFO] PlgSetspawn version 4.1 is enabled!
    2011-05-11 00:10:48 [INFO] [Residence] Found Permissions Plugin!
    2011-05-11 00:10:48 [INFO] [Residence] Successfully linked with iConomy!
    2011-05-11 00:10:48 [INFO] [Residence] Loaded Residences...
    2011-05-11 00:10:48 [INFO] [Residence] Enabled! Version v2.0 by bekvon
    2011-05-11 00:10:48 [INFO] SecretDoors v0.2 by MrChick enabled
    2011-05-11 00:10:48 [INFO] SignThatChest version 1.5 is enabled.
    2011-05-11 00:10:48 [INFO] Skillz Enabled!
    2011-05-11 00:10:48 [INFO] SupplySign loaded 2 config parameters from config.yml.
    2011-05-11 00:10:48 [INFO] SupplySign loaded 1091 items from items.csv.
    2011-05-11 00:10:48 [INFO] SupplySign loaded 21 kits from kits.yml.
    2011-05-11 00:10:48 [INFO] SupplySign version 1.3 is enabled!
    2011-05-11 00:10:48 [INFO] WhichMob v 0.2 is enabled
    2011-05-11 00:10:48 [INFO] WorldEdit 4.4 enabled.
    2011-05-11 00:10:48 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:48 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:48 [INFO] WorldGuard: (DemonCraft) Single session is enforced.
    2011-05-11 00:10:48 [INFO] WorldGuard: (DemonCraft) TNT ignition is PERMITTED.
    2011-05-11 00:10:48 [INFO] WorldGuard: (DemonCraft) Lighters are PERMITTED.
    2011-05-11 00:10:48 [INFO] WorldGuard: (DemonCraft) Lava fire is PERMITTED.
    2011-05-11 00:10:48 [INFO] WorldGuard: (DemonCraft) Fire spread is UNRESTRICTED.
    2011-05-11 00:10:48 [INFO] WorldGuard: Loaded configuration for world 'DemonCraft"
    2011-05-11 00:10:48 [INFO] WorldGuard: (nether) Single session is enforced.
    2011-05-11 00:10:48 [INFO] WorldGuard: (nether) TNT ignition is PERMITTED.
    2011-05-11 00:10:48 [INFO] WorldGuard: (nether) Lighters are PERMITTED.
    2011-05-11 00:10:48 [INFO] WorldGuard: (nether) Lava fire is blocked.
    2011-05-11 00:10:48 [INFO] WorldGuard: (nether) Fire spread is UNRESTRICTED.
    2011-05-11 00:10:48 [INFO] WorldGuard: Loaded configuration for world 'nether"
    2011-05-11 00:10:48 [INFO] WorldGuard: 1 regions loaded for 'DemonCraft'
    2011-05-11 00:10:48 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-11 00:10:48 [INFO] Done (0.365s)! For help, type "help" or "?"
    2011-05-11 00:10:55 [INFO] Stopping the server..
    2011-05-11 00:10:55 [INFO] CONSOLE: Stopping the server..
    2011-05-11 00:10:55 [INFO] Stopping server
    2011-05-11 00:10:55 [INFO] [bColoredChat] version 2.0.0 disabled!
    2011-05-11 00:10:55 [INFO] BlocksOnGlass disabled.
    2011-05-11 00:10:55 [INFO] [ChocolateFever] version 1.4.3 is disabled!
    2011-05-11 00:10:55 [INFO] Unloading ColoredSigns
    2011-05-11 00:10:55 [INFO] [Cookbook]: version [1.4.3] (Classy) disabled
    2011-05-11 00:10:55 [INFO] DeathMessagePlugin version 1.9 is disabled!
    2011-05-11 00:10:55 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
    2011-05-11 00:10:55 [INFO] GroupManager version 1.0(alpha-5) is disabled!
    2011-05-11 00:10:55 [INFO] Fake Permissions version 2.5.1 is disabled!
    2011-05-11 00:10:55 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:55 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:55 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:55 [INFO] FortuneCookie says bye bye!
    2011-05-11 00:10:55 [INFO] Found Diamonds Disabled
    2011-05-11 00:10:55 [INFO] GlassPlugin version 1.0 is disabled!
    2011-05-11 00:10:55 [INFO] [iConomy] Plugin disabled.
    2011-05-11 00:10:55 [INFO] [iConomyChestShop] version 2.54 distabled!
    2011-05-11 00:10:55 [INFO] [iWatch] iWatch disabled!
    2011-05-11 00:10:55 [INFO] Jobs stopped
    2011-05-11 00:10:55 [INFO] Lockette: Closing all automatic doors.
    2011-05-11 00:10:55 [INFO] Fake Permissions version 2.7.2 is disabled!
    2011-05-11 00:10:55 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:55 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:55 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-11 00:10:55 [INFO] PlgSetspawn version 4.1 stopping...
    2011-05-11 00:10:55 [INFO] [Residence] Saved Residences...
    2011-05-11 00:10:55 [INFO] [Residence] Disabled!
    2011-05-11 00:10:55 [INFO] SecretDoors v0.2 by MrChick disabled
    2011-05-11 00:10:55 [INFO] SignThatChest version 1.5 is disabled.
    2011-05-11 00:10:55 [INFO] Skillz Disabled!
    2011-05-11 00:10:55 [INFO] SupplySign version 1.3 is disabled!
    2011-05-11 00:10:55 [INFO] WhichMob v 0.2 is disabled
    2011-05-11 00:10:55 [INFO] WorldGuard 5.0-alpha10 disabled.
    2011-05-11 00:10:55 [INFO] Saving chunks
    2011-05-11 00:10:55 [INFO] Stopping server
    
    
     
  10. Offline

    flametornado

    It seems like everything starts up properly. I have no idea why it's not working.
     
  11. Offline

    DemonCraft


    Actually, I think it's the permissions?
    Same thing, but when I try to join a job that's not their it says you don't have permission for this command, yet when I do /job info Miner or something it shows me the info.
    :confused:?
    I didn't change anything expect the version as you said.

    Code:
    groups:
      Default:
        default: true
        permissions:
        - bColoredChat.chatColor
        - bColoredChat.rainbowColor
        - bColoredChat.randomColor
        - bColoredChat.setColor
        - bColoredChat.signColor
        - bColoredChat.useColor
        - essentials.help
        - essentials.helpop
        - essentials.home
        - essentials.list
        - essentials.motd
        - essentials.msg
        - essentials.rules
        - essentials.sethome
        - essentials.spawn
        - essentials.warp
        - essentials.warp.list
        - essentials.worth
        - glassplugin.destroy
        - glassplugin.getdrop
        - glassplugin.place
        - iConomyChestShop.shop.buy
        - iConomyChestShop.shop.create
        - iConomyChestShop.shop.create.
        - iConomyChestShop.shop.exclude.
        - iConomyChestShop.shop.sell
        - jobs.job.<jobname>
        - lockette.create.*
        - SignThatChest.attach
        - supplysign.access
        inheritance: []
        info:
          prefix: '&e'
          build: false
          suffix: ''
      SemiAdmin:
        default: false
        permissions:
        - '*'
        inheritance:
        - moderator
        info:
          prefix: '&c'
          build: true
          suffix: ''
      Builder:
        default: false
        permissions:
        - '*'
        inheritance:
        - default
        info:
          prefix: '&2'
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - essentials.back
        - essentials.ban
        - essentials.banip
        - essentials.broadcast
        - essentials.delwarp
        - essentials.depth
        - essentials.eco
        - essentials.getpos
        - essentials.jump
        - essentials.kick
        - essentials.kill
        - essentials.setwarp
        - essentials.time
        - essentials.togglejail
        - essentials.top
        - essentials.tp
        - essentials.tphere
        - essentials.tpo
        - essentials.tpohere
        - essentials.tppos
        - essentials.tptoggle
        - essentials.unban
        - essentials.unbanip
        - essentials.whois
        - essentials.world
        - groupmanager.listgroups
        - groupmanager.mandemote
        - groupmanager.manload
        - groupmanager.manpromote
        - groupmanager.mansave
        - groupmanager.manselect
        - groupmanager.manuadd
        - groupmanager.manudel
        - essentials.ext
        - lockette.admin.snoop
        - lockette.admin.bypass
        - lockette.admin.break
        - essentials.sethome
        - iConomyChestShop.shop.admin
        - iConomyChestShop.shop.sell
        - iConomyChestShop.shop.buy
        - iConomyChestShop.shop.create
        - iConomyChestShop.shop.create.
        - iConomyChestShop.shop.exclude.
        inheritance:
        - builder
        info:
          prefix: '&5'
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - semiadmin
        info:
          prefix: '&4'
          build: true
          suffix: ''
     
  12. Offline

    Lanuk

    Hmm, I am kind of confused here now. I downloaded the latest version (1.3.3b) and I am using BOSEconomy and have cb740. When you meant iConomy 5 only, does that mean no BosEconomy either, because I can't use any commands in game and I am an op. I get no error messages, I can only use /jobs but nothing else will do anything.
     
  13. Offline

    flametornado

    BOSEconomy should work with both 1.3.3 and 1.3.2. The only change was to icnonomy.
    Did you set up permissions?
     
  14. Offline

    pedrohh

    For when the update to 766? :)

    EDIT: Sorry my fault, it works..
     
  15. Offline

    xyxgreendayxyx

    Hi! I have the job "Miner" just to test. I can join the job and all, but when I for example mine a goldore I don't gain any money? :S Please help I'm desperate!
    ::)
     
  16. Offline

    Graversimen

    can u add all the colour class files? :p like pink and purple :p
    VERY good plugin!!!!
     
  17. Offline

    Metzelda

    Hey I'm having an issue with job payouts. I want jobs to give a lot of xp per action to compensate for the insane amount of xp needed to rank up, but I don't want them to get a lot of money for each action because the stuff for sale in my server is cheap. Is there a way I can make the xp values and income values for each action seperate?
     
  18. Offline

    Lanuk

    I did not, I was testing it with '*' powers. I seemed to have gotten a startup error I believe, but I can't find it now :/

    Maybe i'll try JAR only and see if it creates a folder?
     
  19. Offline

    flametornado

    You're supposed to replace <jobname> with the name of the job. e.g Woodcutter.
    Just replace it to * to enable all jobs (job.jobs.*)

    got the permissions set up properly?

    Those are up to notch. I have no say over what colours chat supports.

    Next version has the income and experience independent, but for now modify the xp-multiplyer to a higher value.

    what version of iconomy do you have and what version of the plugin do you have?

    jar only doesn't create the folder (yet).
     
  20. Offline

    Lanuk

    Wait, am I supposed to create a folder called "Jobs" and place the config folder in there instead of leaving it in the open?
     
  21. Offline

    flametornado

    just extract the whole rar file into your plugin directory.
     
  22. Offline

    Lanuk

    What...does that mean XD

    I extracted it using a software. It gave me a notepad++ config file thing and a jar file. I just dragged n dropped em in, but I can only use the job help command and none others work. I get no errors.
     
  23. Offline

    DemonCraft

    Thanks, it works now :D
     
  24. Offline

    flametornado

    in your plugins folder, there should be a jar file called jobs.jar and a folder called Jobs. In the jobs folder there should be a file called configuration.yml
     
  25. Offline

    Lanuk

    Ahh, the folder didn't come up. Ill make that myself and hopefully it will work. I am so exited right now... thanks :D

    EDIT: YEP, works now! Thanks, can't wait to get this running on my server! Just one problem... the tags take up a lot of space. Is it possible to disable the tags or just say "Miner" instead of rank?
     
  26. Offline

    Danthok

    Love the mod and the potential for what it could add to Minecraft. Came across a couple issues while playing, hopefully you can shed some light on them.

    Question 1: When I change jobs my experience in the previous is reset, is this supposed to happen? If this is the case are you planning to change it in a later revision?

    Question 2: Here is the scenario, have the Jobs plug-in running great with default config loaded. I get a request from a player to create a new job class called Hunter, for food gathering and monster slaying. I modify the config file to add Hunter with kill commands for all animals and mobs. Reload plugins and jobs is no longer working. Go back into config file and remove hunter class, reload, and jobs starts working again. So I figure it was my spacing of the .yaml file, I double and triple check, then paste it into the online YAML parser and get no errors. My next thought was to keep the current classes but add the kill commands for all classes. Reload plugins, and again it stops working. Why is this happening? I am running iConomy 5.0 and Jobs 1.3.3 here is my second config file that failed:

    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:
    
        lumberjack:
    
            ChatColour: GREEN
    
            levelingProgressionRate: 0.15
    
            incomeProgressionRate: 0.05
    
            Break:
    
                LOG: 5.0
    
            Place:
    
                SAPLING: 1.0
    
                WOOD: 2.0
    
            Kill:
    
                CHICKEN: 2.0
    
                COW: 2.0
    
                PIG: 2.0
    
                SHEEP: 2.0
    
                WOLF: 4.0
    
                CREEPER: 10.0
    
                SKELETON: 6.0
    
                SPIDER: 8.0
    
                ZOMBIE: 4.0
    
                SQUID: 2.0
    
                SLIME: 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
    
                DIRT: 2.0
    
                GRASS: 2.0
    
                GRAVEL: 2.0
    
                SAND: 2.0
    
            Place:
    
                RAILS: 2.0
    
                IRON_ORE: -5.0
    
                GOLD_ORE: -6.0
    
            Kill:
    
                CHICKEN: 2.0
    
                COW: 2.0
    
                PIG: 2.0
    
                SHEEP: 2.0
    
                WOLF: 4.0
    
                CREEPER: 10.0
    
                SKELETON: 6.0
    
                SPIDER: 8.0
    
                ZOMBIE: 4.0
    
                SQUID: 2.0
    
                SLIME: 2.0
    
        builder:
    
            ChatColour: WHITE
    
            levelingProgressionRate: 0.15
    
            incomeProgressionRate: 0.05
    
            Place:
    
                COBBLESTONE: 2.0
    
                STONE: 3.0
    
                GLASS: 5.0
    
                BRICK: 7.0
    
            Kill:
    
                CHICKEN: 2.0
    
                COW: 2.0
    
                PIG: 2.0
    
                SHEEP: 2.0
    
                WOLF: 4.0
    
                CREEPER: 10.0
    
                SKELETON: 6.0
    
                SPIDER: 8.0
    
                ZOMBIE: 4.0
    
                SQUID: 2.0
    
                SLIME: 2.0
    
        digger:
    
            ChatColour: YELLOW
    
            levelingProgressionRate: 0.15
    
            incomeProgressionRate: 0.05
    
            Break:
    
                DIRT: 2.0
    
                GRASS: 2.0
    
                GRAVEL: 2.0
    
                SAND: 2.0
    
    # Create titles
    
    # to create a title, they must follow this patter.
    
    # Titles:
    
    #     [Title Name]:
    
    #         ChatColour: [ChatColor]
    
    #         levelReq : [Integer]
    
    #
    
    # NOTE: levelReq must be the lowest level you can be to gain this title. It is recommended
    
    # but not neccessary to have a title at 0.
    
    Titles:
    
        Apprentice:
    
            ChatColour: WHITE
    
            levelReq: 0
    
        Novice:
    
            ChatColour: GRAY
    
            levelReq: 30
    
        Journeyman:
    
            ChatColour: GOLD
    
            levelReq: 60
    
        Master:
    
            ChatColour: BLACK
    
            levelReq: 90
    Note: Not sure why that is spacing weird, but again I pasted it in the online YAML parser with no errors.

    Question 3: Can you make the Job titles not be case sensitive? Just a minor annoyance.

    Thanks for all your hard work and keep it up!
     
  27. Offline

    flametornado

    Question1: Yes, to prevent people cheating by constantly switching jobs. Multiple jobs will come in the next version which will make this less harsh.

    Question2 and 3: The monster names aren't capitals, look up the OP for what the correct casing is. And yes, the next version has a lot more effort put into making the configuration more friendly (more forgiving and gives better error messages).
     
  28. Offline

    vip

    Hmm - did you allready think about how you will handle this? If it is possible to have multiple jobs my member will just take 2 or 3 or all jobs and don't interact with the other player's when they want to buy or sell things. "That is to expensive, i do that job too and build it my self and i don't loose my level in my favorite job haha". I see allot of problems in gameplay when this is possible. Like it is now the player was at least "punished" because he lost his experience and his payment-level.

    PS: My problem with the coloured chat and the jobs-name and my "rank" is solved. I deleted about 10 mod's and now it works. Don't ask me which one was responsible for the mistake.
     
  29. Offline

    flametornado

    The equation for giving money, xp and xp needed to level up are all customisable and they all have a number of jobs parameter.

    Therefore admins can make each job give less money depending on the number of jobs a person has. They can also make the leveling harsher if people have more jobs.

    On my server, i'll probably make the leveling tougher. I'll probably use a similar equation to what i have now but increase the progression rate by 0.01 or 0.02 per job, making high levels extremely hard to get if you have multiple jobs.
     
  30. Offline

    gushaines

    I agree.
    Currently on my server if you are a miner you take a finincial punishment if you dig dirt,sand,gravel or place a block that a builder would be paid for doind. Likewide a builder is punished for digging or mining. Funny how people start to work together under these circumstanses ;)
    I also use a shop so that miners sell rocks and diggers sell dirt etc. But builders need these materials so they buy them from the shops.

    At the moment its all pretty balanced out. Some people think it is harsh but lets face it... if you want something built IRL you pay to have it done ;)

    Anyway. keep up the good work!
     
  31. Offline

    flametornado

    The whole idea of this plugin is to make it as flexible as possible, so each server can customize it to however they want.

    On my server, I'd get constant complaining if i did that :p, but it's a fairly small server. Probably too small for people to start working together properly on. I'm really glad that you got your system sorted out nicely :D.

    The next version will allow even more flexibility than the current one.

    And i will of course, set a limiter on the number of jobs that can be joined in the configuration file for those who prefer to only allow users to have 1 job.
     
Thread Status:
Not open for further replies.

Share This Page