Advertisement
iXmax

Command Blocker

Nov 25th, 2023
6
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. default pattern prefix: "(?i)^\\/"
  2. # the prefix that is appended before all patterns
  3.  
  4. default pattern suffix: "(\\s|$)"
  5. # the suffix that is appended after all patterns
  6.  
  7. default deny message: "&4* &cI'm sorry, but you do not have permission to perform this command. Please contact the server administrators if you believe that this is in error."
  8. # the deny message if no filter specific message is set
  9.  
  10. default type: blacklist
  11. # the default type used for all filters unless defined
  12. # built-in types:
  13. # whitelist:
  14. # A whitelist allows commands that match the filter, blocking everything else.
  15. # The filters' permission is used to bypass it.
  16. # blacklist:
  17. # A blacklist denies commands that match the filter, allowing everything else.
  18. # The filters' permission is used to bypass it.
  19. # restrictedwhitelist:
  20. # Same as whitelist however the filter only applies to users who have its permission.
  21. # restrictedblacklist:
  22. # Same as blacklist however the filter only applies to users who have its permission.
  23.  
  24. default actions:
  25. whitelist:
  26. allow: soft_allow
  27. deny: soft_deny
  28. blacklist:
  29. allow: soft_allow
  30. deny: soft_deny
  31. restrictedwhitelist:
  32. allow: soft_allow
  33. deny: soft_deny
  34. restrictedblacklist:
  35. allow: soft_allow
  36. deny: soft_deny
  37. # this is for configuring the default actions of filters.
  38. # actions are what the filter does when it matches or doesn't match something.
  39. # some actions are terminal and some are intermediate.
  40. # what's the difference?
  41. # terminal actions will stop execution and set the result.
  42. # intermediate actions will set the result but continue executing other filters (if any)
  43. # this is useful for both optimizing performance and for better usability.
  44. # All terminal actions: DENY, ALLOW
  45. # All intermediate actions: SOFT_DENY, SOFT_ALLOW, NONE
  46.  
  47. root filter permission: "tau.cmdblock.filter"
  48. # this permission is the base permission appended before the filters name
  49. # so filter "foo" would become "tau.cmdblock.filter.foo"
  50.  
  51. permission cache millis: 100
  52. # the amount of time in milliseconds we should cache the responses of the permission plugin
  53. # due to the nature of this plugin it can query thousands of permissions each time a player connects to a server.
  54. # this can be unnecessarily taxing for inefficient permissions plugins
  55.  
  56. filters:
  57. myfilter:
  58. #pattern prefix: "(?i)^\\/"
  59. # filter specific prefix
  60. #pattern suffix: "($| .*)"
  61. # filter specific suffix
  62.  
  63. #type: blacklist
  64. # what type should this filter be?
  65. #priority: 10
  66. # priority of the filter, higher is handled first
  67.  
  68. #allow action: soft_allow
  69. #deny action: soft_deny
  70. # the actions of this filter
  71.  
  72. # filter specific deny message
  73. #message: "&cFilter specific deny message."
  74. patterns:
  75. # blocks /?
  76. - "\\?.*"
  77. # blocks all <plugin>:<command>
  78. - "\\S*:.*"
  79. # blocks /pl & /plugins
  80. - "pl(ugins)?"
  81. # ican'thasbukkit
  82. - "icanhasbukkit"
  83. # version
  84. - "ver(sion)?"
  85. - "about"
  86. # paper
  87. - "paper"
  88. # antibot
  89. - "antibot"
  90. - "ab"
  91. # bungee
  92. - "bungee"
  93. # dailyshop
  94. - "dailyshop"
  95. - "dailyrandomshop"
  96. # mv<word>
  97. - "mv.*"
  98. # item to & item-to
  99. - "item(info|to|-).*"
  100. - "luckperms(.*)"
  101. - "bpandorcore"
  102. - "bpcore"
  103. - "balancer"
  104. - "grant.*"
  105. - "dh"
  106. - "decentholograms"
  107. - "bloodmoon"
  108. - "cg"
  109. - "chatgames"
  110. - "chests"
  111. worldedit:
  112. #pattern prefix: "(?i)^\\/"
  113. # filter specific prefix
  114. #pattern suffix: "($| .*)"
  115. # filter specific suffix
  116.  
  117. #type: blacklist
  118. # what type should this filter be?
  119. #priority: 10
  120. # priority of the filter, higher is handled first
  121.  
  122. #allow action: soft_allow
  123. #deny action: soft_deny
  124. # the actions of this filter
  125.  
  126. # filter specific deny message
  127. #message: "&cFilter specific deny message."
  128. patterns:
  129. # should block any extra world edit commands
  130. - "\\\/.*"
  131. staff:
  132. #pattern prefix: "(?i)^\\/"
  133. # filter specific prefix
  134. #pattern suffix: "($| .*)"
  135. # filter specific suffix
  136.  
  137. #type: blacklist
  138. # what type should this filter be?
  139. #priority: 10
  140. # priority of the filter, higher is handled first
  141.  
  142. #allow action: soft_allow
  143. #deny action: soft_deny
  144. # the actions of this filter
  145.  
  146. # filter specific deny message
  147. #message: "&cFilter specific deny message."
  148. patterns:
  149. # vulcan
  150. - "vulcan"
  151. - "verbose"
  152. # No touchy
  153. config version: 4.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement