mirror of
https://github.com/onyx-and-iris/q3rcon.git
synced 2024-12-03 13:40:47 +00:00
add img/
This commit is contained in:
parent
f2752f5609
commit
dd1d530d44
@ -117,10 +117,15 @@ If interactive mode is enabled, any arguments sent on the command line will be i
|
||||
|
||||
## Your own implementation
|
||||
|
||||
I've separated the q3rcon package from the CLI precisely so that you can write your own implementation, since I don't know the target game or it's commands. For example, in my case I've added terminal colouring and reformatted some of the command responses.
|
||||
The included CLI is a generic implementation, while it can be used out of the box you may find that some requests result in fragmented responses. The solution is to implement your own version, adjusting the timings with the functional options as detailed above. I could have increased the default timeouts but that would add unnecessary delay for most requests, so I decided to leave those details to the users of the package.
|
||||
|
||||
Since you can include the q3rcon package into your own package you can easily make your own modifications, for example, I added [colour to the terminal][status] and [reformatted some of the responses][mapname].
|
||||
|
||||
## Logging
|
||||
|
||||
Log level may be set by passing the `-l` flag with a number from 0 up to 6 where
|
||||
|
||||
0 = Panic, 1 = Fatal, 2 = Error, 3 = Warning, 4 = Info, 5 = Debug, 6 = Trace
|
||||
|
||||
[status]: ./img/status.png
|
||||
[mapname]: ./img/mapname.png
|
||||
|
BIN
img/mapname.png
Normal file
BIN
img/mapname.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
BIN
img/status.png
Normal file
BIN
img/status.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue
Block a user