AnarchySpawn
一款专为 Anarchy 和竞技生存 Minecraft 服务器设计的高性能随机荒野出生点与安全重生引擎。
支持版本与服务端核心
点击展开/收起版本兼容性矩阵
| Minecraft Version |
Compatibility Status |
Compatibility Details |
| 1.20.x - 26.3+ |
Full Support (Native) |
Full support for modern height limits (-64 to 320), modern potions, trial structures, and 26.3 pale garden features (Creaking Heart, Heavy Core, Pale Oak). |
| 1.18.x - 1.19.x |
Full Support |
Seamless support for caves & cliffs height limits and ancient city biome detection. |
| 1.16.5 - 1.17.x |
Full Support (Legacy) |
Automatic fallback to height 0 base and legacy potion effect aliases (DAMAGE_RESISTANCE, INCREASE_DAMAGE, etc.). |
| 1.12.2 - 1.15.x |
Full Support (Legacy) |
Automatic fallback from PDC to local dual-track storage (data/players.yml), legacy Material system mapping (STATIONARY_LAVA), and Classloader insulation. |
| Server Core / Software |
Compatibility |
Recommendation |
| Paper / Purpur |
Native Async Support |
Highly Recommended (utilizes asynchronous chunk loading & teleportation without TPS drops) |
| Folia |
Native Regionized Scheduler |
Fully Supported (all scheduling routed through FoliaScheduler with region-thread confinement) |
| Spigot / CraftBukkit |
Full Synchronous Support |
Fully Supported (automatically switches to scheduled sync loading fallback) |
| Pufferfish / Gale / Leaves |
Native Async Support |
Fully Supported |
功能特性
- 广泛版本兼容 (1.12.2 - 26.3+):内置运行时反射层与双轨持久化机制,可在旧版(1.12.2)与现代 Minecraft 版本间安全适配,避免 NoSuchMethod 崩溃。
- 地表穿透直查与 98%+ 搜索加速:直接查询主世界地形的高度图(
getHighestBlockYAt),将候选列的方块检查次数从约 250 次降至 1~3 次迭代。
- 独立多语言系统与客户端语言自动检测:语言文件存放在专用的
languages/ 目录中(en_US.yml、zh_CN.yml、zh_TW.yml)。消息会自动适配每位玩家的客户端语言。
- 首次加入安全掉落与世界级控制:在玩家首次加入或进入维度时延迟传送,将其安全投放至配置的环形荒野区域。每个世界可独立开启或关闭首次加入随机出生点(
first-join: true/false)。
- PDC 与双轨追踪:在 1.14+ 版本使用
PersistentDataContainer,在 1.12.2 - 1.13.2 版本自动回退至本地文件存储,以此追踪各世界的出生历史,无需外部数据库依赖且无内存泄漏风险。
- 零延迟重生缓存池:后台异步任务预搜索并维护一个安全位置池(
LocationCachePool),确保死亡后瞬间重生。
- 床与重生锚覆盖:提供覆盖原版床和重生锚的选项,防止陷入“床陷阱”和“出生点击杀循环”。
- 等面积环状分布:利用等面积概率密度采样,确保玩家在外部区域的均匀分布,避免聚集在中心附近。
- 动态死亡热点规避:自动避开最近的死亡/PvP 区域,以防止出生点蹲守和水晶陷阱,并提供无缝回退机制。
- 全方位 3D 安全验证:严格过滤熔岩、水下、仙人掌、甜浆果、细雪、传送门、基岩屋顶/虚空、危险海洋生物群系、试炼结构和世界边界。
- PaperMC 异步区块兼容:原生支持 Paper 的异步区块加载反射机制,并在 Spigot 上平滑回退,保持 20 TPS。
- Folia 区域调度器支持:自动检测 Folia 区域线程,在 Paper/Spigot 上透明回退至经典调度器。
- 视听与防秒杀保护:可配置无敌持续时间、药水效果(抗性提升、缓慢下降、火焰抗性)、粒子效果、音效、标题栏和操作栏提示。
- 生态系统集成:内置对 PlaceholderAPI 和 EssentialsX 的软依赖支持。
- Modrinth 自动更新与安全下载:启动时及定期后台检查、SHA-512 验证、重启时无缝替换
plugins/update/ 中的文件,以及游戏内管理员通知。
安装与使用
- 将编译好的
AnarchySpawn-x.x.x.jar 复制到服务器的 plugins/ 文件夹中。
- 启动服务器;默认配置文件和语言文件将在
plugins/AnarchySpawn/ 和 plugins/AnarchySpawn/languages/ 中生成。
- 根据服务器需求自定义
config.yml 和 languages/ 目录下的语言文件。
- 在控制台或游戏中执行
/as reload 以即时应用配置更改。
命令与权限
点击展开/收起命令列表 (Commands)
| 命令 |
别名 |
权限节点 |
默认值 |
描述 |
/as reload |
/aspawn reload |
anarchyspawn.reload |
OP |
重新加载配置文件和语言文件 |
/as tp [player] [world] |
/randspawn tp |
anarchyspawn.tp |
OP |
将玩家传送至目标世界中的安全随机位置 |
/as setcenter <world> <x> <z> |
/as setcenter |
anarchyspawn.setcenter |
OP |
动态更新指定世界的出生点中心坐标 |
/as info |
/as status |
anarchyspawn.info |
OP |
显示已启用世界的状态及缓存池容量 |
/as test [world] |
/as benchmark |
anarchyspawn.test |
OP |
运行单次安全坐标搜索基准测试并计时 |
/as cache |
/as refill |
anarchyspawn.cache |
OP |
唤醒后台异步工作线程以预填充缓存池 |
点击展开/收起权限列表(Permissions)
| 权限节点 |
默认值 |
描述 |
anarchyspawn.use |
所有人 (true) |
授予首次加入和死亡重生时随机安全出生点的访问权限 |
anarchyspawn.bypass |
OP |
绕过随机重生(保留原版床和重生锚的功能) |
anarchyspawn.admin |
OP |
主管理员权限,涵盖所有子命令 |
anarchyspawn.reload |
OP |
允许执行 /as reload |
anarchyspawn.tp |
OP |
允许执行 /as tp |
anarchyspawn.setcenter |
OP |
允许执行 /as setcenter |
anarchyspawn.info |
OP |
允许执行 /as info |
anarchyspawn.test |
OP |
允许执行 /as test |
anarchyspawn.cache |
OP |
允许执行 /as cache |
PlaceholderAPI 标识符
点击展开/收起 PlaceholderAPI 列表(Placeholders)
| 占位符 |
描述 |
返回类型 / 示例 |
%anarchyspawn_spawned% |
检查当前玩家是否已在当前世界中完成初始出生 |
true / false |
%anarchyspawn_cache_size_<world>% |
获取指定世界异步缓存池中当前可用的安全位置数量 |
整数(例如:10) |
%anarchyspawn_min_radius_<world>% |
获取指定世界配置的内圈最小半径 |
整数(例如:1000) |
%anarchyspawn_max_radius_<world>% |
获取指定世界配置的外圈最大半径 |
整数(例如:15000) |
AnarchySpawn
A high-performance random wilderness spawn and safe respawn engine designed for Anarchy and competitive survival Minecraft servers.
Supported Versions & Server Engines
Click to expand / collapse Version Compatibility Matrix
| Minecraft Version |
Compatibility Status |
Compatibility Details |
| 1.20.x - 26.3+ |
Full Support (Native) |
Full support for modern height limits (-64 to 320), modern potions, trial structures, and 26.3 pale garden features (Creaking Heart, Heavy Core, Pale Oak). |
| 1.18.x - 1.19.x |
Full Support |
Seamless support for caves & cliffs height limits and ancient city biome detection. |
| 1.16.5 - 1.17.x |
Full Support (Legacy) |
Automatic fallback to height 0 base and legacy potion effect aliases (DAMAGE_RESISTANCE, INCREASE_DAMAGE, etc.). |
| 1.12.2 - 1.15.x |
Full Support (Legacy) |
Automatic fallback from PDC to local dual-track storage (data/players.yml), legacy Material system mapping (STATIONARY_LAVA), and Classloader insulation. |
| Server Core / Software |
Compatibility |
Recommendation |
| Paper / Purpur |
Native Async Support |
Highly Recommended (utilizes asynchronous chunk loading & teleportation without TPS drops) |
| Folia |
Native Regionized Scheduler |
Fully Supported (all scheduling routed through FoliaScheduler with region-thread confinement) |
| Spigot / CraftBukkit |
Full Synchronous Support |
Fully Supported (automatically switches to scheduled sync loading fallback) |
| Pufferfish / Gale / Leaves |
Native Async Support |
Fully Supported |
Features
- Broad Version Compatibility (1.12.2 - 26.3+): Built-in runtime reflection layer and dual-track persistence that safely adapts across legacy (1.12.2) and modern Minecraft releases without NoSuchMethod crashes.
- Surface Direct Penetration & 98%+ Search Acceleration: Directly queries surface heightmaps (
getHighestBlockYAt) in Overworld terrain, dropping candidate column block checks from 250 down to 13 iterations.
- Standalone Multi-Language System & Client Locale Auto-Detection: Language files are organized in a dedicated
languages/ directory (en_US.yml, zh_CN.yml, zh_TW.yml). Messages automatically adapt to each player's client language.
- First-Join Safe Drop & Per-World Control: Delays teleportation upon first join or dimension entry to safely dispatch players into configured ring wilderness zones. Each world can independently toggle first-join random spawn (
first-join: true/false).
- PDC & Dual-Track Tracking: Uses
PersistentDataContainer on 1.14+ and automatic file fallback on 1.12.2 - 1.13.2 to track spawn history per world without external database dependencies or memory leaks.
- Zero-Delay Respawn Cache Pool: Background async tasks pre-search and maintain a pool of safe locations (
LocationCachePool) for instant respawn upon death.
- Bed & Respawn Anchor Override: Option to override vanilla beds and respawn anchors to prevent bed-trapping and spawn-kill cycles.
- Equal-Area Annular Distribution: Utilizes equal-area probability density sampling to ensure uniform player distribution across outer zones without clustering near the center.
- Dynamic Death Hotspot Avoidance: Automatically avoids recent death/PvP zones to prevent spawn camping and crystal traps, with seamless fallback.
- Holistic 3D Safety Validation: Rigorous filtering against lava, underwater, cacti, sweet berries, powdered snow, portals, bedrock roofs/voids, dangerous ocean biomes, trial structures, and world borders.
- PaperMC Async Chunk Compatibility: Native reflection support for Paper's asynchronous chunk loading with smooth fallback on Spigot, preserving 20 TPS.
- Folia Regionized Scheduler Support: Auto-detects Folia region threads with transparent fallback to classic scheduler on Paper/Spigot.
- Audiovisual & Anti-Instakill Protection: Configurable invulnerability duration, potion effects (Resistance, Slow Falling, Fire Resistance), particle effects, sounds, titles, and actionbars.
- Ecosystem Integration: Built-in soft dependency support for PlaceholderAPI and EssentialsX.
- Modrinth Auto-Updater & Safe Download: Background checking on startup and periodic timers, SHA-512 verification, seamless
plugins/update/ replacement on restart, and in-game admin notifications.
Installation & Usage
- Copy the compiled
AnarchySpawn-x.x.x.jar into your server's plugins/ folder.
- Start the server; default configuration and language files will be generated in
plugins/AnarchySpawn/ and plugins/AnarchySpawn/languages/.
- Customize
config.yml and language files in languages/ according to your server requirements.
- Execute
/as reload in the console or in-game to apply configuration changes on the fly.
Commands & Permissions
Click to expand / collapse Command List (Commands)
| Command |
Aliases |
Permission |
Default |
Description |
/as reload |
/aspawn reload |
anarchyspawn.reload |
OP |
Reloads configuration and language files |
/as tp [player] [world] |
/randspawn tp |
anarchyspawn.tp |
OP |
Teleports a player to a safe random location in target world |
/as setcenter <world> <x> <z> |
/as setcenter |
anarchyspawn.setcenter |
OP |
Dynamically updates the spawn center coordinates for a world |
/as info |
/as status |
anarchyspawn.info |
OP |
Displays enabled world statuses and cache pool capacity |
/as test [world] |
/as benchmark |
anarchyspawn.test |
OP |
Runs a single safe coordinate search benchmark with timing |
/as cache |
/as refill |
anarchyspawn.cache |
OP |
Wakes up background async workers to refill the pre-cache pool |
Click to expand / collapse Permission List (Permissions)
| Permission Node |
Default |
Description |
anarchyspawn.use |
Everyone (true) |
Grants access to random safe spawns on first join and death respawn |
anarchyspawn.bypass |
OP |
Bypasses random respawn (preserves vanilla bed and respawn anchor) |
anarchyspawn.admin |
OP |
Master administrator permission covering all subcommands |
anarchyspawn.reload |
OP |
Allows execution of /as reload |
anarchyspawn.tp |
OP |
Allows execution of /as tp |
anarchyspawn.setcenter |
OP |
Allows execution of /as setcenter |
anarchyspawn.info |
OP |
Allows execution of /as info |
anarchyspawn.test |
OP |
Allows execution of /as test |
anarchyspawn.cache |
OP |
Allows execution of /as cache |
PlaceholderAPI Identifiers
Click to expand / collapse PlaceholderAPI List (Placeholders)
| Placeholder |
Description |
Return Type / Example |
%anarchyspawn_spawned% |
Checks if the current player has performed their initial spawn in the current world |
true / false |
%anarchyspawn_cache_size_<world>% |
Gets the count of currently available safe locations in the async cache pool for the specified world |
Integer (e.g., 10) |
%anarchyspawn_min_radius_<world>% |
Gets the configured minimum inner radius for the specified world |
Integer (e.g., 1000) |
%anarchyspawn_max_radius_<world>% |
Gets the configured maximum outer radius for the specified world |
Integer (e.g., 15000) |
评论 0
登录后参与评分
还没有评论,来抢沙发吧