Server Side Corpses
Lootable corpses on death — your body keeps your items and XP until you return. 100% server-side: players join with completely vanilla clients, nothing to install.
介绍
A fully server-side rewrite of the ideas in my client+server mod Fallen
When you die, your items don’t scatter and despawn. Your body stays where you fell — a corpse wearing your skin — holding everything you were carrying plus your XP. Walk back and right-click to reclaim it.
The whole mod runs on the server. Players connect with completely vanilla clients — nothing to install client-side. Drop it in your Fabric server’s mods folder and every player gets corpses, whether they mod their client or not.
Features
- Death leaves a lootable corpse instead of loose, despawning item drops (respects the keepInventory gamerule).
- The corpse is rendered with the dead player’s actual skin, lying where they fell.
- The body falls and settles on the ground, floats on lava and water pools, and is held just inside the world over the void — loot is never destroyed.
- Right-click opens the corpse as a chest: armor, offhand, inventory and hotbar laid out in their own slots. Take-only — nothing can be put in.
- Sneak-right-click returns everything to its original inventory slots, plus your stored XP. A full inventory never spills loot.
- Owner-locked: for a configurable time only the owner (and ops) can loot a body; afterwards anyone can. Left too long, it drops its contents so nothing is ever truly lost.
- /deathhistory lists your recent deaths (ops can inspect other players).
How does it work with vanilla clients?
The visible body is a packet-level fake player in the sleeping pose carrying the dead player’s real skin; the clickable hitbox is a pair of invisible vanilla interaction entities; the loot screen is a plain vanilla chest menu that only the server knows maps back to your inventory.
Config (config/ssc.json)
- enabled — master switch (false = vanilla deaths)
- despawnMinutes (default 2880) — minutes before the corpse despawns and drops its loot, 0 = never
- keepExperience (default true) — store and return the player’s XP
- opsBypassProtection (default true) — operators can loot any corpse
- spawnInLava / spawnOverVoid (default true) — whether hazard deaths still form a floated / void-held corpse
- voidScanDepth (default 12) — how far down to scan before a spot counts as “over the void”
- skeletonMinutes (default 1440) — minutes before a corpse unlocks for everyone, 0 = never
- skeletonStageIsPublic (default true) — aged corpses may be looted by anyone
- deathHistorySize (default 20) — deaths kept per player for /deathhistory
Requires Fabric API. Works in singleplayer too (it runs on the integrated server).
常见问题
Server Side Corpses 支持哪些 Minecraft 版本?
Server Side Corpses 支持 Minecraft Java 版 26.2–26.3,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Server Side Corpses 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
jonahsnotmyname 的其他作品
查看全部 →Fallen Corpse
Never lose your items again. Death leaves behind your body, wearing your skin, holding everything you carried. Walk back and take it all in one click.
Useful Carts
Horse-drawn and hand-pulled carts for travel, shipping, and farming. An unofficial Minecraft 26.2 port of jmb05's NiftyCarts (itself a port of AstikorCarts by MennoMax). MIT, original copyright retained.
Traveler’s Backpack Extras
Craft any backpack into a new look.
UsefulCarts
An updated Port of the NiftyCarts mod. It adds carts for travel, shipping and farming.
评论
登录后评论和评分