Sueta

CustomPM | Private Messaging customization ️

2.0.2

Change private message formating, sound notification, toggle pm, ignore, spy...

·Plugin

Description

CustomPM is a simple plugin allowing server owners to customize Private-Message. It enables the possibility to users to receive a sound notification when they receive a message, to block users and to toggle private messaging.

══════════════════════════════════════════

Features

  • Change private message formating
  • Sound Notification
  • Toggle PM
  • Toggle Sound notification.
  • Block user
  • Spy Private Message [NEW]
  • Per user Profile system [NEW]
  • Fully configurable: Lang & Config file [NEW]

══════════════════════════════════════════

Commands

  • /msg <player> <message> - Send a private message
  • /r <message> - Reply to a message
  • /ignore <player> - Ignore a player
  • /togglepm - Toggle private message
  • /togglesound - Toggle sound notification
  • /socialspy - Spy private message (permission: pm.spy.chat.command)
  • /custompm reload - Reload Config & Lang file (permission: pm.reload)

══════════════════════════════════════════

Config files

Config file

{
"ENABLE_PM_SOUND_BY_DEFAULT": true,
"PM_SOUND_NOTIFICATION": "NOTE_PLING",
"ENABLE_BLOCK": true,
"BLOCK_BYPASS_PERMISSION": "pm.block.bypass",
"SPY_PERMISSION": "pm.spy.chat"
}

Lang file

{
"MESSAGE_FORMAT_SENDER": "&7(To [{group_prefix}] &f{target}&7) &f{message}",
"MESSAGE_FORMAT_TARGET": "&7(From [{group_prefix}] &f{sender}&7) &f{message}",
"MESSAGE_FORMAT_SPY": "&6[SPY] &7(&f{sender} &c-> &f{target}&7) &f{message}",
"PLAYER_NOT_FOUND": "&cThe player '&6&l%s&c' is not online !",
"SELF_MESSAGE": "&cI'm sorry, but you cannot do this to your &6&lyourself&c.",
"BLOCKED_PLAYER": "&cYou cannot send a message to &b&l%s&c, you &6&lblocked &chim !",
"BLOCKED_PLAYER_OTHER": "&cYou cannot send a message to &b&l%s&c, he &6&lblocked &cyou :'(",
"DISABLED_PM": "&cYou have &6&ldisabled &cprivate message.",
"DISABLED_PM_OTHER": "&cThe player &6&l%s &chas disabled private message.",
"REPLY_NONE": "&cYou have &6&lnobody &cto whom you can reply.",
"REPLY_NOT_ONLINE": "&cThe player is no longer &&l6online &c!",
"BLOCK_PLAYER": "&aThe player &6&l%s &ais now blocked !",
"UNBLOCK_PLAYER": "&aYou have unblocked the player &6&l%s &a!",
"BLOCK_BYPASS": "&cYou cannot &6&lblock &cthis player !",
"BLOCK_DISABLED": "&cYou cannot &6&lblock &Cplayers !",
"SPY_TOGGLE": "&aYou have %s &aspy PM mode.",
"PM_TOGGLE": "&aYou have %s &aprivate message.",
"PM_SOUND_TOGGLE": "&aYou have %s &aprivate message sounds.",
"COMMAND_MESSAGE": "&c&l➜ &6/msg <player> <message> &7- &fSend a private message",
"COMMAND_REPLY": "&c&l➜ &6/r <message> &7- &fReply to a private message",
"COMMAND_BLOCK": "&c&l➜ &6/block <player> &7- &fBlock/Unblock a player from sending you private message"
}

══════════════════════════════════════════

Similar projects

Plugin →