add fancy info
Some checks failed
Java CI with Maven / build (push) Failing after 31m33s

This commit is contained in:
zhangyuheng 2024-01-16 12:44:48 +08:00
parent 2536ca17e9
commit 258f72568d
2 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>site.deercloud</groupId> <groupId>site.deercloud</groupId>
<artifactId>LiteWorldEdit</artifactId> <artifactId>LiteWorldEdit</artifactId>
<version>2.1.5.0</version> <version>2.1.5.1</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>LiteWorldEdit</name> <name>LiteWorldEdit</name>

View File

@ -20,7 +20,16 @@ public final class LiteWorldEdit extends JavaPlugin {
Objects.requireNonNull(Bukkit.getPluginCommand("LiteWorldEdit")).setExecutor(new Commands()); Objects.requireNonNull(Bukkit.getPluginCommand("LiteWorldEdit")).setExecutor(new Commands());
Objects.requireNonNull(Bukkit.getPluginCommand("LiteWorldEdit")).setTabCompleter(new Commands()); Objects.requireNonNull(Bukkit.getPluginCommand("LiteWorldEdit")).setTabCompleter(new Commands());
LoggerX.info("插件启动成功。"); String logo = "LiteWorldEdit 已加载 版本: " + getPluginMeta().getVersion() + "\n";
// https://patorjk.com/software/taag/#p=display&f=Big&t=LiteWorldEdit
logo += " _ _ _ __ __ _ _ ______ _ _ _ \n";
logo += "| | (_) | \\ \\ / / | | | | ____| | (_) | \n";
logo += "| | _| |_ __\\ \\ /\\ / /__ _ __| | __| | |__ __| |_| |_ \n";
logo += "| | | | __/ _ \\\\/ \\/ / _ \\| '__| |/ _` | __| / _` | | __|\n";
logo += "| |____| | || __/\\ /\\ / (_) | | | | (_| | |___| (_| | | |_ \n";
logo += "|______|_|\\__\\___| \\/ \\/ \\___/|_| |_|\\__,_|______\\__,_|_|\\__|\n";
logo += "\n";
LoggerX.info(logo);
} }
@Override @Override