kjfalkeiae

Untitled

Apr 27th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 11.99 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. settings:
  12.   auto-update: true
  13.   config-version: 13
  14.   enable-api: true
  15.  
  16. #Limits the amount of item transfers for all the hoppers in a single chunk
  17. # -- 'transfer-limit' How many transfers per check interval until the hopper should be disabled
  18. # -- 'check-interval' In seconds, on what interval should the transfer limit be reset
  19. hopper-limiter:
  20.   enabled: false
  21.   transfer-limit: 5
  22.   check-interval: 1
  23.  
  24. #Meters your ram usage, if it goes above 'limit', run 'commands:'
  25. # -- 'ram-limit' is in MB, do not set it exactly to your max allocated ram amount
  26. # -- 'interval' is how often clearlag will check your ram usage
  27. # -- 'commands' lists the commands that will be ran upon hitting your ram-limit
  28. ram-meter:
  29.   enabled: true
  30.   interval: 20
  31.   ram-limit: 800
  32.   commands:
  33.    - 'lagg gc'
  34.  
  35. #Configure what the '/lagg halt' command does
  36. # -- 'remove-entities' remove entities such as items, primed-tnt, and mobs
  37. # -- 'disable-natural-entity-spawning' disables the server's natural world spawning
  38. # -- 'halted' this section defines which actions should be halted during '/lagg halt'
  39. halt-command:
  40.   remove-entities: true
  41.   disable-natural-entity-spawning: true
  42.   halted:
  43.     fire: true
  44.     fire-burn: true
  45.     explosion: true
  46.     decay: true
  47.     block-fade: true
  48.     block-form: true
  49.     block-spread: true
  50.     block-natural-change: true
  51.  
  52. #This limits how fast a user can move by walking or flying in a single tick (20 ticks a second)
  53. #I HIGHLY recommend you use this on servers with increased player-speed/fly to prevent chunk overload
  54. # -- 'move-max-speed' Max speed on foot
  55. # -- 'fly-max-speed'  Max speed while flying
  56. player-speed-limiter:
  57.   enabled: false
  58.   move-max-speed: 0.7
  59.   fly-max-speed: 0.8
  60.  
  61. #Should mobs be nerfed to prevent over-breeding to reduce CPU usage (And possibly raise TPS)
  62. #When mobs are stuck too close, collisions are extremely intensive putting a pretty mean load on the server
  63. # -- 'max-mobs' means how many bably/adult animals are allowed within the 'check-radius'
  64. # -- 'check-radius' is the radius of what clearlag will check for 'max-mobs'
  65. mob-breeding-limiter:
  66.   enabled: false
  67.   max-mobs: 6
  68.   check-radius: 15
  69.  
  70. #Should clearlag purge logs under /logs when the server starts?
  71. # -- 'days-old' means how many days old can the log be to be deleted
  72. log-purger:
  73.   enabled: false
  74.   days-old: 3
  75.  
  76. #What type of entities SHOULD NOT be removed while doing /lagg area?
  77. area-filter:
  78.    - Itemframe
  79.     - Minecart
  80.     - Wolf
  81.     - Villager
  82.     - Horse
  83.     - ARMOR_STAND
  84.  
  85. #Should clearlag reset the config, or attempt to update your config on updates
  86. # -- 'force-update' is whether or not clearlag will reset your config with a newer version
  87. # -- settings this to false will make clearlag update your config rather then resetting
  88. config-updater:
  89.   force-update: false
  90.  
  91. #This limits the mob egg spawners so players cannot "overload" the server with them
  92. # -- 'check-radius' is the radius clearlag will check for nearby entities
  93. # -- 'max-mobs' is how many entities may be in the radius before the spawning is blocked
  94. mobegg-limiter:
  95.   enabled: false
  96.   check-radius: 8
  97.   max-mobs: 5
  98.  
  99. #Disable new chunk generation, or just put a cap on how many can load at once.
  100. #May cause many bugs with Spigot 1.8+, not recommended!
  101. # -- 'create-new-chunks' disables or enables chunk creation. false would disallow new chunks
  102. # -- !UNSTABLE ON SPIGOT BUILDS!
  103. chunk-limiter:
  104.   enabled: false
  105.   limit: 6000
  106.   create-new-chunks: true
  107.  
  108. #This modifies the view range of entities
  109. # -- Lower it is, the better your entity tick will be and the more CPU cycles you'll save
  110. # -- If it's too high, expect bugs / lots of lag
  111. mob-range:
  112.   enabled: false
  113.   zombie: 30
  114.   skeleton: 30
  115.   creeper: 20
  116.  
  117. #How long should items/Mobs be left on the ground
  118. # -- live-time's go by ticks (20 ticks a second)
  119. live-time:
  120.   enabled: false
  121.   interval: 10
  122.   mobtimer: true
  123.   itemtimer: true
  124.   arrowtimer: true
  125.   arrowkilltime: 15
  126.   moblivetime: 600
  127.   itemlivetime: 240
  128.  
  129. #This option disallows the placement of too many tnt-minecarts
  130. # -- 'radius' is the radius clearlag will check for TNT-Minecarts
  131. tnt-minecart:
  132.   enabled: false
  133.   max: 2
  134.   radius: 6
  135.  
  136. #This option reduces global dispenser fire rate
  137. # -- 'time' is in milliseconds
  138. dispenser-reducer:
  139.   enabled: false
  140.   time: 100
  141.  
  142. #This option reduces the explosions of mass amounts of tnt, and reduces tnt lag
  143. # -- 'check-radius' is the radius clearlag will check for primed TNT
  144. # -- 'max-primed' is the max primed TNT within the radius allowed before clearlag begins to remove
  145. tnt-reducer:
  146.   enabled: false
  147.   check-radius: 5
  148.   max-primed: 3
  149.  
  150. #This option reduces fire spread rate
  151. # -- 'time' is in milliseconds
  152. firespread-reducer:
  153.   enabled: false
  154.   time: 2000
  155.  
  156. #How many entities should one chunk be allowed to hold?
  157. # -- 'entities' lists all the entities that will be counted
  158. #     and possibly removed.
  159. chunk-entity-limiter:
  160.   enabled: false
  161.   limit: 10
  162.   entities:
  163.    - Squid
  164.     - Zombie
  165.     - Skeleton
  166.     - Creeper
  167.     - Chicken
  168.     - Pig
  169.     - Sheep
  170.     - Cow
  171.     - Horse
  172.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  173.  
  174. #How many mobs should be allowed to spawn globally
  175. # -- 'interval' is the check interval check the current spawn amounts
  176. spawn-limiter:
  177.   enabled: false
  178.   interval: 15
  179.   mobs: 300
  180.   animals: 300
  181.  
  182. #Meters your TPS, if it goes to low, run the commands you wrote below!
  183. # -- 'interval' is how often tps-meter will check the TPS
  184. # -- 'tps-trigger' is at what TPS the commands will be ran at
  185. # -- 'tps-recover' is at what TPS should the TPS be considered stable after 'tps-trigger' is executed
  186. # -- 'commands' lists what commands will be executed when tps-tigger is reached
  187. # -- 'recover-commands' lists what commands will be executed when tps-recover is reached
  188. # -- 'trigger-broadcast-message' specifies which message should be broadcasted when tps-trigger runs
  189. # -- 'recover-broadcast-message' specifies which message should be broadcasted when TPS recovers
  190. # -- 'broadcast-enabled' defines whether or not tps-meter should broadcast
  191. tps-meter:
  192.   enabled: false
  193.   trigger-broadcast-message: '&6[ClearLag] &cThe server is overloaded, executing lag-perventing measures'
  194.   recover-broadcast-message: '&6[ClearLag] &aThe server is no longer overloaded!'
  195.   broadcast-enabled: false
  196.   interval: 15
  197.   tps-trigger: 14.0
  198.   tps-recover: 19.0
  199.   commands:
  200.    - 'lagg killmobs'
  201.     - 'lagg clear'
  202.     - 'lagg halt'
  203.   recover-commands:
  204.    - 'lagg halt'
  205.  
  206. #This is /lagg killmobs, put what you DON'T want removed!
  207. # -- 'remove-named', when FALSE entities with custom names will NOT be removed
  208. # -- 'mob-filter' lists which mobs will be IGNORED during /lagg killmobs
  209. kill-mobs:
  210.    remove-named: false
  211.    mob-filter:
  212.   - Villager
  213.    - Wolf
  214. #  - Pig !name="Test" <- This entity will filtered if the name does NOT equal "Test"
  215. #  - Zombie hasName <- This entity will be filtered if it HAS a name
  216.    - ARMOR_STAND
  217.    - Horse
  218.  
  219. #This nerfs mob-spawners (Natural and player-made)
  220. #-------------------------------------------------
  221. #This goes by chunks rather then spawners. This is to prevent
  222. #a large buildup of mob-spawners within a small region to "bypass"
  223. #your set limit. It also allows for keys to be generated more easily
  224. #increasing the performance
  225. # -- 'max-spawn' is the maximum mobs allowed to spawn by a mob-spawner
  226. # -- 'remove-mobs-on-chunk-unload' is whether or not Clearlag should remove
  227. # --  the mobs spawned by the mobspawner upon chunk unload (Highly Recommended)
  228. mobspawner:
  229.   enabled: false
  230.   max-spawn: 4
  231.   remove-mobs-on-chunk-unload: true
  232.  
  233. #Dont use if you have CB++ or Spigot!
  234. item-merger:
  235.   enabled: false
  236.   radius: 6
  237.  
  238. #Auto-removal options
  239. # -- warnings works like this; time = the time warning should be given, msg = warning message at that time
  240. # -- NOTE: The below 'remove' section applies to this remover!
  241. # -- NOTE: Putting the interval to low will cause issues!
  242. # -- NOTE: To disable "warnings", set it to "warnings: []"
  243. # -- NOTE: bukkit.broadcast.user permission will allow users to see broadcasts (If not enabled by default)
  244. #
  245. #        !==[ All string values MUST be inside '']==!
  246. #
  247. # -- 'remove-entities' lists what entities should be REMOVED on removal
  248. # -- 'warnings' list warnings to be given out at specified times
  249. auto-removal:
  250.   enabled: true
  251.   broadcast-message: '&6<ClearLag> &b+RemoveAmount &e個の邪魔なものを世界から排除しました。'
  252.   broadcast-removal: true
  253.   autoremoval-interval: 460
  254.   world-filter:
  255.  # - this_world <-This world will be ignored during removal!
  256.   boat: false
  257.   falling-block: true
  258.   experience-orb: true
  259.   painting: false
  260.   projectile: true
  261.   item: true
  262.   itemframe: false
  263.   minecart: false
  264.   primed-tnt: true
  265.   item-filter:
  266.  # - Stone <-This item-id will be ignored during removal!
  267.   # - Grass
  268.   remove-entities:
  269.  # - cow <- This mob-type will be REMOVED during removal!
  270.   # - MINECART_MOB_SPAWNER
  271.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  272.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  273.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  274.   warnings:
  275.        - 'time:400 msg:&4<<ClearLag>> &c世界にある邪魔なものを &7+remaining &c秒後に&b排除&cします。'
  276.         - 'time:440 msg:&4<<ClearLag>> &c世界にある邪魔なものを &7+remaining &c秒後に&b排除&cします。'
  277.         - 'time:455 msg:&4<<ClearLag>> &c世界にある邪魔なものを &7+remaining &c秒後に&b排除&cします。'
  278.         - 'time:456 msg:&4<<ClearLag>> &c世界にある邪魔なものを &7+remaining &c秒後に&b排除&cします。'
  279.         - 'time:457 msg:&4<<ClearLag>> &c世界にある邪魔なものを &7+remaining &c秒後に&b排除&cします。'
  280.         - 'time:458 msg:&4<<ClearLag>> &c世界にある邪魔なものを &7+remaining &c秒後に&b排除&cします。'
  281.         - 'time:459 msg:&4<<ClearLag>> &c世界にある邪魔なものを &7+remaining &c秒後に&b排除&cします。'
  282.  
  283. #What should be removed during /lagg clear
  284. command-remove:
  285.   world-filter:
  286.  # - this_world <-This world will be ignored during removal!
  287.   broadcast-removal: false
  288.   boat: true
  289.   falling-block: true
  290.   experience-orb: true
  291.   painting: false
  292.   projectile: true
  293.   item: true
  294.   itemframe: false
  295.   minecart: true
  296.   primed-tnt: true
  297.   item-filter:
  298.  # - Stone <-This item-id will be ignored during removal!
  299.   # - Grass
  300.   remove-entities:
  301.  # - cow <- This mob-type will be REMOVED during removal!
  302.   # - MINECART_MOB_SPAWNER
  303.   # - Pig liveTime=100 <- This mob will be REMOVED if it's been alive for 100 ticks (5 seconds)
  304.   # - Minecart !isMounted <- This entity will be REMOVED if it's NOT mounted
  305.   # - Wolf !hasName <- This entity will be REMOVED if it doesn't have a name
  306.  
  307. limit:
  308.   enabled: false
  309.   max: 1000
  310.   check-interval: 60
  311.   broadcast-message: '&6[ClearLag] &aLimit reached, removed +RemoveAmount Entities!'
  312.   world-filter:
  313.  # - this_world <-This world will be ignored during removal!
  314.   broadcast-removal: true
  315.   boat: true
  316.   falling-block: true
  317.   experience-orb: true
  318.   painting: false
  319.   projectile: true
  320.   item: true
  321.   itemframe: false
  322.   minecart: true
  323.   primed-tnt: true
  324.   item-filter:
  325.  # - Stone
  326.   # - Grass <-This item-id will be ignored during removal!
Advertisement
Add Comment
Please, Sign In to add comment