511281270
我想知道这两个文件里面有包含优化方面的参数可以调整的么


网上找不到相关中文注释。。
谷歌翻译的又看不太懂

forge.cfg
  1. # Configuration file

  2. client {
  3.     # Toggle off to make missing model text in the gui fit inside the slot.
  4.     B:zoomInMissingModelTextInGui=false

  5.     # Enable uploading cloud geometry to the GPU for faster rendering.
  6.     B:forgeCloudsEnabled=true

  7.     # Disable culling of hidden faces next to stairs and slabs. Causes extra rendering, but may fix some resource packs that exploit this vanilla mechanic.
  8.     B:disableStairSlabCulling=false

  9.     # Enable forge to queue all chunk updates to the Chunk Update thread. May increase FPS significantly, but may also cause weird rendering lag. Not recommended for computers without a significant number of cores available.
  10.     B:alwaysSetupTerrainOffThread=false

  11.     # Control the range of sky blending for colored skies in biomes.
  12.     I:biomeSkyBlendRange <
  13.         2
  14.         4
  15.         6
  16.         8
  17.         10
  18.         12
  19.         14
  20.         16
  21.         18
  22.         20
  23.         22
  24.         24
  25.         26
  26.         28
  27.         30
  28.         32
  29.         34
  30.      >

  31.     # Enable the forge block rendering pipeline - fixes the lighting of custom models.
  32.     B:forgeLightPipelineEnabled=true
  33. }


  34. general {
  35.     # Set to true to disable Forge's version check mechanics. Forge queries a small json file on our server for version information. For more details see the ForgeVersion class in our github.
  36.     B:disableVersionCheck=false

  37.     # Controls the number threshold at which Packet51 is preferred over Packet52, default and minimum 64, maximum 1024
  38.     I:clumpingThreshold=64

  39.     # Set to true to enable the post initialization sorting of crafting recipes using Forge's sorter. May cause desyncing on conflicting recipes. MUST RESTART MINECRAFT IF CHANGED FROM THE CONFIG GUI.
  40.     B:sortRecipies=true

  41.     # Set this to true to remove any Entity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.
  42.     B:removeErroringEntities=true

  43.     # Set this to true to remove any TileEntity that throws an error in its update method instead of closing the server and reporting a crash log. BE WARNED THIS COULD SCREW UP EVERYTHING USE SPARINGLY WE ARE NOT RESPONSIBLE FOR DAMAGES.
  44.     B:removeErroringTileEntities=true

  45.     # Set this to true to check the entire entity's collision bounding box for ladders instead of just the block they are in. Causes noticeable differences in mechanics so default is vanilla behavior. Default: false
  46.     B:fullBoundingBoxLadders=false

  47.     # Base zombie summoning spawn chance. Allows changing the bonus zombie summoning mechanic.
  48.     D:zombieBaseSummonChance=0.1

  49.     # Chance that a zombie (or subclass) is a baby. Allows changing the zombie spawning mechanic.
  50.     D:zombieBabyChance=0.05

  51.     # Log cascading chunk generation issues during terrain population.
  52.     B:logCascadingWorldGeneration=true

  53.     # Fix vanilla issues that cause worldgen cascading. This DOES change vanilla worldgen so DO NOT report bugs related to world differences if this flag is on.
  54.     B:fixVanillaCascading=false

  55.     # The time in ticks the server will wait when a dimension was queued to unload. This can be useful when rapidly loading and unloading dimensions, like e.g. throwing items through a nether portal a few time per second.
  56.     I:dimensionUnloadQueueDelay=0
  57.     B:enableGlobalConfig=false
  58. }


  59. version_checking {
  60.     # Enable the entire mod update check system. This only applies to mods using the Forge system.
  61.     B:Global=true
  62. }


复制代码


forgeChunkLoading.cfg
  1. # Configuration file

  2. ##########################################################################################################
  3. # defaults
  4. #--------------------------------------------------------------------------------------------------------#
  5. # Default configuration for forge chunk loading control
  6. ##########################################################################################################

  7. defaults {
  8.     # Are mod overrides enabled?
  9.     B:enabled=true

  10.     # The default maximum number of chunks a mod can force, per ticket,
  11.     # for a mod without an override. This is the maximum number of chunks a single ticket can force.
  12.     I:maximumChunksPerTicket=25

  13.     # The default maximum ticket count for a mod which does not have an override
  14.     # in this file. This is the number of chunk loading requests a mod is allowed to make.
  15.     I:maximumTicketCount=200

  16.     # The number of tickets a player can be assigned instead of a mod. This is shared across all mods and it is up to the mods to use it.
  17.     I:playerTicketCount=500

  18.     # Unloaded chunks can first be kept in a dormant cache for quicker
  19.     # loading times. Specify the size (in chunks) of that cache here
  20.     I:dormantChunkCacheSize=0

  21.     # Load chunks asynchronously for players, reducing load on the server thread.
  22.     # Can be disabled to help troubleshoot chunk loading issues.
  23.     B:asyncChunkLoading=true
  24. }


  25. ##########################################################################################################
  26. # forge
  27. #--------------------------------------------------------------------------------------------------------#
  28. # Sample mod specific control section.
  29. # Copy this section and rename the with the modid for the mod you wish to override.
  30. # A value of zero in either entry effectively disables any chunkloading capabilities
  31. # for that mod
  32. ##########################################################################################################

  33. forge {
  34.     # Maximum chunks per ticket for the mod.
  35.     I:maximumChunksPerTicket=25

  36.     # Maximum ticket count for the mod. Zero disables chunkloading capabilities.
  37.     I:maximumTicketCount=200
  38. }


复制代码
CatServer端


xmdhs
首先打开 forge.cfg 文件
B:disableVersionCheck  建议将此项设置为 true ,用于关闭版本检查,提高启动速度。
B:removeErroringEntities  建议将此项设置为 true ,可避免实体错误导致崩服。
B:removeErroringTileEntities  建议将此项设置为 true ,可避免Tile方块错误导致崩服。
B:Global  建议将此项设置为 false ,用于关闭一些模组的检查更新,提高启动速度。

接下来打开 forgeChunkLoading.cfg 文件
B:asyncChunkLoading  建议将此项设置为 true ,可对区块进行异步加载,减少对TPS的影响。

https://www.mcbbs.net/thread-786074-1-1.html

511281270
xmdhs 发表于 2019-12-15 23:41
https://www.mcbbs.net/thread-786074-1-1.html

这些都是改好的,其他位置的能解释解释么。实在麻烦大佬了,分先给你吧