๐Ÿ“ฌMail System

The mail system allows players to send messages to offline players. When the recipient logs in, they receive a notification with their unread mail. Configuration is in features/mail.yml.

Commands

Command
Description

/mail

View your inbox

/mail send <player> <message>

Send mail to a player (online or offline)

/mail read <id>

Read a specific mail message

/mail reply <id> <message>

Reply to a mail message

/mail delete <id>

Delete a specific mail message

/mail clear

Clear all mail

Alias: /email

Permission: lpcpro.mail

Configuration

enabled: true
permission: "lpcpro.mail"

mail:
  max-inbox-size: 50        # Maximum mails per player
  max-message-length: 500   # Maximum characters per mail
  expiration-days: 30        # Days before mail expires (0 = never)
  allow-self-mail: false     # Allow mailing yourself

notifications:
  notify-on-login: true      # Notify on login if unread mail exists
  login-notify-delay: 60     # Delay in ticks (60 = 3 seconds)
  notification-sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
  sound-volume: 1.0
  sound-pitch: 1.0

Settings Reference

Setting
Type
Default
Description

max-inbox-size

integer

50

Maximum number of mails in a player's inbox

max-message-length

integer

500

Maximum characters per mail message

expiration-days

integer

30

Days before unread mail expires (0 = never)

allow-self-mail

boolean

false

Whether players can send mail to themselves

notify-on-login

boolean

true

Notify players about unread mail when they join

login-notify-delay

integer

60

Ticks to wait before showing the notification

Last updated