CommandNPCs
让任意生物像 NPC 一样执行命令!这是一个简单的插件,没有大型插件附带的那些冗余功能。
所有命令都将从控制台执行!
更新 1.4:禁用 AI 现在适用于所有版本。
更新 1.3.2:修复了村民商店。
更新 1.3:现在支持任何生物!
更新 1.2.1:plugin.yml 存在小问题。现已修复 :)
更新 1.2:添加了禁用所有 AI 和村民伤害的设置!请参阅更新日志。
命令
/commandnpcs - 主命令。显示用法。
/commandnpcs cancel - 取消当前生效的管理员命令(add、remove)。
/commandnpcs add <command> - 向 NPC 添加一个命令。注意,使用下划线 _ 代替空格。参见“示例用法”。
/commandnpcs remove - 移除 NPC 上的所有命令。
权限
commandnpcs.use - 允许使用 CommandNPCs。默认情况下,玩家拥有此权限。
commandnpcs.admin - 允许使用管理员命令(add、remove、cancel)。
变量
%player% 替换为玩家的名字。
%next% 表示下一条命令。
示例用法
/commandnpcs add broadcast_Hello!%next%heal_%player%
这将为 NPC 分配 '/broadcast Hello' 和 '/heal Sponges' 命令。
源代码
全部位于我的个人网站:。请注意,spongybacon.com 是一个个人网站,与 dev.bukkit.org 无关——所有下载和浏览均风险自负。
即将推出的功能
- 使命令由玩家执行。
- 为每个 NPC 添加运行该命令的独立权限。
CommandNPCs
Makes any mob run commands, as an NPC! This is a simple plugin, so a good plugin without all the rubbish big plugins come with.
All commands will be ran from the console!
Update 1.4: Disabling AI now works on all versions.
Update 1.3.2: Fixed villager shops.
Update 1.3: Now works with any mobs!
Update 1.2.1: Slight issue with the plugin.yml. Now fixed :)
Update 1.2: Added setting to disable all AI and villager damage! See changelog.
Commands
/commandnpcs - Main command. Shows usage.
/commandnpcs cancel - Cancels any admin commands that are active (add, remove).
/commandnpcs add <command> - Adds a command to an NPC. Note, use _ for spaces. See the 'Example usage'.
/commandnpcs remove - Removed all commands from an NPC.
Permissions
commandnpcs.use - Allows the use of CommandNPCs. By default, players have this.
commandnpcs.admin - Allows the use of admin commands (add, remove, cancel).
Variables
%player% replaces with the player's name.
%next% signifies the next command.
Example usage
/commandnpcs add broadcast_Hello!%next%heal_%player%
This will assign '/broadcast Hello' and '/heal Sponges' to the npc.
Source code
All on my personal site, . Please note that spongybacon.com is a personal site and is not affilliated with dev.bukkit.org - all downloads and viewings are at your own risk.
Upcoming features
- Make commands run from player.
- Add per npc permissions for running the command, from that npc.
下载 CommandNPCs
下载 CommandNPCs
下载 CommandNPCs
下载 CommandNPCs
下载 CommandNPCs
下载 CommandNPCs
现在使用反射来使禁用 AI 在所有版本中生效。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧