mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-27 03:11:07 -04:00
86 lines
3.1 KiB
Markdown
86 lines
3.1 KiB
Markdown
#### Version history:
|
|
|
|
###### 0.7.2
|
|
- Quit gracefully when Ctrl-D or Ctrl+C is pressed
|
|
- Remove "exit" and "quit" as quitting commands
|
|
* these are actual rcon commands on some servers
|
|
- Suppress compiler warning (strncpy)
|
|
- fix erroneous string length in packet building function
|
|
- Fix typo in ANSI escape sequence for LCYAN
|
|
- Make stdout and stderr unbuffered
|
|
|
|
###### 0.7.1
|
|
- Deprecate `-i` flag for invoking terminal mode
|
|
- Add workaround to prevent server-side bug.
|
|
* https://bugs.mojang.com/browse/MC-154617
|
|
|
|
###### 0.7.0
|
|
- Add -w option for rcon command throttling
|
|
* Thanks HorlogeSkynet @ Github
|
|
|
|
###### 0.6.2
|
|
- Set default address to localhost
|
|
|
|
###### 0.6.1
|
|
- Color coding fixed
|
|
* Thanks to Hagb @ Github
|
|
|
|
###### 0.6.0
|
|
- Version numbering changed to more sane system (0.0.5 -> 0.6.0)
|
|
- Fixed munged output
|
|
- Support for using environment variables to set some basic options
|
|
- Cleaned networking code
|
|
- Various code cleanups
|
|
- Changes and updates in usage text and error reporting
|
|
- Version option flag (-v) added
|
|
- Man page added
|
|
- Proper makefile added
|
|
|
|
###### 0.0.5
|
|
- IPv6 support!
|
|
* Thanks to 'Tanja84dk' for addressing the real need of IPv6.
|
|
|
|
- Fixed bug causing crash / segmentation fault (invalid write) when receiving malformed rcon packet.
|
|
|
|
- Program makes use of C99 feature (variable-length arrays) so "-std=gnu99" flag on
|
|
GCC-compiler must be used to avoid unecessary warnings.
|
|
|
|
- Rcon receive buffer is now bigger (2024 bytes -> 10240 bytes).
|
|
* Thanks to 'gman_ftw' @ Bukkit forums.
|
|
|
|
- Fixed invalid error message when receiving empty rcon packet (10 bytes).
|
|
* Thanks to 'pkmnfrk' @ bukkit forums.
|
|
|
|
- Terminal mode now closes automatically when rcon socket is closed by server
|
|
or if packet size cannot be retrieved correctly.
|
|
|
|
- Client now tries to clean the incoming socket data if last package was out of spec.
|
|
|
|
###### 0.0.4
|
|
- Reverted back to default getopts options error handler (opterr = 1).
|
|
Custom error handler requires rewriting.
|
|
- Some cosmetic changes in program output strings.
|
|
- Program usage(); function now waits for enter before exiting on Windows.
|
|
|
|
###### 0.0.3
|
|
- Colors are now supported on Windows too!
|
|
- Terminal mode is now triggered with "-t" flag. "-i" flag still works for
|
|
backwards compatibility.
|
|
- Bug fixes (Packet size check always evaluating false and color validity
|
|
check always evaluating true).
|
|
|
|
###### 0.0.2
|
|
- License changed from 'ISC License' to 'zlib/libpng License'.
|
|
- Bug fixes & code cleanups
|
|
- Interactive mode (-i flag). Client acts as interactive terminal.
|
|
- Program return value is now the number of rcon commmands sent successfully.
|
|
If connecting or authentication fails, the return value is -1.
|
|
- Colors are now enabled by default. Now '-c' flag disables the color support.
|
|
|
|
###### 0.0.1
|
|
- Added experimental support for bukkit colors.
|
|
Should work with any sh compatible shell.
|
|
- Packet string data limited to max 2048 (DATA_BUFFSIZE) bytes.
|
|
No idea how Minecraft handles multiple rcon packets.
|
|
If someone knows, please mail me so I can implement it.
|