Package com.palmergames.bukkit.towny.questioner

Examples of com.palmergames.bukkit.towny.questioner.JoinNationTask


    if (TownySettings.isUsingQuestioner() && test != null && test instanceof Questioner && test.isEnabled()) {
      Questioner questioner = (Questioner) test;
      questioner.loadClasses();

      List<Option> options = new ArrayList<Option>();
      options.add(new Option(TownySettings.questionerAccept(), new JoinNationTask(townMayor, nation)));
      options.add(new Option(TownySettings.questionerDeny(), new ResidentNationQuestionTask(townMayor, nation) {
        @Override
        public void run() {
          TownyMessaging.sendNationMessage(nation, String.format(TownySettings.getLangString("msg_deny_invite"), getResident().getName()));
        }
View Full Code Here

TOP

Related Classes of com.palmergames.bukkit.towny.questioner.JoinNationTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.