Updates About information

This commit is contained in:
Kristian Knarvik 2021-10-11 20:13:50 +02:00
parent b0c350a140
commit 72c1b5a239

View File

@ -16,10 +16,15 @@ public class CommandAbout implements CommandExecutor {
public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command command, @NotNull String s,
@NotNull String[] strings) {
commandSender.sendMessage(ChatColor.GOLD + "Stargate Plugin created by " + ChatColor.GREEN + "Drakia");
ChatColor textColor = ChatColor.GOLD;
ChatColor highlightColor = ChatColor.GREEN;
commandSender.sendMessage(textColor + "Stargate Plugin originally created by " + highlightColor +
"Drakia" + textColor + ", and revived by " + highlightColor + "EpicKnarvik97");
commandSender.sendMessage(textColor + "Go to " + highlightColor +
"https://git.knarcraft.net/EpicKnarvik97/Stargate " + textColor + "for the official repository");
String author = Stargate.languageLoader.getString("author");
if (!author.isEmpty())
commandSender.sendMessage(ChatColor.GOLD + "Language created by " + ChatColor.GREEN + author);
commandSender.sendMessage(textColor + "Language created by " + highlightColor + author);
return true;
}