Flectone Logo FlectonePulse

/mail

Command to write a mail to an offline player

command mail

When the player who was sent a mail joins the server, they will see this command mail player

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


🌍 Localization

Path localizations → language.yml → command.mail
mail:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player does not exist"
  online_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>This player is online"
  sender: "<fcolor:2>✉ Mail #<id> for <target> » <fcolor:1><message>"
  receiver: "<fcolor:2>✉ Mail from <display_name> » <fcolor:1><message>"
mail:
  null_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок не найден"
  online_player: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Игрок в сети"
  sender: "<fcolor:2>✉ Письмо #<id> для <target> » <fcolor:1><message>"
  receiver: "<fcolor:2>✉ Письмо от <display_name> » <fcolor:1><message>"

null_player

Message if the entered player is not found

online_player

Message if the entered player is online and the tell module is unavailable

sender

Message for the sender

receiver

Message for the receiver


⚙️ Setting

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

enable

Enables or disables the functionality of the module

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.mail
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
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