Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
- if (command.getName().equalsIgnoreCas("clan") {
- if (args.length > 2) {
- if (args[0].equalsIgnoreCase("erstellen") {
- String tag = args[1];
- String clanName = args[2];
- //Mache etwas mit den Datenfeldern
- }
- else {
- sender.sendMessage("Falsche Benutzung");
- }
- }
- else {
- sender.sendMessage("Du brauchst 3 Argumente");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment