Skip to content

/mail

Command to send a message to an offline player command mail

When the player logs in, they will see the message command mail player

If the player is already on the server and the Tell module is enabled, it will be used command tell

🌍 Localization

📂 Path localizations → language.yml → command.mail

⚖️ Default

yml
mail:
  null-player: "<color:#ff7171><b>⁉</b> Игрок не найден"
  online-player: "<color:#ff7171><b>⁉</b> Игрок в сети"
  sender: "<fcolor:2>✉ Письмо #<id> для <display_name> » <fcolor:1><message>"
  receiver: "<fcolor:2>✉ Письмо от <display_name> » <fcolor:1><message>"
yml
mail:
  null-player: "<color:#ff7171><b>⁉</b> This player does not exist"
  online-player: "<color:#ff7171><b>⁉</b> This player is online"
  sender: "<fcolor:2>✉ Mail #<id> for <display_name> » <fcolor:1><message>"
  receiver: "<fcolor:2>✉ Mail from <display_name> » <fcolor:1><message>"

null-player

Message displayed if the entered player is not found

sender

Message displayed to the sender

receiver

Message displayed to the receiver

⚙️ Setting

📂 Path command.yml → mail

⚖️ Default

yml
mail:
  enable: true
  aliases:
    - "mail"
  destination:
    type: "CHAT"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

aliases

List of aliases for using the command

ALIASES CAN BE ANYTHING

For example, newcommand, новаякоманда, 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 the chatNo
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

HOW TO CHANGE THE DESTINATION?

Replace the value type: here and restart FlectonePulse using the /flectonepulse reload command. Additional settings will appear AUTOMATICALLY


If type is ACTION_BAR

yaml
destination:
  type: "ACTION_BAR"
  times:
    stay: 60

times

FieldExplanation
stayTime in ticks to hold the message

If type is BOSS_BAR

yaml
destination:
  type: "BOSS_BAR"
  duration: 100
  health: 1.0
  overlay: "PROGRESS"
  color: "BLUE"
  play-boos-music: false
  create-world-fog: false
  darken-screen: false

duration

Duration of the message display

health

How full the boss bar will be

overlay

TypeExplanation
PROGRESSSingle line
NOTCHED_6Divided into 6 parts
NOTCHED_10Divided into 10 parts
NOTCHED_12Divided into 12 parts
NOTCHED_20Divided into 20 parts

color

Display color

Type
PINK
BLUE
RED
GREEN
YELLOW
PURPLE
WHITE

play-boos-music

Whether music will play with the message

create-world-fog

Whether fog will appear with the message

darken-screen

Whether the screen will darken with the message


If type is TITLE (or SUBTITLE)

yaml
destination:
  type: "TITLE" (or "SUBTITLE")
  subtext: ""
  times:
    fade-in: 20
    stay: 60
    fade-out: 20

subtext

Message for the second part of the display. For example, if TITLE is selected, subtext will be displayed below it, and vice versa.

times

FieldExplanation
fade-inTime in ticks for the message to appear
stayTime in ticks to hold the message
fade-outTime in ticks for the message to disappear

If type is TOAST

yaml
destination:
  type: "TOAST"
  icon: "minecraft:diamond"
  style: "TASK"

icon

Achievement icon, which can be any Minecraft item (must specify the full path)

style

Achievement type (TASK regular, GOAL goal, CHALLENGE challenge)

cooldown

Usage cooldown

HOW TO USE COOLDOWN?

Replace false with true and restart FlectonePulse using the /flectonepulse reload command. Additional cooldown settings will appear AUTOMATICALLY

The cooldown configuration will look like this:

yaml
cooldown:
  enable: true
  duration: 60
FieldTypeExplanation
enablebooleanEnables the cooldown functionality
durationlongHow many ticks must pass between uses

sound

Sound playback

HOW TO USE SOUND?

Replace false with true and restart FlectonePulse using the /flectonepulse reload command. Additional sound settings will appear AUTOMATICALLY

yaml
sound:
  enable: true
  volume: 1.0
  pitch: 1.0
  category: "HOSTILE"
  name: "minecraft:entity.llama.spit"
FieldTypeExplanation
enablebooleanEnables sound functionality
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.mail

⚖️ Default

yml
mail:
  name: "flectonepulse.module.command.mail"
  type: "TRUE"
  cooldown-bypass:
    name: "flectonepulse.module.command.mail.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.mail.sound"
    type: "TRUE"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSENot available to anyone, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to not server operators

cooldown-bypass

Permission to bypass the cooldown between uses

sound

Permission to use sound