Tiiffi/mcrcon

Bug with command send

Sotabi opened this issue · 2 comments

I tried the example on GitHub and using the "create_shortcut.bat" file, but it only signs me automaticly in and the commands were not send :?
I am using Win10.

Used Script:

@mcrcon.exe -t -H xxx.xxx.xxx.x -P 25575 -p xxxx -w 5 "say Server is restarting!" save-all stop

Result
pic

@Sotabi , in case you never found a solution: I'm assuming there is a conflict between terminal mode and the -w switch. Try running this without -t and see what happens.

@tmanifold is right.

It doesn't make sense to use terminal mode and throttled message sending together.

I will probably add some kind check to prevent users doing this (or at least add warning when trying to use flags which doesn't make sense).