mirror of
https://github.com/Tiiffi/mcrcon.git
synced 2025-10-28 20:01:07 -04:00
Compare commits
3 Commits
Develop
...
b11429d418
| Author | SHA1 | Date | |
|---|---|---|---|
| b11429d418 | |||
| e9f8b0e76f | |||
| c607925b2e |
11
BUILDING.md
11
BUILDING.md
@ -1,18 +1,13 @@
|
|||||||
Building and installing
|
Building and installing
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
### Prerequisites
|
#### Requirements & dependencies:
|
||||||
|
|
||||||
- GCC compatible compiler
|
- GCC compatible compiler
|
||||||
- make
|
- POSIX getopt support from **<unistd.h>**
|
||||||
- POSIX.1 support
|
|
||||||
* getopt()
|
|
||||||
* strcasecmp()
|
|
||||||
* tcflush()
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Compiling
|
#### Compiling
|
||||||
|
|
||||||
cc -std=gnu99 -Wpedantic -Wall -Wextra -Wno-gnu-zero-variadic-macro-arguments -O2 -o mcrcon mcrcon.c
|
cc -std=gnu99 -Wpedantic -Wall -Wextra -Wno-gnu-zero-variadic-macro-arguments -O2 -o mcrcon mcrcon.c
|
||||||
|
|
||||||
|
|||||||
12
CHANGELOG.md
12
CHANGELOG.md
@ -1,21 +1,17 @@
|
|||||||
#### Version history:
|
#### Version history:
|
||||||
|
|
||||||
###### 0.8.0
|
###### 0.7.3
|
||||||
- Implement support for multipacket responses
|
- Add support to Valve style rcon authentication
|
||||||
- Add support for Valve style rcon authentication
|
|
||||||
- Add experimental UTF-8 support for Windows
|
|
||||||
- Change maximum packet size to correct value (4096 -> 4106)
|
- Change maximum packet size to correct value (4096 -> 4106)
|
||||||
- Attempt to add missing newlines in bugged Minecraft servers
|
|
||||||
* Implemented for responses to the 'help' command and unknown commands
|
|
||||||
- Print auth failed message to stderr instead of stdout
|
- Print auth failed message to stderr instead of stdout
|
||||||
- Fail immediately if received packet size is out of spec
|
- Fail immediately if received packet size is out of spec
|
||||||
- Return proper exit code from run_terminal_mode()
|
- Return proper exit code from run_terminal_mode()
|
||||||
- Add error messages to rcon_command() function
|
- Add error messages to rcon_command() function
|
||||||
|
|
||||||
###### 0.7.2
|
###### 0.7.2
|
||||||
- Quit gracefully when Ctrl-D or Ctrl+C is pressed
|
- Quit gracefully when Ctrl-D or Ctrl+C is pressed
|
||||||
- Remove "exit" and "quit" as quitting commands
|
- Remove "exit" and "quit" as quitting commands
|
||||||
* These are actual rcon commands on some servers
|
* these are actual rcon commands on some servers
|
||||||
- Suppress compiler warning (strncpy)
|
- Suppress compiler warning (strncpy)
|
||||||
- Fix erroneous string length in packet building function
|
- Fix erroneous string length in packet building function
|
||||||
- Fix typo in ANSI escape sequence for LCYAN
|
- Fix typo in ANSI escape sequence for LCYAN
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -15,7 +15,7 @@ RM = rm -v -f
|
|||||||
|
|
||||||
CC ?= gcc
|
CC ?= gcc
|
||||||
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2
|
CFLAGS = -std=gnu99 -Wall -Wextra -Wpedantic -Wno-gnu-zero-variadic-macro-arguments -O2
|
||||||
EXTRAFLAGS ?= -fstack-protector-strong -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -fno-common
|
EXTRAFLAGS ?= -fstack-protector-all
|
||||||
|
|
||||||
ifeq ($(OS), Windows_NT)
|
ifeq ($(OS), Windows_NT)
|
||||||
LINKER = -lws2_32
|
LINKER = -lws2_32
|
||||||
|
|||||||
2
mcrcon.1
2
mcrcon.1
@ -1,7 +1,7 @@
|
|||||||
.\" Process this file with
|
.\" Process this file with
|
||||||
.\" groff -man -Tascii mcrcon.1
|
.\" groff -man -Tascii mcrcon.1
|
||||||
.\"
|
.\"
|
||||||
.TH MCRCON 1 "December 2024" "Version 0.8.0"
|
.TH MCRCON 1 "November 2024" "Version 0.7.3"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mcrcon \- send rcon commands to a Minecraft server
|
mcrcon \- send rcon commands to a Minecraft server
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|||||||
Reference in New Issue
Block a user