关于自定义门户

此插件添加了自定义门户,这些门户可以部署在玩家的基地、原版和自定义纪念碑上。

自定义地图

要在地图上使用 Custom Portal,您需要放置任何预制件并从中创建自定义预制件。

将其命名为 CustomPortals.<portal name>

将链接 2 个同名门户。

 

!确保不要破坏预制件,也不要将它们添加为其他预制件的一部分!

 

 

 

 

命令

玩家聊天命令

  • /buyportal – 购买门户(需要 customPortals.buy 权限)
  • /spawnportal – 生成门户(需要 customPortals.spawn 权限)

管理员聊天命令

下面提到的所有命令都需要 customportals.admin 权限!

  • /customportals add <portal name> – 在您站立的纪念碑上生成门户
  • /customPortals Remove – 从纪念碑中删除门户
  • /customportals reset – 从纪念碑中删除所有门户
  • /changeportal – 设置任何门户

Admin Console 命令

  • giveportal <amount> <player name> – 为指定玩家提供门户

权限

  • customPortals.use – 使用门户所必需的
  • customPortals.admin – 允许使用 /customportals 和 giveportal 命令
  • customPortals.buy – 允许玩家使用 /buyportal 命令购买门户
  • customPortals.free – 允许玩家使用 /buyportal 命令免费获取 Portal(仍需要购买权限)
  • CustomPortals.freeUse – 允许玩家免费使用门户(如果设置了使用价格)
  • CustomPortals.ByPassLimit – 允许玩家放置无限数量的门户
  • CustomPortals.BypassLinkingLimits – 允许玩家链接任何门户
  • customPortals.spawn – 让玩家使用命令生成门户,而不是手动放置它们

如果您是管理员,则可以指定单个门户权限。它们将另存为 customportals.portal.<portal 权限名称>

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。