permissions.yml and compiling

This commit is contained in:
Konicai 2023-06-26 16:38:11 -04:00
parent f553e832e9
commit a830fb76fb
No known key found for this signature in database
GPG Key ID: 710D09287708C823
2 changed files with 10 additions and 1 deletions

View File

@ -278,7 +278,7 @@ public class GeyserStandaloneGUI {
public void enableCommands(ScheduledExecutorService executor, GeyserCommandManager commandManager) {
// we don't want to block the GUI thread with the command execution
// todo: once cloud is used, an AsynchronousCommandExecutionCoordinator can be used to avoid this scheduler
commandListener.handler = cmd -> executor.schedule(() -> commandManager.runCommand(logger, cmd), 0, TimeUnit.SECONDS);
commandListener.handler = cmd -> executor.schedule(() -> commandManager.cloud().executeCommand(logger, cmd), 0, TimeUnit.SECONDS);
commandInput.setEnabled(true);
commandInput.requestFocusInWindow();
}

View File

@ -0,0 +1,9 @@
# Add any permissions here that all players should have.
# Permissions for builtin geyser commands do not have to be listed here.
# If an extension/plugin hooks into the permission system of Geyser-Standalone, entries here may be ignored/overridden.
# If extensions don't register their permissions, they must be added here manually.
default-permissions:
- geyser.command.help # this is unnecessary