Flectone Logo FlectonePulse

/online

Command to get information about a player's online status

command online


🌍 Localization

Path localizations → language.yml → command.online
online:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player does not exist"
  format_current: "<fcolor:1>⌛ <target> currently on server"
  format_first: "<fcolor:1>⌛ <target> was first on server <time> ago"
  format_last: "<fcolor:1>⌛ <target> <fcolor:1>was last on server <time> ago"
  format_total: "<fcolor:1>⌛ <target> <fcolor:1>has spent a total of <time> on server"
online:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок не найден"
  format_current: "<fcolor:1>⌛ <target> сейчас на сервере"
  format_first: "<fcolor:1>⌛ <target> впервые зашёл на сервер <time> назад"
  format_last: "<fcolor:1>⌛ <target> <fcolor:1>последний раз был на сервере <time> назад"
  format_total: "<fcolor:1>⌛ <target> <fcolor:1>всего провёл на сервере <time>"

null_player

Message if the entered player is not found

format_current

Message if the entered player is on the server

format_first

Format of the /online first message that will be sent

format_last

Format of the /online last message that will be sent

format_total

Format of the /online total message that will be sent


⚙️ Setting

Path command.yml → online
online:
  enable: true
  suggest_offline_players: true
  range: "PROXY"
  aliases:
  - "online"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

suggest_offline_players

If enabled, suggests nicknames of all players who have been on the server; otherwise, only nicknames of players who are currently online.

Information

This only affects the text suggestion.

range

How far in blocks the message will be displayed

ValueExplanation
WORLD_TYPEThe message will be sent only to players who have the permission flectonepulse.world.type.dimension_name
WORLD_NAMEThe message will be sent only to players who have the permission flectonepulse.world.name.world_folder_name
PROXYThe message will be sent to all players on the server and on the Proxy
SERVERThe message will be sent to all players on the server
PLAYERThe message will be sent only to the sender
any number greater than 0, for example range: 100The message will be sent to players whose distance between them and the sender is less than this number. Players must also be in the same world as the sender

aliases

A list of aliases for using the command

ALIASES CAN BE ANYTHING

For example newcommand, newcommand_ru, ban, me etc.

destination

Where the message will be sent

TypeExplanationRequires additional configuration?
ACTION_BARMessage above the player's inventoryYes
BOSS_BARMessage at the top of the screenYes
BRANDMessage in F3No
CHATMessage in chatNo
TEXT_SCREENMessage anywhere on the screenYes
TITLEFull-screen messageYes
SUBTITLEFull-screen message (bottom line)Yes
TAB_HEADERMessage in TAB (top)No
TAB_FOOTERMessage in TAB (bottom)No
TOASTMessage in the top right corner (achievement)Yes

cooldown

Usage delay

sound

Sound playback


🔐 Permissions

Path permission.yml → command.online
online:
  name: "flectonepulse.module.command.online"
  type: "TRUE"
  cooldown_bypass:
    name: "flectonepulse.module.command.online.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.online.sound"
    type: "TRUE"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to NON-operators of the server

cooldown_bypass

Permission to ignore the cooldown between uses

sound

Permission to use the sound

Last updated on

Edit on GitHub

On this page

Authors of page