DUXPLIMA Documentation

Player State

The everyday self-and-target verbs: heal, feed, fly, game mode, speed, personal time and weather.

Player State bundles the verbs that act on a player rather than the world: healing and feeding, flight, game mode, walk and fly speed, personal time and weather, experience, inventory inspection, and a stack of read-only info commands. Most verbs take an optional player argument, gated by their own others node.

Module playerstate · enabled by default · modules/playerstate/config.conf

Commands

/* generated:commands */
CommandWhat it doesPermission
/airSet a player's remaining air.uxmessentials.air.use
/biomeShow the biome you are standing in.uxmessentials.biome.use
/burnSet a player on fire for some seconds.uxmessentials.burn.use
/clearinventory (/ci, /clear)Clear a player's inventory.uxmessentials.clearinventory.use
/clearinventoryconfirmtoggle (/citoggle)Toggle a confirmation before /clearinventory.uxmessentials.clearinventory.confirmtoggle
/compassShow the direction you are facing.uxmessentials.compass.use
/depthShow your height relative to sea level.uxmessentials.depth.use
/dimension (/dim)Show the dimension you are standing in.uxmessentials.dimension.use
/enderseeView a player's ender chest.uxmessentials.endersee.use
/exp (/xp)Get or set a player's experience.uxmessentials.exp.use
/ext (/extinguish)Put out a burning player.uxmessentials.extinguish.use
/feed (/eat)Restore hunger.uxmessentials.feed.use
/flyToggle flight.uxmessentials.fly.use
/flyspeedSet walk/fly speed.uxmessentials.speed.use
/foodlevelSet a player's food level.uxmessentials.foodlevel.use
/gamemode (/gm)Set game mode.uxmessentials.gamemode.use
/getpos (/coords, /whereami)Show a player's coordinates.uxmessentials.getpos.use
/glowToggle a glowing outline, in a colour of your choice.uxmessentials.glow.use
/god (/godmode)Toggle damage immunity.uxmessentials.god.use
/healRestore health.uxmessentials.heal.use
/healthSet a player's health.uxmessentials.health.use
/iceFreeze a player for some seconds.uxmessentials.ice.use
/invseeView a player's inventory.uxmessentials.invsee.use
/near (/nearby)List nearby players.uxmessentials.near.use
/nightvision (/nv)Toggle night vision.uxmessentials.nightvision.use
/pingShow a player's ping.uxmessentials.ping.use
/playtimeShow or reset a player's playtime breakdown.uxmessentials.playtime.use
/ptimeSet your personal time.uxmessentials.ptime.use
/pweatherSet your personal weather.uxmessentials.pweather.use
/restReset a player's time-since-rest so phantoms stop.uxmessentials.rest.use
/seedShow the seed of the world you are standing in.uxmessentials.seed.use
/speedSet walk/fly speed.uxmessentials.speed.use
/suicideKill yourself.uxmessentials.suicide.use
/walkspeedSet walk/fly speed.uxmessentials.speed.use
/worldShow the world you are standing in.uxmessentials.world.use
/* /generated */

Permissions

/* generated:permissions */
NodeDefaultGrants
uxmessentials.air.othersop/air on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.air.useop/air <seconds> to set a player's remaining air.
uxmessentials.biome.useeveryone/biome to show the biome you are standing in.
uxmessentials.burn.othersop/burn on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.burn.useop/burn <seconds> to set a player on fire.
uxmessentials.clearinventory.confirmtoggleeveryone/clearinventoryconfirmtoggle (/citoggle) to require a confirmation before /clearinventory clears your own inventory.
uxmessentials.clearinventory.othersop/clearinventory on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.clearinventory.useop/clearinventory (/ci /clear) [player] to empty a player's inventory.
uxmessentials.compass.useeveryone/compass to show the direction you are facing.
uxmessentials.depth.useeveryone/depth to show your height relative to sea level.
uxmessentials.dimension.useeveryone/dimension to show the dimension you are standing in.
uxmessentials.endersee.othersop/endersee to open another player ender chest. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.endersee.useop/endersee [player] to view a player's ender chest.
uxmessentials.exp.othersop/exp on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.exp.useop/exp (/xp) get|set|give|take|reset to read or change experience.
uxmessentials.extinguish.othersop/extinguish on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.extinguish.useop/ext (/extinguish) [player] to put out a burning player.
uxmessentials.feed.othersop/feed on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.feed.useop/feed [player] to restore hunger.
uxmessentials.fly.othersop/fly on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.fly.useop/fly [player] to toggle flight.
uxmessentials.foodlevel.othersop/foodlevel on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.foodlevel.useop/foodlevel <amount> [player] to set a player's food level.
uxmessentials.gamemode.othersop/gamemode on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.gamemode.useop/gamemode <mode> [player] and the /gmc /gms /gma /gmsp aliases.
uxmessentials.getpos.othersop/getpos on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.getpos.useop/getpos (/coords /whereami) to show a player's coordinates.
uxmessentials.glow.colorop/glow <color> to pick the colour of the outline. Without it, /glow still toggles the plain one.
uxmessentials.glow.othersop/glow on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.glow.useop/glow [color] [player] to toggle a glowing outline.
uxmessentials.god.othersop/god on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.god.useop/god [player] to toggle damage immunity.
uxmessentials.heal.othersop/heal on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.heal.useop/heal [player] to restore health.
uxmessentials.health.othersop/health on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.health.useop/health <amount> [player] to set a player's health.
uxmessentials.ice.othersop/ice on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.ice.useop/ice [seconds] [player] to freeze a player (inverse of /burn).
uxmessentials.invsee.modifyopEdit a player's inventory through the /invsee menu (without this it is view-only).
uxmessentials.invsee.othersop/invsee to open another player inventory. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.invsee.useop/invsee [player] to view a player's inventory.
uxmessentials.module.playerstateopHot-reload / inspect the playerstate module (flight, god mode, speed, health and the rest).
uxmessentials.near.useop/near [radius] to list nearby players.
uxmessentials.nightvision.othersop/nightvision on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.nightvision.useop/nightvision (/nv) [player] to toggle a night-vision effect.
uxmessentials.ping.othersop/ping on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.ping.useeveryone/ping to show a player's round-trip latency.
uxmessentials.playerstate.fly.allworldsopKeep flight in worlds where flying is switched off.
uxmessentials.playerstate.othersopUse any playerstate command with a [player] target other than yourself.
uxmessentials.playtime.othersop/playtime on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.playtime.resetop/playtime reset [player] to wipe a player's tracked playtime (resetting others also needs uxmessentials.playerstate.others).
uxmessentials.playtime.useop/playtime [player] to show a player's playtime breakdown (active/afk, today/week/month/all-time).
uxmessentials.ptime.useop/ptime <value|reset> to set a per-player client-side time.
uxmessentials.pweather.useop/pweather <clear|rain|reset> to set a per-player client-side weather.
uxmessentials.rest.othersop/rest on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.rest.useop/rest to reset a player's time-since-rest so phantoms stop.
uxmessentials.seed.useeveryone/seed to show the seed of the world you are standing in.
uxmessentials.speed.othersop/speed on another player. Granted on its own, or by the cross-cutting uxmessentials.playerstate.others.
uxmessentials.speed.useop/speed, /walkspeed and /flyspeed to set walk/fly speed.
uxmessentials.suicide.useeveryone/suicide to kill yourself.
uxmessentials.world.command-bypassopRun commands a world blocks through its per-world command list.
uxmessentials.world.useeveryone/world to show the world you are standing in, and /worlds to reach the world manager.
/* /generated */

Settings

/* generated:settings */
KeyDefaultWhat it does
heal-remove-effectsfalse/heal also clears active potion effects
rest-enabledtrue/rest resets phantom-spawn pressure
playtime.trackingtruerun the sampler; false leaves /playtime empty
playtime.sample-seconds60how often a player's playtime is credited
no-fly-worlds[]e.g. ["pvp", "arena"]
/* /generated */

Placeholders

/* generated:placeholders */
PlaceholderRenders
%uxmessentials_playerstate_biome%The biome the player is standing in.
%uxmessentials_playerstate_fly%Whether the player may fly (yes/no).
%uxmessentials_playerstate_fly_speed%The player's fly speed.
%uxmessentials_playerstate_flying%Whether the player is flying right now (yes/no).
%uxmessentials_playerstate_food%The player's food level.
%uxmessentials_playerstate_gamemode%The player's game mode.
%uxmessentials_playerstate_god%Whether the player takes no damage (yes/no).
%uxmessentials_playerstate_health%The player's current health.
%uxmessentials_playerstate_level%The player's experience level.
%uxmessentials_playerstate_max_health%The player's maximum health.
%uxmessentials_playerstate_playtime%How long the player has played, in whole hours.
%uxmessentials_playerstate_playtime_formatted%How long the player has played, in the compact 1d2h form.
%uxmessentials_playerstate_speed%The speed that applies to how the player is moving: fly speed while flying, walk speed otherwise.
%uxmessentials_playerstate_walk_speed%The player's walk speed.
%uxmessentials_playerstate_world%The world the player is in.
%uxmessentials_playerstate_x%The player's block x.
%uxmessentials_playerstate_xp%How far the player is through the current experience level, from 0 to 1.
%uxmessentials_playerstate_y%The player's block y.
%uxmessentials_playerstate_z%The player's block z.
/* /generated */

Notes

  • /ptime and /pweather are client-side. They change what one player sees and never touch the world for anyone else.
  • /invsee opens read-only by default. Editing another player's inventory is a separate node, so watching and changing are different grants.
  • /world reports, /worlds manages. This module owns the read-only one.
  • /glow takes a colour. /glow on its own toggles the plain outline; /glow red turns it on in one of the sixteen vanilla colours, and /glow red Steve does it to somebody else. Turning the outline off drops the colour with it, so the next bare /glow starts plain again. The colour is carried by a scoreboard team, which is also how a hidden nametag works, so a player whose name this plugin hides can still glow in a colour.
  • A command renamed in commands.conf keeps its permission node, because nodes are keyed to the command id rather than to the name you give it.
  • Flight granted here and flight granted by staff mode are different things. Leaving staff mode restores the player's real flight allowance rather than whatever the mode gave them.

Related: Items & World, Teleport, Presence