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

    Cookies326

    How do you remove a person's job? If There isn't would it be possible for you to make one? Thanks in advanced
     
  3. Offline

    DemonCraft

    Ever time I try to add something to a existing job like Builder, I reload go in game it says I'm not in that job and it does not exist.
    Am I not able to edit current jobs?

    When I try to edit a job or make a new one, I get the errors, "You have not yet chosen a job." when I'm in one.
    Or when I try to join one says that or when I do /jobs browse doesn't list any.
    Here is my config file, please tell me what I did wrong?
    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: 500
    
    # mutiplier for xp. xp-multiplyer*jobPay = experience
    xp-multiplyer: 0.5
    
    # 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:
        MonsterHunter:
        ChatColour: BLACK
        levelingProgressionRate: 1.50
        incomeProgressionRate: 0.45
        Kill:
           SPIDER: 5.0
           GIANT: 25.0
    
        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: 1.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: 10
        Journeyman:
            ChatColour: GOLD
            levelReq: 25
        Master:
            ChatColour: BLACK
            levelReq: 50
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  4. Offline

    $p!k3

    rar file? will it work like a jar?
     
  5. Offline

    GmK

    a) Each class *must* have a Place: and Break: block in front of a Kill: block
    b) Mobs arent all uppercase, check the list in the OP.
     
  6. Offline

    DemonCraft

    Edit my Config file and show me?
    Because say if I just have the default jobs and I change the price, or add one item onto the break section the correct way still does this.

    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: 500
    
    # mutiplier for xp. xp-multiplyer*jobPay = experience
    xp-multiplyer: 0.5
    
    # 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:
        MonsterHunter:
        ChatColour: BLACK
        levelingProgressionRate: 1.50
        incomeProgressionRate: 0.45
        Break:
    
        Place:
    
        Kill:
           Spider: 5.0
           Giant: 25.0
        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: 1.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: 10
        Journeyman:
            ChatColour: GOLD
            levelReq: 25
        Master:
            ChatColour: BLACK
            levelReq: 50
    
    Still does it/

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

    spoothie

    Could you make a possibility for admins/ops to set a user's job? So that ops/admins can set player's jobs ingame with a command. That'll be very useful, at the moment i have to write every user into the database...
     
  8. Offline

    Scipione

    any chance you releasing a fixed version which stops these "[INFO] 0.0" spam in the serverconsole ?
     
  9. Offline

    TheDaddyPeanut

    Ok i cant change anything to the Config file because its all after eachother. I cant see what im editing because the whole file is written vertically.
    And when i go to ur post and copypaste the config there it gives me an error. You should fix that i geusss
     
  10. Offline

    Danthok

    Thanks for the quick reply. *Face Palm* I didn't even think of the case sensitivity of the mobs even though I knew it was a problem elsewhere. Hopefully that will solve the problem. :D

    Your spacing is off in the config file for the Monsterhunter class, it is 4 spaces offset for each level. Should look more like this: (NOTE: Apparently spacing doesn't work in this format so i will replace the spaces with *'s)

    Jobs:
    ****MonsterHunter:
    ********ChatColour: BLACK
    ********levelingProgressionRate: 1.50
    ********incomeProgressionRate: 0.45
    ********Break:

    ********Place:

    ********Kill:
    ************Spider: 5.0
    ************Giant: 25.0

    .Yaml files are very particular of spacing. Check your file after you are done using the yaml parser (google it).

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

    DemonCraft

    Thanks, I'll keep this to remind my self.
    I was off one space on most things. (When I pasted it it didn't work.)
     
  12. Offline

    hofec

    flametornado

    I really need hot fix for this mess in my console ..
    Code:
    22:31:37 [INFO] 0.0
    22:31:38 [INFO] 0.0
    22:31:38 [INFO] 0.0
    22:31:40 [INFO] 0.0
    22:31:42 [INFO] 0.0
    22:31:43 [INFO] 0.0
    22:31:44 [INFO] 0.0
    22:31:47 [INFO] 0.0
    22:31:49 [INFO] 0.0
    22:31:49 [INFO] 0.0
    22:31:49 [INFO] 0.0
    22:31:50 [INFO] 0.0
    22:31:50 [INFO] 0.0
    22:31:50 [INFO] 0.0
    etc ....
    My server.log has after a couple of hours size bigger than of China's population :(
     
  13. Offline

    Hamsta

    Is it possible that when you change your job, your premissions group will be changed too? And if so it would be awesome if the job-change could be noticed by other plugins (for my purpose if it could be noticable by LevelCraft).

    Another proposal: could you set a limit to the amount of players having the same job?
     
  14. Offline

    finisher90

    The titles and job wont show up in the chat plz help
    here is my 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: 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: 15
    
    # 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:
        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: 8.0
                LAPIS_ORE: 5.0
                MOSSY_COBBLESTONE: 6.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:
                CCOBBLESTONE: 1.0
                WOOD: 1.5
                FENCE: 1.5
                WOOL: 1.5
                STONE: 2.25
                GLOWSTONE: 3.0
                GLASS: 3.0
                BRICK: 4.0
                LAPIS_BLOCK: 5.0
                DOUBLE_STEP: 2.0
                STEP: 2.0
                BOOKSHELF: 3.0
                WOOD_STAIRS: 2.0
                COBBLESTONE_STAIRS: 2.0
                GOLD_BLOCK: 15.0
                IRON_BLOCK: 10.0
                DIAMOND_BLOCK: 20.0
        Digger:
            ChatColour: YELLOW
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Break:
                DIRT: 2.0
                GRASS: 2.0
                GRAVEL: 2.0
                SAND: 2.0
        Technition:
            ChatColour: RED
            levelingProgressionRate: 0.15
            incomeProgressionRate: 0.05
            Place:
                STONE_BUTTON: 5.0
                REDSTONE_TORCH_OFF: 3.0
                STORAGE_MINECART: 7.0
                POWERED_MINECART: 7.0
                MINECART: 5.0
                LEVER: 5.0
                RAILS: 2.0
                POWERED_RAIL: 4.5
                DETECTOR_RAIL: 5.0
                NOTE_BLOCK: 5.0
                DISPENSER: 5.0
                REDSTONE_WIRE: 2.0
                WOOD_PLATE: 5.0
                STONE_PLATE: 5.0
                DIODE_BLOCK_OFF: 3.0
            Break:
                STONE_BUTTON: -3.0
                REDSTONE_TORCH_OFF: -1.0
                STORAGE_MINECART: -5.0
                POWERED_MINECART: -5.0
                MINECART: -3.0
                LEVER: -4.0
                RAILS: -1.0
                POWERED_RAIL: -2.5
                DETECTOR_RAIL: -3.0
                NOTE_BLOCK: -3.0
                DISPENSER: -3.0
                REDSTONE_WIRE: -1.0
                WOOD_PLATE: -3.0
                STONE_PLATE: -3.0
                DIODE_BLOCK_OFF: -1.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:
        Noob:
            ChatColour: WHITE
            levelReq: 0
        Apprentice:
            ChatColour: GRAY
            levelReq: 10
        Novice:
            ChatColour: BLUE
            levelReq: 20
        Journeyman:
            ChatColour: DARK_BLUE
            levelReq: 40
        Master:
            ChatColour: RED
            levelReq: 60
        SupremeOverlord:
            ChatColour: GOLD
            levelReq: 80
        NoLifer:
            ChatColour: BLACK
            levelReq: 100
     
  15. Offline

    Lanuk

    Okay I have a serious question here that will decide whether I keep this plugin or not, please help me :/

    I posted this before but got no response. I simply want to know if I can remove the tags, like what profession someone is AND what rank someone is. They take up too much space. I have my player ranks and faction tags already, 2 more tags takes up way to much space and I don't see it necessary at all. Would it be possible to let us remove these tags if it isn't already possible? Help would be appreciated greatly, thanks.
     
  16. Offline

    Fspy

    So far this has been a great plugin for me. Easy to understand and configure to my liking. The only problem I have had so far is that breaking redstone does not give the player any money even though its in the config to do so. Every other block has no issue with the expection of the REDSTONE_ORE. This happened straight out of the box for me without any adjustments to the config, so any clue as to what might cause this?
     
  17. Offline

    Danthok

    Yes it supports this in the config file
    Code:
    # choose the prefix in chat- full = job and skill level, skill = skill level only,
    # job = job level only, none = no prefix
    chat-display: full
    
    Flametornado,

    Thanks for your help I got the plugin working how I want it.:D I decided to just make a single job that incorporates all the others since my server only has 5 players and we just want a way to earn money for iconomy.

    My problem now is that when I type /jobs stats it overflows off the screen so I can no longer see my level or level progression. Is there any way to truncate this message so that it just shows current level and level progression. I am sure others have this problem as well when the jobs get more complicated. Maybe a new command could be implemented like /jobs level or something to that effect.

    Also I ran into another user who's problem I solved, ended up he was using an unsupported chatcolour for his class. Is there a default list of supported colors somewhere? If not maybe it could be added to the config file in the next update.

    Thanks for the quick responses and awesome plugin!

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

    Lanuk

    Ooh! Thanks! I completely missed that while reading over the config :p

    Finally my players will stop complaining about abnormally long tags!
     
  19. Offline

    DemonCraft

    For you're new job you added you added it incorrectly.
    Follow the format with Place first, Break second, etc.

    Also what all colors are supported for ChatColour for the job name?
    Some I've tried crashed the Config file, I mean err...corrupted.

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

    flametornado

    in the next version.

    rar files are archives. google how to open them.

    in the next version.



    i've re-uploaded a new version of 1.3.3b without the spam.

    I will make the next version have an api with events and event managers (does mean it'll take a little more time). That way plugins can hook into a level up event or a job change event and do what they want.

    can you please add your proposal to sourceforge. It's a cool idea and i want it in there and i don't want to forget :p

    if everything else but the titles works, then there's another plugin that's changing the display name.

    use notepad++, upload things using the upload a file button (you may need to change it to .txt instead of .yml

    in the next release. http://www.minecraftwiki.net/wiki/Classic_server_protocol#Color_Codes for colour codes.

    Order shouldn't matter.
     
  21. Offline

    $p!k3

    anyone can give me a good job config? takes time to make a very good one. and i get mixed up with things like colors. fail me :(
     
  22. Offline

    Scipione

    Thanks flame
     
  23. Offline

    Abadon84

    could you make the job values and names eventually for mysql too? it would be nice ;)
    can i somhow prevent that users can change their jobs infinite? for example i want that they can change only once per week to prevent "cheating", or if this is to much sepperate permissions for the commands.
    greetings abadon
     
  24. Offline

    Ross Gosling

    Here =)

    Btw the titles are just Lv1, Lv2 etc so feel free to change them and theres 125 titles for each level (it took my HOURS)
     

    Attached Files:

  25. Offline

    $p!k3

    thnx man
     
  26. Offline

    SpaceTime

    Is there any way to stop players from changing jobs?
     
  27. Offline

    DemonCraft

    The thing you sent me a link for the colors.
    Some of them don't work and courrupt it.
    I was wondering if you would go threw each and ever color and check which one's work and don't and post it on your topic.
    This would be useful.
     
  28. Offline

    ConsoleView

    can you add fireman :D you can use a item (arrow or other things) to destroy fire and save houses. And paydays all 16000 seconds (config :D) become a player 100 coins (config) not all player but the player like fireman
     
  29. Offline

    Tealk

    hi how i deactivate titles and colores?
     
  30. Offline

    syconox

    Is there a way to change how much xp you get for each action? I am using extremely low numbers for my iConomy, and it is impossible to gain xp from it like that. If there is not, I would really like that feature :) Otherwise my Jobs plugin is broken :(
     
  31. Offline

    Naucoo

    Don't know if this has been suggested before, but a way to display all players and there lvl and profession with pages would be nice. And a way to show just your lvl and just your pay-grade instead if the /jobs stats.

    I great plug-in non the less!
     
Thread Status:
Not open for further replies.

Share This Page