生成疯狂的生物。谁会是第一个击败它们的人?服务器上的每个人都会知道。
管理员可以使用这个插件来娱乐玩家,或者举办小型竞赛。例如,他们可以奖励第一个杀死疯狂蝙蝠的玩家,或者击杀更多疯狂蝙蝠的玩家。当然,你知道的,击杀这些蝙蝠并不容易。
该插件还可以作为一个完整的 Boss 插件使用,允许你生成和控制任何自定义类型的生物。
命令
只有一个命令。
- /killthebat - 在玩家位置生成一只疯狂的蝙蝠。
- /killthebat ride - 蝙蝠视角摄像机 :)
你可以像这样生成其他类型的生物:
- /killthebat Cow
- /killthebat Wolf
- /killthebat Giant
- /killthebat Zombie 小心,这很 OP ;)
有关更多信息,请参阅 config.yml。
你还可以使用以下命令控制这些生物(自 v2.7 起):
- /killthebat tp <player> - 将范围内的所有生物传送至 <player> 的位置(可能就是你)。
- /killthebat target <player> - 将 <player> 设置为区域内所有生物的目标(如果适用)。
另一种生成自定义生物的有用方法是使用 likeme 关键字(自 v2.8 起):
- /killthebat <creature> likeme - 生成与你穿着相同盔甲、手持相同物品的生物。所有的附魔和效果都会从你复制到这只疯狂生物上。名称、生命值和掉落物则正常从配置文件中获取。
权限
只有一个权限设置。
- killthebat.spawn - 允许你生成蝙蝠。默认仅限 OP(管理员)。
配置
你可以在插件的配置文件(config.yml)中更改大量内容,例如生物的名称、生命值、自定义击杀消息、装备、效果、技能和自定义掉落物。从版本 2.3(新的配置设置)开始,你还可以编辑生物的装备(如果适用)。点此查看更多配置信息。
配置档案
配置档案是一组可用的生物及其配置。默认档案从 config.yml 文件加载,名为 'default'。还有另一个名为 'extreme' 的档案,它从名为 'extreme.yml' 的不同文件加载。要切换到 extreme 档案,请使用以下命令:
/killthebat profile extreme
完成上述操作后,插件将从 extreme.yml 文件加载怪物的配置。因此,当你输入 /killthebat Zombie 时,关于僵尸的所有详细信息(显示名称、盔甲、技能等)都将从 extreme.yml 文件中获取。
如果你想切换回默认配置文件,请使用以下命令:
/killthebat profile default
请注意,你可以通过复制插件文件夹中的 extreme.yml 文件并重命名来添加新的配置文件。例如,你可以创建一个名为 animals.yml 的文件并包含一些怪物,然后使用 /killthebat profile animals 切换到该配置。
记分板集成
你还可以在你的世界中添加一个名为 "killthebat" 的新记分板目标。每次击杀将授予 1 分(如果在配置文件中的怪物配置下指定了 "points",则可能更多)。
在游戏中添加此类记分板的最简单方法是输入以下命令:
/scoreboard objectives add killthebat dummy Points
/scoreboard objectives setdisplay sidebar killthebat
红石支持
在 config.yml 中设置以下行将启用通过告示牌和红石生成怪物:
# 更改此值后请重启服务器
enablesign: yes
完成此操作后,第一行为 "[killthebat]" 的告示牌在接收到红石信号时将生成蝙蝠。告示牌的第二行可以指定不同的生物类型(例如 Cow)。利用此机制,你可以在夜间自动生成蝙蝠(当然需要使用昼夜探测器)。你还可以创建一个怪物竞技场,结合红石时钟、告示牌和记分板集成。
请注意:
- 默认情况下禁用通过红石和告示牌生成。如果你要使用此功能,必须在 config.yml 中启用它。
- 只有管理员可以放置告示牌,但如果创建了按钮,任何用户都可以按下按钮来生成蝙蝠。
- 仅当告示牌放置在地面上(“告示牌柱”)时才能生成。
- 告示牌每秒最多生成 1 个生物。
已知问题
- 要在受保护的 WorldGuard 区域中生成怪物,请在 WorldGuard 的 config.yml 中将标志 'block-plugin-spawning' 设置为 'false',并重启服务器。
- 要使用命令杀死所有蝙蝠,请尝试 Essential 插件的 '/killall bat' 命令。
- 与 Health Bar 兼容——在最新版本中,你可以将“show-on-named-mobs”设置为“false”,从而保留那些疯狂生物的名称。
Spawns crazy creatures. Who will be the first to take them down? Everyone on the server will know.
Admins can use this plugin to entertain the players on their server, or to run mini-competitions. For example, they can reward the first player that kills a crazy bat, or the player who has killed more crazy bats than others. Killing those bats, as you must know, can be tricky.
The plugin can also be used as a full-fledged boss plugin, allowing you to spawn and control customs mobs of any kind.
Commands
There is only one command.
- /killthebat - Spawn one crazy bat at players location.
- /killthebat ride - Bat view camera :)
You may spawn other types of creatures, like so:
- /killthebat Cow
- /killthebat Wolf
- /killthebat Giant
- /killthebat Zombie careful, OP ;)
See config.yml for more info.
You may also control the creatures with the following commands (Since v2.7):
- /killthebat tp <player> - Teleport all creatures within range to <player>'s location (which could just be you).
- /killthebat target <player> - Set <player> as the target of all creatures in the area (if applicable).
Another useful way of spawning custom mobs is with the likeme keyword (Since v2.8):
- /killthebat <creature> likeme - Spawns the creature with the armor you are wearing and the item that you are holding. All the enchantments and effects will be copied from you to the crazy creature. The name, health and drops will be taken normally from the configuration file.
Permissions
There is only one permission setting.
- killthebat.spawn - Allows you to spawn the bat. Defaults to ops only.
Configuration
You may change a lot of stuff in the configuration files (config.yml) of the plugin, such as the creatures' name, health, custom kill messages, equipment, effects, skills and custom drops. Starting with version 2.3 (new configuration settings) you can also edit the equipment of the mob (if applicable). See here for more configuration info.
Profiles
Profiles are a set of available creatures and their configurations. The default profile is loaded from the config.yml file and is called 'default'. There is another profile, called 'extreme', which is loaded from a different file called 'extreme.yml'. To switch to the extreme profile, use the following command:
/killthebat profile extreme
After doing so, the plugin will load the creatures' configurations from the extreme.yml file, so when you type /killthebat Zombie, all the details about the zombie (displayname, armor, skills, etc.) will be taken from extreme.yml file.
If you want to switch back to the default profile, use the command:
/killthebat profile default
Please note that you can add new profiles by cloning the extreme.yml file in the plugin's folder and renaming it. For example, you can create a file called animals.yml with a few creatures and then switch to it with /killthebat profile animals.
Scoreboard Integration
You may also add a new scoreboard objective called "killthebat" to your world. Each kill will then grant 1 point (or more, if "points" is specified in the config file under the creature).
The easiest way to add such a scoreboard in-game is to type the commands:
/scoreboard objectives add killthebat dummy Points
/scoreboard objectives setdisplay sidebar killthebat
Redstone support
Setting the the following line in config.yml will enable spawning the creatures with a sign and redstone:
# Please reload the server after changing this value
enablesign: yes
When this is done, a sign on which the first line is "[killthebat]" will spawn the bat, whenever it receives redstone power. The second line on the sign can specify a different mob type (e.g. Cow). With this mechanism you can spawn the bat automatically at night (using a daylight detector, of course). You may also create a mob arena, combing a redstone clock, the sign and the scoreboard integration.
Please note:
- Spawning with redstone and sign is disabled by default. You must enable it in config.yml if you want to use it.
- Only ops can place the sign but any user can press a button to spawn the bat if you create one.
- Spawning only works when the sign is placed on the ground ("sign post").
- The sign will not spawn more than 1 mob per second.
Known Issues
- To spawn the creatures in protected WorldGuard regions, set the flag 'block-plugin-spawning' to 'false' in the config.yml of WorldGuard and reload the server.
- To kill all bats with a command, try Essential's '/killall bat'.
- Health Bar compatibility - In the newest version of "Health Bar" you may set "show-on-named-mobs" to "false" and preserve in that way the crazy creatures' names.
评论 0
登录后参与评分
还没有评论,来抢沙发吧