NPC 插件

有关本项目的详细信息,请参阅我们详细的文档。
在服务器上创建 NPC,允许玩家通过这些 NPC 访问其他子服务器。执行各种操作,如发送消息、标题或声音。NPC 原生渲染,因此无需第三方 NPC 插件,但仍可使用 Citizens、FancyNpcs、ZNPCsPlus 和 MythicMobs 的 NPC。
功能
- 自定义加入 NPC:创建 NPC,让玩家无缝加入子服务器!
- 独立使用:无需第三方插件——只需拖放即可!
- 游戏内编辑器:在不触碰文件的情况下更改 NPC 的所有内容!
- 自定义物品栏:在带有实时服务器列表的拖放画布上构建服务器选择器!
- 全息图:在 NPC 上方添加带有旋转线条的美丽全息图!
- 占位符:在任何地方使用占位符——在全息图、物品等中!
- 通过动作进行自定义:当玩家与 NPC 互动时触发消息、动作栏、标题、声音等!
- 知晓服务器离线状态:全息图和点击动作会自动切换。
- 生动的 NPC:装备、姿势、大小、点击动画和对话气泡。
- 支持其他 NPC 插件:附加来自 Citizens、FancyNpcs、ZNPCsPlus 或 MythicMobs 的 NPC!
支持的服务器
Paper(及其分支)从 1.20.6 到最新版本,需使用 Java 21 或更高版本。 需要 SimpleCloud API 插件;请使用与您服务器版本对应的构建。 从 1.21.9 开始,NPC 是原生的 Mannequin 实体。
快速入门
站在希望出现 NPC 的位置,并运行:
/scnpcs create <id> <group-or-persistent-server>
例如,/scnpcs create lobby Lobby 会生成一个穿着你皮肤的 NPC,将其链接到
SimpleCloud 目标,添加默认全息图,并使右键点击加入该目标。编辑器将立即打开;稍后,
在注视 NPC 时运行 /scnpcs edit 可重新打开它。
可以通过以下命令附加来自其他插件的现有 NPC:
/scnpcs link <id> <provider> <reference> <target>。它们仍属于其所属插件,SimpleCloud 仅添加点击处理功能。可以在编辑器中开启全息图。
菜单通过 /scnpcs inventory create <id> 构建,并从 NPC 或通过
/scnpcs inventory open <id> 打开。运行 /scnpcs help 查看所有命令。
升级
将新的 jar 文件覆盖旧的 jar 文件。NPC 文件将在首次启动时迁移,并且每个旧文件的备份都会保留在其旁边。
占位符
在游戏中运行 /scnpcs placeholders 以获取完整列表。全息图和菜单理解 NPC 目标的占位符:
<target_name>
<target_online_players>
<target_max_players>
<target_property:key>
全息图和动作文本也理解 <playername> 和 <playeruuid>,并且在安装 PlaceholderAPI 的情况下使用 %placeholders%。全息图为每个玩家渲染它们。
贡献
欢迎对 SimpleCloud 的贡献,我们对此表示高度赞赏。然而,在您急于投入之前,我们希望您先阅读我们的贡献指南。
对于此仓库,docs/ARCHITECTURE.md 解释了模块结构。
许可证
此仓库根据 Apache 2.0 许可。
[social-youtube]: [social-discord]:
NPC Plugin

[][social-discord]
[][social-youtube]
Report a Bug
·
Request a Feature
? Give us a star — your support means the world to us!
All information about this project can be found in our detailed documentation.
Create NPCs on your server that allow your players to access other subservers through the NPCs. Perform various actions such as sending messages, titles, or sounds. NPCs are rendered natively, so no third-party NPC plugin is needed, but Citizens, FancyNpcs, ZNPCsPlus and MythicMobs NPCs can still be used.
Features
- Custom Join NPC: Create NPCs to let your players join sub-servers seamlessly!
- Use it as a Standalone: No third-party plugins needed—just drag and drop!
- In-Game Editor: Change everything about an NPC without touching a file!
- Custom Inventories: Build server selectors on a drag-and-drop canvas with live server lists!
- Holograms: Add beautiful holograms above your NPCs, with rotating lines!
- Placeholders: Use placeholders anywhere—in holograms, items, and more!
- Customize with Actions: Trigger messages, action bars, titles, sounds, and more when a player interacts with an NPC!
- Knows When Servers Are Offline: Holograms and click actions switch on their own.
- Lively NPCs: Equipment, poses, sizes, click animations and speech bubbles.
- Support for Other NPC Plugins: Attach NPCs from Citizens, FancyNpcs, ZNPCsPlus or MythicMobs!
Supported servers
Paper (and its forks) from 1.20.6 up to the latest release, on Java 21 or newer. The SimpleCloud API plugin is required; use its build for your server version. From 1.21.9 on, NPCs are native Mannequin entities.
Quick start
Stand where the NPC should appear, and run:
/scnpcs create <id> <group-or-persistent-server>
For example, /scnpcs create lobby Lobby spawns an NPC wearing your skin, links it
to the SimpleCloud target, adds a default hologram, and makes right-click join the
target. The editor opens right away; later, /scnpcs edit while looking at the NPC
brings it back.
Existing NPCs from other plugins can be attached with
/scnpcs link <id> <provider> <reference> <target>. They keep belonging to their
plugin, SimpleCloud adds the click handling. A hologram can be turned on in the editor.
Menus are built with /scnpcs inventory create <id> and opened from an NPC or with
/scnpcs inventory open <id>. Run /scnpcs help for all commands.
Upgrading
Drop the new jar over the old one. NPC files are migrated on the first start, and a backup of every old file is kept next to it.
Placeholders
Run /scnpcs placeholders in-game for the full list. Holograms and menus understand
the placeholders of the NPC's target:
<target_name>
<target_online_players>
<target_max_players>
<target_property:key>
Holograms and action texts also understand <playername> and <playeruuid>, and with
PlaceholderAPI installed %placeholders%. Holograms render them for each player.
Contributing
Contributions to SimpleCloud are welcome and highly appreciated. However, before you jump right into it, we would like you to read our Contribution Guide.
For this repository, docs/ARCHITECTURE.md explains the modules.
License
This repository is licensed under Apache 2.0.
[social-youtube]: [social-discord]:
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NPCs Plugin
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧