Skip to content
WRChipPublic
forked from KhiemGOM/Warden

About

MC Frabric mod to limit survival on Server

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Warden

Fork of KhiemGOM/Warden, a Fabric mod that adds configurable server-side limits, for Money SMP.

Features

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> find lists who holds an item, offline players included, by reading their saved inventory and ender chest
  • Item dating: every unstackable item gets a warden_born timestamp in its custom data the first time a sweep sees an online player carrying it (shulker and bundle contents too), and globalitem <item> find lists 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 of playerdata is kept as playerdata.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's damage stat 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 /restore
  • Moderation: /freeze, /mute, /inv, /enderchest
  • AntiCrack: structure placement and loot seed scrambling (was anti_seedcrack in warden.json)
  • ChunkGuard: the chunk-ban guard for oversized item and block entity data (was chunk_ban in warden.json)

Commands

  • /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)

Building

./gradlew build

Output jar lands in build/libs/.

About

MC Frabric mod to limit survival on Server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages