mirror of https://github.com/GeyserMC/Geyser.git
permissions.yml and compiling
This commit is contained in:
parent
f553e832e9
commit
a830fb76fb
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue