szumielxd

ChatItemCFG

Dec 31st, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. #Config for ChatItem
  2. #For info visit
  3. #https://www.spigotmc.org/resources/chatitem.19064/
  4.  
  5. #Version info, DON'T TOUCH
  6. config-version: 12
  7.  
  8. #General configuration
  9. General:
  10. #The placeholders you want to use for the item. You can add as many as you want.
  11. placeholders:
  12. - "[i]"
  13. - "[item]"
  14. # How will the item be displayed in chat? {name} represents the display name of
  15. # the item, or material name (ex. Diamond Sword) if it doesn't have a customized
  16. # display name nor any available translation, and {amount} will be replaced by
  17. # the amount-format configured bellow.
  18. # You can use color codes.
  19. name-format: "&f[&b&l&o{name} {amount}&f]&r"
  20. # The amount format that will replace the {amount} placeholder in the 'name-format'
  21. # field above. The {times} placeholder represents the number of times the item is
  22. # presented in the itemstack, in other words, the actual item amount in the stack
  23. # the player holds. You can use color codes too.
  24. amount-format: "x{times}"
  25. # Should we apply the color and formatting defined in the name-format field even if
  26. # the item is already colored/formated (ex. From anvils or other plugins that change
  27. # the display name of an item). I recommend leaving this to true as not applying color
  28. # codes or formatting at all can lead to an unexpected output compared to what you
  29. # actually want, but feel free to experiment with it ;)
  30. color-if-already-colored: true
  31. # Should we add the item amount even if there's only one item in the stack?
  32. force-add-amount: true
  33. # Should we let the message through, as-is (with the placeholder not replaced)
  34. # if the user doesn't have permission or if the user is on cooldown?
  35. let-message-through: true
  36. # Should we cancel the user message if the item in his (main) hand is air or null?
  37. # (No item in hand, that is)
  38. deny-if-no-item: false
  39. # If the above (deny-if-no-item) is set to false, what should the placeholder be replaced with?
  40. # Bellow you can configure that behaviour.
  41. hand:
  42. # Should the empty hand formatting be totally disabled? That will just leave the placeholder
  43. # untouched in the final message
  44. disabled: false
  45. # The string the placeholder shall be replaced with. You can use {name} as a placeholder for
  46. # the player's name and {display-name} as a placeholder for the player's display (custom) name.
  47. name: "&f[&b&l&oReka {display-name}&b&l&o&f]"
  48. # The text to be displayed whe users hove their cursor above the name
  49. tooltip:
  50. - "&7Tu nic nie ma..."
  51. - "&7Po prostu jakis dzban o"
  52. - "nicku {display-name} mysli"
  53. - "ze reka ma opis"
  54.  
  55. # Here you can choose which commands will the plugin attempt to parse. Console commands will all be ignored,
  56. # however player commands will be taken into consideration. To add a command, simply add an element to the list
  57. # bellow containing an alias (or name) for that command.
  58. # It is enough to add only ONE alias for each command, and the others will automatically be supported. However,
  59. # this is only available for plugin commands. If you're planning to add bukkit or mojang commands here, you'll have
  60. # to manually specify ALL aliases for those.
  61. commands:
  62. - "msg"
  63. - "r"
  64. # Here you can set when the players should see the no-permission message (defined in the 'Messages' section bellow).
  65. # 'normal' dictates whether the user should see the message when using the placeholder in normal chat, and 'command'
  66. # sets whether the user should see it when using the placeholder in a command.
  67. show-no-permission-message:
  68. normal: true
  69. command: false
  70. # Here you can set the limit on how many placeholders a user is allowed to use inside a message.
  71. # Allowing too many placeholders can result in client crashes.
  72. limit: 2
  73. # The cooldown, in seconds, between allowing players to send messages with items. Setting this to 0
  74. # will remove the cooldown entirely.
  75. cooldown: 0
  76.  
  77.  
  78. # Messages section. You can disable any of them by simply leaving them empty, like this: ""
  79. Messages:
  80. # The message users will get upon attempting to use the placeholder without any item in hand.
  81. # Only works if 'General.deny-if-no-item' is set to true!
  82. deny-message: "&c&lReka to jakis przedmiot?!"
  83. # The message you will get after reloading the plugin using /cireload.
  84. reload-success: "&b&lSuccessful reload!"
  85. # The message a player will get when attempting to send a message with more placeholders then the allowed limit.
  86. limit-message: "&c&lNie za duzo tych placeholderow?!"
  87. # The message to display players when they can't display items in chat due to the cooldown
  88. cooldown-message: "&c&lYou can only use items in chat once a minute! You have {remaining} left!"
  89. # The no permission message to be showed to players who don't have the required permission to use the placeholder
  90. no-permission: "&c&lI'm sorry, but you are not allowed to use the placeholder in chat!"
  91. # All the fields bellow shold be translated in your own language. Those will be used in the {remaining} format of the cooldown message.
  92. # You should leave a space as a PREFIX as we will add a number in front of them
  93. seconds: " sek"
  94. minutes: " min"
  95. hours: " godz"
Advertisement
Add Comment
Please, Sign In to add comment