wiki:betterportals:editing-the-config-file

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
wiki:betterportals:editing-the-config-file [2020/10/25 23:41]
[其他]
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"
行 112: 行 134:
  
 **chatMessages部分汉化版:** **chatMessages部分汉化版:**
 +<WRAP info 100%>
 +插件版本号:''0.6''
 +</WRAP>
 <code yaml chatMessages.yml> <code yaml chatMessages.yml>
 chatMessages: chatMessages:
行 121: 行 146:
   invalidSelection: "无效的选择:必须选择同一垂直于地面的平面上的对角"   invalidSelection: "无效的选择:必须选择同一垂直于地面的平面上的对角"
   mustSelectBothSides: "你必须选择两侧的传送门。使用 /bp help 查看帮助"   mustSelectBothSides: "你必须选择两侧的传送门。使用 /bp help 查看帮助"
 +  mustSelectOrigin: "你必须在这个服务器上选择起始传送门"
 +  wrongNumberOfArgs: "参数值错误。使用 /bp help 查看帮助"
 +  invalidArgs: "参数错误。使用 /bp help 查看帮助"
   differentSizes: "起始传送门和目标传送门的大小必须相同"   differentSizes: "起始传送门和目标传送门的大小必须相同"
   noPortalCloseEnough: "找不到足够接近你的传送门"   noPortalCloseEnough: "找不到足够接近你的传送门"
 +  portalNotOwnedByPlayer: "你没有权限删除其他人创建的传送门"
   unknownCommand: "未知命令。使用 /bp help 查看帮助"   unknownCommand: "未知命令。使用 /bp help 查看帮助"
 +  proxyDisabled: "无法重新连接到Bungeecord代理:未启用!"
 +  alreadyConnected: "无法重新连接到Bungeecord代理:服务器已连接!"
 +  horizontalIssues: "警告:起点/终点方向不同的水平传送门可能会导致方块旋转出现问题:并非所有方块都可以任意旋转"
  
   reload: "插件已重载完成"   reload: "插件已重载完成"
行 130: 行 162:
   portalsLinked: "传送门已建立连接"   portalsLinked: "传送门已建立连接"
   portalRemoved: "传送门已移除"   portalRemoved: "传送门已移除"
 +  startedReconnection: "开始重新连接到Bungeecord代理。 有关详细信息,请参见控制台。"
      
   setPosA: "设置点A"   setPosA: "设置点A"
  • wiki/betterportals/editing-the-config-file.1603640468.txt.gz
  • 最后更改: 2020/10/25 23:41