差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
| 
                    wiki:betterportals:editing-the-config-file [2020/10/16 21:52] [世界连接]  | 
                
                    wiki:betterportals:editing-the-config-file [2021/01/09 22:45] (当前版本) | 
            ||
|---|---|---|---|
| 行 5: | 行 5: | ||
| 要在不重新启动服务器的情况下测试对配置文件的更改,只需要在游戏或控制台中输入''/ | 要在不重新启动服务器的情况下测试对配置文件的更改,只需要在游戏或控制台中输入''/ | ||
| - | ===== 传送门渲染范围大小  | + | ===== config.yml ===== | 
| + | <WRAP info 100%> | ||
| + | 这是一份由插件自动生成的config.yml | ||
| + | |||
| + | 插件版本号:'' | ||
| + | </ | ||
| + | <code yaml config_0.6.yml> | ||
| + | # This is the BetterPortals configuration file | ||
| + | # Many of these values should not be changed unless you know what you are doing | ||
| + | |||
| + | # WARNING: The portal effect size is the biggest performance sink, higher numbers can cause tons of lag! | ||
| + | # The number of blocks that the portal effect will render | ||
| + | # to the up, down, forwards and backwards of the portal | ||
| + | # (the total width of the effect is twice this) | ||
| + | portalEffectSizeXZ: | ||
| + | |||
| + | # Same as the previous, but up/down instead | ||
| + | portalEffectSizeY: | ||
| + | |||
| + | # The closest portal in this range will be activated | ||
| + | # All others are discarded | ||
| + | portalActivationDistance: | ||
| + | |||
| + | portalBlockUpdateInterval: | ||
| + | |||
| + | enableEntitySupport: | ||
| + | entityCheckInterval: | ||
| + | |||
| + | # Setting this to true will allow you to see straight through a portal | ||
| + | # NOTE: This generally makes it look a bit less convincing, since it's easier to see when the player' | ||
| + | hidePortalBlocks: | ||
| + | |||
| + | # How close portals can spawn to each other, in blocks | ||
| + | minimumPortalSpawnDistance: | ||
| + | |||
| + | enableDebugLogging: | ||
| + | |||
| + | # The maximum size of portals in blocks. The x is width and y is height | ||
| + | # This should never be larger than twice the portal effect size | ||
| + | # Larger portals tend to look less good, so the default values work well | ||
| + | maxPortalSize: | ||
| + | x: 5 | ||
| + | y: 5 | ||
| + | |||
| + | # Stores the offset from the corners of the portal where the collision box will be | ||
| + | # This collision box is how the portal effect is calculated | ||
| + | # (if the ray from the player' | ||
| + | # The default values are tuned to work fairly well, so I don't recommend changing these | ||
| + | portalCollisionBox: | ||
| + | x: 0.38 | ||
| + | y: 0.38 | ||
| + | z: 0.25 | ||
| + | |||
| + | # Worlds where the plugin will fall back to the vanilla portal logic | ||
| + | disabledWorlds: | ||
| + |   - ' | ||
| + | |||
| + | # How long the plugin waits before rendering portals after switching worlds. | ||
| + | # Useful to deal with lag that some players get just after switching worlds. | ||
| + | # Set to 0 to disable | ||
| + | waitTimeAfterSwitchingWorlds: | ||
| + | |||
| + | teleportCooldown: | ||
| + | |||
| + | # Stores the links between worlds. By default this links the overworld and the nether with portals | ||
| + | # There are two links for the overworld and the nether - one for each way. | ||
| + | # This is to allow one way links between dimensions | ||
| + | # The x and z coordinates of the portals are multiplied by the coordinateRescalingFactor to spawn portals | ||
| + | # The min and max spawn y limit where portals can spawn - for instance you should not be able to spawn portals above the nether ceiling | ||
| + | worldConnections: | ||
| + |   ' | ||
| + |     originWorld: | ||
| + |     destinationWorld: | ||
| + | minSpawnY: 5 | ||
| + | maxSpawnY: 122 | ||
| + |     coordinateRescalingFactor: | ||
| + |   ' | ||
| + |     originWorld: | ||
| + |     destinationWorld: | ||
| + | minSpawnY: 5 | ||
| + | maxSpawnY: 250 | ||
| + |     coordinateRescalingFactor: | ||
| + | |||
| + | # Allows for setting a proxy server to allow cross-server portals | ||
| + | proxy: | ||
| + |   enableProxy: | ||
| + |   proxyAddress: | ||
| + | proxyPort: 25510 | ||
| + |   key: "" | ||
| + |   reconnectionDelay: | ||
| + | |||
| + | # Will randomly swap some blocks between the two ends of a nether portal when it's made, makes a cool effect. | ||
| + | dimensionBlend: | ||
| + | enable: false | ||
| + |   fallOffRate: | ||
| + | |||
| + | chatMessages: | ||
| + |   prefix: "& | ||
| + | |||
| + |   notEnoughPerms: | ||
| + |   mustBePlayer: | ||
| + |   mustMakeSelection: | ||
| + |   invalidSelection: | ||
| + |   mustSelectBothSides: | ||
| + |   mustSelectOrigin: | ||
| + |   wrongNumberOfArgs: | ||
| + |   invalidArgs: | ||
| + |   differentSizes: | ||
| + |   noPortalCloseEnough: | ||
| + |   portalNotOwnedByPlayer: | ||
| + |   unknownCommand: | ||
| + |   proxyDisabled: | ||
| + |   alreadyConnected: | ||
| + |   horizontalIssues: | ||
| + | |||
| + |   reload: " | ||
| + |   originPortalSet: | ||
| + |   destPortalSet: | ||
| + |   portalsLinked: | ||
| + |   portalRemoved: | ||
| + |   startedReconnection: | ||
| + | |||
| + | setPosA: "Set position A" | ||
| + | setPosB: "Set position B" | ||
| + | |||
| + | portalWandName: | ||
| + | </ | ||
| + | |||
| + | **chatMessages部分汉化版:** | ||
| + | <WRAP info 100%> | ||
| + | 插件版本号:'' | ||
| + | </ | ||
| + | <code yaml chatMessages.yml> | ||
| + | chatMessages: | ||
| + |   prefix: "& | ||
| + | |||
| + |   notEnoughPerms: | ||
| + |   mustBePlayer: | ||
| + |   mustMakeSelection: | ||
| + |   invalidSelection: | ||
| + |   mustSelectBothSides: | ||
| + |   mustSelectOrigin: | ||
| + |   wrongNumberOfArgs: | ||
| + |   invalidArgs: | ||
| + |   differentSizes: | ||
| + |   noPortalCloseEnough: | ||
| + |   portalNotOwnedByPlayer: | ||
| + |   unknownCommand: | ||
| + |   proxyDisabled: | ||
| + |   alreadyConnected: | ||
| + |   horizontalIssues: | ||
| + | |||
| + |   reload: " | ||
| + |   originPortalSet: | ||
| + |   destPortalSet: | ||
| + |   portalsLinked: | ||
| + |   portalRemoved: | ||
| + |   startedReconnection: | ||
| + | |||
| + |   setPosA: " | ||
| + |   setPosB: " | ||
| + | |||
| + | portalWandName: | ||
| + | </ | ||
| + | ==== 传送门渲染范围大小 ==== | ||
| '' | '' | ||
| 行 16: | 行 180: | ||
| </ | </ | ||
| - | ===== 世界连接  | + | ==== 世界连接 ==== | 
| '' | '' | ||
| 行 77: | 行 241: | ||
| </ | </ | ||
| + | ==== 其他 ==== | ||
| + | <WRAP alert 100%> | ||
| + | <wrap em> | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | {{page> | ||