mpolder

LootChestRewards Config Info

Dec 22nd, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. The plugin LootChestRewards has a very flexible config that can be used to create almost any reward you would want, here is some documentation on how to set up rewards and how the main config works.
  2.  
  3. The default config.yml
  4. # LootChests
  5. ChestX:
  6. - 0
  7. - 1
  8. - 2
  9. ChestY:
  10. - 64
  11. - 65
  12. - 66
  13. ChestZ:
  14. - 0
  15. - 1
  16. - 2
  17. world: world
  18. msgPrefix: '&c[Mystery Chest] '
  19. msgNoChest: '&lYou do not own this chest'
  20. msgOpenChest: '&lYou opened a [quality] chest'
  21.  
  22. Setting up chest locations:
  23. - Get the X Y Z coords from the block you want to become the chest.
  24. - Fill in the X after the ChestX on one of the lines (or add one yourself) and do the same for the Y and Z
  25. - Select the main world for the chests to be in
  26. - Reload the server
  27. - The chests will now appear and be functionable
  28.  
  29.  
  30. Default rewards.yml:
  31. #Rewards.yml
  32. common:
  33. diamond:
  34. command:
  35. - give [player] diamond
  36. rarity: 1
  37. item: 264
  38. rare:
  39. diamond:
  40. command:
  41. - give [player] diamond
  42. rarity: 1
  43. item: 264
  44. legendary:
  45. diamond:
  46. command:
  47. - give [player] diamond
  48. rarity: 1
  49. item: 264
  50.  
  51. How to set up rewards:
  52. [Chest Quality]:
  53. [Reward Name]:
  54. command:
  55. - [Command to execute] ([player] is replaced by the chest opener)
  56. - [Another Command to execute]
  57. rarity: [rarity of the item (lower is better, explanation below)]
  58. item: [the DISPLAY hologram item for the reward]
  59.  
  60.  
  61. How to use rarity:
  62. The plugin uses rarity to decide what reward to give to the player, the lower the rarity is the harder the item is to get. It works like this: if you have an item with rarity 3 and one with 4 the plugin counts them up (3+4=7) and then draws a number from 1 to 7. If it is between 1-3 you will get the first reward and when it is 4-7 you will get the second reward.
  63.  
  64. If you still have any questions be free to contact me on skype: martijn.poldrman or leave a message on the discussion section of the plugin.
Advertisement
Add Comment
Please, Sign In to add comment