Fix communities commands having incorrect coloring in their help messages
This commit is contained in:
parent
d0c2906467
commit
d4904fa02a
@ -1,5 +1,6 @@
|
|||||||
package mineplex.core.communities.commands;
|
package mineplex.core.communities.commands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.command.CommandBase;
|
import mineplex.core.command.CommandBase;
|
||||||
@ -21,7 +22,7 @@ public class CommunityChatCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 1)
|
if (args.length < 1)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.help("/com chat <community>", "Selects which community you chat to", Rank.ALL));
|
UtilPlayer.message(caller, F.help("/com chat <community>", "Selects which community you chat to", Rank.ALL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Community c = Plugin.getLoadedCommunity(args[0]);
|
Community c = Plugin.getLoadedCommunity(args[0]);
|
||||||
|
@ -2,6 +2,7 @@ package mineplex.core.communities.commands;
|
|||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
@ -25,7 +26,7 @@ public class CommunityCreateCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 1)
|
if (args.length < 1)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.help("/com create <name>", "Creates a new community", Rank.ETERNAL));
|
UtilPlayer.message(caller, F.help("/com create <name>", "Creates a new community", Rank.ETERNAL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Community c = Plugin.getLoadedCommunity(args[0]);
|
Community c = Plugin.getLoadedCommunity(args[0]);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package mineplex.core.communities.commands;
|
package mineplex.core.communities.commands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
@ -27,7 +28,7 @@ public class CommunityDescriptionCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 2)
|
if (args.length < 2)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.help("/com description <community> <description>", "Sets the description of a community you manage", Rank.ALL));
|
UtilPlayer.message(caller, F.help("/com description <community> <description>", "Sets the description of a community you manage", Rank.ALL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Community c = Plugin.getLoadedCommunity(args[0]);
|
Community c = Plugin.getLoadedCommunity(args[0]);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package mineplex.core.communities.commands;
|
package mineplex.core.communities.commands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
@ -25,7 +26,7 @@ public class CommunityDisbandCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 1)
|
if (args.length < 1)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.help("/com disband <community>", "Disbands a community you own", Rank.ETERNAL));
|
UtilPlayer.message(caller, F.help("/com disband <community>", "Disbands a community you own", Rank.ETERNAL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Community c = Plugin.getLoadedCommunity(args[0]);
|
Community c = Plugin.getLoadedCommunity(args[0]);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package mineplex.core.communities.commands;
|
package mineplex.core.communities.commands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
@ -25,7 +26,7 @@ public class CommunityInviteCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 2)
|
if (args.length < 2)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.help("/com invite <player> <community>", "Invites a player to a community you manage", Rank.ALL));
|
UtilPlayer.message(caller, F.help("/com invite <player> <community>", "Invites a player to a community you manage", Rank.ALL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String player = args[0];
|
String player = args[0];
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package mineplex.core.communities.commands;
|
package mineplex.core.communities.commands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.command.CommandBase;
|
import mineplex.core.command.CommandBase;
|
||||||
@ -22,7 +23,7 @@ public class CommunityJoinCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 1)
|
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));
|
UtilPlayer.message(caller, F.help("/com join <community>", "Joins a community that is open or you have been invited to", Rank.ALL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Community c = Plugin.getLoadedCommunity(args[0]);
|
Community c = Plugin.getLoadedCommunity(args[0]);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package mineplex.core.communities.commands;
|
package mineplex.core.communities.commands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
@ -26,7 +27,7 @@ public class CommunityMCSCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 1)
|
if (args.length < 1)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.help("/com mcs <community>", "Opens the Mineplex Community Server of a community you manage", Rank.ALL));
|
UtilPlayer.message(caller, F.help("/com mcs <community>", "Opens the Mineplex Community Server of a community you manage", Rank.ALL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Community c = Plugin.getLoadedCommunity(args[0]);
|
Community c = Plugin.getLoadedCommunity(args[0]);
|
||||||
|
@ -2,6 +2,7 @@ package mineplex.core.communities.commands;
|
|||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
@ -28,7 +29,7 @@ public class CommunityRenameCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 2)
|
if (args.length < 2)
|
||||||
{
|
{
|
||||||
UtilPlayer.message(caller, F.help("/com rename <community> <name>", "Changes the name of a community you own", Rank.ETERNAL));
|
UtilPlayer.message(caller, F.help("/com rename <community> <name>", "Changes the name of a community you own", Rank.ETERNAL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Community c = Plugin.getLoadedCommunity(args[0]);
|
Community c = Plugin.getLoadedCommunity(args[0]);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package mineplex.core.communities.commands;
|
package mineplex.core.communities.commands;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import mineplex.core.Managers;
|
import mineplex.core.Managers;
|
||||||
@ -25,7 +26,7 @@ public class CommunityUnInviteCommand extends CommandBase<CommunityManager>
|
|||||||
{
|
{
|
||||||
if (args.length < 2)
|
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));
|
UtilPlayer.message(caller, F.help("/com uninvite <player> <community>", "Revokes a player's invitation to a community you manage", Rank.ALL, ChatColor.AQUA));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String player = args[0];
|
String player = args[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user