Package com.palmergames.bukkit.towny.questioner

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


                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 JoinTownTask(newMember, town)));
                        options.add(new Option(TownySettings.questionerDeny(), new ResidentTownQuestionTask(newMember, town) {
                                @Override
                                public void run() {
                                  TownyMessaging.sendTownMessage(getTown(), String.format(TownySettings.getLangString("msg_deny_invite"), getResident().getName()));
                                }
View Full Code Here

TOP

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

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.