Advertisement
SemiBolt

plugin

May 26th, 2015
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.04 KB | None | 0 0
  1. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# About Plugin/Author #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2. #
  3. # Plugin Name: RealJobs
  4. # Author: Jose Manuel Gassin Perez-Traverso
  5. # Bukkit Profile: http://dev.bukkit.org/profiles/Mayhem777/
  6. #
  7. ### Description: This plugin provides an efficient Job System for you server, you can create super custom jobs for your players.
  8. # The player can choose between all your jobs, and get money (economy) when accomplishing all the job tasks.
  9. # You can choose the amount of jobs to do per day, and even not to repeat the same job 2 consecutive times.
  10. #
  11. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# About Plugin/Author #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  12.  
  13. #======================================[ Plugin Version ]======================================#
  14. # 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)
  15. Version: 1.4.0
  16.  
  17. #======================================[ Commands & Permissions ]======================================#
  18. # -CORE PERMISSION- | realjobs.admin | Grants access to all Plugin features/commands.
  19. # -CORE PERMISSION- | realjobs.user | Grants access to all User designed features/commands.
  20. # /job reload | realjobs.admin | Reloads this file.
  21. # /job help | realjobs.user | Shows a list of commands.
  22. # /job list | realjobs.user | Lists available jobs.
  23. # /job pick <jobName> | realjobs.pick.<jobName> | Allows to pick a job.
  24. # /job leave | realjobs.user | Leaves the current job, all process will be erased, the player can choose other job.
  25. # /job submit | realjobs.user | Submits the job done, if needed, items will be removed.
  26. # /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.
  27. # ... | realjobs.pickall | Allows to pick ANY JOB.
  28.  
  29. #======================================[ Language Settings ]======================================#
  30. ### 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.
  31. # 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 :)
  32. Language: english
  33.  
  34.  
  35.  
  36. #======================================[ Performance Settings ]======================================#
  37. ### 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.
  38. ### 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.
  39. Clean_Data: 30
  40.  
  41. #======================================[ General Settings ]======================================#
  42. ### Players can pick and accomplish a job every... (minutes)
  43. Time_Between_Jobs: 1
  44.  
  45. ### Can players pick and accomplish the same job consecutive times?
  46. Repeat_Job: false
  47.  
  48. ### Show progress on every job task change:
  49. Show_Progress: true
  50.  
  51. ### Server Currency: shown in Real Job Messages.
  52. Currency: 'Dollar/s'
  53.  
  54. ### Job Done Broadcast: sends a server broadcast on Job Done (when a player uses "/job submit" and Job is successfully finished.)
  55. # You can use the %player variable to show player's name.
  56. # You can use the %job variable to show Job done.
  57. Job_Done_Broadcast:
  58. Enable: true
  59. Broadcast: '&6Player &b%player &6just finished job &a%job&6!'
  60.  
  61. #======================================[ Job Customization ]======================================#
  62. ### Help/Hints:
  63. # As with all economy plugins, use "double" format for money (0.00 -> 100.00 or 100.50).
  64. # 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.
  65. # Description: job description, printed in the "/job info [jobName]" command.
  66. # 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.
  67. # 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
  68. # 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)
  69. # 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.
  70.  
  71. ### ALL Blocks/Items has those 3 parameters:
  72. # ID: the block/item id, set it to 0 if you don't want to use that part of the job.
  73. # 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.)
  74. # 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.)
  75.  
  76. ### ALL Entities to Kill have those 2 parameters:
  77. # Type: bukkit type of entity, check the list here: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/EntityType.html
  78. # Amount: amount of entities to kill.
  79.  
  80. ### List of Enabled Jobs: only jobs found in this list will be available in the server.
  81. Enabled_Jobs:
  82. - #Carpenter_1
  83. - #Carpenter_2
  84. - BlackSmith_1
  85. - BlackSmith_2
  86. - Baker
  87. - Chef
  88. - Miner_1
  89. - Miner_2
  90. - Builder
  91. - Hunter
  92. - Hero
  93. - #Assassin
  94.  
  95. ### Customize jobs as you wish, add/edit/remove all you wish, just use the same pattern below from the examples, check the first one:
  96. # As i said before, we don't need the Carpenter to Break/Place blocks or Kill entities so those parameters are non present.
  97. # In this example, we want the carpenter to CRAFT: x2 Crafting Tables, x2 Boats, x2 Wooden Doors, x4 TrapDoors and x2 Chests.
  98. # 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.
  99. # When the player has made all that, he/she can type the command "/job submit" to take the reward.
  100. # Don't forget a description for each job! The description will be shown in the job list (when typing "/job list")
  101. # 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.
  102. #Carpenter_1:
  103. Description: 'Craft some simple wood items!'
  104. Worlds:
  105. - world
  106. - forest_world
  107. Items_To_Craft:
  108. Item_1:
  109. ID: 58
  110. Data: 0
  111. Amount: 2
  112. Item_2:
  113. ID: 333
  114. Data: 0
  115. Amount: 2
  116. Item_3:
  117. ID: 324
  118. Data: 0
  119. Amount: 2
  120. Item_4:
  121. ID: 96
  122. Data: 0
  123. Amount: 4
  124. Item_5:
  125. ID: 54
  126. Data: 0
  127. Amount: 2
  128. Items_To_Submit:
  129. Item_1:
  130. ID: 58
  131. Data: 0
  132. Amount: 2
  133. Item_2:
  134. ID: 333
  135. Data: 0
  136. Amount: 2
  137. Item_3:
  138. ID: 324
  139. Data: 0
  140. Amount: 2
  141. Item_4:
  142. ID: 96
  143. Data: 0
  144. Amount: 4
  145. Item_5:
  146. ID: 54
  147. Data: 0
  148. Amount: 2
  149. Rewards:
  150. Money: 100
  151. Exp: 10
  152. Commands:
  153. - 'tell %player Keep the good work!'
  154. - 'give %player cookie 3'
  155. Items:
  156. Item_1:
  157. ID: 258
  158. Data: 0
  159. Amount: 1
  160. Enchantment_1:
  161. Name: DURABILITY
  162. Level: 1
  163.  
  164. ### More examples i use in my own server...
  165. # 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.
  166. # Items to craft and submit; x2 fences, x2 fence doors, x2 beds, x2 note blocks and x2 bookshelfs.
  167. #Carpenter_2:
  168. Description: 'Craft some wood items!'
  169. Worlds:
  170. - world
  171. - forest_world
  172. Items_To_Craft:
  173. Item_1:
  174. ID: 85
  175. Data: 0
  176. Amount: 2
  177. Item_2:
  178. ID: 107
  179. Data: 0
  180. Amount: 2
  181. Item_3:
  182. ID: 355
  183. Data: 0
  184. Amount: 2
  185. Item_4:
  186. ID: 25
  187. Data: 0
  188. Amount: 2
  189. Item_5:
  190. ID: 47
  191. Data: 0
  192. Amount: 2
  193. Items_To_Submit:
  194. Item_1:
  195. ID: 85
  196. Data: 0
  197. Amount: 2
  198. Item_2:
  199. ID: 107
  200. Data: 0
  201. Amount: 2
  202. Item_3:
  203. ID: 355
  204. Data: 0
  205. Amount: 2
  206. Item_4:
  207. ID: 25
  208. Data: 0
  209. Amount: 2
  210. Item_5:
  211. ID: 47
  212. Data: 0
  213. Amount: 2
  214. Rewards:
  215. Money: 200
  216. Exp: 20
  217. Commands:
  218. - 'tell %player Keep the good work!'
  219. - 'give %player cookie 3'
  220. Items:
  221. Item_1:
  222. ID: 258
  223. Data: 0
  224. Amount: 1
  225. Enchantment_1:
  226. Name: DURABILITY
  227. Level: 1
  228. Enchantment_2:
  229. Name: LOOT_BONUS_BLOCKS
  230. Level: 1
  231.  
  232. ### 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.
  233. # Items to craft and submit; x1 iron pickaxe, x1 iron shovel, x1 iron axe, x1 iron sword and x1 iron hoe.
  234. # NOTE: as you can see the BlackSmith doesn't have a "Worlds" parameter, that means he can accomplish their tasks ANY/WHERE/WORLD.
  235. BlackSmith_1:
  236. Description: 'Time to make a couple sets of Diamond Armor!'
  237. Items_To_Craft:
  238. Item_1:
  239. ID: 310
  240. Data: 0
  241. Amount: 2
  242. Item_2:
  243. ID: 311
  244. Data: 0
  245. Amount: 2
  246. Item_3:
  247. ID: 312
  248. Data: 0
  249. Amount: 2
  250. Item_4:
  251. ID: 313
  252. Data: 0
  253. Amount: 2
  254. #tem_5:
  255. #ID:
  256. Data: 0
  257. Amount: 1
  258. #Items_To_Submit:
  259. #Item_1:
  260. #ID: 310
  261. Data: 0
  262. Amount: 1
  263. #Item_2:
  264. #ID: 311
  265. Data: 0
  266. Amount: 1
  267. #Item_3:
  268. #ID: 312
  269. Data: 0
  270. Amount: 1
  271. #Item_4:
  272. # ID: 313
  273. Data: 0
  274. Amount: 1
  275. #tem_5:
  276. #ID: 292
  277. Data: 0
  278. Amount: 1
  279. Rewards:
  280. Money: 35
  281. Exp: 10
  282. Commands:
  283. - 'tell %player Keep the HAMMER work!'
  284. - 'give %player cake 2'
  285. Items:
  286. Item_1: 'Half Chainmail Armor Set'
  287. ID: 302
  288. Data: 0
  289. Amount: 2
  290. Enchantment_1:
  291. Name:
  292. Level: 0
  293. Enchantment_2:
  294. Name:
  295. Level: 0
  296. Item_2:
  297. ID: 303
  298. Data: 0
  299. Amount: 2
  300. Enchantment_1:
  301. Name:
  302. Level: 0
  303.  
  304. ### A bit harder BlackSmith job; x1 iron helmet, x1 iron chestplate, x1 iron leggings and x1 iron boots.
  305. BlackSmith_2:
  306. Description: 'Time to craft some weapons (and a Hoe)'
  307. Items_To_Craft:
  308. Item_1:
  309. ID: 276
  310. Data: 0
  311. Amount: 2
  312. Item_2:
  313. ID: 277
  314. Data: 0
  315. Amount: 2
  316. Item_3:
  317. ID: 278
  318. Data: 0
  319. Amount: 2
  320. Item_4:
  321. ID: 293
  322. Data: 0
  323. Amount: 2
  324. #Items_To_Submit:
  325. #Item_1:
  326. ID:
  327. Data: 0
  328. Amount: 1
  329. #Item_2:
  330. #ID: 307
  331. Data: 0
  332. Amount: 1
  333. #Item_3:
  334. #ID: 308
  335. Data: 0
  336. Amount: 1
  337. #Item_4:
  338. #ID: 309
  339. Data: 0
  340. Amount: 1
  341. Rewards:
  342. Money: 40
  343. Exp: 10
  344. Commands:
  345. - 'tell %player Keep up the work!'
  346. - 'give %player cake 1'
  347. Items:
  348. Item_1: 'Half Chainmail Armor Set'
  349. ID: 304
  350. Data: 0
  351. Amount: 2
  352. Enchantment_1:
  353. Name:
  354. Level:
  355. Enchantment_2:
  356. Name:
  357. Level:
  358. Item_2:
  359. ID: 305
  360. Data: 0
  361. Amount: 2
  362. Enchantment_1:
  363. Name:
  364. Level:
  365.  
  366. ### Let's make a tasty job; x32 cookies and x6 cakes.
  367. Baker:
  368. Description: 'Mmm cookies :3!'
  369. Items_To_Craft:
  370. Item_1:
  371. ID: 357
  372. Data: 0
  373. Amount: 32
  374. Item_2:
  375. ID: 354
  376. Data: 0
  377. Amount: 7
  378. #Items_To_Submit:
  379. #Item_1:
  380. #ID: 357
  381. Data: 0
  382. Amount: 32
  383. #Item_2:
  384. # ID: 354
  385. Data: 0
  386. Amount: 6
  387. Rewards:
  388. Money: 10
  389. Exp: 7
  390. Commands:
  391. - 'tell %player Mmm that''s tasty!'
  392. - 'give %player cake 3'
  393. Items:
  394. Item_1: 'Some Food For Your Troubles'
  395. ID: 364
  396. Data: 0
  397. Amount: 16
  398. Item_2:
  399. ID: 320
  400. Data: 0
  401. Amount: 16
  402.  
  403. ### Another cooking job; x12 cooked chicken, x8 cooked porkchop, x8 steaks and x4 cooked fish.
  404. Chef:
  405. Description: 'Just for Gourmets!'
  406. Items_To_Craft:
  407. Item_1:
  408. ID: 400
  409. Data: 0
  410. Amount: 32
  411. Item_2:
  412. ID: 282
  413. Data: 0
  414. Amount: 32
  415. Item_3:
  416. ID: 396
  417. Data: 0
  418. Amount: 32
  419. Item_4:
  420. ID: 350
  421. Data: 0
  422. Amount: 16
  423. #tems_To_Submit:
  424. #tem_1:
  425. #D: 366
  426. Data: 0
  427. Amount: 12
  428. #tem_2:
  429. #ID: 364
  430. Data: 0
  431. Amount: 8
  432. #tem_3:
  433. #D: 320
  434. Data: 0
  435. Amount: 8
  436. #tem_4:
  437. #D: 350
  438. Data: 0
  439. Amount: 4
  440. Rewards:
  441. Money: 25
  442. Exp: 10
  443. Commands:
  444. - 'tell %player Mmm that''s tasty!'
  445. - 'give %player cake 3'
  446. Items: 'Here are some rare items for your hard work!'
  447. Item_1:
  448. ID: 322:1
  449. Data: 0
  450. Amount: 1
  451. Item_2:
  452. ID: 322
  453. Data: 0
  454. Amount: 3
  455. Item_3:
  456. ID: 264
  457. Data: 0
  458. Amount: 32
  459.  
  460. ### Let's make a BREAKING block job;
  461. # 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.
  462. # Blocks to break; x12 coal ores, x6 iron ores and x3 gold ores.
  463. Miner_1:
  464. Description: 'Diggy diggy dig dug'
  465. Worlds:
  466. - world
  467. - earth
  468. Blocks_To_Break:
  469. Block_1:
  470. ID: 15
  471. Data: 0
  472. Amount: 32
  473. Block_2:
  474. ID: 16
  475. Data: 0
  476. Amount: 64
  477. Block_3:
  478. ID: 74
  479. Data: 0
  480. Amount: 32
  481. Rewards:
  482. Money: 25
  483. Exp: 10
  484. Commands:
  485. - 'tell %player Did you find any dwarf down there?'
  486. - 'give %player cake 3'
  487. Items:
  488. Item_1:
  489. ID: 153
  490. Data: 0
  491. Amount: 25
  492. Item_2:
  493. ID: 257
  494. Data: 0
  495. Amount: 1
  496. Enchantment_1:
  497. Name: DURABILITY
  498. Level: 3
  499.  
  500. ### A bit harder... x6 Lapis Ore, x6 Redstone Ore, x3 Diamond Ore and x1 Emerald Ore
  501. Miner_2:
  502. Description: 'DIG DUG FOR PROS!'
  503. Worlds:
  504. - world
  505. - earth
  506. Blocks_To_Break:
  507. Block_1:
  508. ID: 14
  509. Data: 0
  510. Amount: 32
  511. Block_2:
  512. ID: 21
  513. Data: 0
  514. Amount: 32
  515. Block_3:
  516. ID: 56
  517. Data: 0
  518. Amount: 16
  519. Block_3:
  520. ID: 129
  521. Data: 0
  522. Amount: 16
  523. Rewards:
  524. Money: 100
  525. Exp: 30
  526. Commands:
  527. - 'tell %player YOU FINALLY DID IT!!!! :D'
  528. - 'give %player torch 164'
  529. Items:
  530. Item_1:
  531. ID: 22
  532. Data: 0
  533. Amount: 100
  534. Item_2:
  535. ID: 278
  536. Data: 0
  537. Amount: 1
  538. Enchantment_1:
  539. Name: DURABILITY
  540. Level: 3
  541. Enchantment_2:
  542. Name: DIG_SPEED
  543. Level: 5
  544.  
  545. ### A MIX; CRAFT 24 Bricks, and PLACE 24 Bricks.
  546. Builder:
  547. Description: 'Gonna build the future with the past!'
  548. Worlds:
  549. - world
  550. - manhattan
  551. Blocks_To_Place:
  552. Block_1:
  553. ID: 98:1
  554. Data: 0
  555. Amount: 100
  556. Items_To_Craft:
  557. Item_1:
  558. ID: 98:1
  559. Data: 0
  560. Amount: 500
  561. Rewards:
  562. Money: 70
  563. Exp: 20
  564. Commands:
  565. - 'tell %player You really like old stuff....'
  566. - 'give %player cookie 3'
  567. Items:
  568. Item_1:
  569. ID: 110
  570. Data: 0
  571. Amount: 300
  572. Item_2:
  573. ID: 3:2
  574. Data: 0
  575. Amount: 200
  576. Item_3:
  577. ID: 309
  578. Data: 0
  579. Amount: 2
  580. Enchantment_1:
  581. Name: PROTECTION_FALL
  582. Level: 3
  583.  
  584. ### Here's a job about killing passive mobs: kill x4 cows, pigs, chickens and sheeps.
  585. Hunter:
  586. Description: 'Poor animals...'
  587. Worlds:
  588. - world
  589. - animal_reserve
  590. Entities_To_Kill:
  591. Entity_1:
  592. Type: COW
  593. Amount: 32
  594. Entity_2:
  595. Type: PIG
  596. Amount: 32
  597. Entity_3:
  598. Type: CHICKEN
  599. Amount: 32
  600. Entity_4:
  601. Type: SHEEP
  602. Amount: 32
  603. Rewards:
  604. Money: 30
  605. Exp: 12
  606. Commands:
  607. - 'tell %player You get to go to jail for killing nature!'
  608. - 'give %player steak 16'
  609. Items:
  610. Item_1:
  611. ID: 101
  612. Data: 0
  613. Amount: 120
  614. Item_2:
  615. ID: 383:95
  616. Data: 0
  617. Amount: 32
  618.  
  619. ### Here's a job about killing aggressive mobs: kill x5 zombies, x3 skeletons, x3 spiders and x2 creepers.
  620. Hero:
  621. Description: 'It''s your time to be a hero!'
  622. Entities_To_Kill:
  623. Entity_1:
  624. Type: ZOMBIE
  625. Amount: 64
  626. Entity_2:
  627. Type: SKELETON
  628. Amount: 32
  629. Entity_3:
  630. Type: SPIDER
  631. Amount: 64
  632. Rewards:
  633. Money: 100
  634. Exp: 20
  635. Commands:
  636. - 'tell %player The world is a better place now!(wow you survived...'
  637. - 'give %player steak 16'
  638. Items:
  639. Item_1:
  640. ID: 278
  641. Data: 0
  642. Amount: 1
  643. Name: '&aLet''s kill some monsters =D'
  644. Lore:
  645. - '&3Slash slash slash...'
  646. Enchantment_1:
  647. Name: KNOCKBACK
  648. Level: 2
  649. Enchantment_2:
  650. Name: FIRE_ASPECT
  651. Level: 2
  652.  
  653. ### Finally, a dirty job: kill x10 players.
  654. #ssassin:
  655. Description: 'Mercy is for the weak!'
  656. Worlds:
  657. - pvp_world
  658. Entities_To_Kill:
  659. Entity_1:
  660. Type: PLAYER
  661. Amount: 10
  662. Rewards:
  663. Money: 350
  664. Exp: 35
  665. Commands:
  666. - 'tell %player No cookies for bad people :('
  667. Items:
  668. Item_1:
  669. ID: 276
  670. Data: 0
  671. Amount: 1
  672. Name: '&6[ &4DoomBringer &6]'
  673. Lore:
  674. - '&3MoRe HUman MEat!'
  675. - '&3Nah is just a joke bring me a beer plz!'
  676. Enchantment_1:
  677. Name: DAMAGE_ALL
  678. Level: 2
  679. Enchantment_2:
  680. Name: FIRE_ASPECT
  681. Level: 2
  682. Enchantment_3:
  683. Name: KNOCKBACK
  684. Level: 1
  685. edit this paste or clone this paste RAW Paste Data
  686.  
  687. Pastebin.com Tools & Applications
  688. iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
  689. create new paste | api | trends | syntax languages | faq | tools | privacy | cookies | contact | dmca | advertise on pastebin | go pro
  690. Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
  691. Dedicated Server Hosting by Steadfast
  692. Pastebin v3.11 rendered in: 0.035 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement