Skip to content

Leave a Message ​

Plugin ID: cn.hayashiume.messageConfig file: [Empostor.Plugins.Message]Config.json

ReferenceWhere
ConfigurationConfig.json
Commands#msg
Admin PanelNone
HTTP APINone

Commands ​

CommandAliasesUsagePermission
#msg#message, #leavemsg <friendcode> <message>Everyone
#msg Name#1234 Hey, let's play again tomorrow!
#msg Friend#5678 GG, that was a fun game

Constraints

ConstraintLimit
Friend code lengthMinimum 4 characters
Message lengthMaximum message_max_length characters
Pending messages per recipientMaximum max_messages_per_target
Self-messagingRejected

Configuration ​

Edit [Empostor.Plugins.Message]Config.json next to the plugin DLL. The file is created with defaults on first start.

json
{
  "max_messages_per_target": 10,
  "message_max_length": 500
}
FieldTypeDefaultDescription
max_messages_per_targetint10Maximum undelivered messages queued per recipient.
message_max_lengthint500Maximum characters per message.

Where is this file?

Plugin config files live next to the plugin DLL and are named [<plugin name>]Config.json. See Configurable Files for the full convention.

Storage ​

Pending messages are persisted in JSON. Entries are removed once delivered.

json
{
  "Name#1234": [
    {
      "id": "abc123...",
      "sender_name": "PlayerA",
      "sender_fc": "PlayerA#5678",
      "target_fc": "Name#1234",
      "content": "Hello!",
      "timestamp": "2026-05-23T06:30:00Z"
    }
  ]
}

Delivery happens when the recipient spawns in any game; queued messages arrive as private chat, newest last:

--- You have 2 pending message(s) ---
[05-23 14:30] <SenderName> Hello!
[05-22 09:15] <OtherPlayer> Good game yesterday!
  • Commands — full list of in-game commands.