forked from chipmunk.land-kaboomserver/extras
Block /scissors reload (#321)
* Block /scissors reload Yeah this is another one of those "spam a random command until it breaks the server" This only applies to servers which actually run scissors, which to my knowledge kaboom and all clones all run Scissors.
This commit is contained in:
parent
08f75cb374
commit
30f7768a4b
1 changed files with 7 additions and 0 deletions
|
@ -202,6 +202,13 @@ public final class ServerCommand implements Listener {
|
|||
return "cancel";
|
||||
}
|
||||
break;
|
||||
case "/scissors:scissors":
|
||||
case "/scissors":
|
||||
if(arr.length >= 2
|
||||
&& "reload".equalsIgnoreCase(arr[1])) {
|
||||
return "cancel";
|
||||
}
|
||||
break;
|
||||
case "/geyser-spigot:geyser":
|
||||
case "/geyser":
|
||||
if (arr.length >= 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue