Renzitys_Server_Essentials_v1.3.3.mcaddon
What's new
# Renzity's Server Essentials — Changelog
## [1.3.3] — 2026-08-05
### Fixed — Land Claims
- Claim tool (golden shovel) now works reliably via dual event hooks (`itemUseOn` + `playerInteractWithBlock`)
- Claim blocks are initialized on player join
- Full rectangle **overlap** detection before creating a claim
- Claims now store **dimension** (overworld / nether / end no longer share the same XZ claims)
- Break **and** place protection on claimed land
- Safer mainhand item detection across Script API builds
- Event registration failures no longer silently disable the whole claims system
- Book no longer steals every use — menu opens only when **sneaking** with a book
### Added — Claim Visualization (lag-safe)
- Particle borders while holding the claim tool or selecting corners
- **Your claims:** green (villager happy) edge particles
- **Others' claims:** flame edge particles
- **Selection preview:** live rectangle from corner 1 to your position
- Corner 1 marker particle
- Designed for low cost:
- Updates every 0.75s
- Edges only, every 3 blocks
- Only claims within ~48 blocks
- Max 64 particles per player
- No particles when tool is not held / not selecting
### Improved — Claims UX
- Clearer messages (size, cost, owner, overlap, coords)
- Menu: How to claim, Cancel selection, List claims with coordinates
- Action bar shows claim blocks + corner selection status while holding shovel
---
### Added and Fixed — TPS Meter
- TPS no longer falsely **increases** during `/essentials:stress math`
- Root cause: post-lag script catch-up samples produced instant TPS ≫ 20 and inflated the average
- Measurement now uses a **sliding window** (~2s), ignores sub-5ms catch-up bursts, and **clamps TPS to 0–20**
- Math stress runs every tick with heavier workload so lag is measurable
- Measurement window resets when a stress test starts
---
### Fixed — HUD TPS
- `$world(tps)` was hardcoded to `"20"` and never reflected real performance
- Live TPS is now measured from `system.currentTick` vs wall clock
### Added — TPS Tester features (integrated)
- New module: `scripts/modules/tps.js`
- **Custom slash commands** (no experimental required):
- `/essentials:tps` — show current TPS / session low / peak MSPT
- `/essentials:tps on` — continuous action-bar display
- `/essentials:tps off` — disable action-bar display
- `/essentials:stress <type> [1-10]` — stress test (admin)
- Types: `entities` | `particles` | `math` | `blocks` | `all`
- `/essentials:tpstest stop` — stop stress + cleanup
- `/essentials:tpstest help` — help
- HUD variables:
- `$world(tps)` / `$tps` — live smoothed TPS
- `$world(mspt)` — peak ms per tick
- `$world(tpslow)` — session low TPS
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

