Fork of KhiemGOM/Warden, a Fabric mod that adds configurable server-side limits, for Money SMP.
- Minecraft 1.21.11
- Requires Fabric API
- Optional: YetAnotherConfigLib + ModMenu for the in-game config screen (bundled)
From upstream:
- Per-category limits and toggles for explosions, items, weapons, enchantments, effects, and XP
- Dimension restrictions and per-player exemptions
- Action bar status display
Added in this fork:
- Server-wide item caps (
/warden globalitem): how many of an item may exist across the whole server at once - dropped items plus everything players carry, cursor and nested containers included - rather than a per-player cap./warden globalitem <item> findlists who holds an item, offline players included, by reading their saved inventory and ender chest - Item dating: every unstackable item gets a
warden_borntimestamp in its custom data the first time a sweep sees an online player carrying it (shulker and bundle contents too), andglobalitem <item> findlists the matches oldest first. The first time Warden starts, everything unstackable in offline players' saved inventories is marked as legacy with that install time (a copy ofplayerdatais kept asplayerdata.warden-backup). Items in world containers or on the ground are dated when someone first picks them up - Crafting and enchanting blocks (
/warden craft): an item can't be made - crafting grid, crafter, smithing table, stonecutter, furnaces - or enchanted at a table or anvil, but existing ones can still be used, repaired and renamed - Ender chest blocks (
/warden enderchest): an item can't be put in an ender chest, on its own or inside a shulker box or bundle; ones already inside can still be taken out - Mace smash limits:
/warden weapon set mace smashCap <health>caps what a smash takes off the target after armor (absorption included), and the mace'sdamagestat is a ceiling on the whole hit, smash bonus included, instead of a fixed base value - Performance pass over crafting/furnace handling
Split out into their own mods (siblings of this folder in the MoneySMP workspace):
Restore: new-world lockdown and/restoreModeration:/freeze,/mute,/inv,/enderchestAntiCrack: structure placement and loot seed scrambling (wasanti_seedcrackinwarden.json)ChunkGuard: the chunk-ban guard for oversized item and block entity data (waschunk_baninwarden.json)
/warden status/warden help/warden reload(admin)/warden reset [category](admin)/warden actionbar status/warden craft block|allow <item> | list | toggle <true|false>(admin)/warden enderchest block|allow <item> | list | toggle <true|false>(admin)/warden explosion|item|globalitem|weapon|enchant|effect|xp|dimension|exempt|config ...(admin)
./gradlew build
Output jar lands in build/libs/.