Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InfoDoc = support.CommandDoc{
Name: "info",
Doc: `shows info about the server as from the factorio lobby`,
}
View Source
var ModListDoc = support.CommandDoc{ Name: "mods", Doc: `command outputs information about current mods`, Usage: "$mods [on | off | all | files]", Subcommands: []support.CommandDoc{ {Name: "on", Doc: `command sends currently enabled mods`}, {Name: "off", Doc: `command sends currently disabled mods`}, {Name: "all", Doc: `command sends all mods in mod-list.json`}, {Name: "files", Doc: `command sends filenames of all downloaded mods`}, }, }
View Source
var OnlineDoc = support.CommandDoc{
Name: "online",
Doc: `shows players online (and max number of players if set)`,
}
View Source
var VersionDoc = support.CommandDoc{
Name: "version",
Doc: `command outputs factorio server version and FactoCord version.
If it says that FactoCord version is unknown look into the error.log`,
}
Functions ¶
func GameOnline ¶
func VersionString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.