mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-03 21:52:05 -07:00
Add configuration option to prevent player names from being suggested
This commit is contained in:
@@ -2100,4 +2100,14 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
|
||||
void reloadPermissions(); // Paper
|
||||
|
||||
boolean reloadCommandAliases(); // Paper
|
||||
|
||||
// Paper start - allow preventing player name suggestions by default
|
||||
/**
|
||||
* Checks if player names should be suggested when a command returns {@code null} as
|
||||
* their tab completion result.
|
||||
*
|
||||
* @return true if player names should be suggested
|
||||
*/
|
||||
boolean suggestPlayerNamesWhenNullTabCompletions();
|
||||
// Paper end
|
||||
}
|
||||
|
Reference in New Issue
Block a user