Revert "Disable communities temporarily."

This reverts commit 6d5d2b551b.
This commit is contained in:
cnr 2016-12-22 16:50:35 -07:00
parent 2fe9423196
commit ca19840b19
13 changed files with 3 additions and 63 deletions

View File

@ -20,12 +20,6 @@ public class CommunityChatCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 1)
{
UtilPlayer.message(caller, F.help("/com chat <community>", "Selects which community you chat to", Rank.ALL, ChatColor.AQUA));

View File

@ -33,12 +33,6 @@ public class CommunityCommand extends MultiCommandBase<CommunityManager>
@Override
protected void Help(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length > 0)
{
if (args[0].equalsIgnoreCase("help"))

View File

@ -25,12 +25,6 @@ public class CommunityCreateCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 1)
{
UtilPlayer.message(caller, F.help("/com create <name>", "Creates a new community", Rank.ETERNAL, ChatColor.AQUA));

View File

@ -26,12 +26,6 @@ public class CommunityDescriptionCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 2)
{
UtilPlayer.message(caller, F.help("/com description <community> <description>", "Sets the description of a community you manage", Rank.ALL, ChatColor.AQUA));

View File

@ -24,12 +24,6 @@ public class CommunityDisbandCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 1)
{
UtilPlayer.message(caller, F.help("/com disband <community>", "Disbands a community you own", Rank.ETERNAL, ChatColor.AQUA));

View File

@ -24,12 +24,6 @@ public class CommunityInviteCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 2)
{
UtilPlayer.message(caller, F.help("/com invite <player> <community>", "Invites a player to a community you manage", Rank.ALL, ChatColor.AQUA));

View File

@ -21,12 +21,6 @@ public class CommunityJoinCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 1)
{
UtilPlayer.message(caller, F.help("/com join <community>", "Joins a community that is open or you have been invited to", Rank.ALL, ChatColor.AQUA));

View File

@ -25,12 +25,6 @@ public class CommunityMCSCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 1)
{
UtilPlayer.message(caller, F.help("/com mcs <community>", "Opens the Mineplex Community Server of a community you manage", Rank.ALL, ChatColor.AQUA));

View File

@ -27,12 +27,6 @@ public class CommunityRenameCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 2)
{
UtilPlayer.message(caller, F.help("/com rename <community> <name>", "Changes the name of a community you own", Rank.ETERNAL, ChatColor.AQUA));

View File

@ -24,12 +24,6 @@ public class CommunityUnInviteCommand extends CommandBase<CommunityManager>
@Override
public void Execute(Player caller, String[] args)
{
if (true)
{
caller.sendMessage(F.main("Communities", "Coming soon!"));
return;
}
if (args.length < 2)
{
UtilPlayer.message(caller, F.help("/com uninvite <player> <community>", "Revokes a player's invitation to a community you manage", Rank.ALL, ChatColor.AQUA));

View File

@ -409,7 +409,7 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
_bannerManager.loadBanners(this);
new PersonalServerManager(plugin, _clientManager).setUseInterfaceItem(false);
// new CommunityManager(plugin, _clientManager);
new CommunityManager(plugin, _clientManager);
Bukkit.getMessenger().registerOutgoingPluginChannel(plugin, "Replay|Restrict");

View File

@ -275,7 +275,7 @@ public class HubManager extends MiniClientPlugin<HubClient> implements IChatMess
new SalesAnnouncementManager(plugin);
// new CommunityManager(plugin, _clientManager);
new CommunityManager(plugin, _clientManager);
ScoreboardManager scoreboardManager = new ScoreboardManager(plugin)
{

View File

@ -407,7 +407,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation
addCommand(new TauntCommand(this));
new PersonalServerManager(plugin, _clientManager).setUseInterfaceItem(false);
// new CommunityManager(plugin, _clientManager);
new CommunityManager(plugin, _clientManager);
_scoreboardManager = new ScoreboardManager(_plugin)
{