Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.44 KB | None | 0 0
  1. #NMS version
  2. #Available types:
  3. # FIND <- Automatically finds a NMS version.
  4. # v1_8_R3, v1_12_R1, v1_14_R1, v1_15_R1
  5. #
  6. #You can set it manually if you are using custom spigot and the SpigotGuard cannot get your server nms version.
  7. nms-version: FIND
  8. #nms-version: "v1_8_R3"
  9. #
  10. #
  11. #Item NBT deserialization
  12. nbt:
  13. #If it has false detects you can just improve it. The NBT limit of item is 4000
  14. #Default: 4000
  15. limit: 1500
  16. #Block whole books on server:
  17. #It only blocks to edit or sign a book (written_book and book_and_quill), if your players are not able to do that then you can set it to true.
  18. ban-books: false
  19. list:
  20. #Max amount of NBTLists in item
  21. #Default: 5
  22. max-amount: 5
  23. #Max size of NBTList
  24. #Default: 50
  25. max-size: 50
  26. #Max length for each content of this List
  27. #Default: 300
  28. max-content: 300
  29. book:
  30. #Default: 5
  31. max-similar-pages: 3
  32. #Default: 400
  33. max-page-content: 300
  34. #Shulker boxes and chests
  35. chests:
  36. nbt-limit: 50000
  37. books-limit: 128
  38. array:
  39. max-int-array-size: 50
  40. #Max NBT keys
  41. #Default: 60
  42. max-keys: 30
  43. #####
  44. #Blocking ArmAnimation packet spam
  45. arm-animation:
  46. #You can disable it if your server is above 1.9
  47. enabled: true
  48. #Player can send only one ArmAnimation packet in this period
  49. timestamp: 650
  50. #####
  51. #Packet limitter
  52. ###
  53. #Is packet limitter enabled?
  54. packets-limitter: true
  55. packets:
  56. #Simple class name
  57. PacketPlayInWindowClick:
  58. #Packet limit
  59. limit: 60
  60. #Cancel event only? If "true", then we don't kick a player when he reaches a limit
  61. cancel-only: false
  62. PacketPlayInUseEntity:
  63. limit: 500
  64. cancel-only: false
  65. PacketPlayInEntityAction:
  66. limit: 150
  67. cancel-only: true
  68. PacketPlayInUpdateSign:
  69. limit: 3
  70. cancel-only: false
  71. PacketPlayInTabComplete:
  72. limit: 25
  73. cancel-only: false
  74. PacketPlayInFlying:
  75. limit: 770
  76. cancel-only: true
  77. PacketPlayInPositionLook:
  78. limit: 770
  79. cancel-only: true
  80. PacketPlayInArmAnimation:
  81. limit: 500
  82. cancel-only: false
  83. PacketPlayInBlockDig:
  84. limit: 700
  85. cancel-only: true
  86. PacketPlayInBlockPlace:
  87. limit: 60
  88. cancel-only: false
  89. PacketPlayInChat:
  90. limit: 4
  91. cancel-only: false
  92. PacketPlayInSettings:
  93. limit: 400
  94. cancel-only: false
  95. PacketPlayInAbilities:
  96. limit: 70
  97. cancel-only: false
  98. PacketPlayInCustomPayload:
  99. limit: 15
  100. cancel-only: true
  101. ##
  102. # Advanced checks start
  103. ##
  104. ItemDoNotMatch:
  105. limit: 2
  106. cancel-only: false
  107. ItemDoNotMatchSmall:
  108. limit: 8
  109. cancel-only: false
  110. IOOBE:
  111. limit: 5
  112. cancel-only: false
  113. InvalidSlot:
  114. limit: 15
  115. cancel-only: false
  116. InvalidMovement:
  117. limit: 15
  118. cancel-only: false
  119. ##
  120. # Advanced checks end
  121. ##
  122. #
  123. ##
  124. # Other checks
  125. ##
  126. other-checks:
  127. #Sign crasher
  128. sign-check:
  129. enabled: true
  130. max-bytes: 34
  131. #Move/flying/chunk crasher
  132. position-check:
  133. enabled: true
  134. ##
  135. # Punishment system
  136. # SOON! It's not implemented yet, so you don't have to configure it.
  137. ##
  138. punishment-system:
  139. enabled: false
  140. punishments:
  141. levels:
  142. high: #We are almost sure that player has tried to crash the server
  143. #
  144. #Available punishment types: SEND_BOOK_MESSAGE, BLOCK
  145. #SEND_BOOK_MESSAGE opens a book when player joins again to the server.
  146. #Block just temporary blocks player from the server and displays broadcast about the player
  147. #
  148. punishment-type: BLOCK
  149. #Let's build punishment type options!
  150. block:
  151. #If you want to disable broadcast just set it to empty message.
  152. broadcast-message: "\n&cSpigot&6Guard&7: &cPlayer &6{PLAYER} &cis suspected of &6suspicious activity &c(like trying to crash/lag the server) and he has been blocked. &c\n"
  153. disconnect-message: "&8&l&n-------&r&8&l[ &cSpigot&6Guard &8&l]&n-------\n&cYou are temporary blocked for 2 days.\n&cYou are suspected of &6suspicious activity&c\n&cOur discord: discord.com/xyz\n&8&l&n-------&r&8&l[ &cSpigot&6Guard &8&l]&n-------"
  154. medium: #We are almost sure that player has tried to crash the server
  155. #Let's build another punishment type!
  156. punishment-type: SEND_BOOK_MESSAGE
  157. send-book-message:
  158. book:
  159. author: "yooniks"
  160. title: "Exploits..."
  161. content:
  162. - "This is the first page of book"
  163. - "This is the second page of book!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement