goteusz-maszyk / ClientCrasher-Spigot

[SPIGOT PLUGIN] A new, better way to punish cheaters
https://modrinth.com/plugin/clientcrasher
14 stars 2 forks source link

Hide command patch #7

Closed AndyNoob closed 6 months ago

AndyNoob commented 7 months ago

Currently, the command and plugin namespace appears for permission-less players (as pointed out by #5), which is not ideal in the case that the user is trying to be sneaky (discourage unwanted players, etc.).

I've tweaked the plugin.yml so that the commands are not tab completed to players without the newly added permissions, clientcrasher.command.*, clientcrasher.command.crash, and clientcrasher.command.alwayscrash.

I've also removed the no permission message in the individual command files.

(Also attached is testing, in case my glamorous avatar is insufficient in convincing you that it works)

Screenshot 2024-05-07 at 9 26 26 PM