Summon Friendly Mobs
允许你召唤不会攻击召唤者的敌对生物。
命令用法:
/summonfriendlymob <mob_type> [<x> <y> <z>] {NBT_data} : 召唤一个友方生物
/givespawnegg <player> <mob_type> [amount] : 给予玩家特殊的刷怪蛋
/attack <target player name | target mob uuid> : 攻击指定的玩家或生物
/mobs : 列出玩家拥有的友方生物列表
/sfmreload : 重载插件
/mobsfollow : 使玩家的生物在指定持续时间内跟随该玩家
别名:
/sfm [用于 summonfriendlymob]
/gse [用于 givespawnegg]
仅在 <mob_type> 中输入生物的名称。
示例:
✅ /summonfriendlymob blaze
✅ /sfm blaze
✅ /givespecialspawnegg @s blaze
✅ /gse @s blaze
❌ /summonfriendlymob minecraft:blaze
❌ /sfm minecraft:blaze
❌ /givespecialspawnegg minecraft:blaze
❌ /gse minecraft:blaze
坐标是可选的,如果未提供,则默认为 ~ ~ ~
数量也是可选的,如果不指定则默认为 1
配置说明
对于 1.19.x 以下的版本,如果配置文件第一次没有正确生成,请重启服务器。
配置文件 (config.yml) 位于 <server_folder>/plugins/SummonFriendlyMobs/ 中。
你可以修改配置中的 FriendlyWarden (MC 1.19+), UniversallyFriendly, SaveFriendliness, SaveWardenFriendliness, WardenCheckInterval (MC 1.19+), UpdateNotifier, AllowAttack 和 AllowCustomMobSettings。
FriendlyWarden: false # 切换由插件召唤的监守者是否对召唤者友好。
WardenCheckInterval: 1 # 每次检查以清除监守者对召唤者的愤怒之间的刻数间隔
UniversallyFriendly: false # 切换由本插件召唤的生物仅对召唤者友好还是对所有玩家友好
SaveFriendliness: false # 切换是否在服务器重启后仍保留生物的友好状态
SaveWardenFriendliness: false # 切换是否在服务器重启后仍保留监守者的友好状态
UpdateNotifier: true # 切换是否通知有新版本的插件
AllowAttack: true # 切换是否允许玩家使用 /attack 命令
AllowCustomMobSettings: false # 切换是否使用 mobs.yml 中的生物设置
Taming: false # 切换是否允许驯服
bStats: true # 切换是否发送 bStats 数据
MobsFollowDuration: 30 # 使用 /mobsfollow 时生物跟随主人的持续时间(秒,假设游戏运行在 20tps)
WardenCheckInterval 是监守者愤怒被清除前的刻数间隔,较高的数值会导致检查次数减少,监守者可能会攻击召唤者。这对性能的影响微乎其微。此设置不适用于其他任何生物。监守者由于其感知和攻击玩家的方式不同,其安抚机制也不同。
文件 summonerMap.dat 保存了生物的友好数据,warden_data.yml 保存了监守者的友好数据。除非你完全确定自己在做什么,否则不要更改其中的任何内容。
权限
- summonfriendlymob.summon : 使用 /summonfriendlymob 或 /sfm 命令所需的权限
- summonfriendlymob.give : 使用 /givespawnegg 或 /gse 命令所需的权限
- summonfriendlymob.attack : 使用 /attack 命令所需的权限
- summonfriendlymob.check : 使用 /mobs 命令所需的权限
- summonfriendlymob.reload : 使用 /sfmreload 命令所需的权限
- summonfriendlymob.mobsfollow : 使用 /mobsfollow 命令所需的权限
已知问题
我知道这个插件存在一些且将来可能还会有更多问题,因为这是我公开发布的第一个插件。
部分生物即使对召唤它们的玩家也保持敌对:
- Zoglin
- Pufferfish
- Ender Dragon
- 初始生成的史莱姆/岩浆立方体不具敌意,但史莱姆/岩浆立方体的后代具有敌意
你可以在我的 Discord 服务器 联系我。[Discord ID - armyfury]
数据收集
该插件通过 bStats 收集数据,所有发送的数据均为匿名。这对性能几乎没有影响,并帮助我和其他开发者了解他们插件的使用情况以及需要改进的地方。插件收集的所有数据均可在 此处 公开查看。
其他项目:
Summon Friendly Mobs
Allows you to summon hostile mobs which do not attack the player who summoned it.
Commands Usage:
/summonfriendlymob <mob_type> [<x> <y> <z>] {NBT_data} : Summons a friendly mob
/givespawnegg <player> <mob_type> [amount] : Gives special spwan egg to a player
/attack <target player name | target mob uuid> : Attacks given player or a mob
/mobs : Gives a list of friendly mobs of the player
/sfmreload : Reload the plugin
/mobsfollow : Makes mobs of a player follow the player for a set duration
Alias:
/sfm [for summonfriendlymob]
/gse [for givespawnegg]
only put mob NAME in <mob_type>.
Example:
✅ /summonfriendlymob blaze
✅ /sfm blaze
✅ /givespecialspawnegg @s blaze
✅ /gse @s blaze
❌ /summonfriendlymob minecraft:blaze
❌ /sfm minecraft:blaze
❌ /givespecialspawnegg minecraft:blaze
❌ /gse minecraft:blaze
Coordinates are optional, when none are given, it defaults to ~ ~ ~ Amount is also optional, defaults to 1 when not specified
Configurations
For versions below 1.19.x, if the config file is not properly generated the first time, restart the server.
The config file (config.yml) can be found in <server_folder>/plugins/SummonFriendlyMobs/ .
You can change FriendlyWarden (MC 1.19+), UniversallyFriendly, SaveFriendliness, SaveWardenFriendliness, WardenCheckInterval (MC 1.19+), UpdateNotifier, AllowAttack and AllowCustomMobSettings in the config.
FriendlyWarden: false # Toggle whether wardens summoned by the plugin are friendly to the summoner.
WardenCheckInterval: 1 # Number of ticks between each check to clear Warden's anger to its summoner
UniversallyFriendly: false # Toggle whether mobs summoned by this plugin are Friendly to only the summoner or to all player
SaveFriendliness: false # Toggle whether to keep friendliness of the mobs even after the server restarts
SaveWardenFriendliness: false # Toggle whether to keep friendliness of the wardens even after the server restarts
UpdateNotifier: true # Toggle whether to notify for newer versions of the plugin
AllowAttack: true # Toggle whether to allow players to use /attack command or not
AllowCustomMobSettings: false # Toggle whether to use settings for mobs from mobs.yml or not
Taming: false # Toggle whether to allow Taming
bStats: true # Toggle whether to send bStats data
MobsFollowDuration: 30 # The duration for which mobs will follow their owner with /mobsfollow (in seconds, assuming game at 20tps)
WardenCheckInterval is the number of ticks after which anger of wardens is cleared, higher number will result in lower number of checks and the wardens may attack the summoners. This should not affect the performance a lot. This does not apply to any other mob. Wardens are pacified differently due to how they sense and attack players.
The file summonerMap.dat holds data for friendliness of mobs and warden_data.yml for friendliness of wardens. DO NOT change anything in them unless you are 100% sure what you are doing
Permissions
- summonfriendlymob.summon : Permission required to use /summonfriendlymob or /sfm command
- summonfriendlymob.give : Permission required to use /givespawnegg or /gse command
- summonfriendlymob.attack : Permission required to use /attack command
- summonfriendlymob.check : Permission required to use /mobs command
- summonfriendlymob.reload : Permission required to use /sfmreload command
- summonfriendlymob.mobsfollow : Permission required to use /mobsfollow command
Issues
I know there are and will be some issues in this plugin as this is my first ever plugin that I have publically released
Some mobs are hostile even to the players who summoned them:
- Zoglin
- Pufferfish
- Ender Dragon
- Initial slime/magma cube which is spawned is not hostile but the offsprings of the slime/magma cube are hostile
You can reach out to me in my discord server. [Discord ID - armyfury]
Data Collection
The plugin collects data through bStats and all data sent is anonymous. This has negligible impact on performance and helps me and other developers learn how their plugins are used and what is to be improved. All the data collected by the plugin can be viewed publically here.
Other projects:
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Summon Friendly Mobs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 新增命令 - mobsfollow。默认情况下,该命令会使某玩家的所有生物跟随其移动 30 秒,此时间可通过 config.yml 进行自定义。运行该命令需要 summonfriendlymob.mobsfollow 权限。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
使床在所有维度中爆炸的模组
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧