Documentation Index
Fetch the complete documentation index at: https://docs.kyver.net/llms.txt
Use this file to discover all available pages before exploring further.
Expressions
LevelsRM provides various expressions to get and set player data and plugin values.
Player Multiplier
Syntax:
[levelsrm] multiplier of %player%
%player%'s [levelsrm] multiplier
Description: Gets or sets a player’s multiplier value.
Examples:
set {_multiplier} to multiplier of player
set multiplier of player to 2.5
add 0.5 to multiplier of player
Player Deathban Expiry
Syntax:
[levelsrm] deathban expiry of %offlineplayer%
%offlineplayer%'s [levelsrm] deathban expiry
Description: Gets the timestamp when a player’s deathban expires.
Examples:
set {_expiry} to deathban expiry of player
send "Ban expires at: %deathban expiry of player%" to player
Multiplier Limits
Syntax:
[levelsrm] (minimum|min) multiplier
[levelsrm] (maximum|max) multiplier
[levelsrm] starting multiplier
Description: Gets the minimum, maximum, or starting multiplier values.
Examples:
set {_min} to minimum multiplier
set {_max} to maximum multiplier
set {_start} to starting multiplier
Syntax:
[levelsrm] formatted multiplier of %player%
%player%'s [levelsrm] formatted multiplier
Description: Gets the formatted multiplier string of a player.
Examples:
send "Your multiplier: %formatted multiplier of player%" to player
Event Multiplier Values
Syntax:
event-oldmultiplier
event-newmultiplier
event-previousmultiplier
Description: Gets the old or new multiplier value from a multiplier change event.
Examples:
on multiplier change:
set {_old} to event-oldmultiplier
set {_new} to event-newmultiplier
send "Multiplier changed from %{_old}% to %{_new}%" to player
Event Deathban Duration
Syntax:
event-duration
event-deathban-duration
Description: Gets the duration of a deathban from a deathban event.
Examples:
on player deathban:
set {_duration} to event-duration
send "You are deathbanned for %{_duration}% milliseconds" to player
All Deathbans
Syntax: [levelsrm] all deathbans
Description: Gets a map of all current deathbans (UUID to expiry timestamp).
Examples:
set {_deathbans::*} to all deathbans
loop all deathbans:
send "Deathbanned player: %loop-key%"