VirtualPlayers

插件

· 作者 Redned

一个适用于 Paper 服务器的 Minecraft 插件,允许你创建虚拟/假玩家,以便通过控制台或游戏内轻松调试插件。

0 本站下载 0 关注 更新于 1 年前

最新 3.0.1 · 26.2 · Paper

一键开服(送7天)

VirtualPlayers by BattlePlugins

一个允许你创建虚拟玩家,以便通过控制台或游戏内轻松调试插件的插件。

VirtualPlayers 是一款专为开发者和服务器管理员设计的插件,用于轻松测试和调试需要多个玩家的插件。虚拟玩家在游戏中并不存在,只能通过控制台或聊天访问,这意味着它们在服务器列表、玩家计数和游戏内都是不可见的。

VirtualPlayers 还可以与许多大型 Minecraft 插件(如 WorldEdit)配合使用,让你能够通过控制台执行通常仅限在线玩家进行的操作。虚拟玩家也可以在游戏内或通过其他命令发送者(如命令方块或告示牌)进行管理。

功能

  • 通过控制台或聊天以虚拟玩家身份运行命令
  • 通过控制台或聊天以虚拟玩家身份发送消息
  • 将虚拟玩家传送至特定位置
  • 给予/取消虚拟玩家的 OP 权限,以测试命令执行
  • 以虚拟玩家身份攻击真实玩家,以测试战斗机制

命令

命令 描述
/vp create <name> 创建一个新的虚拟玩家。
/vp remove <name> 移除一个虚拟玩家。
/vp removeall 移除所有虚拟玩家。
/vp select <player> 选择一个虚拟玩家。
/vp observe <player> 观察一个虚拟玩家。
/vp unobserve <player> 取消观察一个虚拟玩家。
/vp list 列出虚拟玩家。
/vp verbose [player] [true|false] 切换虚拟玩家的详细模式。
/vp teleport [player] [location] 将虚拟玩家传送到指定位置。
/vp command [player] <command...> 以虚拟玩家身份运行命令。
/vp chat [player] <message...> 以虚拟玩家身份发送聊天消息。
/vp op [player] 赋予虚拟玩家 OP 权限。
/vp deop [player] 取消虚拟玩家的 OP 权限。
/vp attack [player] <target> [damage] 以此虚拟玩家身份攻击另一名玩家。

权限

权限 命令
virtualplayers.command.help /vp [help]
virtualplayers.command.create /vp create
virtualplayers.command.remove /vp remove
virtualplayers.command.removeall /vp removeall
virtualplayers.command.select /vp select
virtualplayers.command.observe /vp observe
virtualplayers.command.unobserve /vp unobserve
virtualplayers.command.list /vp list
virtualplayers.command.verbose /vp verbose
virtualplayers.command.teleport /vp teleport
virtualplayers.command.command /vp command
virtualplayers.command.chat /vp chat
virtualplayers.command.op /vp op
virtualplayers.command.deop /vp deop
virtualplayers.command.attack /vp attack

开发者指南

VirtualPlayers 为开发者提供了 API。请参阅 开发者指南 了解如何使用该 API 的说明。

链接

  • 网站:
  • Discord: BattlePlugins Discord
  • 捐赠: BattlePlugins Patreon

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源