wiki:betterportals:editing-the-config-file

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
上一修订版 两侧同时换到之后的修订记录
wiki:betterportals:editing-the-config-file [2020/10/16 22:01]
wiki:betterportals:editing-the-config-file [2020/10/25 23:41]
[其他]
行 9: 行 9:
 这是一份由插件自动生成的config.yml 这是一份由插件自动生成的config.yml
  
-插件版本号:''0.56''+插件版本号:''0.57''
 </WRAP> </WRAP>
-<code yaml config_0.56.yml>+<code yaml config_0.57.yml>
 # This is the BetterPortals configuration file # This is the BetterPortals configuration file
 # Many of these values should not be changed unless you know what you are doing # Many of these values should not be changed unless you know what you are doing
行 64: 行 64:
 # Set to 0 to disable # Set to 0 to disable
 waitTimeAfterSwitchingWorlds: 1 waitTimeAfterSwitchingWorlds: 1
 +
 +# Makes additional things be run on other threads that probably shouldn't be run on other threads
 +unsafeMode: false
  
 # Stores the links between worlds. By default this links the overworld and the nether with portals # Stores the links between worlds. By default this links the overworld and the nether with portals
行 82: 行 85:
     minSpawnY: 5     minSpawnY: 5
     maxSpawnY: 250     maxSpawnY: 250
-    coordinateRescalingFactor: 8.0''+    coordinateRescalingFactor: 8.0 
 + 
 +chatMessages: 
 +  prefix: "&7[&aBetterPortals&7]&a " 
 + 
 +  notEnoughPerms: "You do not have permission to use this command!" 
 +  mustBePlayer: "You must be a player to use this command" 
 +  mustMakeSelection: "You must make a selection first" 
 +  invalidSelection: "Invalid selection! Portal selections must be on the two corners of a portal" 
 +  mustSelectBothSides: "You must select both sides of a portal first. For info, run /bp help" 
 +  differentSizes: "The origin and destination portal must be of the same size" 
 +  noPortalCloseEnough: "No portal close enough found" 
 +  unknownCommand: "Unknown Command. For help, run /bp help" 
 + 
 +  reload: "Reloaded plugin" 
 +  originPortalSet: "Origin portal set" 
 +  destPortalSet: "Destination portal set" 
 +  portalsLinked: "Portals linked successfully" 
 +  portalRemoved: "Portal removed" 
 +   
 +  setPosA: "Set position A" 
 +  setPosB: "Set position B" 
 + 
 +portalWandName: "&aPortal Wand"
 </code> </code>
  
 +**chatMessages部分汉化版:**
 +<code yaml chatMessages.yml>
 +chatMessages:
 +  prefix: "&7[&aBetterPortals&7]&a "
 +
 +  notEnoughPerms: "你没有权限使用这个命令!"
 +  mustBePlayer: "你必须是玩家才能使用这个命令!"
 +  mustMakeSelection: "你必须先进行选择"
 +  invalidSelection: "无效的选择:必须选择同一垂直于地面的平面上的对角"
 +  mustSelectBothSides: "你必须选择两侧的传送门。使用 /bp help 查看帮助"
 +  differentSizes: "起始传送门和目标传送门的大小必须相同"
 +  noPortalCloseEnough: "找不到足够接近你的传送门"
 +  unknownCommand: "未知命令。使用 /bp help 查看帮助"
 +
 +  reload: "插件已重载完成"
 +  originPortalSet: "起始传送门已设置"
 +  destPortalSet: "目标传送门已设置"
 +  portalsLinked: "传送门已建立连接"
 +  portalRemoved: "传送门已移除"
 +  
 +  setPosA: "设置点A"
 +  setPosB: "设置点B"
 +
 +portalWandName: "&a传送门魔杖"
 +</code>
 ==== 传送门渲染范围大小 ==== ==== 传送门渲染范围大小 ====
 ''portalEffectSizeXZ''指定在X轴和Z轴上传送门渲染的半径 ''portalEffectSizeXZ''指定在X轴和Z轴上传送门渲染的半径
行 158: 行 209:
  
 ==== 其他 ==== ==== 其他 ====
-''disabledWorlds''在指定的世界中,插件不会传送门生效。+<WRAP alert 100%> 
 +<wrap em>如果你不清楚某些配置的具体用途,请不要随意修改!</wrap> 
 +</WRAP> 
 + 
 +''disabledWorlds''此项指定的世界中,插件不会生效 
 + 
 +''waitTimeAfterSwitchingWorlds''控制插件在切换世界后渲染传送门之前等待的时间(单位:tick,如果需要,可以将其设置为0) 
 + 
 +''maxPortalSize''将限制传送门的最大尺寸(任何大于此大小的传送门将不会被激活) 
 + 
 +''portalCollisionBox''是插件使用的技术参数,用于指定在何处渲染方块 <wrap hi><wrap em>注意:如果你不清楚此项的具体用途,请不要随意修改!</wrap></wrap> 
 + 
 +''minimumPortalSpawnDistance''将限制成传送门时彼此的最近距离 
 + 
 +''hidePortalBlocks''设置为''true''将隐藏传送门方块 
 + 
 +''enableEntitySupport''设置为''false''将禁止传送门渲染可见实体 
 + 
 +''entityCheckInterval''将控制插件多久检查一次传送门起点和终点附近的实体(单位:tick) 
 + 
 +''portalActivationDistance''将控制玩家必须距离传送门多近才会渲染另一侧的方块和实体 
 + 
 +''portalBlockUpdateInterval''将指定传送门检查周围的方块并将其发送到另一个线程进行处理的频率 
 + 
 +''unsafeMode''使更多的计算在另一个线程上进行 <wrap hi><wrap em>注意:目前未经过足够的测试,可能出现严重BUG,不建议使用!</wrap></wrap> 
 + 
 +''portalWandName''设置传送门魔杖的物品名称 <wrap hi><wrap info>已获取的传送门魔杖的物品名将不会发生改变</wrap></wrap>
  
-''waitTimeAfterSwitchingWorlds''控制插件在切换世界后渲染传送门之前等待的时间(单位:tick)。如果需要,可以将其设置为0。 
  
 +{{page>wiki:betterportals:style.css&noeditbtn&nofooter&noheader}}
  • wiki/betterportals/editing-the-config-file.txt
  • 最后更改: 2021/01/09 22:45