Update readme and remove some old comments
This commit is contained in:
parent
935e445510
commit
5cdf8777dc
12
README.md
12
README.md
@ -9,6 +9,12 @@ The latter might include periodically:
|
||||
* saving the game to a custom, datestamped save
|
||||
* generating datestamped screenshots
|
||||
|
||||
## admin.go library
|
||||
|
||||
At the moment the library has limited support for anything except managing
|
||||
responses to date changes. Please tell me your use case and I will be happy
|
||||
to look at extending it further. Or, pull requests accepted :-)
|
||||
|
||||
## openttd_multitool
|
||||
|
||||
The openttd_multitool connects to the OpenTTD Admin port (default 3977)
|
||||
@ -23,6 +29,11 @@ Possible intervals are:
|
||||
|
||||
These intervals are obviously in game time!
|
||||
|
||||
## running
|
||||
|
||||
The tool is a command line driven executable. It does not require installation.
|
||||
Just copy it somewhere and run it.
|
||||
|
||||
You can configure the tool to send any command that you would type at the OpenTTD
|
||||
console. Here are a few examples:
|
||||
|
||||
@ -46,4 +57,3 @@ Additionally, when using the "screenshot giant" command, the entire server will
|
||||
certainly kicking off all clients, unless your map is very small or your server is very very fast!
|
||||
|
||||
No harm is done in that case, they can just reconnect after the screenshot is finished.
|
||||
|
||||
|
@ -7,17 +7,12 @@ import (
|
||||
"os"
|
||||
)
|
||||
|
||||
|
||||
// ./openttd_multitool --monthly "say \"hi it is a new month\"" --daily "say \"wow a new day %D"
|
||||
|
||||
const currentVersion = "0.02"
|
||||
|
||||
type dailyFlags []string
|
||||
type monthlyFlags []string
|
||||
type yearlyFlags []string
|
||||
|
||||
|
||||
|
||||
func (i *dailyFlags) String() string {
|
||||
// change this, this is just can example to satisfy the interface
|
||||
return "my string representation"
|
||||
|
Loading…
x
Reference in New Issue
Block a user