
一套面向 Fabric 和 NeoForge 的实用功能、修复与服务端工具整合模组。
Sanctum 将许多模组包甚至单人世界最终会从十几个不同模组中引入的大小调整与改进,收集、优化并实现为一个模组。
你可以在游戏中开启或关闭每一项功能,更改会立即生效,无需重启游戏。
设置由内置于 Sanctum 中的 Dungeon Config 驱动,因此无需额外安装任何内容。
打开设置菜单
你可以通过以下方式打开菜单:
- 主屏幕中 单人游戏 旁边的齿轮按钮
- 在任何地方按下 Ctrl + K
- Mod Menu(Fabric)或 Mods 列表(NeoForge)中的 Config 按钮
如果你更喜欢手动编辑,设置文件位于 config/sanctum/sanctum.json5。该文件包含注释且易于阅读。
在服务器上游玩? 部分游戏规则需要服务器和客户端达成一致,例如堆叠数量和门的碰撞箱。当你处于运行 Sanctum 的服务器上时,以服务器的选择为准,菜单上会显示一个小徽章提示这一点。在未安装 Sanctum 的服务器上,这些功能会自动关闭,以防止不同步问题。
坟墓
当你死亡时,物品不会散落在地板上。它们会被放入一个 坟墓:即放置在你坠落位置的一个玩家头颅模型。
- 所有物品均被保留: 你的背包、护甲、副手物品以及经验值。
- 也会捕获模组添加的槽位,例如 Accessories、Curios、Trinkets 和背包。你可以选择关闭此功能。
- 坟墓具有防爆性,除非你解锁它,否则只有你可以破坏或打开自己的坟墓。
- 聊天栏会告知你坟墓的位置: 包括坟墓编号、坐标以及剩余存在时间。
- 当你在 10 格范围内时,坟墓会穿透墙壁发光,方便你在洞穴中找到它们。
- Shift + 右键点击坟墓 可将所有物品直接放回其原本所在的槽位,护甲也会自动穿戴。
- 没有地方放置坟墓? 如果死亡点附近没有空位,物品会以正常方式掉落,并告知原因。
- 已移除模组的物品会被安全保存。 坟墓会保留这些物品,直到该模组重新安装,而不是将其删除。
坟墓界面
右键点击坟墓即可打开。你将看到完整的箱子视图以及一个信息面板,显示:
- 坟墓的所有者及其编号
- 所在位置,包括维度
- 带有进度条的到期倒计时
- 存储的经验值和物品数量
- 谁有权打开它
面板上的按钮:
| 按钮 |
功能 |
| Restore to Slots(恢复至原槽位) |
将所有物品放回死亡时的原始位置 |
| Take All(全部拿走) |
将所有物品移入你的空闲槽位,并获得经验值 |
| Claim XP(领取经验) |
仅领取经验值 |
| Lock / Unlock(锁定 / 解锁) |
选择是否允许其他人打开坟墓 |
| Drop All(全部丢弃) |
将所有物品掉落在地上并移除坟墓。需二次点击确认。 |
大型背包会分页显示,你可以通过标题栏中的箭头切换页面。
命令
| 命令 |
功能 |
/grave list |
列出你的所有坟墓,包括位置、内容和剩余时间。点击条目可进行操作。 |
/grave lock <number> |
仅你自己可以打开或破坏(默认状态) |
/grave unlock <number> |
任何人都可以打开或破坏,当朋友离得更近时很有用 |
设置
| 设置项 |
默认值 |
备注 |
| Graves(坟墓) |
On(开启) |
|
| Expiry time(过期时间) |
10 min(10 分钟) |
0 表示坟墓永不过期 |
| Drop items on expiry(过期时掉落物品) |
On(开启) |
关闭后,过期的坟墓及其物品将被一同删除 |
| Store all XP(存储全部经验值) |
Off(关闭) |
关闭时,保留原版数量(每级 7 点,上限 100) |
| Capture modded drops(捕获模组掉落物) |
On(开启) |
包括 Accessories、Curios、Trinkets、背包等 |
| Operators can open any grave(管理员可打开任意坟墓) |
Off(关闭) |
|
| Highlight graves(高亮显示坟墓) |
On(开启) |
|
传送工具
一套完整的服务端传送命令(也可用于单人游戏)。每个命令均可单独关闭或限制为仅管理员使用。
| 命令 |
功能 |
/spawn |
传送至世界出生点 |
/spawn set |
设置出生点(默认仅限管理员) |
/tpa <player> |
请求传送到某玩家身边 |
/tpahere <player> |
请求某玩家传送到你身边 |
/tpaccept, /tpdeny |
接受或拒绝传送请求 |
/tpa block <player>, /tpa unblock <player>, /tpa blocklist |
阻止某玩家频繁发送传送请求 |
/home set, /home tp, /home delete, /home list |
个人家园管理 |
/warp set, /warp tp, /warp delete, /warp list |
全服传送点管理(设置和删除默认仅限管理员) |
/back |
返回上一次传送前的位置,或死亡地点 |
/rtp |
随机传送到野外 |
默认设置
- 每位玩家拥有 3 个家园。
/back 记录最近 5 个位置。
- 传送请求在 60 秒后过期。
随机传送选项
- 传送范围(默认从世界中心起 1,000 格)
- 是否围绕玩家而非世界中心进行搜索
- 冷却前可使用次数,以及冷却时长
- 可选的 预热机制:静止站立数秒且不受到伤害后方可使用,战斗中无法使用
管理员命令
这些命令供管理员使用,用于在不修改全局配置的情况下调整单个玩家的限制。
| 命令 |
功能 |
/tputils maxhomes <players> [set <n> | reset] |
调整家园数量上限 |
/tputils maxbacks <players> [set <n> | reset] |
调整 /back 历史记录大小 |
/tputils rtpuses <players> [set <n> | reset] |
调整 /rtp 冷却前的可用次数 |
/tputils rtpcooldown <players> [set <n> | reset] |
调整 /rtp 冷却时长 |
/tputils rtprange <players> [set <n> | reset] |
调整 /rtp 传送范围 |
/tputils list [page] |
列出所有拥有自定义限制的玩家 |
/tputils rtpclear <players> |
重置某玩家的 /rtp 冷却计时器 |
如果降低家园数量上限,玩家默认保留他们已有的家园。关闭 Keep extra homes 可优先删除最新的多余家园。
sanctum:rtp_blacklist 维度标签会阻止 /rtp 在特定维度中生效。
游戏玩法
| 功能 |
作用 |
| XP Clumping |
附近的经验球合并为一个,防止怪物农场拖垮你的帧率 |
| Easy Harvest |
右键点击完全成熟的作物即可收获并自动重新种植 |
| Jump Over |
像跳过其他方块一样跳过栅栏和墙壁 |
| Swing Through |
穿透草丛、花朵和其他植被攻击生物 |
| Double Doors |
打开双扇门的一半即可同时打开两扇,栅栏门组也同理 |
| Better Doors |
打开的门不再具有碰撞体积,避免你在门边卡住 (由服务器同步) |
| Restocker |
当手中的物品组耗尽时,会自动从背包中补充 |
| No Trample |
耕地不会被践踏,无论是玩家还是生物 |
| Stack Maxxer |
16 组的堆叠变为 64 组,不可堆叠的物品变为 16 组 (由服务器同步;见下文) |
| Rapid Piglin |
猪灵交易速度加快(速度设置在 Values 中) |
| Mouse & Key Tweaks |
Shift+拖拽可移动多组物品,滚动鼠标滚轮可移动物品,中键排序 |
| Elytra Replenisher |
每位玩家都能在自己的末地城飞船上找到自己的鞘翅,而不仅仅是先到达的人 |
| Dragon Egg |
每次击杀末影龙都会生成一个新的龙蛋,而不仅仅是第一个 |
| Global Sound Suppressor |
凋灵生成和末影龙死亡的声音仅在附近播放,不会让全服听到 |
Stack Maxxer 会谨慎对待其影响范围:具有耐久度、内部内容或其他存储数据的物品保持原样。例如,潜影盒仅在为空时可堆叠。
可调整的 Values:
- Mending repair ratio: 每点经验值修复的耐久度(默认值为 2)。
- Piglin trade duration: 猪灵欣赏金子的时间(刻),之后才会进行交易(默认值为 34)。
HUD
| 功能 |
作用 |
| Health HUD |
单行心形图标,额外生命值以彩色溢出层显示 |
| Armour HUD |
盔甲条,超过 20 点后以彩色溢出显示 |
| Toughness HUD |
位于饥饿栏上方的盔甲韧性条 |
| Effects HUD |
位于饥饿栏上方的当前激活效果小图标 |
| Restore HUD |
按住食物可预览它将恢复多少生命值和饥饿值 |
| Saturation HUD |
当前饱和度的可视化显示,叠加在饥饿栏上方 |
Sanctum 还提高了原版对最大生命值、盔甲值和韧性的上限,使重度模组化的装备不会撞到隐形的天花板。如果你已经安装了 AttributeFix 模组,Sanctum 会避开它的范围。
工具提示
| 功能 |
作用 |
| Mod name |
显示物品来自哪个模组 |
| Durability |
显示精确的耐久度数值 |
| Tags |
显示物品和方块的标签,需在高级工具提示(F3 + H)开启时查看 |
| Food |
显示恢复的饥饿值和饱和度 |
| Food effects |
食用后产生的效果 |
缩放
按住 V(可重新绑定)进行缩放,缩放时滚动鼠标滚轮可调整缩放倍率。
| 设置项 |
默认值 |
| 缩放时电影相机视角 |
开启 |
| 滚动调整缩放 |
开启 |
| 缩放时的鼠标灵敏度 |
100%(随着缩放倍数增加,灵敏度进一步降低) |
| 起始缩放倍率 |
3× |
| 缩放范围 |
1× 至 50× |
| 记住上次缩放级别 |
关闭 |
延伸放置
类似 Quark 的“绕边”放置功能:无需蹲下越过边缘,即可在你所站方块的侧面或底面放置方块。
瞄准时,一个半透明的 幽灵方块 会准确显示即将放置的位置和方块类型。如果你更喜欢简单的括号指示器,可以切换回去。
界面
| 功能 |
作用 |
| Numbered Ping |
在标签页列表中显示真实的毫秒级延迟,而非信号格 |
| Startup Ping |
游戏加载完成后播放声音,以便你在启动时切换窗口 |
| Toast Suppressor |
不再在角落显示教程和配方弹出提示 |
| Custom Worlds Advice Suppressor |
加载世界时跳过“实验性设置”警告 |
| Experimental Suppressor |
将实验性注册表内容视为稳定状态 |
| Window Title & Icon |
自定义窗口标题和任务栏图标(见下文) |
窗口标题和图标
两者均位于 config/sanctum/window/ 目录下。
标题:
- 纯文本、
window/title 文件夹中 .txt 文件的名称,或留空以在每次启动时从该文件夹中随机选择一个 .txt 文件。
{version}、{mode} 和 {original} 会自动填充。
图标:
window/icon 文件夹中的图片或 .txt 列表,或一个 URL。
- 渲染为你提供的物品 ID,例如
minecraft:diamond。
- 通配符,例如
minecraft:*_log,或正则表达式 /regex/。
- 用逗号分隔多个选项,每次启动时随机选择一个。
菜单背景、音乐和颜色也可以在 Interface 中更改。请参阅 Dungeon Config 页面了解具体用法。
针对整合包制作者
这两个功能通过文件夹运行,而非设置菜单。
Pack Loader
将数据包放入 config/sanctum/datapacks,将资源包放入 config/sanctum/resourcepacks。它们将为每个世界自动加载,无需逐个世界复制,也不需要询问玩家启用它们。
加载顺序由同目录下的 datapack_load_order.json 和 resourcepack_load_order.json 控制。未列出的包将在已列出的包之后加载。
Default Overrides
在游戏目录中的 sanctum_defaults 文件夹内放置文件,使用与游戏文件夹相同的结构(例如 sanctum_defaults/options.txt 或 sanctum_defaults/config/somemod.toml)。每当这些文件发生变化时,Sanctum 会在启动时将其复制到相应位置。
- 所有被替换的文件都会备份到
sanctum_defaults_bak,并保留最近 5 次备份。
sanctum_defaults/default_saves 对世界文件夹内的文件采用相同的方式工作。
Tags
以下每个列表均为常规标签,因此数据包可以更改其中任意一项:
| 标签 |
控制内容 |
sanctum:jumpable(方块) |
Jump Over 允许跳跃的目标 |
sanctum:swingthrough_blacklist(方块) |
Swing Through 无法穿过的目标 |
sanctum:harvest_blacklist(方块) |
Easy Harvest 会跳过的作物 |
sanctum:tall_harvestable(方块) |
Easy Harvest 支持的高大作物 |
sanctum:stackmaxxer_blacklist(物品) |
Stack Maxxer 不会处理的物品 |
sanctum:restocker_blacklist(物品) |
Restocker 不会补货的物品 |
sanctum:rtp_blacklist(维度) |
/rtp 命令被禁用的位置 |
注意事项
- 服务端与客户端:
- 服务端功能(坟墓、传送、游戏规则)需要在服务器上安装 Sanctum。
- 仅限客户端的功能(HUD、工具提示、缩放、界面调整)可在任何服务器上使用,包括原版服务器。
发现与其他模组冲突或有其他功能建议?请告知我们,因为对于如此广泛的模组来说,兼容性是一个持续进行的工作。

A bundle of quality-of-life features, fixes and server utilities for Fabric and NeoForge.
Sanctum collects, improves and implements a number of small and large tweaks most modpacks or even single player worlds end up pulling in from a dozen separate mods into one mod.
You can turn every feature on or off in game, and the change applies right away with no restart.
Settings are powered by Dungeon Config, which ships inside Sanctum, so there's nothing extra to install.
Opening the settings
You can open the menu in any of these ways:
- The gear button next to Singleplayer on the title screen
- Ctrl + K, from anywhere
- The Config button in Mod Menu (Fabric) or the Mods list (NeoForge)
The settings file is config/sanctum/sanctum.json5 if you'd rather edit it by hand. It's commented and readable.
Playing on a server? A few gameplay rules need both sides to agree, such as stack sizes and door collision. While you're on a server running Sanctum, the server's choice wins and the menu shows a little badge telling you so. On servers without Sanctum, those features switch themselves off so you don't desync.
Graves
When you die, your items don't explode across the floor. They go into a grave: your own player head, placed where you fell.
- Everything is kept: your inventory, armour, offhand and your XP.
- Modded slots are captured too, such as Accessories, Curios, Trinkets and backpacks. You can turn this off.
- Graves are blast-proof, and only you can break or open yours unless you unlock it.
- A chat message tells you where it is: the grave number, the coordinates and how long until it expires.
- Your graves glow through walls when you're within 10 blocks, so you can find them in a cave.
- Shift + right-click a grave to put everything straight back into the slots it came from, with armour going back on.
- Nowhere to put a grave? If there's no free spot near your death point, your items drop the normal way and you're told why.
- Items from a mod you've since removed are kept safe. The grave holds onto them until that mod is back instead of deleting them.
The grave screen
Right-click a grave to open it. You get the full chest view plus an info panel showing:
- whose grave it is and its number
- where it is, including the dimension
- an expiry countdown with a progress bar
- stored XP and item count
- who's allowed to open it
The buttons on the panel:
| Button |
What it does |
| Restore to Slots |
Puts every item back exactly where it was when you died |
| Take All |
Moves everything into your free slots, plus the XP |
| Claim XP |
Just the experience |
| Lock / Unlock |
Choose whether anyone else can open the grave |
| Drop All |
Spills everything on the ground and removes the grave. It asks for a second click to confirm. |
Big inventories spill onto multiple pages, and you flip between them with the arrows in the title bar.
Commands
| Command |
What it does |
/grave list |
All your graves, with location, contents and time left. Click an entry to act on it. |
/grave lock <number> |
Only you can open or break it (the default) |
/grave unlock <number> |
Anyone can open or break it, handy when a friend is closer than you |
Settings
| Setting |
Default |
Notes |
| Graves |
On |
|
| Expiry time |
10 min |
0 means graves never expire |
| Drop items on expiry |
On |
When off, an expired grave's items are deleted with it |
| Store all XP |
Off |
When off, you keep the vanilla amount (7 per level, up to 100) |
| Capture modded drops |
On |
Accessories, Curios, Trinkets, backpacks… |
| Operators can open any grave |
Off |
|
| Highlight graves |
On |
|
Teleport Utilities
A full set of teleport commands for servers (and singleplayer, if you like). Each command can be turned off or restricted to operators separately.
| Command |
What it does |
/spawn |
Teleport to the world spawn |
/spawn set |
Set it (ops only by default) |
/tpa <player> |
Ask to teleport to someone |
/tpahere <player> |
Ask someone to teleport to you |
/tpaccept, /tpdeny |
Answer a request |
/tpa block <player>, /tpa unblock <player>, /tpa blocklist |
Stop someone from spamming you with requests |
/home set, /home tp, /home delete, /home list |
Personal homes |
/warp set, /warp tp, /warp delete, /warp list |
Server-wide warps (setting and deleting are ops only by default) |
/back |
Return to where you were before your last teleport, or to where you died |
/rtp |
Random teleport into the wild |
Defaults
- 3 homes per player.
/back remembers your last 5 locations.
- Teleport requests expire after 60 seconds.
Random teleport options
- How far it reaches (1,000 blocks from the world centre by default)
- Whether it searches around the player instead of the world centre
- Uses before a cooldown kicks in, and the cooldown length
- An optional warmup: stand still for a few seconds, don't take damage, and you can't use it mid-fight
Admin commands
These are for operators and change the limits for individual players without touching the global config.
| Command |
What it does |
/tputils maxhomes <players> [set <n> | reset] |
Homes limit |
/tputils maxbacks <players> [set <n> | reset] |
/back history size |
/tputils rtpuses <players> [set <n> | reset] |
/rtp uses before the cooldown |
/tputils rtpcooldown <players> [set <n> | reset] |
/rtp cooldown length |
/tputils rtprange <players> [set <n> | reset] |
/rtp range |
/tputils list [page] |
Everyone with a custom limit |
/tputils rtpclear <players> |
Reset someone's /rtp cooldown |
If you lower the homes limit, players keep the homes they already have by default. Turn off Keep extra homes to trim the newest extras instead.
The sanctum:rtp_blacklist dimension tag stops /rtp from working in particular dimensions.
Gameplay
| Feature |
What it does |
| XP Clumping |
Nearby experience orbs merge into one, so mob farms stop melting your frame rate |
| Easy Harvest |
Right-click a fully grown crop to harvest it and replant it automatically |
| Jump Over |
Hop over fences and walls like any other block |
| Swing Through |
Hit mobs through grass, flowers and other foliage |
| Double Doors |
Opening one half of a double door opens both, and rows of fence gates work the same way |
| Better Doors |
Open doors have no collision, so you stop clipping on door edges (synced from the server) |
| Restocker |
When the stack in your hand runs out, it refills from your inventory |
| No Trample |
Farmland can't be trampled, by you or by mobs |
| Stack Maxxer |
Stacks of 16 become 64 and unstackables become 16 (synced from the server; see below) |
| Rapid Piglin |
Piglins barter faster (the speed is under Values) |
| Mouse & Key Tweaks |
Shift-drag to move many stacks, scroll over items to move them, middle-click to sort |
| Elytra Replenisher |
Every player finds their own elytra on each End ship, not just whoever got there first |
| Dragon Egg |
A fresh dragon egg spawns on every dragon kill, not just the first |
| Global Sound Suppressor |
Wither spawn and dragon death sounds are only heard nearby, not by the whole server |
Stack Maxxer is careful about what it touches: items with durability, contents or other stored data stay as they are. Shulker boxes, for example, only stack when they're empty.
Values you can adjust:
- Mending repair ratio: durability repaired per XP point (default 2).
- Piglin trade duration: ticks a piglin admires gold before bartering (default 34).
HUD
| Feature |
What it does |
| Health HUD |
A single row of hearts, with extra health shown as coloured overflow layers |
| Armour HUD |
The armour bar with coloured overflow past 20 |
| Toughness HUD |
An armour toughness bar above the hunger bar |
| Effects HUD |
Your active effects as small icons above the hunger bar |
| Restore HUD |
Hold food to preview how much health and hunger it will give back |
| Saturation HUD |
Your current saturation, drawn over the hunger bar |
Sanctum also raises vanilla's caps on max health, armour and toughness, so heavily modded gear doesn't hit an invisible ceiling. If you already have the AttributeFix mod, Sanctum stays out of its way.
Tooltips
| Feature |
What it does |
| Mod name |
Which mod an item comes from |
| Durability |
Exact durability numbers |
| Tags |
The item's and block's tags, shown with advanced tooltips (F3 + H) on |
| Food |
Hunger and saturation restored |
| Food effects |
Effects applied when you eat it |
Zoom
Hold V (rebindable) to zoom, and scroll while zoomed to adjust it.
| Setting |
Default |
| Cinematic camera while zoomed |
On |
| Scroll to adjust |
On |
| Mouse sensitivity while zoomed |
100% (it drops further the more you zoom in) |
| Starting zoom |
3× |
| Zoom range |
1× to 50× |
| Remember last zoom level |
Off |
Reacher
Quark-style "reach-around" placement: place blocks against the side or underside of the block you're standing on, without crouching over the edge.
While you're aiming, a see-through ghost block shows exactly what will be placed and where. You can switch it back to a simple bracket indicator if you prefer.
Interface
| Feature |
What it does |
| Numbered Ping |
Real millisecond ping in the Tab list instead of signal bars |
| Startup Ping |
Plays a sound when the game finishes loading, so you can alt-tab while it boots |
| Toast Suppressor |
No more tutorial and recipe popups in the corner |
| Custom Worlds Advice Suppressor |
Skips the "experimental settings" warning when loading worlds |
| Experimental Suppressor |
Treats experimental registry content as stable |
| Window Title & Icon |
Your own window title and taskbar icon (see below) |
Window title and icon
Both live in config/sanctum/window/.
Title:
- Plain text, the name of a
.txt file in window/title, or empty to pick a random .txt from that folder each launch.
{version}, {mode} and {original} are filled in for you.
Icon:
- An image or a
.txt list in window/icon, or a URL.
- An item id such as
minecraft:diamond, rendered for you.
- A glob such as
minecraft:*_log, or a /regex/.
- Separate several options with commas and one is picked at random each startup.
The menu's background, music and colours can also be changed in Interface. See the Dungeon Config page for how those work.
For modpack makers
These two features run from folders rather than from the settings menu.
Pack Loader
Drop datapacks into config/sanctum/datapacks and resource packs into config/sanctum/resourcepacks. They load automatically for every world, with no per-world copying and no asking players to enable them.
The order is controlled by datapack_load_order.json and resourcepack_load_order.json in the same folder. Packs you don't list load after the ones you do.
Default Overrides
Put files in a sanctum_defaults folder in the game directory, using the same layout as the game folder (e.g. sanctum_defaults/options.txt or sanctum_defaults/config/somemod.toml). Sanctum copies them into place at startup whenever they differ.
- Anything it replaces is backed up to
sanctum_defaults_bak, and the 5 most recent backups are kept.
sanctum_defaults/default_saves works the same way for files inside world folders.
Tags
Every list below is a normal tag, so a datapack can change any of them:
| Tag |
Controls |
sanctum:jumpable (blocks) |
What Jump Over lets you hop |
sanctum:swingthrough_blacklist (blocks) |
What Swing Through won't hit through |
sanctum:harvest_blacklist (blocks) |
Crops Easy Harvest skips |
sanctum:tall_harvestable (blocks) |
Tall crops Easy Harvest supports |
sanctum:stackmaxxer_blacklist (items) |
Items Stack Maxxer leaves alone |
sanctum:restocker_blacklist (items) |
Items Restocker won't refill |
sanctum:rtp_blacklist (dimensions) |
Where /rtp is disabled |
Notes
- Server side vs client side:
- Server-side features (graves, teleports, gameplay rules) need Sanctum on the server.
- Client-only features (HUD, tooltips, zoom, interface tweaks) work on any server, vanilla included.
Found something that clashes with another mod or have a feature in mind? Let us know, because compatibility is an ongoing effort with a mod this broad.
评论 0
登录后参与评分
还没有评论,来抢沙发吧