Created
April 4, 2014 18:30
-
-
Save DarkSeraphim/9980521 to your computer and use it in GitHub Desktop.
Annotation commands for the addon manager @SensationCraft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Command(name="ffa", description="Teleports you to the free for all arena") | |
@Aliases("freeforall") | |
public boolean freeForAll(CommandSender sender, org.bukkit.command.Command command, String label, String[] args) | |
{ | |
if(sender instanceof Player) | |
{ | |
((Player)sender).teleport(this.loc); | |
sender.sendMessage(ChatColor.YELLOW+"Have a good fight >:)!"); | |
} | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment