ZNPCs
SpigotMC
玄易同志
2024-04-15
资源介绍




权限
[TABLE][TR]
[TH][CENTER]Command[/CENTER][/TH]
[TH][CENTER]Permission[/CENTER][/TH]
[TH][CENTER]Description[/CENTER][/TH]
[/TR]
[TR]
[TD][CENTER]/znpcs[/CENTER][/TD]
[TD][CENTER]-[/CENTER][/TD]
[TD][CENTER]显示ZNPC的帮助[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs create[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.create[/CENTER][/TD]
[TD][CENTER]创建新NPC[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs delete[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.delete[/CENTER][/TD]
[TD][CENTER]Delete a NPC[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs list[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.list[/CENTER][/TD]
[TD][CENTER]列出所有NPC[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs skin[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.skin[/CENTER][/TD]
[TD][CENTER]改变NPC的皮肤[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs equip[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.equip[/CENTER][/TD]
[TD][CENTER]更换NPC装备[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs lines[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.lines[/CENTER][/TD]
[TD][CENTER]更改NPC线路[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs move[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.move[/CENTER][/TD]
[TD][CENTER]Move a NPC[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs type[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.type[/CENTER][/TD]
[TD][CENTER]改变NPC的类型[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs action[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.action[/CENTER][/TD]
[TD][CENTER]编辑NPC的动作[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs toggle[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.toggle[/CENTER][/TD]
[TD][CENTER]切换NPC的设置[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs customize[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.customize[/CENTER][/TD]
[TD][CENTER]自定义NPC[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs path[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.path[/CENTER][/TD]
[TD][CENTER]使用路径命令[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs teleport[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.teleport[/CENTER][/TD]
[TD][CENTER]传送给NP[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs height[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.height[/CENTER][/TD]
[TD][CENTER]改变NPC的全息图高度[/CENTER][/TD]
[/TR]
[TR]
[TD][CENTER]/znpcs conversation[/CENTER][/TD]
[TD][CENTER]znpcs.cmd.conversation[/CENTER][/TD]
[TD][CENTER]使用对话命令[/CENTER][/TD]
[/TR]
[/TABLE]
翻译
PLAINTEXT
{
"INCORRECT_USAGE": "&c命令使用不正确。",
"NO_PATH_FOUND": "&c未找到路径。",
"INVALID_NUMBER": "&c嘿!输入的数字/ID看起来不像一个数字。",
"UNSUPPORTED_ENTITY": "&c您当前版本不支持该实体类型。",
"SUCCESS": "&a完成...",
"NO_NPC_FOUND": "&c未找到NPC。",
"INVALID_SIZE": "&c位置不能超过限制。",
"ACTION_ADD_INCORRECT_USAGE": "&e用法: &a<服务器:命令:消息:控制台> <动作值>",
"FETCHING_SKIN": "&a正在获取名为:&f%s&a 的皮肤,请等待...",
"NO_CONVERSATION_FOUND": "&c未找到对话。",
"TOO_FEW_ARGUMENTS": "&c参数太少。",
"ACTION_DELAY_INCORRECT_USAGE": "&e用法: &a<动作ID> <延迟>",
"NO_PERMISSION": "&c您没有执行此命令的权限。",
"COMMAND_NOT_FOUND": "&c未找到命令。",
"PATH_SET_INCORRECT_USAGE": "&e用法: &aset <NPC ID> <路径名称>",
"INVALID_NAME_LENGTH": "&c名称太短或太长,必须在(3到16)个字符之间。",
"CONVERSATION_FOUND": "&c已经存在这个名称的对话。",
"NO_SKIN_FOUND": "&c未找到皮肤。",
"NPC_NOT_FOUND": "&c嘿!,我找不到这个ID的NPC。",
"NO_ACTION_FOUND": "&c未找到动作。",
"NO_LINE_FOUND": "&c未找到行。",
"CANT_GET_SKIN": "&c无法获取名为:%s 的皮肤。",
"METHOD_NOT_FOUND": "&c未找到方法。",
"GET_SKIN": "&a获取到皮肤。",
"PATH_FOUND": "&c已经存在这个名称的路径。",
"COMMAND_ERROR": "&c执行命令时出现错误,请查看控制台获取更多信息。",
"CONVERSATION_SET_INCORRECT_USAGE": "&c用法:<NPC ID> <对话名称> <半径:点击>",
"PATH_START": "&a完成,现在走到您想要NPC去的地方,完成后输入/znpcs路径退出。",
"EXIT_PATH": "&c您已退出路径创建。",
"NPC_FOUND": "&c已经存在这个ID的NPC。"
}指令
/znpcs create <id> <type> <name>
- <id> 是NPC ID
- <type> 是NPC类型https://www.cyanbukkit.net/index.php?threads/entity_type.20/
- <name> 是NPC上方的文本。
- Example: 范例:
- /znpcs create 1 PLAYER jeff
/znpcs delete <id>
- <id> 是NPC ID。
- Example: 范例:
- /znpcs delete 1
/znpcs list
- 列出所有的NPC
[B]/znpcs move <id>[/B]
- [B]<id> 是NPC ID[/B]
[B][B]/znpcs teleport <id>[/B][/B]
- [B][B]<id> 是NPC ID[/B][/B]
[B][B][B]/znpcs type <id> <type>[/B][/B][/B]
- [B][B]<id> 是NPC ID[/B][/B]
- [B][B]<type> 是NPC类型[/B][/B]
[B][B][B]/znpcs lines <id> <text>[/B][/B][/B]
- [B][B][B]<id> 是NPC ID[/B][/B][/B]
- [B][B][B]<text> 是将显示在NPC上方的文本[/B][/B][/B]
[B][B][B][B]/znpcs skin <id> <username>[/B][/B][/B][/B]
- [B][B][B][B]<id> 是NPC ID[/B][/B][/B][/B]
- [B][B][B][B]<username> 是皮肤将被设置为NPC的玩家的用户名[/B][/B][/B][/B]
- Example:
- /znpcs skin 1 Notch
- Using URL
- /znpcs skin <id> <url>
- <id> is the NPC id.
- <url> is the link to the skin image(should end in .png or .jpg).
- /znpcs skin <id> <url>
- Example:
- /znpcs skin 1 http://novask.in/5126623161.png
/znpcs height <id> <height>
- <id> is the NPC id.
- <height> is the height that hologram is set to(Default is 1).
- Example:
- /znpcs height 1 0.75
- /znpcs height 1 1.5
[INDENT][/INDENT]
/znpcs action <id> add CMD <command>- <id> is the NPC id.
- <command> is the command that will be executed.
- Example:
- /znpcs action <id> add CMD menu
- <id> is the NPC id.
- <command> is the command that will be executed.
- Example:
- /znpcs action <id> add CONSOLE eco give %player_name% 10
- <id> is the NPC id.
- <text> is the message that will be sent.
- Example:
- /znpcs action <id> add CHAT sample text
- <id> is the NPC id.
- <text> is the message that will be sent.
- Example:
- /znpcs action <id> add MESSAGE Welcome
- <id> is the NPC id.
- <server> is the name of server(in the bungeecord config).
- NOTE: You need a bungeecord proxy to use this
- Example:
- /znpcs action <id> add SERVER smp
/znpcs action <id> list
- <id> is the NPC id.
- Example:
/znpcs action <id> remove <actionId>
- <id> is the NPC id.
- <actionId> is the action id.
- Example:
- /znpcs action <id> remove 0
- <id> is the NPC id.
- <actionId> is the action id.
- <delay> is the cooldown delay in seconds
- Example:
- /znpcs action <id> cooldown 0 5
/znpcs toggle <id> look
- <id> is the NPC id.
- Example:
- /znpcs toggle 1 look
/znpcs toggle <id> holo
- <id> is the NPC id.
- Example:
- /znpcs toggle 1 holo
/znpcs toggle <id> mirror
- <id> is the NPC id.
- Example:
- /znpcs toggle 1 mirror
发光
/znpcs toggle <id> glow <color>
- <id> is the NPC id.
- <color> is the color of glowing effect.
- Example:
- /znpcs toggle 1 glow RED
- /znpcs toggle 1 glow BLUE
[HR][/HR] /znpcs equip <id> <slot>
- <id> is the NPC id.
- <slot> is slot that the item is equipped in.
- The are HAND,OFFHAND,HELMET,CHESTPLATE,LEGGINGS and BOOTS
- Example:
- /znpcs equip 1 HELMET
[HR][/HR]
自定义
/znpcs customize <id> <type> <value>
- <id> is the NPC id.
- <type> is the type of customization. All customize methods here.
- <value> is the value for the respective customization type
[HR][/HR]
Path
[QUOTE]To make a NPC move in a path.
[/QUOTE]
Create Path
- To enter path creation mode.
- /znpcs path create <name>
- <name> is path name.
- /znpcs path create test1
NOTE: After running this command,Move where you want the npc to move. Then run the exit command shown below.
[/QUOTE]
Exit Path
- To exit path creation mode.
- /znpcs path exit
- /znpcs path exit
Set Path
- To set path for a NPC.
- /znpcs path set <id> <name>
- <id> is the NPC id.
- <name> is path name.
- /znpcs path set 1 test1
Conversation
[QUOTE]To setup conversations.
[/QUOTE]
Create conversation
- To create a conversation.
- /znpcs conversation create <name>
- <name> is conversation name.
- /znpcs conversation create test1
NOTE: After running this command, use the command below.
[/QUOTE]
Open Gui
- To open the editor gui for conversations.
- /znpcs conversation gui
- /znpcs conversation gui
Remove conversation
- To delete a conversation.
- /znpcs conversation remove <name>
- <name> is conversation name.
- /znpcs conversation remove test1
Set Conversation
- To set converastion for a NPC.
- /znpcs conversation set <id> <name> <type>
- <id> is the NPC id.
- <name> is conversation name.
- <type> is conversation type.
- Available conversation type's are:
- CLICK : Executes when the player clicks the NPC.
- RADIUS : Executes when the player is in set radius from the NPC. Example:
- /znpcs conversation set 1 test1 CLICK
- /znpcs conversation set 1 test1 RADIUS
作者信息
玄易同志
网站的个人号~