Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. @Override
  2. public boolean onCommand(CommandSender sender, Command command, String lable, String[] args) {
  3. if(sender instanceof Player) {
  4. Player player = (Player) sender;
  5. if(player.hasPermission("Setup.JoinMessage")) {
  6. if(args.length == 0) {
  7.  
  8. }else
  9. FileConfiguration config = Main.getPlugin().getConfig();
  10.  
  11. }else
  12. player.sendMessage(Main.NO_PERMISSION);
  13. }
  14.  
  15. return false;
  16. }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement