Documentation
¶
Index ¶
Constants ¶
View Source
const (
Directory = "/bedrock" // Directory where the server files are stored
)
Variables ¶
View Source
var FileNames = FileDetails{
ServerProperties: "server.properties",
Worlds: "worlds",
DefaultWorld: "Bedrock level",
}
FileNames are the names of files used by the server.
View Source
var FullPaths = FileDetails{ ServerProperties: path.Join(Directory, LocalPaths.ServerProperties), Worlds: path.Join(Directory, LocalPaths.Worlds), DefaultWorld: path.Join(Directory, LocalPaths.DefaultWorld), }
FullPaths are the full paths to server files, from the root directory.
View Source
var LocalPaths = FileDetails{ ServerProperties: FileNames.ServerProperties, Worlds: FileNames.Worlds, DefaultWorld: path.Join(FileNames.Worlds, FileNames.DefaultWorld), }
LocalPaths are the paths to server files from the server directory (server.Directory).
Functions ¶
This section is empty.
Types ¶
type FileDetails ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.