Advertisement
Guest User

Untitled

a guest
Jan 18th, 2019
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. # ===============================================
  2. # === ShopChest's hologram configuration file ===
  3. # ===============================================
  4. #
  5. # Valid requirements are:
  6. # VENDOR, AMOUNT, ITEM_TYPE, ITEM_NAME, HAS_ENCHANTMENT, BUY_PRICE,
  7. # SELL_PRICE, HAS_POTION_EFFECT, IS_MUSIC_DISC, IS_POTION_EXTENDED,
  8. # IS_WRITTEN_BOOK, ADMIN_SHOP, NORMAL_SHOP, IN_STOCK, MAX_STACK,
  9. # CHEST_SPACE, DURABILITY
  10. #
  11. # You can also use the requirements for conditions.
  12. # ITEM_TYPE will return the type of the item (-> item_names.txt),
  13. # ITEM_NAME can be compared against a custom named item's name (may be null).
  14. #
  15. # Examples:
  16. # - IN_STOCK > 0
  17. # - VENDOR == "EpicEric"
  18. # - BUY_PRICE <= SELL_PRICE
  19. # - ITEM_TYPE == "STONE:2"
  20. # - ITEM_TYPE != "IRON_INGOT"
  21. # - ITEM_NAME == "The Mighty Sword"
  22. # - (AMOUNT > 10) && (AMOUNT <= 20)
  23. # - (IN_STOCK > 0) || ADMIN_SHOP
  24. #
  25. # Valid placeholders are:
  26. # %VENDOR%, %AMOUNT%, %ITEM-NAME%, %ENCHANTMENT%, %BUY-PRICE%,
  27. # %SELL-PRICE%, %POTION-EFFECT%, %MUSIC-TITLE%, %GENERATION%,
  28. # %STOCK%, %MAX-STACK%, %CHEST-SPACE%, %DURABILITY%
  29. #
  30. # In the format, placeholders can also be used for scripts.
  31. # Examples:
  32. # - "In Stock: {%STOCK% / 64} Stk."
  33. # - "In Stock: {(%STOCK% - (%STOCK% % 64)) / 64} Stk. {%STOCK% % 64}"
  34. #
  35. # Other information:
  36. # - Options can be called however you want.
  37. # - Color codes can be used in the format.
  38. # - Options are checked from top to bottom; the first to
  39. # fulfill the requirements will be taken.
  40. # - All scripts have to be in JavaScript syntax.
  41. # - Lines start with 0.
  42.  
  43. lines:
  44. 0:
  45. options:
  46. normal-shop:
  47. format: "%VENDOR%さんのお店"
  48. requirements:
  49. - NORMAL_SHOP
  50.  
  51. admin-shop:
  52. format: "&c運営"
  53. requirements:
  54. - ADMIN_SHOP
  55.  
  56. 1:
  57. options:
  58. default:
  59. format: "%AMOUNT% x %ITEMNAME%"
  60. requirements:
  61.  
  62. 2:
  63. options:
  64. buy-and-sell:
  65. format: "購入 %BUY-PRICE% | 売却 %SELL-PRICE% "
  66. requirements:
  67. - BUY_PRICE > 0
  68. - SELL_PRICE > 0
  69.  
  70. only-buy:
  71. format: "購入 %BUY-PRICE%"
  72. requirements:
  73. - BUY_PRICE > 0
  74.  
  75. only-sell:
  76. format: "売却 %SELL-PRICE%"
  77. requirements:
  78. - SELL_PRICE > 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement