【1.21-1.20】PlayerDoll——轻量级假人插件
PlayerDoll 是一个插件,允许玩家创建假玩家(假人)。该插件的灵感来自Carpet Mod 中的假人。玩家可以使用此插件执行需要玩家的简单任务。请查看 Github自述文件的详细信息使用此插件可以执行的操作示例:
[*]保持区块加载
[*]种植庄稼
[*]挂机暴民农场
[*]攻击生物
[*]与方块交互
[*]破坏/放置块
[*]还有更多...
注:目前1.21不支持Folia
官方文档:https://github.com/sjavi4/PlayerDoll/blob/main/README.md
警告
如果您运行的是 Folia 类型的服务器,请避免假人进入包含特定区域的手持/悬挂地图的区域。服务器很可能会崩溃,因为地图正在跟踪娃娃。对于 BungeeCord 连接,请在此处查看对于 Velocity 连接,已进行基本测试,不需要特定支持。假人无需任何设置即可直接加入像数据库、多元宇宙这样的事情可能会出错(未经测试或编码来处理)欢迎报告任何问题(性能、错误、建议、反馈、兼容性测试)假人现在将通过模拟客户端连接到服务器。
[*]这应该在未来提供更好的支持。
性能
[*]所有假人都以“-”前缀作为标识符,以区分真实玩家和假人
[*]按原样,假人名字只有 15 个名字长度(遵守真实玩家姓名规则)
[*]假人没有获得减少储存的 crafing 食谱。
[*]假人不计入睡眠百分比
[*]假人默认为生存模式
[*]假人如果死了,会立即退出游戏(遵守游戏规则keepinventory)
[*]假人在命令退化时不会掉落战利品
[*]被命令移除的假人将执行
(遵守游戏规则)
所有与玩家相关的数据将被删除die processkeepinventory
命令和权限当娃娃在区块保护区时,某些命令不可用命令现在已在 vanilla brigadier 中注册在命令系统上发现任何问题时,请报告命令后跟此格式/doll <subcommand> <target> <arguments>
命令权限描述笔记
attackplayerdoll.command.attackDoll attacks(left click) towards it's line of sight
create name playerdoll.command.create
playerdoll.argument.create.skinRegister Doll to serverskinName: Any authenticated player name
Offline server uses default skins
despawnplayerdoll.command.despawnOffline Doll and save Data
dropplayerdoll.command.dropDrop item
dropStackplayerdoll.command.dropDrop item in stack
dismountplayerdoll.command.dismountLet Doll gets off from current vehicle/entity
echestplayerdoll.command.echestOpen Doll's ender chest
exp playerdoll.command.expGet Exp from DollDefault:1 level
gsetplayerdoll.command.gsetSet Doll settings for All playersThis will be overridden by pset
infoplayerdoll.command.infoShow Doll dataAffected by hide_from_list flag
invplayerdoll.command.invOpen Doll's inventory (snapshot)access actual inventory inside GUI
jumpplayerdoll.command.jumpMake Doll jumpsNot support covert-player
lookplayerdoll.command.lookset Doll head to certain direction
lookatplayerdoll.command.lookatSet Doll's head pointing to Entity
menuplayerdoll.command.menuOpen Doll's information panel
mountplayerdoll.command.mountAssign Doll to ride on nearby vehicle/entity
moveplayerdoll.command.moveAssign Doll to move in 4 directions
pset doll playerplayerdoll.command.psetSet Doll settings for Specific playerThis will override gset
removeplayerdoll.command.removeRemove Doll and its Data immediatelyNo recovery
setplayerdoll.command.setOpen Doll settings
slotplayerdoll.command.slotSet Doll's Handheld Slot
sneakplayerdoll.command.sneakSet sneak
spawnplayerdoll.command.spawnSpawn Doll at player
sprintplayerdoll.command.sprintSet sprint
stopplayerdoll.command.stopStop All action
swapHandsplayerdoll.command.swapSwap item between main hand and off hand
tpplayerdoll.command.tpTeleport Doll to player
turnplayerdoll.command.turnRotate Doll's head by yaw(horizontal) and pitch(vertical)
unsneakplayerdoll.command.sneakSet unsneak
unsprintplayerdoll.command.sprintSet unsprint
useplayerdoll.command.useDoll uses/interacts(right click) towards it's line of sight
(能力有限,请自行翻译,后面会补翻译)
页:
[1]