update wellcome message
All checks were successful
Java CI-CD with Maven / build (push) Successful in 2h7m8s
All checks were successful
Java CI-CD with Maven / build (push) Successful in 2h7m8s
This commit is contained in:
parent
35347f8369
commit
cb2c23de76
@ -4,7 +4,7 @@
|
||||
|
||||
[PlayerTitle](https://ricedoc.handyplus.cn/wiki/PlayerTitle/) 青春版
|
||||
|
||||
![image-20240110164757834](https://ssl.lunadeer.cn:14437/i/2024/01/10/659e59bfc8f7b.png)
|
||||
![image-20240111093304074](https://ssl.lunadeer.cn:14437/i/2024/01/11/659f455088092.png)
|
||||
|
||||
## 说明
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
- 自定义称号支持RGB彩色字,需要使用 `&#`为开头的十六进制RGB颜色代码表示颜色,例如`�`表示黑色。可以使用 [Minecraft 渐变颜色生成器](https://ssl.lunadeer.cn:14440/) 来生成具有渐变效果的称号。
|
||||
- 创建成功后会自动扣除所需的花费。
|
||||
|
||||
![image-20240110171242703](https://ssl.lunadeer.cn:14437/i/2024/01/10/659e5f8b2f5fb.png)
|
||||
![image-20240111093331929](https://ssl.lunadeer.cn:14437/i/2024/01/11/659f456c4a88b.png)
|
||||
|
||||
## 管理员指南
|
||||
|
||||
|
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>MiniPlayerTitle</artifactId>
|
||||
<version>2.6</version>
|
||||
<version>2.7</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>MiniPlayerTitle</name>
|
||||
|
@ -108,7 +108,7 @@ public class Commands implements TabExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
private void printHelp(@NotNull CommandSender sender) {
|
||||
private static void printHelp(@NotNull CommandSender sender) {
|
||||
if (sender instanceof Player) {
|
||||
Player player = (Player) sender;
|
||||
Notification.warn(player, "用法: /mplt <use|list|shop|buy|custom|custominfo>");
|
||||
@ -121,7 +121,7 @@ public class Commands implements TabExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
private void home_view(CommandSender sender) {
|
||||
public static void home_view(CommandSender sender) {
|
||||
if (!(sender instanceof Player)) {
|
||||
printHelp(sender);
|
||||
return;
|
||||
|
@ -12,7 +12,7 @@ public class Events implements Listener {
|
||||
@EventHandler
|
||||
public void onPlayerJoin(PlayerJoinEvent event) {
|
||||
XPlayer player = new XPlayer(event.getPlayer());
|
||||
Notification.info(event.getPlayer(), "输入 /mplt 使用称号系统");
|
||||
Commands.home_view(event.getPlayer());
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
Loading…
Reference in New Issue
Block a user