games-standalone/generic/golang/README.md

26 lines
968 B
Markdown
Raw Normal View History

2022-11-13 18:22:29 +01:00
# Go Language Generic
2022-11-13 18:22:29 +01:00
This egg is designed to run any generic Go application, allowing users to pull their own Go source code from a Github repository.
The startup configs and commands may need changing to actually function properly.
2020-10-11 18:20:31 +02:00
Users cannot upload their own code as this is built to build the resulting bot.
2022-11-13 18:22:29 +01:00
`GO_PACKAGE` is the variable for the Go repo i.e. `github.com/aurieh/ddg-ng`
`EXECUTABLE` is the variable for the executable that is built i.e. `ddg-ng`
## Configuration
The server will be stuck as `starting` until the egg Start Configuration is modified. You have to edit the text to match something your bot will print for Pterodactyl panel to detect it as running.
![image](https://user-images.githubusercontent.com/10975908/126516861-c5cb4630-9f25-405c-8199-97bf5ec15a7f.png)
You can use arrays to have multiple different values when different bots are being used
```json
{
"done":[
"change this text 1",
"change this text 2"
]
}