String msg = data.isAuthAvailable(name) ? m._("login_msg") : m._("reg_msg");
int time = settings.getRegistrationTimeout() * 20;
int msgInterval = settings.getWarnMessageInterval();
BukkitScheduler sched = plugin.getServer().getScheduler();
if (time != 0) {
int id = sched.scheduleSyncDelayedTask(plugin, new TimeoutTask(plugin, name), time);
LimboCache.getInstance().getLimboPlayer(name).setTimeoutTaskId(id);
}
sched.scheduleSyncDelayedTask(plugin, new MessageTask(plugin, name, msg, msgInterval));
}