Advanced-Portals/Advanced Portals/src/com/sekwah/advancedportals/PluginMessages.java

20 lines
799 B
Java
Raw Normal View History

package com.sekwah.advancedportals;
import org.bukkit.command.CommandSender;
public class PluginMessages {
// This class is so then the common messages in commands or just messages over the commands are the same and can be
// easily changed.
public static void UnknownCommand(CommandSender sender, String command) {
sender.sendMessage("<EFBFBD>c[<5B>7AdvancedPortals<6C>c] You need to type something after /" + command + "\n");
sender.sendMessage("<EFBFBD>cIf you do not know what you can put or would like some help with the commands please type <20>e" + '"' + "<EFBFBD>e/" + command + " help" + '"' + "<EFBFBD>c\n");
}
public static void NoPermission(CommandSender sender, String command) {
sender.sendMessage("<EFBFBD>c[<5B>7AdvancedPortals<6C>c] You do not have permission to perform that command!");
}
}