LagRemover config

Aug 19th, 2019
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Plugin: LagRemover
  2. #
  4. #----------------------------------------------------------#
  6. # The number at the end of the of each line is how much enabling this is going to improve server performance compared to other features
  7. # The numbers are on a scale of 1-10
  8. # All features are enabled by default
  9. version: 0.1.7
  11. # Automatically removes loaded chunks in worlds that have no players every 10 seconds. (9)
  12. autoChunk: true
  14. # Removes spawn chunks for all worlds in your server. (10)
  15. noSpawnChunks: true
  17. # This determines if the Smart Lag Detection AI is working to keep your server lag free. (10)
  18. smartlagai: true
  20. # This prevents the LaggRemover AI from repeatedly attempting to reduce lag if the server grows beyond repair. This
  21. # should rarely happen, but if it does, this will prevent LaggRemover from adding to the problem. Time in minutes.
  22. smartaicooldown: 3
  24. # Smart lag detection. If a player types "lag" or "lagg" in the chat and your server TPS is less than this number, the servers lag removal AI will become active. (10)
  25. TPS: 16.00
  27. # Smart lag detection. If a player types "lag" or "lagg" in the chat and your server has less than this amount of ram left, the servers lag removal AI will become active. UNIT IN MEGABYTES (10)
  28. RAM: 100
  30. # These are the protocols are run by the LaggRemover AI when your server is detected as lagging for one or both of the following reasons. You can list all protocols by typing /lr protocol list
  31. lag_protocols:
  32. low_ram:
  33. cc_items: '{"Delay":"true", "Count": "false"}'
  34. low_tps:
  35. cc_entities: '{"Delay":"true", "Count": "false", "ToClear":"null", "World":"%all%"}'
  36. periodically:
  37. cc_items: '{"Delay":"true", "Count": "false"}'
  39. # This is a list of worlds that will not be automatically saved by the server. This reduces disk usage but can only be used for worlds in which the terrain is not being edited. Add DISABLED to the list to allow all worlds to automatically save. (6)
  40. nosaveworlds:
  41. - DISABLED
  43. # This automatically removes lag after a certain period of time. The time is in minutes.
  44. auto-lag-removal:
  45. run: false
  46. every: 10
  48. # This prevents mobs from spawning in a chunk that contains more than the amount of entities specified in the "thinAt" value. (10 because it can prevent players from creating lag machines)
  49. thinMobs: true
  51. # The max number of entities that can spawn in a single chunk.
  52. thinAt: 300
  54. # Allows the LaggRemover AI (Artificial Inteligence) to perform action to lower the amount of packets being sent to just the player that typed lag. (10)
  55. doRelativeAction: true
  57. # When enabled, only allows the removal of items for relative lag removal for players.
  58. doOnlyItemsForRelative: false
  60. # This prevents non-hostile mobs from being removed by the relative lag removal system. THIS HAS TO BE DISABLED TO USE doOnlyItemsForRelative
  61. dontDoFriendlyMobsForRelative: true
  63. # When the LaggRemover AI detects a player is lagging. It will attempt to remove lag relative to player before looking at the whole server.
  64. # This defines the max radius in blocks the LaggRemover AI can remove entities specified above. Radius in blocks.
  65. localLagRadius: 10
  67. # Defines what percent of the entities in the "localLagRadius" are removed.
  68. localThinPercent: 80
  70. # How often the LaggRemover AI can remove lag for a person (in seconds). This is to prevent players from tricking the AI into repeatedly clearing mobs or purging memory.
  71. localLagRemovalCooldown: 60
  73. # Makes local lag removal only be triggered if the amount of entities in the 'localLagRadius' is greater than this
  74. localLagTriggered: 100
  76. # Time between messages a player can type in chat. If a player spams chat this can create lag. (in ticks 20 ticks = 1 second) If a player has the permission lr.nochatdelay, they will not have their chat limited.
  77. chatDelay: 0
  79. # Change this to modify the [BetterPerformance] prefix. NOTE: The showing of the prefix shows professionalism for the technology being used by your server, if you modify it from its default value, it does not.
  80. prefix: '&4&l[BetterPerformance] '
  82. # This is whether you would like this plugin to automatically check and install new updates. This is highly recommended.
  83. auto-update: true
  85. # The warning messages and how long you would like a warning to be for a certain protocol.
  86. protocol_warnings:
  87. cc_items:
  88. time: 60
  89. stages:
  90. - '60:&4&l[BetterPerformance] &cClearing &bGround Items &cin &b60 &cseconds!'
  91. - '20:&4&l[BetterPerformance] &cClearing &bGround Items &cin &b20 &cseconds!'
  92. - 'f:&2&l[BetterPerformance] &aAll &bitems &aon the ground have been cleared.'
  93. cc_entities:
  94. time: 60
  95. stages:
  96. - '60:&4&l[BetterPerformance] &cClearing &bhostile entities &cin &b60 &cseconds'
  97. - '20:&4&l[BetterPerformance] &cClearing &bhostile entities &cin &b20 &cseconds'
  98. - 'f:&2&l[BetterPerformance] &aAll &bhostile entities &ahave been cleared.'
  100. # Enables/Disables the "LaggRemover V2" splash screen when the plugin starts
  101. splashScreen: false
RAW Paste Data