WorldPacketsDecoder
Search for
Code:
if (message.startsWith("::") || message.startsWith(";;")) {
Above
Code:
Commands.processCommand(player, message.replace("::", "").replace(";;", ""), false, false);
Put something like;
Code:
if(player.isInArea(blablabla) && player.getRights() < 2) { //Administrators can still use commands, remove if u want
player.getPackets().sendGameMessage("You cannot use commands here");
return;
)
Still don't know the method for the area, haven't touched any rsps in forever.