Player Enhancments

插件

· 作者 MatsVR

允许你更改玩家加入/离开或聊天文本!

0 本站下载 0 关注 更新于 2 年前

最新 1.0.0 · 1.20.1 · Spigot

一键开服(送7天)

玩家增强

允许你自定义玩家加入/离开或玩家聊天消息(也允许在玩家加入或离开时运行命令列表)

使用方法:

如果你没有修改 config.yml(路径:Root/plugins/Playerenhancments/confg.yml), 加入/离开的文本将显示为:玩家加入了游戏/离开了游戏,现在服务器中有 {playercount}/{maxplayers} 名玩家! 在加入/离开文本或命令中,你可以使用以下变量进行自定义:

  • {user} 玩家的用户名
  • {playercount} 游戏中玩家的数量
  • {maxplayers} 服务器的最大玩家数量

在玩家消息文本中:

  • {user} 玩家的用户名
  • {message} 发送的文本消息内容

配置文件自定义:

joinText: '§e{user} joined the game, There are now {playercount}/{maxplayers} players in the server!' < 玩家加入时的文本
messageText: '<{user}> {message}' < 玩家发送消息时的文本
leaveText: '§e{user} left the game, There are now {playercount}/{maxplayers} players in the server!' < 玩家离开时的文本
joinCommands: < 玩家加入时执行的命令(必须以单引号开头和结尾。示例:'say WELCOME')
- ''
leaveCommands: < 玩家离开时执行的命令(必须以单引号开头和结尾。示例:'say WELCOME')
- ''

默认 Config.yml:

joinText: '§e{user} joined the game, There are now {playercount}/{maxplayers} players in the server!'
messageText: '<{user}> {message}'
leaveText: '§e{user} left the game, There are now {playercount}/{maxplayers} players in the server!'
joinCommands:
- ''
leaveCommands:
- ''

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源