diff --git a/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/PunishPage.java b/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/PunishPage.java index f062aeaa2..338c0a596 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/PunishPage.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/punish/UI/PunishPage.java @@ -241,18 +241,18 @@ public class PunishPage extends CraftInventoryCustom implements Listener } //Other + AddButton(25, new ShopItem(Material.PAPER, (byte)0, "Warning", new String[] { + " ", + examplePrefix + "Example Warning Input;", + examplePrefixEx + " Spam - Repeatedly writing MEOW", + examplePrefixEx + " Swearing - Saying 'fuck' and 'shit'", + examplePrefixEx + " Hack Accusation - Accused Tomp13 of hacking", + examplePrefixEx + " Trolling - was trying to make bob angry in chat", + + }, 1, false, true), new PunishButton(this, Category.Warning, 1, false, 0)); + if (_plugin.GetClients().Get(_player).GetRank().Has(Rank.MODERATOR)) { - AddButton(25, new ShopItem(Material.PAPER, (byte)0, "Warning", new String[] { - " ", - examplePrefix + "Example Warning Input;", - examplePrefixEx + " Spam - Repeatedly writing MEOW", - examplePrefixEx + " Swearing - Saying 'fuck' and 'shit'", - examplePrefixEx + " Hack Accusation - Accused Tomp13 of hacking", - examplePrefixEx + " Trolling - was trying to make bob angry in chat", - - }, 1, false, true), new PunishButton(this, Category.Warning, 1, false, 0)); - AddButton(34, new ShopItem(Material.REDSTONE_BLOCK, (byte)0, "Permanent Ban", new String[] { ChatColor.RESET + "Ban Duration: " + ChatColor.YELLOW + "Permanent", " ",