Auction Blacklist System

This commit is contained in:
Kam committed 2026-01-24 16:03:54 -05:00
1 parent b85804af98
commit fe998ea31c
10 files changed
+756 -240

No files matched your search

@@ -2,9 +2,16 @@ package foxz.command;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.EnumChatFormatting;
import java.util.List;
/**
* @deprecated The /noppes command is deprecated and no longer supported.
* Please use the /kam command instead for all CNPC+ operations.
*/
@Deprecated
public class CommandNoppes extends CommandBase {
public CmdNoppes noppes = new CmdNoppes(this);
@@ -21,6 +28,15 @@ public class CommandNoppes extends CommandBase {
@Override
public void processCommand(ICommandSender var1, String[] var2) {
// Send deprecation warning
var1.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "[DEPRECATED] " +
EnumChatFormatting.YELLOW + "The /noppes command is deprecated and no longer supported."));
var1.addChatMessage(new ChatComponentText(EnumChatFormatting.YELLOW +
"Please use " + EnumChatFormatting.GREEN + "/kam" + EnumChatFormatting.YELLOW + " commands instead."));
var1.addChatMessage(new ChatComponentText(EnumChatFormatting.GRAY +
"Type " + EnumChatFormatting.WHITE + "/kam help" + EnumChatFormatting.GRAY + " for available commands."));
// Still execute the command for backwards compatibility
noppes.processCommand(var1, var2);
}