城镇传送 Town Teleport

图片[1]-城镇传送 Town Teleport-京强资源网

权限

该插件使用权限系统。要分配权限,请使用

oxide.grant <user or group> <name or steam id> <permission>.要删除权限,请使用

oxide.revoke <user or group> <name or steam id> <permission>.

  • townteleport.outpost> 允许玩家使用/otp
  • townteleport.bandit> 允许玩家使用/btp

聊天命令

  • /otp> 传送到前哨站
  • /btp> 传送到强盗营地
  • /ttc> 取消主动传送计时器

配置

TownTeleport可以在目录下的文件中配置设置和选项

config。建议使用编辑器和验证器以避免格式问题和语法错误。
{
"BanditCampTeleportCommand": "btp",
"BanditTeleportCooldown": 0,
"BanditTeleportCountdown": 30,
"CancelTeleportCommand": "ttc",
"CancelTpAnyDamage": true,
"CancelTpFallDamage": true,
"CancelTpPlayerDamage": true,
"OutpostTeleportCommand": "otp",
"OutpostTeleportCooldown": 0,
"OutpostTeleportCountdown": 30
}

本土化

默认消息位于

TownTeleport

lang/en目录下的文件中。要添加对另一种语言的支持,请创建一个新的语言文件夹(例如

de德语)(如果尚未创建),将默认语言文件复制到新文件夹,然后自定义消息。

{
"OutpostTeleport": "TownTeleport: Teleporting to Outpost in {0} seconds...\nType /{1} to cancel the teleport.",
"BanditTeleport": "TownTeleport: Teleporting to BanditCamp in {0} seconds...\nType /{1} to cancel the teleport.",
"TeleportSuccessMessage": "TownTeleport: You have successfully teleported to the Outpost.",
"NoActiveTeleport": "TownTeleport: You are not about to teleport to Bandit Camp or Outpost.\nType /{0} to teleport to the Outpost.\nType /{1} to teleport to Bandit Camp.",
"AlreadyTeleporting": "TownTeleport: You are already about to teleport to the Outpost.",
"Error: Seated": "You can't teleport while seated.",
"Error: NoBuildingPrivilege": "You can't teleport without Building Privilege.",
"Error: Wounded": "You can't teleport while wounded.",
"Error: Hostile": "You can't teleport while you are marked as Hostile.\nYou will be unmarked as hostile in {0} {1}",
"Error: Cooldown": "You can't teleport yet.\nYou will be able to teleport in {0} {1}",
"Error: RaidBlocked": "You can't teleport while raid blocked.",
"Error: CombatBlocked": "You can't teleport while combat blocked.",
"TeleportCancelled": "TownTeleport: You have cancelled the teleport timer.",
"TeleportCancelledPlayerDamage": "TownTeleport: Teleport cancelled due to player damage.",
"TeleportCancelledFallDamage": "TownTeleport: Teleport cancelled due to fall damage.",
"TeleportCancelledDamage": "TownTeleport: Teleport cancelled because you took damage.",
"OutpostNotFound": "TownTeleport: Plugin was unable to locate Outpost.",
"BanditNotFound": "TownTeleport: Plugin was unable to locate BanditCamp.",
"NoPermission": "TownTeleport: You do not have permission to use this command."
}

 

资源下载此资源仅限注册用户下载,请先
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容