我的世界公民插件Citizens1.20.1版本

我的世界公民插件Citizens1.20.1版本

管理员指令

Admin 指令s
指令 权限 描述
/citizens citizens.admin 显示插件信息
/citizens reload citizens.admin 重载插件
/citizens save citizens.admin 保存NPC配置

帮助指令

Help 指令s
指令 参数描述 权限 描述
/citizens help (Page) – 显示的页数 citizens.help 显示帮助菜单
/npc help (Page) – 显示的页数 citizens.npc.help 显示NPC帮助菜单
/trait help (Page) – 显示的页数 citizens.trait.help 显示 trait帮助菜单
/script help (Page) – 显示的页数 citizens.script.help 显示脚本帮助菜单
/template help (Page) – 显示的页数 citizens.template.help 显示模版帮助菜单
/waypoints help (Page) – 显示的页数 citizens.waypoints.help 显示路径点帮助菜单

NPC指令

应用于所有NPC的总指令

注意: ‘/npc trait’ 已被重置, 已有新的指令来添加、移除和复制traits.

用/trait {traitname] 用来添加traits和角色.

更多信息敬请期待.

NPC指令
指令 参数描述 需要选择NPC 需要主人关系 需要怪物类型 权限 描述

{{#!:

/npc × 显示NPC信息
/npc age [adult, baby, integer, -l] – Adult为成年生物, baby 为幼年生物as baby, integer为生物的年龄, -l 开关是否固定年龄 √ – COW, SHEEP, CHICKEN, PIG, VILLAGER, OCELOT, WOLF citizens.npc.age 修改NPC的年龄
/npc anchor anchor (–save [名称], –assume [名称], –remove [名称]) (-a)(-c) – 保存一个位置作为 ‘锚点’ which can be assumed via assume [名称] × citizens.npc.anchor 更改/保存/列出NPC的位置锚点
/npc behaviour behaviour [脚本] (-r) — scripts is a comma separated list of script file names to look for, -r flag removes them from the NPC. × citizens.npc.behaviour 添加和移除一个NPC的行为. 行为是可以给NPC执行和添加目标的脚本. 这些可以做任何你能编程或想到的事情!
/npc controllable × citizens.npc.controllable.[npc type name] NPC是否可被控制. 可控制NPC可以右键骑乘并用WASD移动. 恶魂、烈焰人和末影龙可以左击来 暂停/继续 飞行
/npc copy (–name 新NPC名) — 复制一个NPC. × citizens.npc.copy 从当前位置复制选中的NPC.
/npc create [NPC Name] – Name to give NPC
(–type [type]) – Mob type to use
–trait [trait1] [trait2] … – A list of traits to apply to the NPC
× citizens.npc.create.mobtype or citizens.npc.create.* 创建新的NPC.

Example : /npc create Jimbo Stevenson --type PIG

/npc despawn (id) 取消生成的NPC的ID × citizens.npc.despawn 取消生成一个NPC
/npc gamemode [gamemode] 游戏模式 PLAYER citizens.npc.gamemode 设置玩家类型的NPC的游戏模式.
/npc gravity × citizens.npc.gravity 开关NPC的重力.
/npc equip √ – PLAYER, PIG, SHEEP, ENDERMAN citizens.npc.edit.equip 进入或退出装备编辑器. 可查看 Equipment Editor Used for player armor, player and endermen items, sheep color/sheared, and pig saddles.
/npc list (-a) – List all NPCs
(–owner (NPC主人)) – Owner
(–type (生物类型)) – Mob type
(–char (character)) – Character
× × × citizens.npc.list 列出符合指定条件的NPC列表
/npc lookclose × citizens.npc.lookclose 切换NPC的注视状态
/npc moveto –x [x] –y [y] –z [z] –world [world] × citizens.npc.moveto The NPC’s current location is taken as the base location. Value arguments are used to modify this base.
/npc mount × citizens.npc.mount 如果NPC设置为可控制,则骑乘选中的NPC.
/npc owner (name) – 新主人的名字, 设置为 “server” 则主人为服务器管理员 (拥有”citizens.admin”权限的玩家) × citizens.npc.owner 设置一个NPC的主人
/npc path × citizens.npc.edit.path 开关 路径点 编辑器. 左击添加新的路径点, 右击删除, 用鼠标滚轮或数字键来选择一个路径点.
/npc pathrange [range] – New range for the NPC × citizens.npc.pathfindingrange Set the range in number of blocks in which the NPC can find a path.
/npc playerlist PLAYER citizens.npc.playerlist Toggles an NPC as a ‘real’ player, so that it will be more recognised by other plugins, will keep chunks loaded and crops ticking.
/npc pose –load [名称]|–remove [name) </×wiki> √ – PLAYER citizens.pose Changes/Stores NPC’s head position based on the Player’s current position.
/npc power √ – CREEPER citizens.npc.power Toggle whether a creeper NPC is powered
/npc profession BLACKSMITH, LIBRARIAN, BUTCHER, FARMER, or PRIEST √ – VILLAGER citizens.npc.profession Change a villager-type NPC’s profession.
/npc remove (all) – 将会删除所有的NPC √ (×t 如果使用了 “all”) × citizens.npc.remove, (citizens.admin.remove.all) Remove a NPC
/npc rename [名称] – 新的NPC名称 × citizens.npc.rename Rename a NPC
/npc select [id] – 选择指定ID的NPC × × citizens.npc.select Selects a NPC with the given ID
/npc size [size] – the integer size for the slime SLIME citizens.npc.size Sets a slime’s size.
/npc skeletontype [type] – 0 or ×RMAL for ×rmal, 1 or WITHER for wither skeleton SKELETON citizens.npc.skeletontype Changes a Skeleton NPC’s type (currently between WITHER and ×RMAL)
/npc spawn [id] – 你想要生成的NPC的ID × citizens.npc.spawn Spawn a existing NPC
/npc speed × citizens.npc.speed changes the NPC’s default speed multiplier. i.e. use 2 to double the ×rmal speed.
/npc text × citizens.npc.edit.text Toggle text editor. ×te that players need the citizens.npc.talk 权限 to hear NPCs!
/npc tphere × citizens.npc.tphere Teleport a NPC to your location
/npc tp × citizens.npc.tp Teleport to a NPC
/npc type [type] – the new entity type × citizens.npc.type Changes an NPC’s mob type.
/npc vulnerable × citizens.npc.vulnerable Toggles whether the NPC can take damage and die, and whether monsters will target it when it is on the player list
/npc zombiemod (-b, -v) – -b for baby, -v for villager ZOMBIE citizens.npc.zombiemodifier Sets a zombie NPC’s modifiers.
/trait [trait1] [trait2] … [traitN – A list of Traits to apply × citizens.npc.trait.* or citizens.npc.trait.<trait-name> for per-trait 权限s Adds the trait type to the NPC. NPCs can have multiple traits.

Example: /trait sentry }}

路径点指令

Waypoint 指令s
指令 Args 描述 权限 描述
/waypoints disableteleport citizens.waypoints.disableteleport Stops NPCs from automatically teleporting the end of their path if they get stuck (NOTE: might be removed at some point).
/waypoints provider [provider名称] (-a) – provider name is the provider to use (currently linear, guided and wander), use -a to get a list of all providers citizens.waypoints.provider 在路径点编辑器内设置路径点provider.

模版指令

Template 指令s
指令 Args 描述 权限 描述
/template apply [template name] (id1 id2…) – takes the name of the template and an optional list of IDs to apply it to citizens.templates.apply Applies the given templates to the NPC.
/template create [template name] (-o) – takes the name of the generated template, -o sets it to override citizens.templates.create Generates a template from the selected NPC and saves it to the templates.yml file.

 

 

© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享