请求版本更新 在此!
Spleef
一款经典的 Paper Minecraft 服务器 Spleef 小游戏插件。踩碎其他玩家脚下的雪块以淘汰他们——最后存活的玩家(或队伍)获胜。
功能
- 多种游戏模式 — FFA、单人、双人、三人、四人
- 竞技场管理 — 使用选择工具在游戏中创建竞技场
- 队伍支持 — 彩色编码的队伍,具备友军伤害免疫
- 基于方块的经济系统 — 破坏一个方块 → 获得一个雪球
- 雪球击退 — 雪球可将对手击退(无友军伤害)
- 完整的竞技场快照 — 整个竞技场体积会在每局游戏后保存并恢复
- 玻璃平台 — 玩家站在雪地板上方的玻璃上;游戏开始时移除平台
- 玩家冻结 — 大厅/倒计时期间锁定水平移动(允许跳跃)
- 自动填充地板 — 首次加入时自动生成雪地板,最后一名玩家离开时清除
命令
所有命令均使用 /spleef 命名空间。管理员命令需要 spleef.admin 权限(默认:OP)。
玩家命令
| 命令 |
描述 |
/spleef join [arena] |
加入游戏(若不存在则自动创建) |
/spleef leave |
离开当前游戏 |
/spleef list |
列出所有竞技场及其状态 |
/spleef info <arena> |
显示竞技场详情 |
管理员命令
| 命令 |
描述 |
/spleef arena create <name> |
创建新竞技场 |
/spleef arena pos1 <name> |
设置竞技场边界的第一个角点 |
/spleef arena pos2 <name> |
设置第二个角点(自动确定边界) |
/spleef arena addspawn <name> |
在你所在的位置添加出生点 |
/spleef arena type <name> <type> |
设置游戏类型 (ffa/solos/duos/trios/quads) |
/spleef arena players-needed <name> <n> |
覆盖最少玩家数量 |
/spleef start [arena] |
强制开始游戏 |
/spleef stop [arena] |
停止游戏 |
游戏类型
| 类型 |
最少玩家 |
队伍人数 |
描述 |
ffa |
2 |
1 |
自由混战 |
solos |
2 |
1 |
自由混战(别名) |
duos |
4 |
2 |
两人一队 |
trios |
6 |
3 |
三人一队 |
quads |
8 |
4 |
四人一队 |
玩法指南
-
设置竞技场:
/spleef arena create myarena
/spleef arena pos1 myarena (站在一个角落)
/spleef arena pos2 myarena (站在对角角落)
/spleef arena addspawn myarena (站在玩家应生成的位置)
/spleef arena type myarena duos
-
添加更多出生点 — 每个玩家一个(在每个出生点位置运行 /spleef arena addspawn myarena)
-
加入并开始游戏:
/spleef join myarena
当足够多的玩家加入时,游戏会自动开始。管理员也可以执行 /spleef start myarena。
-
击打对手脚下的雪块 使其掉落。每破坏一个方块,你就会获得一个雪球。
-
用雪球击中对手 将其击退(水平击退,强度 1.2)。队伍间无友军伤害。
-
最后存活的玩家/队伍获胜!
权限
| 权限 |
默认值 |
描述 |
spleef.admin |
OP |
管理员命令(竞技场设置、开始/停止) |
安装
- 从 Modrinth 或 GitHub Releases 下载 JAR 文件
- 放入服务器的
plugins/ 文件夹
- 重启服务器(或执行
/reload)
- 使用
/spleef arena create 配置竞技场
从源码构建
git clone https://github.com/Speedymr01/spleef.git
cd spleef
./build.ps1 # Windows
需要 JDK 21+ 和 Maven 3.8+。
技术细节
- 基于 Paper API 1.21+ 构建
- 在游戏开始时进行完整的 3D 竞技场快照,在游戏结束时恢复所有方块更改
- 无自然方块掉落 — 在竞技场中破坏的方块直接给予雪球
- 虚空伤害淘汰玩家;所有其他伤害均被取消
- 玩家位置在加入时保存,在离开/游戏结束时恢复
- 竞技场数据通过 Paper 配置 API 持久化到
config.yml
Request version updates here!
Spleef
A classic Spleef minigame plugin for Paper Minecraft servers. Break snow beneath other players to eliminate them — last player (or team) standing wins.
Features
- Multiple game modes — FFA, Solos, Duos, Trios, Quads
- Arena management — Create arenas in-game with selection tools
- Team support — Color-coded teams with friendly-fire immunity
- Block-based economy — Break a block → get a snowball
- Snowball knockback — Snowballs knock opponents away (no friendly fire)
- Full arena snapshot — Entire arena volume is saved and restored after each game
- Glass platforms — Players stand on glass above the snow floor; platforms removed at start
- Player freeze — Horizontal movement locked during lobby/countdown (jumping allowed)
- Auto floor fill — Snow floor auto-generates on first join, clears on last leave
Commands
All commands use the /spleef namespace. Admin commands require spleef.admin permission (default: OP).
Player Commands
| Command |
Description |
/spleef join [arena] |
Join a game (auto-creates if none exists) |
/spleef leave |
Leave your current game |
/spleef list |
List all arenas and their status |
/spleef info <arena> |
Show arena details |
Admin Commands
| Command |
Description |
/spleef arena create <name> |
Create a new arena |
/spleef arena pos1 <name> |
Set first corner of arena bounds |
/spleef arena pos2 <name> |
Set second corner (auto-finalizes bounds) |
/spleef arena addspawn <name> |
Add a spawn point at your location |
/spleef arena type <name> <type> |
Set game type (ffa/solos/duos/trios/quads) |
/spleef arena players-needed <name> <n> |
Override minimum players |
/spleef start [arena] |
Force-start a game |
/spleef stop [arena] |
Stop a game |
Game Types
| Type |
Min Players |
Team Size |
Description |
ffa |
2 |
1 |
Free-for-all |
solos |
2 |
1 |
Free-for-all (alias) |
duos |
4 |
2 |
Teams of 2 |
trios |
6 |
3 |
Teams of 3 |
quads |
8 |
4 |
Teams of 4 |
How to Play
-
Set up an arena:
/spleef arena create myarena
/spleef arena pos1 myarena (stand at one corner)
/spleef arena pos2 myarena (stand at opposite corner)
/spleef arena addspawn myarena (stand where players should spawn)
/spleef arena type myarena duos
-
Add more spawn points — one per player (run /spleef arena addspawn myarena at each spawn location)
-
Join and play:
/spleef join myarena
The game auto-starts when enough players join. An admin can also /spleef start myarena.
-
Break snow blocks beneath opponents to make them fall. Each broken block gives you a snowball.
-
Hit opponents with snowballs to knock them back (horizontal knockback, 1.2 strength). No friendly fire on teams.
-
Last player/team standing wins!
Permissions
| Permission |
Default |
Description |
spleef.admin |
OP |
Admin commands (arena setup, start/stop) |
Installation
- Download the JAR from Modrinth or GitHub Releases
- Place in your server's
plugins/ folder
- Restart the server (or
/reload)
- Configure arenas using
/spleef arena create
Building from Source
git clone https://github.com/Speedymr01/spleef.git
cd spleef
./build.ps1 # Windows
Requires JDK 21+ and Maven 3.8+.
Technical Details
- Built on Paper API 1.21+
- Full 3D arena snapshot at game start restores all block changes on game end
- No natural block drops — blocks broken in the arena give snowballs directly
- Void damage eliminated players; all other damage is cancelled
- Player locations are saved on join and restored on leave/game end
- Arena data persists to
config.yml via the Paper configuration API
评论 0
登录后参与评分
还没有评论,来抢沙发吧