Skip to main content

Conditions

LevelsRM provides several conditions to check player states and permissions.

Player is Deathbanned

Syntax:
  • %player% is [levelsrm] (deathbanned|death banned)
  • %player% is(n't| not) [levelsrm] (deathbanned|death banned)
Description: Checks if a player is currently deathbanned. Examples:
if player is deathbanned:
    send "You are currently deathbanned!"

if player is not death banned:
    send "You are not deathbanned."

Can Increase/Decrease Multiplier

Syntax:
  • %player% can (increase|decrease) [levelsrm] multiplier
  • %player% can('t| not) (increase|decrease) [levelsrm] multiplier
Description: Checks if a player can increase or decrease their multiplier. Examples:
if player can increase multiplier:
    send "You can increase your multiplier!"

if player can't decrease multiplier:
    send "You cannot decrease your multiplier further."