插件介绍
创建将玩家传送到任何地方、运行命令或打开门的 NPC
If you'd like the free premium version or if you'd like to buy a one on one service for configuring the plugin you can message me directly for more information
Permission for each NPC can be set in the data/NpcTp/NpcTP_Data.json file.
If you set spawnfile to name random it will tp to a random spot on the map with out needing to create a spawnfile.
or for command npc use
主要用途
主要用于传送、npcs、automation等服务端功能。 本插件由 Razor 发布,当前目录记录版本为 v2.5.2,uMod 累计下载 10,405 次。
适用场景
- PVE、活动服或任务玩法服务器
- 希望改善玩家交互与日常体验的社区服务器
功能分类
查看 uMod 官方英文简介
Creates NPCs that teleport players anywhere, run commands, or open doors
权限节点
npctp.adminAllows players to use the /npctp_add chat command
npctp.defaultAllows players to interfact with created NPCs
Permission for each NPC can be set in the data/NpcTp/NpcTP_Data.json file.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
/npctp_add <npcID> <Optional spawnfile name>
If you set spawnfile to name random it will tp to a random spot on the map with out needing to create a spawnfile.
or for command npc use
/npctp_add <npcID>
add the npc to a door to open
/npctp_door <npcID>
To add a command for the npc to run
/npctp <npcID> command <refrence name>
To add a item on use for the npc to useItem
/npctp <npcID> item <Item shortname>
Edit them in data/NpcTp/NpcTP_Data.json for more options or use the /npctp chat command.
UI to confirm if they want to pay or not.
相关依赖
- Human NPC
- Path Finding
- Economics
- Jail
- Server Rewards
- Spawns Database
- Vanish
配置说明
{ "KillNoPerms": { "NpcFollowUntellDead": false, "OnFireDamage": 10, "OnFireTime": 10, "SetOnFire": false, "UseGunToKill": true }, "KillSleepPlayer": { "SleepKillDamage": 10 }, "SETTINGS": { "AutoCloseDoors": true, "AutoCloseTime": 15, "DoorOpenMessage": true, "useEconomics": false, "useRewards": false } }
官方配置示例
{
"KillNoPerms": {
"NpcFollowUntellDead": false,
"OnFireDamage": 10,
"OnFireTime": 10,
"SetOnFire": false,
"UseGunToKill": true
},
"KillSleepPlayer": {
"SleepKillDamage": 10
},
"SETTINGS": {
"AutoCloseDoors": true,
"AutoCloseTime": 15,
"DoorOpenMessage": true,
"useEconomics": false,
"useRewards": false
}
}{
"NpcTP": {
"1360609784": {
"NpcName": "<color=#ffff00>Npc</color> : ",
"SpawnFile": null,
"Cooldown": 0,
"CanUse": true,
"useUI": false,
"Cost": 0.0,
"permission": "npctp.default",
"useItem": true,
"UseCommand": true,
"useMessage": false,
"MessageNpc": "none",
"EnableDead": false,
"DeadOnPlayer": false,
"DeadCmd": "jail.send",
"DeadArgs": "5",
"OpenDoor": false,
"DoorLocX": 0.0,
"DoorLocY": 0.0,
"DoorLocZ": 0.0,
"DoorId": 0,
"NoPermKill": false,
"KillSleep": false,
"Commands": {
"say": {
"Command": "say",
"Arrangements": "this is a test",
"OnPlayer": false
},
"say2": {
"Command": "inventroy.give",
"Arrangements": "scrap 25",
"OnPlayer": true
}
},
"Items": {
"metal": {
"ItemShortName": "metal.fragments",
"Amount": 100
},
"stones": {
"ItemShortName": "stones",
"Amount": 10
}
}
}
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。