CoolV1994

Portables Configuration

Aug 7th, 2015
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 6.11 KB | None | 0 0
  1. # Portables Configuration
  2. #
  3. # Material List
  4. # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
  5. #
  6. # Enchantment List
  7. # https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
  8. #
  9. # Chest Lock Plugin
  10. # Values: None, Deadbolt, LWC, Lockette, LockettePro
  11. lockPlugin: none
  12. #
  13. # Player has to be within X blocks from host block. -1 to disable.
  14. range: 350
  15. #
  16. # Portable items can only be linked to blocks in that world?
  17. forceSameWorld: false
  18. #
  19. # Should the list below be worlds to disallow portable items in?
  20. useWorldBlackList: true
  21. # Worlds to allow usage of portable items
  22. useInWorlds:
  23. - Creative
  24. #- world
  25. #- world_nether
  26. #- world_the_end
  27. #
  28. # Should the list below be worlds to disallow host block access?
  29. hostWorldBlackList: true
  30. # Worlds that the host block have to be in
  31. hostWorlds:
  32. - Creative
  33. #- world
  34. #- world_nether
  35. #- world_the_end
  36. #
  37. # Portable Items
  38. portables:
  39. #  # Config Explination
  40. #  # Material of item being used. (Item in hand)
  41. #  ITEM_MATERIAL:
  42. #    # Open on left click with item
  43. #    PowerTool: true
  44. #    # Open when right click item in inventory
  45. #    InvShortcut: true
  46. #    # Link by left clicking with item
  47. #    Link: true
  48. #    # Can portable item be crafted?
  49. #    Craftable: true
  50. #    # Is this portable only usable in its crafted form?
  51. #    CraftOnly: true
  52. #    # Crafting recipe. Use definitions below
  53. #    Recipe: XYX,YAY,XYX
  54. #    # Item name when crafted. Not linked yet (if applicable)
  55. #    CraftedName: '&4Unlinked Portable Item'
  56. #    # Item name when linked
  57. #    LinkedName: '&aPortable Portable Item'
  58. #    # Item lore when crafted. Not linked yet (if applicable)
  59. #    Lore: 'Left click a placed{N}Host Block to link.'
  60. #    # Enchantments applied when crafted. Will also apper when linked
  61. #    Enchantments: DURABILITY:1
  62. #    # Alternate blocks to link this item to. (Not every item enum matches its block version)
  63. #    AltBlocks:
  64. #    - BLOCK_MATERIAL
  65.   # Brewing Stand
  66.   BREWING_STAND_ITEM:
  67.     PowerTool: true
  68.     InvShortcut: true
  69.     Link: true
  70.     Craftable: true
  71.     CraftOnly: true
  72.     Recipe: XYX,YBY,XYX
  73.     CraftedName: '&4Unlinked Brewing Stand'
  74.     LinkedName: '&aPortable Brewing Stand'
  75.     Lore: 'Left click a placed{N}Brewing Stand to link.'
  76.     Enchantments: DURABILITY:1
  77.     AltBlocks:
  78.    - BREWING_STAND
  79.   # Chest
  80.   CHEST:
  81.     PowerTool: true
  82.     InvShortcut: true
  83.     Link: true
  84.     Craftable: true
  85.     CraftOnly: true
  86.     Recipe: XYX,YCY,XYX
  87.     CraftedName: '&4Unlinked Chest'
  88.     LinkedName: '&aPortable Chest'
  89.     Lore: 'Left click a placed{N}Chest to link.'
  90.     Enchantments: DURABILITY:1
  91.     AltBlocks:
  92.    - TRAPPED_CHEST
  93.   # Dispenser
  94.   DISPENSER:
  95.     PowerTool: true
  96.     InvShortcut: true
  97.     Link: true
  98.     Craftable: true
  99.     CraftOnly: true
  100.     Recipe: XYX,YDY,XYX
  101.     CraftedName: '&4Unlinked Dispenser'
  102.     LinkedName: '&aPortable Dispenser'
  103.     Lore: 'Left click a placed{N}Dispenser to link.'
  104.     Enchantments: DURABILITY:1
  105.   # Dropper
  106.   DROPPER:
  107.     PowerTool: false
  108.     InvShortcut: false
  109.     Link: false
  110.     Craftable: false
  111.     CraftOnly: true
  112.     Recipe: XYX,YJY,XYX
  113.     CraftedName: '&4Unlinked Dropper'
  114.     LinkedName: '&aPortable Dropper'
  115.     Lore: 'Left click a placed{N}Dropper to link.'
  116.     Enchantments: DURABILITY:1
  117.   # Enchantment Table
  118.   ENCHANTMENT_TABLE:
  119.     PowerTool: true
  120.     InvShortcut: true
  121.     Link: true
  122.     Craftable: true
  123.     CraftOnly: true
  124.     Recipe: XYX,YGY,XYX
  125.     CraftedName: '&4Unlinked Enchantment Table'
  126.     LinkedName: '&aPortable Enchantment Table'
  127.     Lore: 'Left click a placed{N}Enchantment Table to link.'
  128.     Enchantments: DURABILITY:1
  129.   # EnderChest
  130.   ENDER_CHEST:
  131.     PowerTool: true
  132.     InvShortcut: true
  133.     Craftable: true
  134.     CraftOnly: true
  135.     Recipe: XYX,YEY,XYX
  136.     CraftedName: '&6Portable Ender Chest'
  137.     Lore: 'Right click with{N}inventory open to{N}open Ender Chest.'
  138.     Enchantments: DURABILITY:1
  139.   # Furnace
  140.   FURNACE:
  141.     PowerTool: true
  142.     InvShortcut: true
  143.     Link: true
  144.     Craftable: true
  145.     CraftOnly: true
  146.     Recipe: XYX,YFY,XYX
  147.     CraftedName: '&4Unlinked Furnace'
  148.     LinkedName: '&aPortable Furnace'
  149.     Lore: 'Left click a placed{N}Furnace to link.'
  150.     Enchantments: DURABILITY:1
  151.   # Hopper
  152.   HOPPER:
  153.     PowerTool: true
  154.     InvShortcut: true
  155.     Link: true
  156.     Craftable: true
  157.     CraftOnly: true
  158.     Recipe: XYX,YHY,XYX
  159.     CraftedName: '&4Unlinked Hopper'
  160.     LinkedName: '&aPortable Hopper'
  161.     Lore: 'Left click a placed{N}Hopper to link.'
  162.     Enchantments: DURABILITY:1
  163.   # Workbench (Crafting Table)
  164.   WORKBENCH:
  165.     PowerTool: true
  166.     InvShortcut: true
  167.     Craftable: true
  168.     CraftOnly: false
  169.     Recipe: XYX,YIY,XYX
  170.     CraftedName: '&6Portable Crafting Table'
  171.     Lore: 'Right click with{N}inventory open to{N}start crafting.'
  172.     Enchantments: DURABILITY:1
  173. #
  174. # Items used in crafting
  175. recipeDefinitions:
  176.   B: BREWING_STAND_ITEM
  177.   C: CHEST
  178.   D: DISPENSER
  179.   E: ENDER_CHEST
  180.   F: FURNACE
  181.   G: ENCHANTMENT_TABLE
  182.   H: HOPPER
  183.   I: WORKBENCH
  184.   J: DROPPER
  185.   X: REDSTONE_BLOCK
  186.   Y: LEATHER
  187. #
  188. #
  189. # Phrases
  190. #
  191. # No access to chest message
  192. blockLocked: '&cYou are not authorized to access this {block}.'
  193. # The host block is missing message
  194. blockMissing: '&4Host {block} is missing or destroyed.'
  195. # This is not a Portable item
  196. invalidItem: 'This is not portable {block}.'
  197. # This item is already linked
  198. alreadyLinked: 'This {block} has already been linked.'
  199. # Too far from block
  200. outOfRange: 'You need to be within {range} blocks from host block.'
  201. # World disabled message
  202. worldNotAllowed: 'You are not alowed to use Portable items in this world.'
  203. hostWorldNotAllowed: 'You are not allowed to remotly access blocks in this world.'
  204. worldNotSame: 'You must use this item in the same world as it''s hosted.'
  205. # Location in lore is invalid
  206. invalidLocation: 'Invalid host location.'
  207. # No permission messages
  208. noPermLink: '&cYou do not have permission to link {block}.'
  209. noPermUse: '&cYou do not have permission use portable {block}.'
  210. # Command messages
  211. noItemInHand: 'You must have a Portables item in your hand.'
  212. notLookingAtBlock: 'You must be looking at a valid host block.'
Advertisement
Add Comment
Please, Sign In to add comment