SHARE
TWEET

Untitled

a guest Feb 14th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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: 1000
  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: 150
  34.   array:
  35.     max-int-array-size: 50
  36.   #Max NBT keys
  37.   #Default: 60
  38.   max-keys: 30
  39. #####
  40. #Blocking ArmAnimation packet spam
  41. arm-animation:
  42.   #You can disable it if your server is above 1.9
  43.   enabled: true
  44.   #Player can send only one ArmAnimation packet in this period
  45.   timestamp: 650
  46. #####
  47. #Packet limitter
  48. ###
  49. #Is packet limitter enabled?
  50. packets-limitter: true
  51. packets:
  52.   #Simple class name
  53.   PacketPlayInWindowClick:
  54.     #Packet limit
  55.     limit: 60
  56.     #Cancel event only? If "true", then we don't kick a player when he reaches a limit
  57.     cancel-only: false
  58.   PacketPlayInUseEntity:
  59.     limit: 500
  60.     cancel-only: false
  61.   PacketPlayInEntityAction:
  62.     limit: 150
  63.     cancel-only: true
  64.   PacketPlayInUpdateSign:
  65.     limit: 3
  66.     cancel-only: false
  67.   PacketPlayInTabComplete:
  68.     limit: 25
  69.     cancel-only: false
  70.   PacketPlayInFlying:
  71.     limit: 770
  72.     cancel-only: true
  73.   PacketPlayInPositionLook:
  74.     limit: 770
  75.     cancel-only: true
  76.   PacketPlayInArmAnimation:
  77.     limit: 500
  78.     cancel-only: false
  79.   PacketPlayInBlockDig:
  80.     limit: 700
  81.     cancel-only: true
  82.   PacketPlayInBlockPlace:
  83.     limit: 50
  84.     cancel-only: false
  85.   PacketPlayInChat:
  86.     limit: 4
  87.     cancel-only: false
  88.   PacketPlayInSettings:
  89.     limit: 400
  90.     cancel-only: false
  91.   PacketPlayInAbilities:
  92.     limit: 70
  93.     cancel-only: false
  94.   PacketPlayInCustomPayload:
  95.     limit: 15
  96.     cancel-only: true
  97.   ##
  98.   # Advanced checks start
  99.   ##
  100.   ItemDoNotMatch:
  101.     limit: 2
  102.     cancel-only: false
  103.   IOOBE:
  104.     limit: 5
  105.     cancel-only: false
  106.   InvalidSlot:
  107.     limit: 15
  108.     cancel-only: false
  109.   InvalidMovement:
  110.     limit: 15
  111.     cancel-only: false
  112.   ##
  113.   # Advanced checks end
  114.   ##
  115. #
  116. ##
  117. # Other checks
  118. ##
  119. other-checks:
  120.   #Sign crasher
  121.   sign-check:
  122.     enabled: true
  123.     max-bytes: 34
  124.   #Move/flying/chunk crasher
  125.   position-check:
  126.     enabled: true
  127. ##
  128. # Punishment system
  129. # SOON! It's not implemented yet, so you don't have to configure it.
  130. ##
  131. punishment-system:
  132.   enabled: false
  133.   punishments:
  134.     levels:
  135.       high: #We are almost sure that player has tried to crash the server
  136.         #
  137.         #Available punishment types: SEND_BOOK_MESSAGE, BLOCK
  138.         #SEND_BOOK_MESSAGE opens a book when player joins again to the server.
  139.         #Block just temporary blocks player from the server and displays broadcast about the player
  140.         #
  141.         punishment-type: BLOCK
  142.         #Let's build punishment type options!
  143.         block:
  144.           #If you want to disable broadcast just set it to empty message.
  145.           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"
  146.           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-------"
  147.       medium: #We are almost sure that player has tried to crash the server
  148.         #Let's build another punishment type!
  149.         punishment-type: SEND_BOOK_MESSAGE
  150.         send-book-message:
  151.           book:
  152.             author: "yooniks"
  153.             title: "Exploits..."
  154.             content:
  155.               - "This is the first page of book"
  156.               - "This is the second page of book!"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top