
The Knocker Sign Limiter
Limits signs placed by "The Knocker" to one per 20 minutes.
Автор: onjulraz5331обновлён 3 окт. 2025 г.
Механики игры
Описание
Limits "TheKnocker mod from placing signs to a a short window every 20 minutes. This should result in about 1 sign per minecraft day.
Requirements: The Knocker
Bug Reports and Questions: https://discord.gg/QNR3xKuX
Последние версии
Все версии →release
Knocker Sign Limiter 1.0.0
1.21.1-1.0.03 окт. 2025 г.533Minecraft: 1.21.1datapack
Что нового
Knocker Sign Rate Limiter (Datapack, 1.21.x)
--------------------------------------------
Purpose
- Stops TheKnocker's 'click' signs from appearing constantly by keeping all players'
scoreboard value 'click' at 1 (the mod only spawns signs when it finds a player with click==0).
- Every 20 minutes a 60-second window opens where ONE random online player's 'click' is set to 0,
allowing at most one sign spawn in that period (and only if the mod's own RNG chooses that event).
Install
- Drop the ZIP into: world/datapacks/
- Run: /reload
- Verify with: /scoreboard objectives list (you should see 'click' and 'knocker_cd').
Commands
- /function knockerblocker:debug_now -> instantly opens a 60s window (useful for testing)
- /schedule clear knockerblocker:tick_60s -> stops the loop (then /function knockerblocker:load to restart)
Notes
- Works server-side only; clients don't need anything.
- If you previously deleted/renamed the 'click' objective, the pack recreates it.
- Compatible with NeoForge/Fabric/Connector because it's pure vanilla commands.