请参阅下面有关权限的注释,现在基本功能需要权限。这最终允许控制谁可以使用基本命令。nteleportation.home
玩家唯一 ID
现在,玩家每次登录时都会被分配一个唯一的随机 4 位 ID
- 每次重新加载插件/重新启动服务器时,此 ID 都会更改
- 只有当您看到找到的多个玩家列表时,您才能找到玩家 ID
- 例:
- 找到多个玩家: 9910 – Ruptga, 8750 – GRYLLZ, 1133 – Roe Jogan
- /tp 9910 – 将你传送到鲁普特加
- /tp 9910 nivex – 将 Ruptga 传送到 nivex
- /tpr 9910 – 将向 Ruptga 发送传送请求
配置
NTeleportation
config
- UseFriends – 通过好友 API 检查所有者和玩家是否是好友
- UseClans – 通过氏族 API 检查所有者和玩家是否在同一个氏族中(仅支持 Oxide Clans.cs 和 RustIO::Clans – 其他氏族插件状态未知)
- UseTeams – 通过 Rust 团队检查所有者和玩家是否是朋友
- UseEconomics – 使用 Economics 插件支付传送费用和/或支付绕过冷却时间的费用
- UseServerRewards – 使用 ServerRewards 插件支付传送费用和/或支付绕过冷却时间的费用
- WipeOnUpgradeOrChange – 如果为 true,则在服务器检测到新存档时擦除房屋、城镇、岛屿、土匪和前哨站位置
- UsableOutOfBuildingBlocked – 允许玩家传送到建筑物封锁区域(而不是进入)
- ForceOnTopOfFoundation – 如果为 true,玩家必须在地基或地板上安家。如果为 false,玩家可以在不受其他配置限制的任何地方设置一个家(例如 nterruptTPOnMonument)
- AllowAboveFoundation – 允许在建筑物的 N 楼设置房屋,当房屋位于自有/共享地基(地板/天花板)上方时。如果为 false,玩家必须在地基(1 楼)上使用 home/sethome
- VIPCooldowns/VIPDailyLimits/VIPHomesLimits/VIPCountdowns:
- TPT – 包含为好友、战队和团队启用即时 TPA 的设置。将这些设置为 false,以禁用。
{
"Settings": {
"Chat Command Color": "#FFFF00",
"Chat Command Argument Color": "#FFA500",
"Enable Popup Support": false,
"Block All Teleporting From Inside Authorized Base": false,
"TPB Available After X Seconds": 0.0,
"Global Teleport Cooldown": 0.0,
"Global VIP Teleport Cooldown": 0.0,
"Play Sounds After Teleport": false,
"Sounds To Play After Teleport": [
"assets/prefabs/misc/xmas/presents/effects/unwrap.prefab",
"assets/bundled/prefabs/fx/player/howl.prefab",
"assets/content/vehicles/minicopter/debris_effect.prefab",
"assets/prefabs/npc/patrol helicopter/damage_effect_debris.prefab",
"assets/prefabs/npc/patrol helicopter/effects/rocket_fire.prefab"
],
"Interrupt TP": {
"Interrupt Teleport At Specific Monuments": [],
"Above Water": true,
"Balloon": true,
"Boats": false,
"Cargo Ship": true,
"Cold": false,
"Excavator": false,
"Hot": false,
"Hostile": false,
"Hurt": true,
"Junkpiles": false,
"Lift": true,
"Monument": false,
"Ignore Monument Marker Prefab": false,
"Mounted": true,
"Oil Rig": false,
"Safe Zone": true,
"Swimming": false
},
"Block Teleport (NoEscape)": false,
"Block Teleport (ZoneManager)": false,
"Chat Name": "<color=red>Teleportation</color> \n\n",
"Chat Steam64ID": 76561199056025689,
"Check Boundaries On Teleport X Y Z": true,
"Data File Directory (Blank = Default)": "",
"Draw Sphere On Set Home": true,
"Homes Enabled": true,
"TPR Enabled": true,
"Strict Foundation Check": false,
"Cave Distance Small": 50.0,
"Cave Distance Medium": 70.0,
"Cave Distance Large": 110.0,
"Default Monument Size": 50.0,
"Minimum Temp": 0.0,
"Maximum Temp": 40.0,
"Blocked Items": {},
"Bypass CMD": "pay",
"Use Monument Topology Check": false,
"Use Cave Topology Check": false,
"Use Economics": false,
"Use Server Rewards": false,
"Wipe On Upgrade Or Change": true,
"Auto Generate Outpost Location": true,
"Auto Generate Bandit Location": true,
"Show Time As Seconds Instead": false
},
"Admin": {
"Announce Teleport To Target": false,
"Usable By Admins": true,
"Usable By Moderators": true,
"Location Radius": 25,
"Teleport Near Default Distance": 30
},
"Home": {
"Homes Limit": 2,
"VIP Homes Limits": {
"nteleportation.vip": 5
},
"Allow Sethome At Specific Monuments": [
"HQM Quarry",
"Stone Quarry",
"Sulfur Quarry",
"Ice Lake"
],
"Allow Sethome At All Monuments": false,
"Allow TPB": true,
"Cooldown": 600,
"Countdown": 15,
"Daily Limit": 5,
"VIP Daily Limits": {
"nteleportation.vip": 5
},
"VIP Cooldowns": {
"nteleportation.vip": 5
},
"VIP Countdowns": {
"nteleportation.vip": 5
},
"Location Radius": 25,
"Force On Top Of Foundation": true,
"Check Foundation For Owner": true,
"Use Friends": true,
"Use Clans": true,
"Use Teams": true,
"Usable Out Of Building Blocked": false,
"Usable Into Building Blocked": false,
"Usable From Safe Zone Only": false,
"Allow Cupboard Owner When Building Blocked": true,
"Allow Iceberg": false,
"Allow Cave": false,
"Allow Crafting": false,
"Allow Above Foundation": true,
"Check If Home Is Valid On Listhomes": false,
"Pay": 0,
"Bypass": 0
},
"TPT": {
"Use Friends": false,
"Use Clans": false,
"Use Teams": false,
"Allow Cave": false
},
"TPR": {
"Require Player To Be Friend, Clan Mate, Or Team Mate": false,
"Allow Cave": false,
"Allow TPB": true,
"Cooldown": 600,
"Countdown": 15,
"Daily Limit": 5,
"VIP Daily Limits": {
"nteleportation.vip": 5
},
"VIP Cooldowns": {
"nteleportation.vip": 5
},
"VIP Countdowns": {
"nteleportation.vip": 5
},
"Request Duration": 30,
"Block TPA On Ceiling": true,
"Usable Out Of Building Blocked": false,
"Usable Into Building Blocked": false,
"Allow Cupboard Owner When Building Blocked": true,
"Allow Crafting": false,
"Pay": 0,
"Bypass": 0
},
"Dynamic Commands": {
"Town": {
"Command Enabled": true,
"Allow TPB": true,
"Allow Cave": false,
"Cooldown": 600,
"Countdown": 15,
"Daily Limit": 5,
"VIP Daily Limits": {
"nteleportation.vip": 5
},
"VIP Cooldowns": {
"nteleportation.vip": 5
},
"VIP Countdowns": {
"nteleportation.vip": 5
},
"Location": "0 0 0",
"Locations": [],
"Teleport To Random Location": false,
"Usable Out Of Building Blocked": false,
"Allow Crafting": false,
"Pay": 0,
"Bypass": 0
},
"Island": {
"Command Enabled": true,
"Allow TPB": false,
"Allow Cave": false,
"Cooldown": 600,
"Countdown": 15,
"Daily Limit": 5,
"VIP Daily Limits": {
"nteleportation.vip": 5
},
"VIP Cooldowns": {
"nteleportation.vip": 5
},
"VIP Countdowns": {
"nteleportation.vip": 5
},
"Location": "0 0 0",
"Locations": [],
"Teleport To Random Location": true,
"Usable Out Of Building Blocked": false,
"Allow Crafting": false,
"Pay": 0,
"Bypass": 0
},
"Outpost": {
"Command Enabled": true,
"Allow TPB": true,
"Allow Cave": false,
"Cooldown": 600,
"Countdown": 15,
"Daily Limit": 5,
"VIP Daily Limits": {
"nteleportation.vip": 5
},
"VIP Cooldowns": {
"nteleportation.vip": 5
},
"VIP Countdowns": {
"nteleportation.vip": 5
},
"Location": "0 0 0",
"Locations": [],
"Teleport To Random Location": true,
"Usable Out Of Building Blocked": false,
"Allow Crafting": false,
"Pay": 0,
"Bypass": 0
},
"Bandit": {
"Command Enabled": true,
"Allow TPB": true,
"Allow Cave": false,
"Cooldown": 600,
"Countdown": 15,
"Daily Limit": 5,
"VIP Daily Limits": {
"nteleportation.vip": 5
},
"VIP Cooldowns": {
"nteleportation.vip": 5
},
"VIP Countdowns": {
"nteleportation.vip": 5
},
"Location": "0 0 0",
"Locations": [],
"Teleport To Random Location": true,
"Usable Out Of Building Blocked": false,
"Allow Crafting": false,
"Pay": 0,
"Bypass": 0
}
}
}
可以在此处为不同级别的 VIP 创建多个条目。缺省和包含的条目是 。此处添加的其他插件将导致插件在重新加载插件时为其注册 Oxide 权限。创建权限后,可以根据需要将其分配给氧化物用户或组。nteleportation.vip
如果 Pay 设置为 、 或 ,并且 Economics 或 ServerRewards 可用,则使用这些命令将从其余额中提取配置的金额。/home
/tpr
/town
如果为 、 或 设置了 Bypass,并且 Economics 或 ServerRewards 可用,则在冷却期间使用这些命令将询问玩家是否愿意付费以绕过冷却时间。请注意,如果您选择通过支付 来绕过冷却时间,即使目标不接受 via 。只有在成功和传送后,您才会支付支付费用。/home
/tpr
/town|outpost|bandit
/tpr
/tpa
/tpa
默认情况下,支付和旁路成本为 0,这意味着它们的成本为 0。设置为 -1 可禁用它们。设置为高于 0 可添加成本。
这还需要全局设置 Bypass CMD(默认为“pay”)。这是用于旁路的关键字(设置为空以禁用旁路),例如:
- /城镇支付
- /家 1 付
您还必须将 UseEconomics 设置为 true,以启用 Economics 插件的这种用法。您还可以将 UseServerRewards 设置为 true,以启用 ServerRewards 插件的使用。如果两者都设置为 true,则将首先检查经济学。
对于 InterruptTPOnCold/Hot 设置,请小心调整 MinimumTemp 和 MaximumTemp 的默认值。用户将仅显示 0 到 40C 之间的冷/热。否则,他们可能会感到困惑。但是,MinimumTemp 的负值应该是可能的。注意:如果要实际更改默认值,则需要将InterruptTPOnCold/Hot设置为true。然后设置最小/最大温度。即使您不想在冷/热时中断也是如此 – 在这种情况下,将温度设置为一些不太可能满足的极端温度,例如 -30 和 100。
如果 InterruptTPOnHostile 为 true,则该玩家被视为敌对玩家,将被阻止/outpost
/bandit
如果 InterruptTpOnHurt 为 true,则即使 InterruptTPOnCold/Hot 为 false,当热/冷时,传送仍可能中断。这是因为玩家在热或冷时都会受到伤害。
CaveDistance{Small/Medium/Large} 设置可用于调整 Home/Town/TPR 配置部分内 AllowCave == false 时所需的与洞穴的距离。在这些距离内(与玩家)的任何距离都应该被阻止。
StrictFoundationCheck:默认值为 false。如果设置为 true,则执行其他检查以确保玩家至少靠近地基或地板的中心。这不是在 tpa/tpr 上运行,而是在 sethome/home 上运行。
DefaultMonumentSize:如果 InterruptTPOnMonument 设置为 true,则这是必需的。许多古迹在查询时没有显示其大小 – 至少我们目前是如何做到的。对于那些不这样做的人,这将是使用 /home 等所需的默认距离。
权限
oxide.grant <user or group> <name or steam id> <permission>
oxide.revoke <user or group> <name or steam id> <permission>
- nteleportation.home – /home、/sethome、/removehome
- nteleportation.deletehome – /home delete & /deletehome
- nteleportation.homehomes – /home homes & /homehomes
- nteleportation.importhomes – teleport.importhomes
- nteleportation.radiushome – /home radius & /radiushome
- nteleportation.tp – /tp – 不要把这个给玩家!不要把这个给默认组!
- nteleportation.tpb – /tpb
- nteleportation.tpr – /tpr
- nteleportation.tpconsole – teleport.topos & teleport.toplayer
- nteleportation.tphome – /home tp 和 /tphome
- nteleportation.tptown – /镇
- nteleportation.tpoutpost – /前哨
- nteleportation.tpbandit – /强盗
- nteleportation.tpn – /tpn
- nteleportation.tpl – /tpl
- nteleportation.tpremove – /tpremove
- nteleportation.tpsave – /tpsave
- nteleportation.wipehomes – /wipehomes
- nteleportation.crafthome – 在家庭 TP 期间允许 CRAFT
- Nteleportation.crafttown – 允许在城镇 TP 期间制作
- Nteleportation.craftoutpost – 在 Outpost TP 期间允许 Craft
- Nteleportation.craftbandit – 在 Bandit TP 期间允许 Craft
- Nteleportation.crafttpr – 在 TPR TP 期间允许 CRAFT
- nteleportation.tpt – 允许即时 TPA
- nteleportation.tpisland – 允许使用 /island 和 /town island
- nteleportation.craftisland – 允许在使用 /island 或 /town island 时进行制作
- nteleportation.bypassfoundationcheck
- nTeleportation.ExemptFromInterruptCountdown – 免除用户在传送倒计时期间被打断
- nteleportation.globalcooldownvip – 此 VIP 用户具有全局冷却时间的时间
- nteleportation.tpmarker – 允许用户通过在地图上放置标记来传送
命令
聊天
- home add NAME – 将您当前的位置保存为位置名称。(别名 sethome)
- 主页列表 – 显示已保存的所有位置的列表。(别名 ListHomes)
- home remove NAME – 从您保存的房屋中删除位置 NAME。(别名 RemoveHome)
- home NAME – 将您传送到主位置。
- home NAME pay – 将您传送到主位置 NAME,通过从您的经济余额中支付来绕过冷却时间。
- tpr – 向玩家发送传送请求。
- tpa – 接受传入的传送请求。
- tpc – 取消传送或请求。
- 城镇 – 将自己传送到城镇(如果设置)。
- 前哨站 – 将自己传送到前哨站(如果已设置)。
- 强盗 – 将自己传送到强盗镇(如果设置)。
- 城镇/前哨/土匪支付 – 将你传送到城镇/前哨/土匪,通过从你的经济余额中支付来绕过冷却时间。
- 例如:/town pay
- tpinfo – 显示限制和冷却时间。
- tphelp – 显示帮助。
- 岛屿<编号> – 将您传送到指定的岛屿
- 岛屿添加 – 在管理员当前位置添加一个生成点(不要添加玩家可以建造的位置)
- TPAT – 为特定播放器打开/关闭自动 TPA-