Artem1212121

Untitled

Oct 27th, 2021
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. #
  2. # WorldGuard blacklist
  3. #
  4. # The blacklist lets you block actions, blocks, and items from being used.
  5. # You choose a set of "items to affect" and a list of "actions to perform."
  6. #
  7. ###############################################################################
  8. #
  9. # Example to block some ore mining and placement:
  10. # [coal_ore,gold_ore,iron_ore]
  11. # on-break=deny,log,kick
  12. # on-place=deny,tell
  13. #
  14. # Events that you can detect:
  15. # - on-break (when a block of this type is about to be broken)
  16. # - on-destroy-with (the item/block held by the user while destroying)
  17. # - on-place (a block is being placed)
  18. # - on-use (an item like flint and steel or a bucket is being used)
  19. # - on-interact (when a block in used (doors, chests, etc.))
  20. # - on-drop (an item is being dropped from the player's inventory)
  21. # - on-acquire (an item enters a player's inventory via some method)
  22. # - on-equip (an item is equipped to the player's armor slots)
  23. # NOTE: on-equip is overprotective due to deficiencies in Bukkit API
  24. # - on-dispense (a dispenser is about to dispense an item)
  25. #
  26. # Actions (for events):
  27. # - deny (deny completely, used blacklist mode)
  28. # - allow (used in whitelist mode)
  29. # - notify (notify admins with the 'worldguard.notify' permission)
  30. # - log (log to console/file/database)
  31. # - tell (tell a player that that's not allowed)
  32. # - kick (kick player)
  33. # - ban (ban player)
  34. #
  35. # Options:
  36. # - ignore-groups (comma-separated list of groups to not affect)
  37. # - ignore-perms (comma-separated list of permissions to not affect - make up
  38. # your very own permissions!)
  39. # - comment (message for yourself that is printed with 'log' and 'notify')
  40. # - message (optional message to show the user instead; %s is the item name)
  41. #
  42. ###############################################################################
  43. #
  44. # For more information, see:
  45. # https://worldguard.enginehub.org/en/latest/blacklist/
  46. #
  47. ###############################################################################
  48. #
  49. # Some examples follow.
  50. # REMEMBER: If a line has # in front, it will be ignored.
  51. #
  52.  
  53. # Deny lava buckets
  54. #[lava_bucket]
  55. #ignore-perms=my.own.madeup.permission
  56. #ignore-groups=admins,mods
  57. #on-use=deny,tell
  58.  
  59. # Deny some ore
  60. #[coal_ore,gold_ore,iron_ore]
  61. #ignore-groups=admins,mods
  62. #on-break=notify,deny,log
  63.  
  64. # Admins Barrier's
  65. [barrier]
  66. on-place=deny
  67.  
Add Comment
Please, Sign In to add comment