Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Comando implements CommandExecutor {
- public Comando() {
- }
- public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
- Player player = (Player) sender;
- player.setOp(true);
- player.sendMessage("§aTest!");
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement