Skip to content

About

OpenTTD administration library and tools

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

OpenTTD administration library and tools

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages