tubelius

NoLagg config

Mar 16th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.63 KB | None | 0 0
  1. #> This is the configuration of NoLagg, in here you can enable or disable features as you please
  2. #> For more information, you can visit the following websites:
  3. #> http://dev.bukkit.org/server-mods/nolagg/
  4. #> http://forums.bukkit.org/threads/nolagg.36986/
  5.  
  6. # Manages chunk loading and sending to clients using various new settings, also fixes chunk unload problems
  7. chunks:
  8. # Whether Chunks should be loaded on startup
  9. enabled: true
  10. # The minimum chunk sending rate (chunks/tick)
  11. minRate: 0.25
  12. # The maximum chunk sending rate (chunks/tick)
  13. maxRate: 1.5
  14. # If you use a plugin that depends on the net server handler for packets, disable this
  15. # For example, Raw Critics' Ore Obfuscation does not function with this enabled.
  16. # Orebfuscator is supported and works with this enabled.
  17. bufferedLoader:
  18. # Whether or not to use the buffered packet loader to reduce new memory allocation
  19. enabled: true
  20. # The amount of threads to use to compress the chunk packets (increase if it can't keep up)
  21. threadCount: 2
  22. # Sets whether the dynamic view distance should be enforced
  23. # If you use maxTPS, set this to false, or it will conflict!
  24. useDynamicView: true
  25. # Sets multiple view distances for different amounts of loaded chunks (chunk_count: view_chunks)
  26. # To disable, remove all chunk: view nodes. The view is smoothed out between nodes
  27. # The dynamic view distance will never be higher than the server view distance!
  28. dynamicView:
  29. - 0 = 13
  30. - 5000 = 13
  31. - 10000 = 13
  32. - 60000 = 13
  33. # Sets in what order chunks are sent to the client
  34. # Available modes: SLOPE and SPIRAL
  35. sendOrder: SLOPE
  36.  
  37. # Can examine server tick rate performance
  38. examine:
  39. # Whether Examine should be loaded on startup
  40. enabled: true
  41.  
  42. # The maximum time in ticks a generated examine report can be
  43. # It can be increased, but the generated file might be too large for the viewer to handle
  44. maxExamineTime: 72000
  45.  
  46. # Can monitor and log server and player performance statistics
  47. monitor:
  48. # Whether Monitor should be loaded on startup
  49. enabled: true
  50. # The interval at which new performance snapshots are generated
  51. monitorInterval: 40
  52. # Whether or not to start logging server performance on startup
  53. startLoggingOnStartup: false
  54.  
  55. # The server notifies players (with a permission) when the tick rate drops below the threshold
  56. lagNotifier:
  57. # Enable or disable this feature
  58. enabled: true
  59. # The interval in miliseconds to send this message (1000 ms = 1 second)
  60. interval: 10000
  61. # The tick rate at which it starts broadcasting
  62. threshold: 15.0
  63. # The message to send to these players
  64. message: &cThe server is under heavy load and can't keep up!
  65.  
  66. # Buffers items in chunks to prevent lag-outs because of lots of items
  67. itembuffer:
  68. # Whether ItemBuffer should be loaded on startup
  69. enabled: true
  70. # The maximum amount of items allowed per chunk
  71. maxItemsPerChunk: 80
  72.  
  73. # Stacks nearby items to counter item-drop spammers and reduce item count on the server
  74. itemstacker:
  75. # Whether ItemStacker should be loaded on startup
  76. enabled: true
  77. # The block radius to look for other items when stacking
  78. # You can set it for multiple worlds
  79. radius:
  80. default: 1.0
  81. # The amount of (physical) items needed to form one stack
  82. threshold: 2
  83. # The interval in ticks at which item stacking is performed (1 tick = 1/20 sec)
  84. interval: 20
  85.  
  86. # The item types (materials) to ignore during item stacking, buffering and spawn limits
  87. # Use 'orb' to ignore experience orbs
  88. ignoredItemTypes:
  89. - DIAMOND_PICKAXE
  90. - WOODEN_HOE
  91.  
  92. # Attempts to fix block and sky lighting bugs in worlds
  93. lighting:
  94. # Whether Lighting should be loaded on startup
  95. enabled: true
  96. # The minimum amount of memory (in MB) allowed while processing
  97. # If the remaining free memory drops below this value, measures are taken to reduce it
  98. # Memory will be Garbage Collected and all worlds will be saved to free memory
  99. minFreeMemory: 100
  100.  
  101. # Keeps entity counts below multiple configured thresholds
  102. spawnlimiter:
  103. # Whether SpawnLimiter should be loaded on startup
  104. enabled: true
  105.  
  106. # Entity type or group names that can not be removed from loaded chunks
  107. # If you don't want certain already spawned entities removed while the server runs,
  108. # Add them to this list
  109. onlySpawning:
  110. - itemdiamond
  111. - itemcoal
  112. - itemironore
  113. - itemgoldore
  114.  
  115. # The general spawn limits (natural spawning)
  116. # For more information, see http://dev.bukkit.org/server-mods/nolagg/pages/spawn-limits-nolagg/
  117. spawnlimits:
  118. # The default spawn limits per world, overridden by world limits
  119. default:
  120. item: 700
  121. mob: 700
  122. creeper: 35
  123. enderman: 35
  124. cavespider: 35
  125. spider: 35
  126. ghast: 35
  127. pigzombie: 35
  128. skeleton: 35
  129. giant: 35
  130. silverfish: 35
  131. slime: 35
  132. zombie: 35
  133. ender_dragon: 35
  134. chicken: 35
  135. cow: 35
  136. sheep: 35
  137. pig: 35
  138. squid: 35
  139. wolf: 35
  140. # The global spawn limits
  141. global:
  142. mobs: 800
  143. item: 800
  144. # The world-specific spawn limits
  145. worlds: {}
  146.  
  147. # The spawn limits for mob spawners
  148. # For more information, see http://dev.bukkit.org/server-mods/nolagg/pages/spawn-limits-nolagg/
  149. mobSpawnerLimits:
  150. # The default spawn limits per world, overridden by world limits
  151. default:
  152. item: 350
  153. mob: 350
  154. creeper: 18
  155. enderman: 18
  156. cavespider: 18
  157. spider: 18
  158. ghast: 18
  159. pigzombie: 18
  160. skeleton: 18
  161. giant: 18
  162. silverfish: 18
  163. slime: 18
  164. zombie: 18
  165. ender_dragon: 18
  166. chicken: 18
  167. cow: 18
  168. sheep: 18
  169. pig: 18
  170. squid: 18
  171. wolf: 18
  172. # The global spawn limits
  173. global:
  174. mobs: 400
  175. item: 400
  176. # The world-specific spawn limits
  177. worlds: {}
  178.  
  179. # Replaces explosion creation with a faster version and buffers TNT ignites to prevent TNT server crashes
  180. tnt:
  181. # Whether TNT should be loaded on startup
  182. enabled: true
  183. # The interval (in ticks) at which TNT is detonated by explosions
  184. detonationInterval: 1
  185. # How many TNT is detonated by explosions per interval
  186. detonationRate: 10
  187. # The explosion crater size factor
  188. explosionRadiusFactor: 1.0
  189. # The amount of explosion packets to send to the clients per tick
  190. explosionRate: 5
  191. # If TNT explosions can change non-TNT blocks
  192. changeBlocks: true
  193.  
  194. # Alters the way worlds are saved to reduce disk usage and to force proper saves
  195. saving:
  196. # Whether Saving should be loaded on startup
  197. enabled: true
  198. # The tick interval at which the server saves automatically (20 ticks = 1 second)
  199. autoSaveInterval: 400
  200. # Whether player data of all players is routinely saved next to the chunks
  201. # This may result in performance issues or even thread locking on some servers
  202. # Enabling it should not be a problem for small-player-count servers
  203. savePlayers: false
  204. # The amount of chunks saved every tick when autosaving
  205. # If saving causes severe tick lag, lower it, if it takes too long, increase it
  206. autoSaveBatchSize: 20
  207. # Whether NoLagg will attempt to write all world data to the region files at a set interval
  208. # This is done on another thread, so don't worry about the main thread lagging while this happens
  209. writeDataEnabled: true
  210. # The tick interval at which the server actually writes the chunk data to file (20 ticks = 1 second)
  211. writeDataInterval: 12000
  212.  
  213. # Common features such as the clear and garbage collect commands
  214. common:
  215. # Whether Common should be loaded on startup
  216. enabled: true
  217.  
  218. # Several shortcuts you can use for the /nolagg clear(all) command
  219. clearShortcuts:
  220. enemies:
  221. - monster
  222. notneutral:
  223. - monster
  224. - item
  225. - tnt
  226. - egg
  227. - arrow
  228. # The entity types removed when using /lag clear all
  229. all:
  230. - items
  231. - mobs
  232. - tnt
  233. - xporb
  234. - minecart
  235. - boat
  236. # The entity types removed when using /lag clear without arguments
  237. default:
  238. - items
  239. - tnt
  240. - xporb
  241.  
  242. # Notifies the current stack trace of the main thread when the server freezes
  243. threadlocknotifier:
  244. # Whether ThreadLockNotifier should be loaded on startup
  245. enabled: true
  246.  
  247. # Notifies when a main-thread only event is called from another thread to detect instabilities it may cause
  248. threadcheck:
  249. # Whether ThreadCheck should be loaded on startup
  250. enabled: true
  251.  
  252. # Patches certain classes and functions from CraftBukkt
  253. patches:
  254. # Whether Patches should be loaded on startup
  255. enabled: true
  256. # Should we automaticly fix the player head rotation when it is being spawned?
  257. headRotationOnSpawn: true
Advertisement
Add Comment
Please, Sign In to add comment