Package me.taylorkelly.bigbrother.rollback

Examples of me.taylorkelly.bigbrother.rollback.RollbackInterpreter.send()


            if (split.length > 1) {
                RollbackInterpreter interpreter = new RollbackInterpreter((Player) player, split, plugin.getServer(), plugin.worldManager, plugin);
                Boolean passed = interpreter.interpret();
                if (passed != null) {
                    if (passed) {
                        interpreter.send();
                    } else {
                        player.sendMessage(BigBrother.premessage + ChatColor.RED + "Warning: " + ChatColor.WHITE + "You are rolling back without a time or radius argument.");
                        player.sendMessage("Use " + ChatColor.RED + "/bb confirm" + ChatColor.WHITE + " to confirm the rollback.");
                        player.sendMessage("Use " + ChatColor.RED + "/bb delete" + ChatColor.WHITE + " to delete it.");
                        RollbackConfirmation.setRI((Player) player, interpreter);
View Full Code Here


    public boolean onCommand(CommandSender player, Command arg1, String arg2, String[] split) {
        if (BBPermissions.rollback((Player) player)) {
            if (split.length == 1) {
                if (RollbackConfirmation.hasRI((Player) player)) {
                    RollbackInterpreter interpret = RollbackConfirmation.getRI((Player) player);
                    interpret.send();
                } else {
                    player.sendMessage(BigBrother.premessage + "You have no rollback to confirm.");
                }
            } else {
                player.sendMessage(BigBrother.premessage + "usage is " + ChatColor.RED + "/bb confirm");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.