Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# About Plugin/Author #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
- #
- # Plugin Name: RealJobs
- # Author: Jose Manuel Gassin Perez-Traverso
- # Bukkit Profile: http://dev.bukkit.org/profiles/Mayhem777/
- #
- ### Description: This plugin provides an efficient Job System for you server, you can create super custom jobs for your players.
- # The player can choose between all your jobs, and get money (economy) when accomplishing all the job tasks.
- # You can choose the amount of jobs to do per day, and even not to repeat the same job 2 consecutive times.
- #
- #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# About Plugin/Author #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
- #======================================[ Plugin Version ]======================================#
- # DON'T CHANGE THIS or your config will be renamed to "old_config.yml" and the correct config.yml version will be created. (Same system for the lang files)
- Version: 1.4.0
- #======================================[ Commands & Permissions ]======================================#
- # -CORE PERMISSION- | realjobs.admin | Grants access to all Plugin features/commands.
- # -CORE PERMISSION- | realjobs.user | Grants access to all User designed features/commands.
- # /job reload | realjobs.admin | Reloads this file.
- # /job help | realjobs.user | Shows a list of commands.
- # /job list | realjobs.user | Lists available jobs.
- # /job pick <jobName> | realjobs.pick.<jobName> | Allows to pick a job.
- # /job leave | realjobs.user | Leaves the current job, all process will be erased, the player can choose other job.
- # /job submit | realjobs.user | Submits the job done, if needed, items will be removed.
- # /job info [jobName] | realjobs.user | Checks the info (description and tasks to do) for the job, if you've already picked one, just need to type "/job info" to see your progress.
- # ... | realjobs.pickall | Allows to pick ANY JOB.
- #======================================[ Language Settings ]======================================#
- ### Select the language file you wish, this plugin supports "spanish", "english" and "german", from default, feel free to edit or add the files you wish.
- # For more lang files check the plugin page for pastebin links, if you want to contribute feel free to PM me with the translation in pastebin :)
- Language: english
- #======================================[ Performance Settings ]======================================#
- ### All the player data is saved to hard disk, this allows players to continue their job even if the server crashes or just stops/reloads etc.
- ### To prevent excesive hard drive usage, you can delete player data every a custom amount of INACTIVITY days, that means, if the player didn't finished a job in those days.
- Clean_Data: 30
- #======================================[ General Settings ]======================================#
- ### Players can pick and accomplish a job every... (minutes)
- Time_Between_Jobs: 1
- ### Can players pick and accomplish the same job consecutive times?
- Repeat_Job: false
- ### Show progress on every job task change:
- Show_Progress: true
- ### Server Currency: shown in Real Job Messages.
- Currency: 'Dollar/s'
- ### Job Done Broadcast: sends a server broadcast on Job Done (when a player uses "/job submit" and Job is successfully finished.)
- # You can use the %player variable to show player's name.
- # You can use the %job variable to show Job done.
- Job_Done_Broadcast:
- Enable: true
- Broadcast: '&6Player &b%player &6just finished job &a%job&6!'
- #======================================[ Job Customization ]======================================#
- ### Help/Hints:
- # As with all economy plugins, use "double" format for money (0.00 -> 100.00 or 100.50).
- # Those are the available tasks, if you don't need any for a job just remove it: Blocks_To_Break, Blocks_To_Place, Items_To_Craft, Items_To_Submit and Entities_To_Kill.
- # Description: job description, printed in the "/job info [jobName]" command.
- # Worlds: you can define a list of worlds for the tasks to be completed, working on tasks out of those worlds will have no effect, if you want players to work on their taks in any world just keep that part empty.
- # You can check available bukkit enchantment names(for item rewards) here: http://jd.bukkit.org/dev/doxygen/dd/d17/classorg_1_1bukkit_1_1enchantments_1_1Enchantment.html
- # For items you MUST specify ID, Data and Amount... Enchantments, Name and Lore are optionals. (Check Name and Lore examples in the Hero and Assassin example jobs)
- # For commands(rewards), you can use the %player variable for the player name, you can also add/remove as many as you wish, if you don't want to trigger any just keep that part empty.
- ### ALL Blocks/Items has those 3 parameters:
- # ID: the block/item id, set it to 0 if you don't want to use that part of the job.
- # Data: the block/item data, useful for items as wool. (If the ID is 0 [you don't want to use it] you can delete this label.)
- # Amount: amount of block/items to place/break/craft/submit.(If the ID is 0 [you don't want to use it] you can delete this label.)
- ### ALL Entities to Kill have those 2 parameters:
- # Type: bukkit type of entity, check the list here: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/EntityType.html
- # Amount: amount of entities to kill.
- ### List of Enabled Jobs: only jobs found in this list will be available in the server.
- Enabled_Jobs:
- - #Carpenter_1
- - #Carpenter_2
- - BlackSmith_1
- - BlackSmith_2
- - Baker
- - Chef
- - Miner_1
- - Miner_2
- - Builder
- - Hunter
- - Hero
- - #Assassin
- ### Customize jobs as you wish, add/edit/remove all you wish, just use the same pattern below from the examples, check the first one:
- # As i said before, we don't need the Carpenter to Break/Place blocks or Kill entities so those parameters are non present.
- # In this example, we want the carpenter to CRAFT: x2 Crafting Tables, x2 Boats, x2 Wooden Doors, x4 TrapDoors and x2 Chests.
- # You can set the items you want the player to submit to the server, if the player doesn't have the items he/she will not be able to take the reward and finish the job, in this case, the Carpenter must submit all crafted items.
- # When the player has made all that, he/she can type the command "/job submit" to take the reward.
- # Don't forget a description for each job! The description will be shown in the job list (when typing "/job list")
- # It the Carpenter below tries to craft those items in a different world than "world" or "forest_word" there'll be no effect, no tasks done.
- #Carpenter_1:
- Description: 'Craft some simple wood items!'
- Worlds:
- - world
- - forest_world
- Items_To_Craft:
- Item_1:
- ID: 58
- Data: 0
- Amount: 2
- Item_2:
- ID: 333
- Data: 0
- Amount: 2
- Item_3:
- ID: 324
- Data: 0
- Amount: 2
- Item_4:
- ID: 96
- Data: 0
- Amount: 4
- Item_5:
- ID: 54
- Data: 0
- Amount: 2
- Items_To_Submit:
- Item_1:
- ID: 58
- Data: 0
- Amount: 2
- Item_2:
- ID: 333
- Data: 0
- Amount: 2
- Item_3:
- ID: 324
- Data: 0
- Amount: 2
- Item_4:
- ID: 96
- Data: 0
- Amount: 4
- Item_5:
- ID: 54
- Data: 0
- Amount: 2
- Rewards:
- Money: 100
- Exp: 10
- Commands:
- - 'tell %player Keep the good work!'
- - 'give %player cookie 3'
- Items:
- Item_1:
- ID: 258
- Data: 0
- Amount: 1
- Enchantment_1:
- Name: DURABILITY
- Level: 1
- ### More examples i use in my own server...
- # Note than you don't need to force the player to craft the items if you just want them to submit them, but that would be like just selling the items for the job reward.
- # Items to craft and submit; x2 fences, x2 fence doors, x2 beds, x2 note blocks and x2 bookshelfs.
- #Carpenter_2:
- Description: 'Craft some wood items!'
- Worlds:
- - world
- - forest_world
- Items_To_Craft:
- Item_1:
- ID: 85
- Data: 0
- Amount: 2
- Item_2:
- ID: 107
- Data: 0
- Amount: 2
- Item_3:
- ID: 355
- Data: 0
- Amount: 2
- Item_4:
- ID: 25
- Data: 0
- Amount: 2
- Item_5:
- ID: 47
- Data: 0
- Amount: 2
- Items_To_Submit:
- Item_1:
- ID: 85
- Data: 0
- Amount: 2
- Item_2:
- ID: 107
- Data: 0
- Amount: 2
- Item_3:
- ID: 355
- Data: 0
- Amount: 2
- Item_4:
- ID: 25
- Data: 0
- Amount: 2
- Item_5:
- ID: 47
- Data: 0
- Amount: 2
- Rewards:
- Money: 200
- Exp: 20
- Commands:
- - 'tell %player Keep the good work!'
- - 'give %player cookie 3'
- Items:
- Item_1:
- ID: 258
- Data: 0
- Amount: 1
- Enchantment_1:
- Name: DURABILITY
- Level: 1
- Enchantment_2:
- Name: LOOT_BONUS_BLOCKS
- Level: 1
- ### More examples about crafting jobs, i think that forcing the player to craft is much realistic than just give money for breaking blocks as other job plugins, which means players will destroy the world just to get money.
- # Items to craft and submit; x1 iron pickaxe, x1 iron shovel, x1 iron axe, x1 iron sword and x1 iron hoe.
- # NOTE: as you can see the BlackSmith doesn't have a "Worlds" parameter, that means he can accomplish their tasks ANY/WHERE/WORLD.
- BlackSmith_1:
- Description: 'Time to make a couple sets of Diamond Armor!'
- Items_To_Craft:
- Item_1:
- ID: 310
- Data: 0
- Amount: 2
- Item_2:
- ID: 311
- Data: 0
- Amount: 2
- Item_3:
- ID: 312
- Data: 0
- Amount: 2
- Item_4:
- ID: 313
- Data: 0
- Amount: 2
- #tem_5:
- #ID:
- Data: 0
- Amount: 1
- #Items_To_Submit:
- #Item_1:
- #ID: 310
- Data: 0
- Amount: 1
- #Item_2:
- #ID: 311
- Data: 0
- Amount: 1
- #Item_3:
- #ID: 312
- Data: 0
- Amount: 1
- #Item_4:
- # ID: 313
- Data: 0
- Amount: 1
- #tem_5:
- #ID: 292
- Data: 0
- Amount: 1
- Rewards:
- Money: 35
- Exp: 10
- Commands:
- - 'tell %player Keep the HAMMER work!'
- - 'give %player cake 2'
- Items:
- Item_1: 'Half Chainmail Armor Set'
- ID: 302
- Data: 0
- Amount: 2
- Enchantment_1:
- Name:
- Level: 0
- Enchantment_2:
- Name:
- Level: 0
- Item_2:
- ID: 303
- Data: 0
- Amount: 2
- Enchantment_1:
- Name:
- Level: 0
- ### A bit harder BlackSmith job; x1 iron helmet, x1 iron chestplate, x1 iron leggings and x1 iron boots.
- BlackSmith_2:
- Description: 'Time to craft some weapons (and a Hoe)'
- Items_To_Craft:
- Item_1:
- ID: 276
- Data: 0
- Amount: 2
- Item_2:
- ID: 277
- Data: 0
- Amount: 2
- Item_3:
- ID: 278
- Data: 0
- Amount: 2
- Item_4:
- ID: 293
- Data: 0
- Amount: 2
- #Items_To_Submit:
- #Item_1:
- ID:
- Data: 0
- Amount: 1
- #Item_2:
- #ID: 307
- Data: 0
- Amount: 1
- #Item_3:
- #ID: 308
- Data: 0
- Amount: 1
- #Item_4:
- #ID: 309
- Data: 0
- Amount: 1
- Rewards:
- Money: 40
- Exp: 10
- Commands:
- - 'tell %player Keep up the work!'
- - 'give %player cake 1'
- Items:
- Item_1: 'Half Chainmail Armor Set'
- ID: 304
- Data: 0
- Amount: 2
- Enchantment_1:
- Name:
- Level:
- Enchantment_2:
- Name:
- Level:
- Item_2:
- ID: 305
- Data: 0
- Amount: 2
- Enchantment_1:
- Name:
- Level:
- ### Let's make a tasty job; x32 cookies and x6 cakes.
- Baker:
- Description: 'Mmm cookies :3!'
- Items_To_Craft:
- Item_1:
- ID: 357
- Data: 0
- Amount: 32
- Item_2:
- ID: 354
- Data: 0
- Amount: 7
- #Items_To_Submit:
- #Item_1:
- #ID: 357
- Data: 0
- Amount: 32
- #Item_2:
- # ID: 354
- Data: 0
- Amount: 6
- Rewards:
- Money: 10
- Exp: 7
- Commands:
- - 'tell %player Mmm that''s tasty!'
- - 'give %player cake 3'
- Items:
- Item_1: 'Some Food For Your Troubles'
- ID: 364
- Data: 0
- Amount: 16
- Item_2:
- ID: 320
- Data: 0
- Amount: 16
- ### Another cooking job; x12 cooked chicken, x8 cooked porkchop, x8 steaks and x4 cooked fish.
- Chef:
- Description: 'Just for Gourmets!'
- Items_To_Craft:
- Item_1:
- ID: 400
- Data: 0
- Amount: 32
- Item_2:
- ID: 282
- Data: 0
- Amount: 32
- Item_3:
- ID: 396
- Data: 0
- Amount: 32
- Item_4:
- ID: 350
- Data: 0
- Amount: 16
- #tems_To_Submit:
- #tem_1:
- #D: 366
- Data: 0
- Amount: 12
- #tem_2:
- #ID: 364
- Data: 0
- Amount: 8
- #tem_3:
- #D: 320
- Data: 0
- Amount: 8
- #tem_4:
- #D: 350
- Data: 0
- Amount: 4
- Rewards:
- Money: 25
- Exp: 10
- Commands:
- - 'tell %player Mmm that''s tasty!'
- - 'give %player cake 3'
- Items: 'Here are some rare items for your hard work!'
- Item_1:
- ID: 322:1
- Data: 0
- Amount: 1
- Item_2:
- ID: 322
- Data: 0
- Amount: 3
- Item_3:
- ID: 264
- Data: 0
- Amount: 32
- ### Let's make a BREAKING block job;
- # In this case, we're not gonna submit anything, the player can save the mined materials, and will get a little reward when typing "/job submit" when all blocks have been broken.
- # Blocks to break; x12 coal ores, x6 iron ores and x3 gold ores.
- Miner_1:
- Description: 'Diggy diggy dig dug'
- Worlds:
- - world
- - earth
- Blocks_To_Break:
- Block_1:
- ID: 15
- Data: 0
- Amount: 32
- Block_2:
- ID: 16
- Data: 0
- Amount: 64
- Block_3:
- ID: 74
- Data: 0
- Amount: 32
- Rewards:
- Money: 25
- Exp: 10
- Commands:
- - 'tell %player Did you find any dwarf down there?'
- - 'give %player cake 3'
- Items:
- Item_1:
- ID: 153
- Data: 0
- Amount: 25
- Item_2:
- ID: 257
- Data: 0
- Amount: 1
- Enchantment_1:
- Name: DURABILITY
- Level: 3
- ### A bit harder... x6 Lapis Ore, x6 Redstone Ore, x3 Diamond Ore and x1 Emerald Ore
- Miner_2:
- Description: 'DIG DUG FOR PROS!'
- Worlds:
- - world
- - earth
- Blocks_To_Break:
- Block_1:
- ID: 14
- Data: 0
- Amount: 32
- Block_2:
- ID: 21
- Data: 0
- Amount: 32
- Block_3:
- ID: 56
- Data: 0
- Amount: 16
- Block_3:
- ID: 129
- Data: 0
- Amount: 16
- Rewards:
- Money: 100
- Exp: 30
- Commands:
- - 'tell %player YOU FINALLY DID IT!!!! :D'
- - 'give %player torch 164'
- Items:
- Item_1:
- ID: 22
- Data: 0
- Amount: 100
- Item_2:
- ID: 278
- Data: 0
- Amount: 1
- Enchantment_1:
- Name: DURABILITY
- Level: 3
- Enchantment_2:
- Name: DIG_SPEED
- Level: 5
- ### A MIX; CRAFT 24 Bricks, and PLACE 24 Bricks.
- Builder:
- Description: 'Gonna build the future with the past!'
- Worlds:
- - world
- - manhattan
- Blocks_To_Place:
- Block_1:
- ID: 98:1
- Data: 0
- Amount: 100
- Items_To_Craft:
- Item_1:
- ID: 98:1
- Data: 0
- Amount: 500
- Rewards:
- Money: 70
- Exp: 20
- Commands:
- - 'tell %player You really like old stuff....'
- - 'give %player cookie 3'
- Items:
- Item_1:
- ID: 110
- Data: 0
- Amount: 300
- Item_2:
- ID: 3:2
- Data: 0
- Amount: 200
- Item_3:
- ID: 309
- Data: 0
- Amount: 2
- Enchantment_1:
- Name: PROTECTION_FALL
- Level: 3
- ### Here's a job about killing passive mobs: kill x4 cows, pigs, chickens and sheeps.
- Hunter:
- Description: 'Poor animals...'
- Worlds:
- - world
- - animal_reserve
- Entities_To_Kill:
- Entity_1:
- Type: COW
- Amount: 32
- Entity_2:
- Type: PIG
- Amount: 32
- Entity_3:
- Type: CHICKEN
- Amount: 32
- Entity_4:
- Type: SHEEP
- Amount: 32
- Rewards:
- Money: 30
- Exp: 12
- Commands:
- - 'tell %player You get to go to jail for killing nature!'
- - 'give %player steak 16'
- Items:
- Item_1:
- ID: 101
- Data: 0
- Amount: 120
- Item_2:
- ID: 383:95
- Data: 0
- Amount: 32
- ### Here's a job about killing aggressive mobs: kill x5 zombies, x3 skeletons, x3 spiders and x2 creepers.
- Hero:
- Description: 'It''s your time to be a hero!'
- Entities_To_Kill:
- Entity_1:
- Type: ZOMBIE
- Amount: 64
- Entity_2:
- Type: SKELETON
- Amount: 32
- Entity_3:
- Type: SPIDER
- Amount: 64
- Rewards:
- Money: 100
- Exp: 20
- Commands:
- - 'tell %player The world is a better place now!(wow you survived...'
- - 'give %player steak 16'
- Items:
- Item_1:
- ID: 278
- Data: 0
- Amount: 1
- Name: '&aLet''s kill some monsters =D'
- Lore:
- - '&3Slash slash slash...'
- Enchantment_1:
- Name: KNOCKBACK
- Level: 2
- Enchantment_2:
- Name: FIRE_ASPECT
- Level: 2
- ### Finally, a dirty job: kill x10 players.
- #ssassin:
- Description: 'Mercy is for the weak!'
- Worlds:
- - pvp_world
- Entities_To_Kill:
- Entity_1:
- Type: PLAYER
- Amount: 10
- Rewards:
- Money: 350
- Exp: 35
- Commands:
- - 'tell %player No cookies for bad people :('
- Items:
- Item_1:
- ID: 276
- Data: 0
- Amount: 1
- Name: '&6[ &4DoomBringer &6]'
- Lore:
- - '&3MoRe HUman MEat!'
- - '&3Nah is just a joke bring me a beer plz!'
- Enchantment_1:
- Name: DAMAGE_ALL
- Level: 2
- Enchantment_2:
- Name: FIRE_ASPECT
- Level: 2
- Enchantment_3:
- Name: KNOCKBACK
- Level: 1
- edit this paste or clone this paste RAW Paste Data
- Pastebin.com Tools & Applications
- iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
- create new paste | api | trends | syntax languages | faq | tools | privacy | cookies | contact | dmca | advertise on pastebin | go pro
- Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
- Dedicated Server Hosting by Steadfast
- Pastebin v3.11 rendered in: 0.035 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement