Advertisement
OhLorenzo

Untitled

Jan 13th, 2022
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | None | 0 0
  1. Settings:
  2. #ID for this item:
  3. # * Note: This ID can't be null or empty. It must be unique and match regular expression [a-zA-Z0-9_]+
  4. ID: 'example'
  5. #Set to true to lock the item and maintain it.
  6. # * Bypass permission: exvoucher.bypass.locked
  7. Locked: false
  8.  
  9. #Should the player can only use this item once?
  10. # * Bypass permission: exvoucher.bypass.onetimeuse
  11. OneTimeUse: true
  12.  
  13. #Should players twice click to confirm use?
  14. # * Bypass permission: exvoucher.bypass.confirmuse
  15. ConfirmUse: false
  16.  
  17. #Should the item be reduced by 1 when the player uses it?
  18. # * Bypass permission: exvoucher.bypass.removeonuse
  19. RemoveOnUse: true
  20.  
  21. #The limit of how many times it can be used (-1 to disable this feature):
  22. # * Bypass permission: exvoucher.bypass.limitofuse
  23. LimitOfUse: 1
  24.  
  25. #Expiry date:
  26. # * Formatted based on "DateFormat" in config.yml
  27. # * Bypass permission: exvoucher.bypass.expirydate
  28. ExpiryDate: '01/01/2025 00:00:00'
  29.  
  30. #Conditions that allow players to use this item (required PlaceholderAPI plugin):
  31. # * Supported expressions:
  32. # + Comparing numbers: ==, !=, <, >, >= and <=.
  33. # + Comparing strings: equals, !equals, equalsign, !equalsign, contains and !contains.
  34. # * Formatted by: '<placeholder>;<expression>;<output>'
  35. #Empty the list (like below) will disable this feature.
  36. # * Bypass permission: exvoucher.bypass.conditions
  37. #Conditions: []
  38. Conditions: []
  39. #- '<your condition>'
  40. #Should the player meet all the above conditions to use it ?
  41. MatchAll: true
  42.  
  43. # * Bypass permission: exvoucher.bypass.permissions
  44. Permissions:
  45. #Set to false if you want to use the list below as blacklist:
  46. AsWhitelist: true
  47. #The player (needs one of / should not have) these permissions to use this item:
  48. #List: []
  49. List: []
  50. #- '<your custom permission>'
  51.  
  52. # * Bypass permission: exvoucher.bypass.players
  53. Players:
  54. AsWhitelist: true
  55. #List of players name:
  56. #List: []
  57. List: []
  58. #- '<player name>'
  59.  
  60. # * Bypass permission: exvoucher.bypass.worlds
  61. Worlds:
  62. AsWhitelist: false
  63. #List of worlds name:
  64. #List: []
  65. List: []
  66. #- '<world name>'
  67.  
  68. #You can use the placeholder %args_<number>% from anywhere you want in sections below.
  69. Item:
  70. #Material of the item:
  71. #Please make sure you use the correct name of the material based on the server version you are using.
  72. #Legacy materials (1.8 -> 1.12.2) can be found at: https://helpch.at/docs/1.12.2/org/bukkit/Material.html
  73. #Modern materials (1.13+) can be found at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
  74. Material: 'PAPER'
  75. Amount: 1 #May not need to configure.
  76. Data: 0 #May not need to configure.
  77. CustomModelData: 0 #Can only be used on the server version 1.14+. May not need to configure.
  78. #Using the 'Texture' option if you need to display the head texture (requires Material is PLAYER_HEAD, or SKULL_ITEM and data is 3 in legacy versions):
  79. #Texture: '<value>' #Can be found at: https://minecraft-heads.com/ (Value field).
  80. #Texture: 'hdb-<id>' #Using for HeadDatabase plugin.
  81. #Texture: 'player-<name>' #Skull of the player.
  82. Enchantments: #May not need to configure.
  83. #- '<enchant name>:<level>'
  84. - 'durability:10'
  85. HideFlags: #May not need to configure.
  86. - 'HIDE_ATTRIBUTES'
  87. #Display name:
  88. Name: '&eExample Item' #May not need to configure.
  89. Lore: #May not need to configure.
  90. - ''
  91. - '&fDrink to have a chance to win'
  92. - '&eCosts: &f100.000 Coins'
  93. - '&eReward: &f200.000 Coins'
  94. - '&eChance of winning: 50%'
  95.  
  96. #List of commands:
  97. #- '<command without splash>' #Run the command normally.
  98. #- 'OP: <command without splash>' #Run the command as an OPerator.
  99. #- 'CONSOLE: <command without splash>' #Run the command in console.
  100. #- 'SOUND: <sound name>[:<distance>:<high>]' #Play a sound for the clicker.
  101. #- 'MESSAGE: <message>' #Send a message to the clicker.
  102. #- 'BROADCAST: <message>' #Broadcast to online players.
  103. #Add "<chance: <number>>" to the end of the command to make it has a chance to run.
  104. #E.g: - 'CONSOLE: say This command has 50.0% chance to be run.<chance: 50.0>'
  105. #Use %player% will replace by the name of the player who used this item.
  106. Commands:
  107. #Run a random command:
  108. Random: []
  109. #Left click commands:
  110. #LeftClick: []
  111. LeftClick: []
  112. #Right click commands:
  113. #RightClick: []
  114. RightClick:
  115. - 'CONSOLE: eco give OhLorenzo 10<chance: 100.0>'
  116.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement