Configuration
The platform bundle supplies the local endpoint for managed workloads. Set the
server type and server ID only when your workload needs scoped policy.
Velocity
Install the Velocity permissions plugin with your proxy. At proxy startup it registers the snapshot client, loads player snapshots during login, refreshes online players on the configured interval, and exposes the localPermissions
service to your plugin code.
Use the shared API for an unscoped check:
Minestom
Add the Minestom permissions module to the Grounds module runtime. The module registersPermissions in GroundsServerContext.services while it is
installed. Discover and select its grounds.permissions provider, then resolve
the service from the code that handles your player action.
GROUNDS_PERMISSION_SERVER_TYPE, it uses the Grounds server type from the
module context.
Snapshot lifecycle and outages
- The runtime fetches a snapshot during player login.
- Once
refreshAfterpasses, the periodic sweep asks the local project service for a replacement while the existing snapshot remains usable. - A failed refresh keeps the previous snapshot until it expires.
- An expired snapshot makes every check return
false. - If login cannot obtain a valid snapshot, the runtime denies that login.
false result as an ordinary authorization
denial rather than retrying a remote call.
