Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "sendCommandToServer" function for UserConnection #38

Closed
Guichaguri opened this issue Nov 16, 2012 · 3 comments
Closed

Add "sendCommandToServer" function for UserConnection #38

Guichaguri opened this issue Nov 16, 2012 · 3 comments

Comments

@Guichaguri
Copy link

The function "sendCommandToServer" will send a command from BungeeCord to Server.
void sendCommandToServer(String command)

@fredghostkyle
Copy link

like (from console, not a command): CommandName < name> < console command>?

@Guichaguri
Copy link
Author

The BungeeCord get servers packets and send the packets to player, so can not do that.

But you can use channel listeners...

@lol768
Copy link
Contributor

lol768 commented Nov 22, 2012

This is possible. Simply make a chat packet, stick a / at the start then send it to the server as if it had come from the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants