Zombie Apocalypse
什么是 Zombie Apocalypse?
Zombie Apocalypse(僵尸末日)模组增加了每晚 9:00 可能爆发僵尸末日的可能性。僵尸会在每位玩家周围生成,你必须在天亮前击败这些僵尸以获得奖励!
它是如何工作的?
在晚上 9:00,有可配置的概率(默认:20%)触发末日事件,并生成可配置的僵尸数量(默认:40),其中需要击杀一定比例(默认:50%)的僵尸才能获得奖励。你也可以通过命令手动启动末日事件(可选指定每人生成的僵尸数量)。每个僵尸将在 X 和 Z 方向上距离玩家 1-14 格的位置生成,其中一个坐标会偏移另外 10 格,以防止僵尸生成得太近。
奖励是可配置的:
每个可能的物品都需要指定以下内容——(这些内容在 config.yml 中有详细说明)
- 物品名称
- 概率
- 数量
- 消息
默认物品
物品 - 概率
- 钻石剑 - 5
- 钻石胸甲 - 5
- 2 x 钻石 - 25
- 金剑 - 25
- 绿宝石 - 25
- 1 x 钻石 - 50
- 5 x 铁锭 - 150
命令
/za help - 显示关于该插件的信息。
/za version - 显示插件的版本号。
/za commands - 列出所有可用命令。
/za kills - 显示当前末日事件的击杀数/目标。
OP 专用命令:
/za start - 手动启动僵尸末日。
/za start <整数> - 手动启动僵尸末日,并为每人生成 <整数> 数量的僵尸。
/za getitem - 显示你手中物品的名称,用于配置奖励。
配置
Zombie Apocalypse 的配置非常简单。在 config.yml 中的 world 字段输入你的世界名称,并将 configured 字段的值从 false 改为 true。如果不这样做,插件将不会加载,并且每次有人登录时都会提示需要配置模组。如果世界名称无效但已标记为已配置,你会从两个任务中收到一些空指针异常。还有一个名为 "numzombies" 的字段,默认值为 40,这表示在自然发生的末日事件中或使用 "/za start" 命令且不指定数量时,每人将生成的僵尸数量。
例如,我的服务器有一个名为 Trysnor 的世界,所以我这样配置了 config.yml 文件:
#输入你想用于僵尸末日的事件的世界名称 #将 "world" 替换为你服务器的实际世界名称 world: Trysnor #numzombies 是你希望从默认事件中为每人生成的僵尸数量。 numzombies: 40 #当你用你的世界名称配置好此文件后,请将 false 改为 true configured: true
你还可以配置每晚爆发末日的概率。在晚上 8:00 会有一条消息警告末日可能即将来临,如果末日没有发生也会有相应的消息。这两条消息都可以禁用。还可以设置僵尸生成的上限。如果此数值小于 1,则无限制。如果 "hardlimit" 大于 1,则只会生成最多该数量的僵尸。
关于建议与反馈
请在此处创建工单: 由于我正在忙于其他项目,因此并未积极开发此模组。如果你想 Fork 此模组,可以在仓库选项卡中找到 Git 仓库。
玩得开心,欢迎留下反馈!
Zombie Apocalypse
What is Zombie Apocalypse?
ZA adds the possibility for a zombie apocalypse to start at 9:00 each night. Zombies will spawn around each player, and you must defeat the zombies before morning to receive a reward!
How does it work?
At 9:00 P.M. there is a configurable (default: 20%) chance for an apocalypse to start and a configurable amount of zombies (default: 40) will spawn and a configurable percent of them (default: 50%) need to be killed for a reward to be gained. The apocalypse can be started with a command (optionally you can specify a number of zombies per person to spawn). Each zombie will spawn 1-14 blocks away in both the X and Z directions, one of coordinates is offset by another 10 blocks so the zombies don't spawn too close.
The rewards are configurable:
Each possible item needs to specify these things - (these are explained in config.yml)
- Item name
- Chance
- Quantity
- Message
Default Items
Item - Chance
- Diamond sword - 5
- Diamond chestplate - 5
- 2 x Diamond - 25
- Gold sword - 25
- Emerald - 25
- 1 x Diamond - 50
- 5 x Iron ingot - 150
Commands
/za help - displays information about the plugin.
/za version - displays the version of the plugin.
/za commands - displays a list of all commands.
/za kills - shows the kills/goal of the current apocalypse.
OP commands:
/za start - manually starts the zombie apocalypse.
/za start <integer> - manually starts the zombie apocalypse with <integer> number of zombies spawned per person.
/za getitem - gives the name of the item in your hand, used for configuring rewards.
Configuration
Configuration of Zombie Apocalypse is very simple. In config.yml enter the name of your world in the world field and change false to true in the configured field. If you don't do this the plugin will not load and every time someone logs in it will say the mod needs to be configured. If the world name isn't valid and it says it's configured you will get some null pointer exceptions from two tasks. There is also a field called "numzombies" that has a default value of 40, this is the number of zombies that will spawn per person from both naturally occurring apocalypses and when using the command "/za start" without specifying a number.
As an example my server has a world named Trysnor so I set up the config.yml file like this
#Enter the name of the world you want to use for the zombie apocalypse #Replace "world" with whatever your server's world is world: Trysnor #numzombies is the amount of zombies you want to spawn per person from a default event. numzombies: 40 #when you have configured this file with your world's name change false to true configured: true
You can also configure the chance per night for the apocalypse to happen. There is a message at 8:00 PM warning that the apocalypse might be coming, and a message if it doesn't happen. Both of those messages can be disabled. There is also a limit to the number of zombies that can spawn. If this number is anything under one there is no limit. If the "hardlimit" is over one, it will spawn only up to that many zombies.
FOR SUGGESTIONS AND BUGS
Please create a ticket here: I'm not actively developing this mod because I'm working on other projects. If you would like to fork this mod there is a git repo on the repository tab.
Have fun and leave feedback!
下载 ZombieApocalypse
下载 ZombieApocalypse
下载 ZombieApocalypse
下载 ZombieApocalypse
下载 ZombieApocalypse
下载 ZombieApocalypse
下载 ZombieApocalypse
下载 ZombieApocalypse
下载 ZombieApocalypse
Zombie Apocalypse 1.5.1
- 将版本更新为 Bukkit 最新的开发构建(1.7.2 R0.4,在提交此文件时游戏版本列表中尚不可选)
- 修复了命令。
- 仅输入 '/za' 不再报错,现在会显示与 '/za commands' 相同的信息。
- 插件现已开源!
Zombie Apocalypse v1.5.0
您需要删除 config.yml 并让插件重新生成该文件,然后重新进行配置,因为添加了大量新功能。
- 添加了自定义奖励功能! 您现在可以配置所有奖励,包括自定义物品、概率和数量,并且可以设置任意数量的可能奖励。默认值也已更改。
- 添加了关于需要击杀的已生成僵尸百分比的配置,并将默认值从 75% 改为 50%。
- 简化了末日事件发生概率的配置。
- 添加了服务器控制台消息的配置。
- 大幅改进了代码,以便未来更容易添加功能,同时减少处理量,使其运行更快且占用空间更小。
- 尽管此版本适用于 1.7.2,但它可在 1.7.2 Craftbukkit 开发构建服务器上兼容 MC 1.7.4。
Zombie Apocalypse v1.4.3
- 更新以支持 Minecraft 1.6.2。
Zombie Apocalypse v1.4.2
如果您是从 1.4.1 之前的版本升级,则需要删除 config.yml 并让插件重新生成该文件,然后重新进行配置。
- 更新以支持 Minecraft 1.6.1。
Zombie Apocalypse v1.4.1
使用此版本时,您必须删除 config.yml 文件并让插件重新生成它,然后重新进行配置!
- 添加了每晚发生僵尸末日的概率配置。
- 添加了两个聊天消息的配置(晚上 8:00 的警告以及末日未发生时发送的消息)。
- 添加了硬性上限配置。如果按玩家人数配置的僵尸生成数量超过硬性上限,则会将硬性上限平均分配给每位玩家并使用该数值。将其设置为小于 1 的值将禁用硬性上限,僵尸将正常生成。
- 更新以支持 Minecraft 1.5.2。
Zombie Apocalypse v1.4.0
使用此版本时,您必须删除 config.yml 文件并让插件重新生成它,然后重新进行配置!
- 添加了配置默认生成僵尸数量的功能。
- 奖励按个人判定,而不是向所有人发放相同的奖励。
- 只有在配置的世界中击杀的僵尸才会被计入。
- 只有末日开始时在配置世界中的玩家才会收到消息。
- 只有末日开始时在场的玩家才能获得奖励。
- 手动启动末日事件仅在有人可玩时将时间调整为晚上 9 点。
- 现支持 1.5.1 版本。
Zombie Apocalypse v1.3.1
- 添加了 /za kills 命令,显示当前末日事件的击杀数/目标数。
- 添加了 /za start <整数> 命令,手动启动末日事件并指定每位玩家的僵尸数量。
- 成功的命令不再在显示内容后重复输出 /za。
- 玩家现在被禁止在末日期间睡觉。
- 更改了部分 ZombieApocalypse 广播和消息的聊天颜色。
- 更新了 /za commands 列表,增加了新命令和缺失的命令。
- 更改了晚上 9:00 末日未发生时的提示信息,使其更加合理。
早期版本:
Zombie Apocalypse v1.2.4
- 如果没有任何人在选定的世界中,末日不会开始;以前只有当没有人在线时才不会开始。
- 您现在无法通过睡觉跳过早晨的检查。如果您在不杀死足够多僵尸的情况下睡过整夜,醒来后将自动判定失败。
- 现在只有 OP 才能执行 /za start 命令。
- 在晚上 8:00 现在会有警告提示僵尸末日可能即将发生。
- 更新了 /za help 命令。
Zombie Apocalypse v1.2.1
这是 ZombieApocalypse 的第一个正式发行版本。祝您玩得愉快,如果遇到任何问题请告诉我。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧