openttd-admin

command module
v0.0.0-...-d16c9d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 2 Imported by: 0

README

OpenTTD Admin

Golang based library and command line tool for OpenTTD server administration.

Currently a simple remote console interface and a chat to communicate with players on the server is implemented:

$ ./openttd-admin rcon -c /tmp/testgame/openttd.cfg
2020/12/27 21:35:53 connecting to localhost:3977...
2020/12/27 21:35:53 connected
> getseed
net> [admin] Rcon command from 'OpenTTD-Admin' (1.10.3): 'getseed'
> Generation Seed: 3277715519
> ^C

Sample output:

$ ./openttd-admin chat localhost:3977
Server admin password:
2020/12/27 17:33:28 connecting to localhost:3977...
2020/12/27 17:33:28 connected
> hello world
2020/12/27 17:33:43 1792> yeah, hi...
> ^C

Directories

  • cmd/ - admin commands
  • pkg/admin/ - admin protocol implementation

References

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL