Skip to content

Port as int, default host in config and separate implementation of handler#8

Open
FirstL1ght wants to merge 2 commits intoygtdmn:masterfrom
outbreak-mc:master
Open

Port as int, default host in config and separate implementation of handler#8
FirstL1ght wants to merge 2 commits intoygtdmn:masterfrom
outbreak-mc:master

Conversation

@FirstL1ght
Copy link
Contributor

@FirstL1ght FirstL1ght commented Nov 2, 2022

  • Port in rcon.toml is now int, but string is also supported.

  • RconServer now takes a RconHandler object (this is not the old RconHandler which was renamed to RconChannelHandler). RconHandler contains the command handling implementation and also methods such us onBind, onClientConnected, onClientDisconnected and onShutdown which are called by RconServer.

Tested on Velocity versions 3.1.1-98 and 3.1.2-SNAPSHOT-184

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant