Changelog
OnTime 2.0.0
This release is a major overhaul. The internal architecture has been rewritten to centralize all display logic server-side, introduce a public API, and clean up code.
⚠️ Breaking Changes
- All display settings are now server-side. Position, colors, scale, and sound are configured once on the server and automatically pushed to every connected client. Individual players can no longer change these settings themselves.
- Permission level for all
/timercommands has been raised to op level 4.
✨ New
/timer scale <value>
Sets the timer display scale globally for all players. Accepts values from 0.1 to 5.0.
Public API
Other mods can now interact with OnTime programmatically via OnTimeAPI:
- Create, remove, start, stop, pause and query timers
- Register custom command placeholders
- Receive the API instance at initialization via the entrypoint system:
- Fabric:
ontimeentrypoint infabric.mod.json - NeoForge / Forge:
InterModCommswith method"register"
- Fabric:
PlaceholderAPI Integration (Fabric Only)
When Placeholder API is present, OnTime automatically registers placeholders for active and named timers: %ontime:active_time%, %ontime:active_name%, %ontime:timer_time:<name>%, and more. See the wiki for the full list.
🔧 Changes
- Client–server sync rewritten. Display config (position, preset, colors, scale, sound) is now sent to clients as a dedicated packet on join and on every server-side config save. Clients are purely passive receivers.
- Permission system unified. The
hide,silent,position,sound, andscalecommands are now admin-only. Operators can still target individual players withhideandsilent. - Codebase cleanup. Removed redundant abstractions, dead code paths, and inconsistencies between loader implementations. Internal packet and platform layers have been simplified.
Dependencies
Files
ontime+neoforge+1.21.1-2.0.0.jar(132.74 KiB) Primary Download
External resources
Project members

MateoF024
Member
Technical information
License
CC0-1.0
Client side
required
Server side
required
Project ID


