package protocolsupport.server.listeners;

import java.util.HashSet;
import java.util.Set;

import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerCommandPreprocessEvent;

public class CommandListener implements Listener {
	private final Set<String> blacklist = new HashSet<>();

	public CommandListener() {
		blacklist.add("/reload");
		blacklist.add("/reload confirm");
		blacklist.add("/bukkit:reload");
		blacklist.add("/bukkit:reload confirm");
	}

	@EventHandler
	public void onCommand(PlayerCommandPreprocessEvent event) {
		if (event.getPlayer().hasPermission("bukkit.command.reload") && blacklist.contains(event.getMessage().toLowerCase())) {
			event.setCancelled(true);
			event.getPlayer().sendMessage("The reload command has been disabled by ProtocolSupport");
		}
	}
}

@@ -441,56 +441,182 @@
 d(%22/
-bukkit:reload%22);%0A%09%09blacklist.add(%22/bukkit:reload
+rl%22);%0A%09%09blacklist.add(%22/rl confirm%22);%0A%09%09blacklist.add(%22/bukkit:reload%22);%0A%09%09blacklist.add(%22/bukkit:reload confirm%22);%0A%09%09blacklist.add(%22/bukkit:rl%22);%0A%09%09blacklist.add(%22/bukkit:rl
  con

Add /rl to command blacklist