Survival Challenges 插件
Survival Challenges Plugin 是一款适用于 Minecraft Spigot 服务器的插件,为你的生存冒险增添了 23 种独特的玩法挑战。
每种挑战都会改变你游玩 Minecraft 生存模式的方式,使游戏变得更容易或更具挑战性。
玩家可以启用一个或多个挑战,并尝试达成目标。无论是击败末影龙、凋灵、远古守卫者、监守者,还是仅仅尽可能长久地生存下去。
所有挑战均可完全自定义配置,并且可以组合使用,创造出全新的游戏体验。
挑战 ?
以下是可用的挑战:
延迟伤害 ⏱️
伤害每五分钟应用一次并进行累计。
伤害跳跃 ?
根据玩家所受的伤害量将玩家弹射到空中。
生物跳跃 ?
每当玩家跳跃时,会生成一个随机生物。
生物复制器 ?
每个生物死亡时,会根据其之前死亡的次数以 2 倍、4 倍或 8 倍的数量繁殖。
伤害 = 随机效果 ?
每当玩家受到伤害时,所有玩家都会获得一个随机的药水效果。
冰地板 ?
当玩家潜行时,其脚下会生成一个 3x3 的冰地板。
铁砧雨 ?
玩家走过的地方会落下铁砧。
伤害 = 随机传送 ?
每当玩家受到伤害时,所有玩家都会被传送到随机位置。
拾取物品伤害 ?
在 UI 中拾取或移动物品会根据数量造成伤害。
仅一次方块使用 #️⃣
玩家只能切换其脚下的方块一次。
重力切换 ?
每隔几分钟重力会发生改变,影响所有实体。
跳跃力量 ?
当一名玩家跳跃时,其他玩家的跳跃高度会增加。
区块 = 随机方块 ?
区块内的所有方块都会被替换为随机方块。
区块同步 ♻️
放置或破坏的方块会在所有区块之间同步。
区块 = 随机生物 ?
进入一个区块时会生成一个随机生物,必须将其击杀才能进入下一个区块。
区块 = 60秒 ?️
玩家进入区块后 60 秒,该区块会被移除。
交通灯 ?
每隔几分钟红绿灯会变为红色,迫使玩家停止移动。
极速 ?
所有实体的移动速度变得非常快。
玩家加速 ?
每隔几秒或几分钟,玩家会被向随机方向加速推动。
熔岩地板 ?
玩家走过的地方,地面会变成熔岩。
飞行地板 ?
玩家走过的地方,地面会飞向空中。
基岩墙 ?
玩家走过的地方,一面巨大的基岩墙会跟随其后。(你可以选择多个挑战)
重要提示❗
不建议同时激活过多的挑战,因为这可能导致卡顿等问题。最简单的方法是单独游玩每个挑战,而不是让多个挑战同时运行。虽然它支持同时运行所有挑战,但这并非其设计初衷。
计时器 ⌚
计时器是该插件的主要功能之一。
它追踪挑战运行已持续的时间,并且是每种挑战正常运行的必要条件。
仅在计时器运行时,挑战才会生效。
根据你的设置,计时器也可以暂停、重置、自定义或隐藏。
设置 ⚙️
除了挑战之外,该插件还包含几个可配置的玩法设置。
这些设置可以与任何挑战组合使用。
限制玩家操作 ??♂️
当计时器暂停时禁用玩家操作。
背包 ?
玩家可以使用 /backpack 打开背包。
共享生命值 ?
所有玩家共享相同的生命值并承受等额伤害。
伤害记录器 ?
在聊天栏中记录玩家受到的每次伤害。
极限模式 ?
死亡后不允许重生。
生命恢复 ♥️
玩家会随时间自然恢复生命值。
显示死亡屏幕 ?
当玩家死亡时显示死亡屏幕。
计时器暂停 ⏱️
当玩家死亡时暂停计时器。
火焰蔓延 ?
火焰可以燃烧木块并通过它们传播。
难度 ⚔️
设定游戏的难度。
需要击败首领 ?
必须击败首领才能停止计时器。
伤害 = 清空背包 ❌
当玩家受到伤害时,所有玩家的物品栏会被清空。
PvP ?
玩家可以互相攻击。
死后保留物品 ?
玩家死亡后保留物品栏。(所有设置均兼容每种挑战)
命令 ?
该插件还为服务器管理员提供了几个命令。
打开挑战菜单,可以在其中启用挑战和配置设置。
控制挑战计时器。你可以开始、停止、暂停、重置、隐藏、更改其颜色或手动设置时间。
在当前位置保存 waypoints(路标),以便稍后找到它们。
允许管理员查看其他在线玩家的物品栏。
重置特定配置或将所有设置恢复为默认值。
为玩家添加或删除小丑卡。
打开基于玩家或基于团队的背包。
如何安装/使用 ?
要使用此插件,你需要一个基于 Spigot 的 Minecraft 服务器。
- Minecraft 1.21.10 或更高版本
- 兼容 Spigot 的服务器(Spigot、Paper 等)
需要注意的是,当服务器停止时,插件会保存来自计时器、挑战、设置和背包的数据。为此,它会在 plugins 文件夹中创建另一个包含 .yml 文件的文件夹。
安装 ?
- 下载
Release-1.0 中的插件 SurvivalChallengesPlugin-1.0.jar
- 将其放入服务器的 plugins 文件夹
- 重启服务器
插件将自动加载。
说明 ?
本插件由 KeineAhnungLeo 创建,且为开源项目。
部分挑战创意灵感来源于德国 YouTuber BastiGHG,其内容包含各种 Minecraft 挑战概念。
未来,该插件将继续收到一些更新,包括新挑战、功能和改进。
如需更直观的展示,你可以观看此视频。
使用 AI ?
我有时会用 ChatGPT 来调试代码,并查找和修复更严重的错误。不过,代码的基本结构是我自己编写的。由于我使用 Java 编程的时间还不长,或者编写代码的经验有限,因此有时我会借助 AI 来帮助我编写更好的小段代码。
Survival Challenges Plugin
The Survival Challenges Plugin is a Minecraft Spigot plugin for servers that adds 23 unique gameplay challenges to your survival adventure.
Each challenge changes the way you play Minecraft Survival, making the game either easier or more difficult.
Players can enable one or multiple challenges and attempt to reach their goal. Whether that is defeating the Ender Dragon, the Wither, the Elder Guardian, the Warden, or simply surviving as long as possible.
All challenges are fully configurable and can also be combined to create completely new gameplay experiences.
Challenges ?
The following challenges are available:
Delayed Damage ⏱️
Damage is applied only every five minutes and summed.
Damage Jump ?
Launches the player into the air based on the amount of damage they have taken.
Mob Jump ?
Spawns a random mob whenever a player jumps.
Mob Duplicator ?
Each mob that dies multiplies 2x, 4x, or 8x based on how many times it already died.
Damage = Random Effect ?
Whenever a player takes damage, all players get a random potion effect.
Ice Floor ?
When a player sneaks, a 3x3 ice floor is generated below them.
Anvil Rain ?
Anvils rain wherever a player walks.
Damage = Random Teleport ?
Whenever a player takes damage, all players are teleported to random locations.
Item Pickup Damage ?
Picking up or moving items in UI deals damage based on amount.
Only One Block Use #️⃣
Players can switch a block below them only once.
Gravity Switch ?
Gravity changes every few minutes affecting all entities.
Jump Strength ?
When a player jumps, others jump higher.
Chunk = Random Block ?
All blocks in a chunk are replaced with random ones.
Chunk Synchronisation ♻️
Placed or destroyed blocks are synchronized across all chunks.
Chunk = Random Mob ?
Entering a chunk spawns a random mob that must be killed to progress to the next chunk.
Chunk = 60sec ?️
Chunks are removed 60 seconds after a player enters them.
Traffic Light ?
Traffic lights switch to red every few minutes, forcing players to stop moving.
Speedy ?
All entities move very fast.
Player Boost ?
Every few seconds or minutes, the player is boosted in a random direction.
Lava Floor ?
Wherever a player walks, the floor turns into lava.
Flying Floor ?
Wherever a player walks, the floor flies in the air.
Bedrock Wall ?
Wherever a player walks, a large bedrock wall follows. (You can select multible challenges)
Important Note❗
It is not recommended to have too many challenges active at once, as this can lead to lag, amongst other things. The easiest way is to play each challenge individually rather than having many running at the same time. Although it does work with all of them, it is not designed for that purpose.
Timer ⌚
The timer is a main feature of the plugin.
It tracks how long the challenge run has been active and is required for every challenge to function.
Challenges are only active while the timer is running.
The timer can also be paused, reset, customized, or hidden depending on your settings.
Settings ⚙️
In addition to challenges, the plugin includes several configurable gameplay settings.
These settings can be combined with any challenge.
Limited Players ??♂️
Disables player actions while the timer is paused.
Backpack ?
Players can open a backpack with /backpack.
Split Hearts ?
All players share the same health and take equal damage.
Damage Logger ?
Logs every damage a player receives in chat.
Hardcore ?
No respawn allowed after death.
Regeneration ♥️
Players naturally regain health over time.
Show Death Screen ?
Displays the death screen when a player dies.
Timer Pause ⏱️
Pauses the timer when a player dies.
Fire Tick ?
Fire can burn wooden blocks and spread through them.
Difficulty ⚔️
Sets how difficult the game is.
Boss Required ?
A boss must be killed to stop the timer.
Damage = Inv Clear ❌
When a player takes damage all players' inventories are cleared.
PvP ?
Players can hit each-other.
Keep Inventory ?
Players keep their inventory after death. (All settings are compatible with every challenge)
Commands ?
The plugin also includes several commands for server operators.
Opens the challenge menu where challenges can be enabled and settings can be configured.
This controls the challenge timer. You can start, stop, pause, reset, hide, change its color, or manually set the time.
Saves waypoints at your current location so you can find back to them later.
Allows operators to view the inventory of another online player.
Resets specific configurations or restores all settings to their defaults.
Adds or removes jokers from players.
Opens either a player-based or team-based backpack.
How to install/use ?
To use this plugin, you need a Spigot-based Minecraft server.
- Minecraft 1.21.10 or newer
- A Spigot-compatible server (Spigot, Paper, etc.)
It is important to note that when the server stops, the plugin saves the data from the timer, challenges, settings, and backpack. To do this, it creates another folder in the plugins folder with the .yml files.
Installation ?
- Download the plugin
SurvivalChallengesPlugin-1.0.jar in Release-1.0
- Place it in your server's plugins folder
- Restart the server
The plugin will automatically load.
Note ?
This plugin was created by KeineAhnungLeo and is open source.
Some challenge ideas were inspired by the German YouTuber BastiGHG, whose content features various Minecraft challenge concepts.
The plugin will continue to receive some updates with new challenges, features, and improvements in the future.
For a more visual showcase, you can watch this video.
Used AI ?
I have used ChatGPT to debug my code sometimes and to find and fix more serious errors. However, the basic structure of the code is my own. Since I haven’t been programming with Java for very long, or writing code in general, I have sometimes used AI to help me write small better code.
评论 0
登录后参与评分
还没有评论,来抢沙发吧