Advertisement
Jabber666

Piper Survival Clearlagg config. Preventing facepalms NP.

Feb 10th, 2018
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 12.56 KB | None | 0 0
  1. #--------------------------------------------------------------------#
  2. #                   ClearLag Configuration File                      #
  3. #--------------------------------------------------------------------#
  4. # Configure to your liking, reload the config by tying: /lagg reload #
  5. #                                -                                   #
  6. #  Here is a helpful tutorial on this configuration setup! (Updated) #
  7. # http://dev.bukkit.org/bukkit-plugins/clearlagg/pages/config-setup/ #
  8. #--------------------------------------------------------------------#
  9. #          All possible mob names: https://goo.gl/cch8YK             #
  10. #--------------------------------------------------------------------#
  11. #
  12. #This config was done by Jabbablock for Piper Survival Jan 2018 and prevents alot of item losses.
  13. #
  14. settings:
  15.   auto-update: false
  16.   config-version: 9
  17.   disable-waterlife: false
  18.   keep-spawn-in-memory: true
  19.   enable-api: true
  20.  
  21. #Meters your ram usage, if it goes above 'limit', run 'commands:'
  22. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  23. # -- 'interval' is how often clearlag will check your ram usage
  24. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  25. ram-meter:
  26.   enabled: false
  27.   interval: 20
  28.   ram-limit: 5000
  29.   commands:
  30.    - 'lagg killmobs'
  31.     - 'lagg clear'
  32.     - 'lagg gc'
  33.  
  34. #This limits how fast a user can move from chunk-to-chunk and will prevent users from overloading your server
  35. #I HIGHLY recommend you use this on servers with increased player-speeds/or fly enabled
  36. # -- 'limit-only-fly' ONLY limit players who are currently flying
  37. # -- 'chunk-to-chunk-time' is in milliseconds. It's the time users are allowed to move from one chunk
  38. # -- to another.  Going faster over chunks then that number will cancel their movement
  39. player-speed-limiter:
  40.   enabled: false
  41.   chunk-to-chunk-time: 600
  42.   limit-only-fly: false
  43.  
  44. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  45. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  46. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  47. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  48. mob-breeding-limiter:
  49.   enabled: false
  50.   max-mobs: 16
  51.   check-radius: 8
  52.  
  53. #Should clearlag purge logs under /logs when the server starts?
  54. # -- 'days-old' means how many days old can the log be to be deleted
  55. log-purger:
  56.   enabled: false
  57.   days-old: 2
  58.  
  59. #What type of entities SHOULD NOT be removed while doing /lagg area?
  60. area-filter:
  61.    - Itemframe
  62.     - Minecart
  63.     - Wolf
  64.     - Villager
  65. #    - Horse
  66. #    - IronGolem
  67.     - ARMOR_STAND
  68.     - ArmorStand
  69. #    - Shulker
  70. #    - ocelot
  71. #    - Llama
  72. #Should clearlag reset the config, or attempt to update your config on updates
  73. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  74. # -- settings this to false will make clearlag update your config rather then resetting
  75. config-updater:
  76.   force-update: false
  77.  
  78. #This limits the mob egg spawners so players cannot "overload" the server with them
  79. # -- 'check-radius' is the radius clearlag will check for nearby entities
  80. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  81. mobegg-limiter:
  82.   enabled: true
  83.   check-radius: 8
  84.   max-mobs: 16
  85.  
  86. #Disable new chunk generation, or just put a cap on how many can load at once.
  87. #May cause many bugs with Spigot 1.8+, not recommended!
  88. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  89. # -- !UNSTABLE ON SPIGOT BUILDS!
  90. chunk-limiter:
  91.   enabled: false
  92.   limit: 6000
  93.   create-new-chunks: true
  94.  
  95. #This modifies the view range of entities
  96. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  97. # -- If it's too high, expect bugs / lots of lag
  98. mob-range:
  99.   enabled: false
  100.   zombie: 15
  101.   skeleton: 10
  102.   creeper: 9
  103.  
  104. #How long should items/Mobs be left on the ground
  105. # -- live-time's go by ticks (20 ticks a second)
  106. live-time:
  107.   enabled: false
  108.   interval: 10
  109.   mobtimer: true
  110.   itemtimer: false
  111.   arrowtimer: false
  112.   arrowkilltime: 15
  113.   moblivetime: 120
  114.   itemlivetime: 240
  115.  
  116. #This option disallows the placement of too many tnt-minecarts
  117. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  118. tnt-minecart:
  119.   enabled: false
  120.   max: 2
  121.   radius: 6
  122.  
  123. #This option reduces global dispenser fire rate
  124. # -- 'time' is in milliseconds
  125. dispenser-reducer:
  126.   enabled: false
  127.   time: 100
  128.  
  129. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  130. tnt-reducer:
  131.   enabled: false
  132.  
  133. #This option reduces fire spread rate
  134. # -- 'time' is in milliseconds
  135. firespread-reducer:
  136.   enabled: false
  137.   time: 2000
  138.  
  139. #How many entities should one chunk be allowed to hold?
  140. # -- 'entities' lists all the entities that will be counted
  141. #     and possibly removed.
  142. chunk-entity-limiter:
  143.   enabled: false
  144.   limit: 12
  145.   entities:
  146.    - Squid
  147.     - Zombie
  148.     - Skeleton
  149.     - Creeper
  150.     - Chicken
  151.     - Pig
  152.     - Sheep
  153.     - Cow
  154.     - Horse
  155.     - ocelot
  156.     - Llama
  157.     - Donkey
  158.     - ENDERMAN
  159.     - ENDERMITE
  160.     - EVOKER
  161.     - VEX
  162.     - VINDICATOR
  163.     - BOAT
  164.     - SPIDER
  165.     - SLIME
  166.     - GHAST
  167.     - PIG_ZOMBIE
  168.     - CAVE_SPIDER
  169.     - MAGMA_CUBE
  170.     - WITCH
  171.     - BAT
  172.     - GUARDIAN
  173.     - SHULKER
  174.     - WOLF
  175.     - SNOWMAN
  176.     - IRON_GOLEM
  177.     - HORSE
  178.     - RABBIT
  179.     - POLAR_BEAR
  180.     - BLAZE
  181.     - SILVERFISH
  182.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  183.  
  184. #How many mobs should be allowed to spawn globally
  185. # -- 'interval' is the check interval check the current spawn amounts
  186. spawn-limiter:
  187.   enabled: false
  188.   interval: 15
  189.   mobs: 750
  190.   animals: 350
  191.  
  192. #Meters your TPS, if it goes to low, run the commands you wrote below!
  193. # -- 'interval' is how often tps-meter will check the TPS
  194. # -- 'tps-trigger' is at what TPS the commands will be ran at
  195. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  196. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  197. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  198. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  199. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  200. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  201. tps-meter:
  202.   enabled: false
  203.   trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  204.   recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  205.   broadcast-enabled: false
  206.   interval: 15
  207.   tps-trigger: 14.0
  208.   tps-recover: 19.0
  209.   commands:
  210.    - 'lagg killmobs'
  211.     - 'lagg clear'
  212.     - 'lagg halt'
  213.   recover-commands:
  214.    - 'lagg halt'
  215. #This is /lagg killmobs, put what you DON'T want removed!
  216. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  217. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  218. kill-mobs:
  219.   remove-named: false
  220.   mob-filter:
  221.   - Villager
  222.    - Wolf
  223.    - Sheep
  224.    - Horse
  225.    - Cow
  226.    - Mushroomcow
  227.    - ocelot
  228.    - Llama
  229.    - Pig
  230. #  - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  231. #  - Zombie hasName <- This entity will be filtered if it HAS a name
  232.    - ARMOR_STAND
  233.    - HORSE
  234.    - RABBIT
  235.    - POLAR_BEAR
  236. #   - Shulker
  237. #This nerfs mob-spawners (Natural and player-made)
  238. #-------------------------------------------------
  239. #This goes by chunks rather then spawners. This is to prevent
  240. #a large buildup of mob-spawners within a small region to "bypass"
  241. #your set limit. It also allows for keys to be generated more easily
  242. #increasing the performance
  243. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  244. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  245. # --  the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  246. mobspawner:
  247.   enabled: true
  248.   max-spawn: 16
  249.   remove-mobs-on-chunk-unload: true
  250.  
  251. #Dont use if you have CB++ or Spigot!
  252. item-merger:
  253.   enabled: false
  254.   radius: 5
  255.  
  256. #Auto-removal options
  257. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  258. # -- NOTE: The below 'remove' section applies to this remover!
  259. # -- NOTE: Putting the interval to low will cause issues!
  260. # -- NOTE: To disable "warnings", set it to "warnings: []"
  261. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  262. #
  263. #        !==[ All string values MUST be inside '']==!
  264. #
  265. # -- 'remove-entities' lists what entities should be REMOVED on removal
  266. # -- 'warnings' list warnings to be given out at specified times
  267. auto-removal:
  268.   enabled: true
  269.   broadcast-message: '&8[ClearLag] &7Cleared &a&l+RemoveAmount'
  270.   broadcast-removal: true
  271.   autoremoval-interval: 480
  272.   world-filter:
  273.  # - this_world <-This world will be ignored during removal!
  274.   boat: false
  275.   falling-block: true
  276.   experience-orb: true
  277.   painting: false
  278.   projectile: false
  279.   item: true
  280.   itemframe: false
  281.   minecart: false
  282.   primed-tnt: true
  283.   item-filter:
  284.    - 397
  285.     - 159
  286.     - 146
  287.     - 54
  288.     - 33
  289.     - 95
  290.     - 61
  291.     - 23
  292.     - 151
  293.     - 42
  294.     - 97
  295.     - 58
  296.     - 151
  297.     - 264
  298.     - 265
  299.     - 310
  300.     - 311
  301.     - 312
  302.     - 313
  303.     - 266
  304.     - 353
  305.     - 289
  306.     - 348
  307.     - 276
  308.     - 277
  309.     - 278
  310.     - 279
  311.     - 336
  312.     - 56
  313.     - 57
  314.     - 261
  315.     - 14
  316.     - 15
  317.     - 16
  318.     - 21
  319.     - 23
  320.     - 49
  321.     - 129
  322.     - 153
  323.     - 154
  324.     - 416
  325.     - 130
  326.     - 52
  327.     - 402
  328.     - ArmorStand
  329.   # - 264
  330.   # - 444 <-This item-id will be ignored during removal!
  331.   remove-entities:
  332.  # - cow <- This mob-type will be REMOVED during removal!
  333.   # - MINECART_MOB_SPAWNER
  334.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  335.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  336.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  337.   warnings:
  338.        - 'time:420 msg:&8[ClearLag] &7in &e+remaining&7 s'
  339.         - 'time:450 msg:&8[ClearLag] &7in &6+remaining&7 s'
  340.         - 'time:475 msg:&8[ClearLag] &7in &40+remaining&7 s'
  341.  
  342. #What should be removed during /lagg clear
  343. command-remove:
  344.   world-filter:
  345.  # - this_world <-This world will be ignored during removal!
  346.   broadcast-removal: false
  347.   boat: false
  348.   falling-block: true
  349.   experience-orb: true
  350.   painting: false
  351.   projectile: false
  352.   item: true
  353.   itemframe: false
  354.   minecart: false
  355.   primed-tnt: true
  356.   item-filter:
  357.    - 397
  358.     - 159
  359.     - 146
  360.     - 54
  361.     - 33
  362.     - 95
  363.     - 61
  364.     - 23
  365.     - 151
  366.     - 42
  367.     - 97
  368.     - 58
  369.     - 151
  370.     - 264
  371.     - 265
  372.     - 310
  373.     - 311
  374.     - 312
  375.     - 313
  376.     - 266
  377.     - 276
  378.     - 353
  379.     - 289
  380.     - 348
  381.     - 277
  382.     - 278
  383.     - 279
  384.     - 336
  385.     - 56
  386.     - 57
  387.     - 261
  388.     - 14
  389.     - 15
  390.     - 16
  391.     - 21
  392.     - 23
  393.     - 49
  394.     - 129
  395.     - 153
  396.     - 154
  397.     - 416
  398.     - 130
  399.     - 52
  400.     - ArmorStand
  401.   # - 222 <-This item-id will be ignored during removal!
  402.   # - 265
  403.   remove-entities:
  404.  # - cow <- This mob-type will be REMOVED during removal!
  405.   # - MINECART_MOB_SPAWNER
  406.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  407.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  408.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  409.  
  410. limit:
  411.   enabled: false
  412.   max: 1800
  413.   check-interval: 30
  414.   broadcast-message: '&8[ClearLag] &7Limit reached, removed &f+RemoveAmount &7Entities!'
  415.   world-filter:
  416.  # - this_world <-This world will be ignored during removal!
  417.   broadcast-removal: true
  418.   boat: true
  419.   falling-block: true
  420.   experience-orb: true
  421.   painting: false
  422.   projectile: true
  423.   item: true
  424.   itemframe: false
  425.   minecart: false
  426.   primed-tnt: true
  427.   item-filter:
  428.    - 397
  429.     - 159
  430.     - 146
  431.     - 54
  432.     - 33
  433.     - 95
  434.     - 61
  435.     - 23
  436.     - 151
  437.     - 42
  438.     - 97
  439.     - 58
  440.     - 151
  441.     - 264
  442.     - 265
  443.     - 310
  444.     - 311
  445.     - 312
  446.     - 313
  447.     - 266
  448.     - 276
  449.     - 277
  450.     - 278
  451.     - 279
  452.     - 353
  453.     - 289
  454.     - 348
  455.     - 336
  456.     - 56
  457.     - 57
  458.     - 261
  459.     - 14
  460.     - 15
  461.     - 16
  462.     - 21
  463.     - 23
  464.     - 49
  465.     - 129
  466.     - 153
  467.     - 154
  468.     - 416
  469.     - 130
  470.     - 52
  471.     - ArmorStand
  472.   # - 264
  473.   # - 232 <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement