Uncaught-Exceptions / MCRcon

Use minecraft's new-fangled Rcon
Other
51 stars 12 forks source link

Where do you assign the port? #7

Closed TomLewis closed 3 years ago

TomLewis commented 3 years ago

I cant see any docs on where to assign the rcon port?

unexceptable commented 3 years ago

You mean when initialising this, or server side?

https://github.com/Uncaught-Exceptions/MCRcon/blob/master/mcrcon.py#L39 < just override the default port when making the rcon client class.

mcr = MCRcon("10.1.1.1", "sekret", port=123456)