use of me.totalfreedom.totalfreedommod.TotalFreedomMod in project TotalFreedomMod by TotalFreedom.
the class FSync method playerMsg.
public static void playerMsg(final Player player, final String message) {
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
new BukkitRunnable() {
@Override
public void run() {
FUtil.playerMsg(player, message);
}
}.runTask(plugin);
}
use of me.totalfreedom.totalfreedommod.TotalFreedomMod in project TotalFreedomMod by TotalFreedom.
the class FSync method autoEject.
public static void autoEject(final Player player, final String kickMessage) {
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
new BukkitRunnable() {
@Override
public void run() {
plugin.ae.autoEject(player, kickMessage);
}
}.runTask(plugin);
}
use of me.totalfreedom.totalfreedommod.TotalFreedomMod in project TotalFreedomMod by TotalFreedom.
the class FSync method adminChatMessage.
public static void adminChatMessage(final CommandSender sender, final String message) {
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
new BukkitRunnable() {
@Override
public void run() {
plugin.cm.adminChat(sender, message);
}
}.runTask(plugin);
}
use of me.totalfreedom.totalfreedommod.TotalFreedomMod in project TotalFreedomMod by TotalFreedom.
the class FSync method playerKick.
public static void playerKick(final Player player, final String reason) {
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
new BukkitRunnable() {
@Override
public void run() {
player.kickPlayer(reason);
}
}.runTask(plugin);
}
use of me.totalfreedom.totalfreedommod.TotalFreedomMod in project TotalFreedomMod by TotalFreedom.
the class FSync method bcastMsg.
public static void bcastMsg(final String message, final ChatColor color) {
final TotalFreedomMod plugin = TotalFreedomMod.plugin();
new BukkitRunnable() {
@Override
public void run() {
FUtil.bcastMsg(message, color);
}
}.runTask(plugin);
}
Aggregations