What behavior is observed:
bungeecord server is turned off when /forward {playername} end
is executed from the server console even though the player doesn't have bungeecord.command.end
What behavior is expected:
should throw same message as end
command as it was executed as a player in-game when the player has no bungeecord.command.end
permission
Steps/models to reproduce:
- join the server (since the plugin need 1 player to be online on the server)
- type
/forward {playername} end
in the server console
- voila
Screenshots (if applicable)
Plugin list:
Environment description
server: git-Purpur-1894 (1.19.3)
bungeecord: git:Waterfall-Bootstrap:1.19-R0.1-SNAPSHOT:13085b9:510
Plugin version or build number (don't write latest):
> version commandforward
[06:34:47 INFO]: CommandForward version 0.4.0
[06:34:47 INFO]: Forwards commands from Bukkit to BungeeCord to execute it there
[06:34:47 INFO]: Website: https://www.spigotmc.org/resources/commandforward.bukkit/
[06:34:47 INFO]: Authors: games647 and https://github.com/games647/CommandForward/graphs/contributors
Server Log:
Hastebin / Gist link of the error, stacktrace or the complete log (if any)
server
> forward cupang_afk end
[06:35:29 INFO]: [floodgate] Floodgate player logged in as cupang_afk disconnected
[06:35:29 INFO]: cupang_afk lost connection: Disconnected
bungeecord
[06:35:29 INFO]: Closing listener [id: 0x59d6a71b, L:local:E:492231d0]
[06:35:29 INFO]: Closing listener [id: 0x1ca6ae0a, L:/[0:0:0:0:0:0:0:0%0]:35750]
[06:35:29 INFO]: Closing pending connections
[06:35:29 INFO]: Disconnecting 1 connections
[06:35:29 INFO]: [cupang_afk] disconnected with:
...more log for shutting down process
Configuration:
Hastebin / Gist link of your config.yml file
Note:
cupang_afk is not an operator, i confirm this with deop
command
> deop cupang_afk
[06:28:12 INFO]: Nothing changed. The player is not an operator
cupang_afk also never had bungeecord.command.end
permission
this is confirmed with /end
command executed in-game
![image](https://user-images.githubusercontent.com/66926348/215622148-6395da11-2654-4aeb-9097-d2020da2176e.png)
command /forward {playername}
is working perfectly for running command as player
for example i run /forward cupang_afk skin reset
to reset skin from the player created by SkinsRestorer
![image](https://user-images.githubusercontent.com/66926348/215623021-8fa8cba6-2d3e-4bd4-a865-e07801370844.png)