CustomPM

CustomPM - 私信自定义

更改私信格式、声音通知、切换私信、忽略、监视等功能...
Bukkit / Spigot 作者 iGoDLiK3 支持版本 1.7 - 1.15
服务器使用量
未统计
服务玩家数
未统计
下载量
6,881
插件详细介绍

CustomPM 是一款简洁实用的插件,允许服务器所有者自定义私信系统。它让玩家在收到私信时能获得声音提示,可以屏蔽其他玩家,并能自由开关私信功能。

主要功能

  • 自定义私信格式:灵活调整私信的显示样式。
  • 声音通知:接收私信时播放提示音。
  • 开关私信:允许玩家全局启用或禁用私信接收。
  • 开关声音通知:允许玩家单独控制私信提示音。
  • 屏蔽用户:阻止特定玩家向你发送私信。
  • 私信监听:拥有权限的玩家可以查看他人的私信。
  • 用户档案系统:为每位玩家保存独立的私信设置。
  • 高度可配置:提供完整的配置文件和语言文件,支持自定义。

命令列表

  • /msg <player> <message> - 向指定玩家发送私信。
  • /r <message> - 回复上一条私信。
  • /ignore <player> - 屏蔽一名玩家。
  • /togglepm - 开关私信接收功能。
  • /togglesound - 开关私信声音通知。
  • /socialspy - 开关私信监听模式(需权限:pm.spy.chat.command)。
  • /custompm reload - 重载配置与语言文件(需权限:pm.reload)。

配置文件

配置文件允许你调整插件的核心行为。

主配置文件 (config.yml)

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.yml)

语言文件用于自定义所有提示信息。

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"
测试支持版本
1.7 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15
版本分布
基本信息
插件名称 CustomPM
作者 iGoDLiK3
平台 Bukkit / Spigot
支持版本 1.7 - 1.15
点赞数 2
最近版本
暂无数据 -