Flectone Logo FlectonePulse

/ping

Command to find out information about a player's latency

command ping

🌍Localization

Path localizations → language.yml → command.ping
ping:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player does not exist"
  format: "<fcolor:1>🖧 <display_name>'s ping is <replacement:ping>"
ping:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок не найден"
  format: "<fcolor:1>🖧 Пинг игрока <display_name> равен <replacement:ping>"

null_player

Message if the entered player is not found

format

Format of the message that will be sent

⚙️Setting

Path command.yml → ping
ping:
  enable: true
  aliases:
  - "ping"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

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

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

To change this, replace the value type: here and restart FlectonePulse using the /flectonepulse reload command; additional settings will appear AUTOMATICALLY

Change

Replace the value type: here

Restart FlectonePulse using the /flectonepulse reload command

Additional parameters for delay settings will appear automatically

cooldown

Usage delay

Usage

Replace false with true

Restart FlectonePulse using the /flectonepulse reload command

Additional parameters for delay settings will appear automatically

cooldown:
  enable: true
  duration: 60

Parameters

FieldTypeExplanation
enablebooleanEnables the cooldown functionality
durationlongHow many ticks must pass between uses

sound

Sound playback

Usage

Replace false with true

Restart FlectonePulse using the command /flectonepulse reload

Additional parameters for sound configuration will appear automatically

sound:
  enable: true
  volume: 1.0
  pitch: 1.0
  category: "HOSTILE"
  name: "minecraft:entity.llama.spit"

Parameters

FieldTypeExplanation
enablebooleanEnables sound playback
volumefloatSound volume from 0 to 1.0
pitchfloatSound pitch from 0 to 1.0
categoryStringCategory from MASTER, MUSIC, RECORD, WEATHER, BLOCK, HOSTILE, NEUTRAL, PLAYER, AMBIENT, VOICE
nameStringSound name, for example minecraft:entity.llama.spit

🔐Permissions

Path permission.yml → command.ping
ping:
  name: "flectonepulse.module.command.ping"
  type: "TRUE"
  cooldown_bypass:
    name: "flectonepulse.module.command.ping.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.ping.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