
publoc base
Hello I would like a public base plugin where every hour a region of spawn opens up with villagers and chests with string that refill every 30s where players...
00—paperServer1.21.10mod
Publoc Base plugin cycles a public spawn area open for 30 minutes and closed for 30 minutes by default. It opens immediately on server start, broadcasts status changes, spawns invulnerable villagers, and manages refilling string supply chests every 30 seconds while open. When closing, villagers are removed, chests are cleared and marked closed, and block interactions inside the region are blocked until reopening.
Configuration (in config.yml):
center: choose server spawn or a specific world/coordinates for the base center.region.halfSize/verticalMargin/useSurfaceHeight: set region size and whether chest/villager Y positions snap to the surface at their offsets.timings.openMinutesandtimings.closedMinutes: control the open/closed cycle lengths.chests.refillSecondsandchests.stringStackSize: adjust how often chests refill and how many string items each slot holds.chests.offsetsandvillagers.offsets: block offsets from the center for chest placements and villager spawns.
Notes and suggestions:
- The protected area is an axis-aligned square around the center; adjust
halfSizeand offsets to match your spawn build. - Chests are rebuilt automatically if broken and only provide string; add more offsets or vary stack sizes if you want wider supply coverage or different loot.
- Interactions are blocked in the region while closed, but block breaking/placing is not restricted; pair with a region protection plugin if you need stricter control.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.