wiki:betterportals:editing-the-config-file

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
wiki:betterportals:editing-the-config-file [2020/10/24 22:46]
wiki:betterportals:editing-the-config-file [2021/01/09 22:45] (当前版本)
行 9: 行 9:
 这是一份由插件自动生成的config.yml 这是一份由插件自动生成的config.yml
  
-插件版本号:''0.57''+插件版本号:''0.6''
 </WRAP> </WRAP>
-<code yaml config_0.57.yml>+<code yaml config_0.6.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
行 39: 行 39:
 # How close portals can spawn to each other, in blocks # How close portals can spawn to each other, in blocks
 minimumPortalSpawnDistance: 6 minimumPortalSpawnDistance: 6
 +
 +enableDebugLogging: false # Setting this to true will make the plugin print much more detailed info about what is happenning. Useful for finding issues.
  
 # The maximum size of portals in blocks. The x is width and y is height # The maximum size of portals in blocks. The x is width and y is height
行 65: 行 67:
 waitTimeAfterSwitchingWorlds: 1 waitTimeAfterSwitchingWorlds: 1
  
-# Makes additional things be run on other threads that probably shouldn't be run on other threads +teleportCooldown10 # How long to wait before a player can go back after going through a portal (0 to disable)
-unsafeModefalse+
  
 # 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
行 86: 行 87:
     maxSpawnY: 250     maxSpawnY: 250
     coordinateRescalingFactor: 8.0     coordinateRescalingFactor: 8.0
 +
 +# Allows for setting a proxy server to allow cross-server portals
 +proxy:
 +  enableProxy: false
 +  proxyAddress: ""
 +  proxyPort: 25510
 +  key: "" # A UUID used for encrypted communication with the proxy. You should set this to the UUID in the BetterPortals config on the bungee side.
 +  reconnectionDelay: 300 # Delay in ticks before attempting a reconnection to the proxy if disconnected (default 30 seconds) Set to -1 to disable.
 +
 +# 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: 0.15 # Low values mean a greater distance
  
 chatMessages: chatMessages:
行 95: 行 109:
   invalidSelection: "Invalid selection! Portal selections must be on the two corners of a portal"   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"   mustSelectBothSides: "You must select both sides of a portal first. For info, run /bp help"
 +  mustSelectOrigin: "You must select the origin of the portal on this server"
 +  wrongNumberOfArgs: "Wrong number of arguments. Run /bp help for help."
 +  invalidArgs: "One of your arguments was invalid. Run /bp help for help."
   differentSizes: "The origin and destination portal must be of the same size"   differentSizes: "The origin and destination portal must be of the same size"
   noPortalCloseEnough: "No portal close enough found"   noPortalCloseEnough: "No portal close enough found"
 +  portalNotOwnedByPlayer: "You do not have permission to remove portals created by other people"
   unknownCommand: "Unknown Command. For help, run /bp help"   unknownCommand: "Unknown Command. For help, run /bp help"
 +  proxyDisabled: "Unable to reconnect to the proxy: it is not enabled!"
 +  alreadyConnected: "Unable to reconnect to the proxy: the server is already connected!"
 +  horizontalIssues: "Warning: horizontal portals with different origin/destination directions can cause issues with block rotations - not all blocks can be rotated in every direction"
  
   reload: "Reloaded plugin"   reload: "Reloaded plugin"
行 104: 行 125:
   portalsLinked: "Portals linked successfully"   portalsLinked: "Portals linked successfully"
   portalRemoved: "Portal removed"   portalRemoved: "Portal removed"
 +  startedReconnection: "Started reconnecting to the proxy. See console for details."
      
   setPosA: "Set position A"   setPosA: "Set position A"
行 111: 行 133:
 </code> </code>
  
 +**chatMessages部分汉化版:**
 +<WRAP info 100%>
 +插件版本号:''0.6''
 +</WRAP>
 +<code yaml chatMessages.yml>
 +chatMessages:
 +  prefix: "&7[&aBetterPortals&7]&a "
 +
 +  notEnoughPerms: "你没有权限使用这个命令!"
 +  mustBePlayer: "你必须是玩家才能使用这个命令!"
 +  mustMakeSelection: "你必须先进行选择"
 +  invalidSelection: "无效的选择:必须选择同一垂直于地面的平面上的对角"
 +  mustSelectBothSides: "你必须选择两侧的传送门。使用 /bp help 查看帮助"
 +  mustSelectOrigin: "你必须在这个服务器上选择起始传送门"
 +  wrongNumberOfArgs: "参数值错误。使用 /bp help 查看帮助"
 +  invalidArgs: "参数错误。使用 /bp help 查看帮助"
 +  differentSizes: "起始传送门和目标传送门的大小必须相同"
 +  noPortalCloseEnough: "找不到足够接近你的传送门"
 +  portalNotOwnedByPlayer: "你没有权限删除其他人创建的传送门"
 +  unknownCommand: "未知命令。使用 /bp help 查看帮助"
 +  proxyDisabled: "无法重新连接到Bungeecord代理:未启用!"
 +  alreadyConnected: "无法重新连接到Bungeecord代理:服务器已连接!"
 +  horizontalIssues: "警告:起点/终点方向不同的水平传送门可能会导致方块旋转出现问题:并非所有方块都可以任意旋转"
 +
 +  reload: "插件已重载完成"
 +  originPortalSet: "起始传送门已设置"
 +  destPortalSet: "目标传送门已设置"
 +  portalsLinked: "传送门已建立连接"
 +  portalRemoved: "传送门已移除"
 +  startedReconnection: "开始重新连接到Bungeecord代理。 有关详细信息,请参见控制台。"
 +  
 +  setPosA: "设置点A"
 +  setPosB: "设置点B"
 +
 +portalWandName: "&a传送门魔杖"
 +</code>
 ==== 传送门渲染范围大小 ==== ==== 传送门渲染范围大小 ====
 ''portalEffectSizeXZ''指定在X轴和Z轴上传送门渲染的半径 ''portalEffectSizeXZ''指定在X轴和Z轴上传送门渲染的半径
行 194: 行 252:
 ''maxPortalSize''将限制传送门的最大尺寸(任何大于此大小的传送门将不会被激活) ''maxPortalSize''将限制传送门的最大尺寸(任何大于此大小的传送门将不会被激活)
  
-''portalCollisionBox''是插件使用的技术参数,用于指定在何处渲染方块<wrap hi><wrap em>注意:如果你不清楚此项的具体用途,请不要随意修改!</wrap></wrap>+''portalCollisionBox''是插件使用的技术参数,用于指定在何处渲染方块 <wrap hi><wrap em>注意:如果你不清楚此项的具体用途,请不要随意修改!</wrap></wrap>
  
 ''minimumPortalSpawnDistance''将限制生成传送门时彼此的最近距离 ''minimumPortalSpawnDistance''将限制生成传送门时彼此的最近距离
行 207: 行 265:
  
 ''portalBlockUpdateInterval''将指定传送门检查周围的方块并将其发送到另一个线程进行处理的频率 ''portalBlockUpdateInterval''将指定传送门检查周围的方块并将其发送到另一个线程进行处理的频率
 +
 +''unsafeMode''使更多的计算在另一个线程上进行 <wrap hi><wrap em>注意:目前未经过足够的测试,可能出现严重BUG,不建议使用!</wrap></wrap>
 +
 +''portalWandName''设置传送门魔杖的物品名称 <wrap hi><wrap info>已获取的传送门魔杖的物品名将不会发生改变</wrap></wrap>
  
  
 {{page>wiki:betterportals:style.css&noeditbtn&nofooter&noheader}} {{page>wiki:betterportals:style.css&noeditbtn&nofooter&noheader}}
  • wiki/betterportals/editing-the-config-file.1603550780.txt.gz
  • 最后更改: 2020/10/24 22:46