DUXPLIMA Documentation

Worlds and cooldown

The worlds the plugin works in, what happens outside them, and the gap between two changes.

Worlds

worlds = ["lobby", "hub"]
KeyDefaultWhat it does
worlds[]The worlds the tool and the command work in, matched without regard to case. Empty is every world

Outside the list:

The viewThe player sees everybody
Their choiceKept, and applied again when they walk back into a listed world
The toolTaken away, given back in a listed world
/hide, /hide stateRefused with error.world-not-allowed
/hide status, %uxmplayerhider_state%Report all

The view is worked out when the player arrives in a world. A list changed by a reload applies to each player at their next change, join, respawn or world change.

Cooldown

cooldown {
  ms = 2000
}
KeyDefaultWhat it does
cooldown.ms2000Milliseconds between two changes of one player; 0 turns it off. Not negative

A change re-applies the player's view against everybody online, so the cooldown keeps a player from making the server work by holding the button. A change inside it answers error.cooldown with the seconds left, rounded up, and nothing changes. A refused change because of the world does not start the cooldown.

uxmplayerhider.cooldown.bypass (op by default) never waits. The cooldown is kept in memory and forgotten when the player leaves.

Related: States, config.conf