1069418097
本帖最后由 1069418097 于 2018-4-27 07:40 编辑

[size=1.5157em] NPCs

今天给大家带来了属于海绵端NPC插件

这个插件可以让你很容易地创建NPC并编辑它们最重要的是不需要配置。

你可以制造任何类型的NPC,人类、豹猫、僵尸、鱿鱼。有很多特效来设置你的NPC,例如,NPC看向身边的玩家,用正版皮肤,自定义名称,发光,坐下,大小,以及更多。所有这些都可以应用于NPC,使用一个很简单的菜单编辑。

如果你想编辑一个NPC,你必须移动并右击它。然后,当你键入“/NPC”,你会打开一个点击式菜单,每一个可能的设置,非常容易使用。当创建NPC时,菜单会自动出现。
作者原话

使用方法

下载本插件,扔进mods文件夹,重启服务器
所有插件都需要前置
bStats
PlaceholderAPI【可选但推荐添加】




特性:
直接拖放mods安装
不需要配置
易于使用的NPC菜单
许多NPC选项
NPC互动系统:
玩家命令
命令行状态
信息
延误
停顿
条件
技能冷却
选择
古托

动作:

当有人点击时,NPC可以执行某些操作。它有点像Windows批处理或Linux SH。

目前有8种类型的行动:

消息-发送消息。
玩家命令-让玩家运行命令。
控制台命令-使控制台运行命令。
延迟-等待X滴答,然后继续。
暂停-停止运行动作,所以玩家必须再次点击NPC。
GOTO -在动作列表中执行某个动作。
选择-让玩家选择。每个选项都有一个GOTO连接到它。
条件-要求玩家有东西(物品、等级等)。它有2个GOTO连接到它,一个用于条件失败,一个用于满足它。
冷却-防止玩家与NPC交互一段时间。
可以使用占位符API 357向消息和命令添加某些变量。如果不使用该插件,则只能使用以下占位符:
变量
%player_name%
%player_uuid%
%player_world%
问题提交
https://github.com/Daniel12321/NPCs/issues

计划
  • Walking (AI Goals unimplemented)
  • 步行(AI目标未实现)
  • Villager Trades
  • 村民交易

指令&权限

请看上面的插件介绍
命令:
这个插件的基本命令是/NPC。当你选择NPC时,NPC菜单可以帮助你编辑。在那里您可以编辑所有选项和设置,通过可点击的菜单。

如果你没有NPC的选择,它会给你一些关于插件的基本信息,以及如何创建一个新的NPC。当创建新的NPC时,您将自动发送NPC菜单。

创建新的NPC:

命令:/NPC创建 [实体类型]
权限:npc.create
特性:
  1. Remove:
  2. - Permission: npc.remove
  3. - Info: Removed the selected NPC.

  4. Copy:
  5. - Permission: npc.copy
  6. - Info: Copies the selected NPC, leaving 2 identical NPC's.

  7. Mount:
  8. - Permission: npc.mount
  9. - Info: Mount the selected NPC.

  10. Move:
  11. - Permission: npc.edit.move
  12. - Info: Moved the selected NPC to your current location.

  13. Deselect:
  14. - Permission: npc.edit.deselect
  15. - Info: Deselects your selected NPC, if you have one.

  16. Name:
  17. - Permission: npc.edit.name
  18. - Info: Rename the selected NPC.

  19. Look:
  20. - Permission: npc.edit.look
  21. - Info: Makes the selected NPC look towards nearby players.

  22. Interact:
  23. - Permission: npc.edit.interact
  24. - Info: Makes the selected NPC interactable (false by default)

  25. Glow:
  26. - Permission: npc.edit.glow
  27. - Info: Makes the selected NPC glow, like if it werehit by a spectral arrow.

  28. Glow Color:
  29. - Permission: npc.edit.glowcolor
  30. - Info: Changes the color of the glowing effect.

  31. Size:
  32. - Permission: npc.edit.size
  33. - Info: Sets the size of the selected NPC.
  34. - Requirement: Only for (magma) slime.

  35. Sitting:
  36. - Permission: npc.edit.sitting
  37. - Info: Makes the selected NPC sit.
  38. - Requirement: Only for wolf and cats.

  39. Charged:
  40. - Permission: npc.edit.charged
  41. - Info: Makes the selected NPC charged.
  42. - Requirement: Only for creepers.

  43. Angry:
  44. - Permission: npc.edit.angry
  45. - Info: Makes the selected NPC angry.
  46. - Requirement: Only for wolfs.

  47. Hanging:
  48. - Permission: npc.edit.hanging
  49. - Info: Makes the selected NPC hang upside down.
  50. - Requirement: Only for bats.

  51. Silent:
  52. - Permission: npc.edit.silent
  53. - Info: Makes the selected NPC quiet.

  54. Saddle:
  55. - Permission: npc.edit.saddle
  56. - Info: Makes the selected NPC have a saddle on its back.
  57. - Requirement: Only for pigs.

  58. Pumpkin:
  59. - Permission: npc.edit.pumpkin
  60. - Info: Removes the pumpkin from a selected snowman NPC's head.
  61. - Requirement: Only for snowman.   

  62. Skin:
  63. - Permission: npc.edit.skin
  64. - Info: Set the skin of the selected NPC.

  65. Career:
  66. - Permission: npc.edit.career
  67. - Info: Sets the career of the selected NPC.

  68. Cat Type:
  69. - Permission: npc.edit.cattype
  70. - Info: Sets the Cat Type of the selected NPC.

  71. Llama Type:
  72. - Permission: npc.edit.llamatype
  73. - Info: Sets the Llama Type of the selected NPC.
  74. - Requirement: Only for llama.

  75. Horse Pattern:
  76. - Permission: npc.edit.horsepattern
  77. - Info: Sets the Horse Patternof the selected NPC.
  78. - Requirement: Only for horses.

  79. Horse Color:
  80. - Permission: npc.edit.horsecolor
  81. - Info: Sets the Horse Color of the selected NPC.
  82. - Requirement: Only for horses.

  83. Cat Type:
  84. - Permission: npc.edit.cattype
  85. - Info: Sets cat type of the selected NPC.
  86. - Requirement: Only for cats(ocelot).

  87. Helmet:
  88. - Permission: npc.edit.helmet
  89. - Info: Makes the selected NPC wear the item in your hand.
  90. - Requirement: Only for humans.

  91. Chestplate:
  92. - Permission: npc.edit.chestplate
  93. - Info: Makes the selected NPC wear the item in your hand.
  94. - Requirement: Only for humans.

  95. Leggings:
  96. - Permission: npc.edit.leggings
  97. - Info: Makes the selected NPC wear the item in your hand.
  98. - Requirement: Only for humans.

  99. Boots:
  100. - Permission: npc.edit.boots
  101. - Info: Makes the selected NPC wear the item in your hand.
  102. - Requirement: Only for humans.

  103. Hand:
  104. - Permission: npc.edit.hand
  105. - Info: Makes the selected NPC holdthe item in your hand.
  106. - Requirement: Only for humans.

  107. OffHand:
  108. - Permission: npc.edit.OffHand
  109. - Info: Makes the selected NPC hold the item in your hand.
  110. - Requirement: Only for humans.

  111. MC1.10 Only:

  112. Zombie Type:
  113. - Permission: npc.edit.zombietype
  114. - Info: Sets the selected NPC's Zombie Type.
  115. - Requirement: Only for zombies.

  116. Skeleton Type:
  117. - Permission: npc.edit.skeletontype
  118. - Info: Sets the selected NPC's Skeleton Type.
  119. - Requirement: Only for skeletons.

  120. Horse Type:
  121. - Permission: npc.edit.horsetype
  122. - Info: Sets the selected NPC's Horse Type.
  123. - Requirement: Only for horses.
复制代码


语言文件

有空汉化

下载地址

https://github.com/Daniel12321/NPCs/releases

给点人气金粒呗









Mccraft-pepsi
虽然sponge端插件少,但是,我感觉这插件根本就没啥大用,既然兼容mod的话,那我感觉有CustomNPCmod就行了

1069418097
Mccraft-pepsi 发表于 2018-4-26 15:20
虽然sponge端插件少,但是,我感觉这插件根本就没啥大用,既然兼容mod的话,那我感觉有CustomNPCmod就行了 ...

你说的对,但是我觉得 CustomNPCmod 有优点,也有缺点,这个插件也是如此。配合起来,效果会更好,你可以仔细了解一下,这个插件有很多CustomNPCmod没有的功能

Mccraft-pepsi
1069418097 发表于 2018-4-27 07:30
你说的对,但是我觉得 CustomNPCmod 有优点,也有缺点,这个插件也是如此。配合起来,效果会更好,你可以 ...

不,是你不知道而已,高版本的CustomNPCmod无所不能,前提是会脚本这东西。

xjlxzcdwq
Mccraft-pepsi 发表于 2018-4-27 11:40
不,是你不知道而已,高版本的CustomNPCmod无所不能,前提是会脚本这东西。 ...

自定义NPCmod可以执行服务器指令吗,怎么执行啊,是插件的指令。

Mccraft-pepsi
xjlxzcdwq 发表于 2018-5-1 13:28
自定义NPCmod可以执行服务器指令吗,怎么执行啊,是插件的指令。

不好意思,当然可以,前提是你得会CustomNPCmod的脚本,脚本无所不能!

xjlxzcdwq
Mccraft-pepsi 发表于 2018-5-1 21:29
不好意思,当然可以,前提是你得会CustomNPCmod的脚本,脚本无所不能! ...

我就是问你怎么执行服务器的指令,我知道无所不能,但我的意思是怎么使用插件的命令,而不是minecraft的命令!!具体要怎么操作

Mccraft-pepsi
xjlxzcdwq 发表于 2018-5-1 21:38
我就是问你怎么执行服务器的指令,我知道无所不能,但我的意思是怎么使用插件的命令,而不是minecraft的 ...

emm,这个涉及到JAVA,需要一定的基础,三言两语的是教不会的,的要你自己去学自己体会,我就是这么来的,脚本中npc.executeCommand("/.....");就是一个执行指令的脚本,单人中是不能使用插件命令的,而服务器是可以的。具体的教程介绍看这里吧:CustomNPCmod——一个超乎想象的东西!

下一页 最后一页