Repository navigation
LuckPerms Integration
MateoF24 edited this page Mar 10, 2026
·
4 revisions
By default, all /timer subcommands require operator level 4. When LuckPerms (or any other permission system) is installed, you can grant fine-grained access using the nodes below.
OnTime delegates permission checks to a IPermissionProvider. The default implementation falls back to source.hasPermission(4). You can replace it via the API:
api.setPermissionProvider((source, node, fallbackLevel) -> {
// integrate your permission system here
return YourPermAPI.hasPermission(source, node);
});Call this inside your OnTimeEntrypoint during initialization.
| Node | Subcommand |
|---|---|
ontime.command |
Global access (parent node) |
ontime.command.create |
/timer create |
ontime.command.start |
/timer start |
ontime.command.stop |
/timer stop |
ontime.command.pause |
/timer pause |
ontime.command.reset |
/timer reset |
ontime.command.remove |
/timer remove |
ontime.command.set |
/timer set |
ontime.command.add |
/timer add |
ontime.command.list |
/timer list |
ontime.command.hide |
/timer hide |
ontime.command.silent |
/timer silent |
ontime.command.position |
/timer position |
ontime.command.sound |
/timer sound |
ontime.command.scale |
/timer scale |
ontime.command.command |
/timer command |
ontime.command.repeat |
/timer repeat |
ontime.command.sequence |
/timer sequence |
ontime.command.condition |
/timer condition |
ontime.command.help |
/timer help |
- If no permission provider is set, OnTime always falls back to OP level 4 — no configuration needed for vanilla setups.
- Nodes are evaluated independently; a player can have
ontime.command.listwithoutontime.command.create. - The global node
ontime.commandgates the/timercommand root. A player must pass this check before any subcommand check is evaluated.