minecraft

package
Version: v0.0.0-...-456c657 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2015 License: Zlib Imports: 2 Imported by: 0

Documentation

Overview

Package minecraft defines interoperations between the site and minecraft servers using the strange implementation of RCON in the minecraft server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct {
	Online   bool     `json:"online"`
	Players  []string `json:"players"`
	GameName string   `json:"gamename"`
	Mode     string   `json:"mode"`
}

Status is the status of the game server.

func Query

func Query(server string, port int, password string) (s *Status, err error)

Query looks up information on the remote minecraft server and returns the server Status or an error.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL