craftctl

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2015 License: MIT Imports: 6 Imported by: 0

README

craftctl

craftctl is a command-line Minecraft console client.

Written in Go, craftctl runs on same platforms Minecraft does.

Usage

craftctl uses the RCON protocol to interact with a Minecraft instance.

First, enable the RCON interface:

# server.properties
enable-rcon=true
rcon.password=<password>

then point craftctl to your server:

$ craftctl -p <password> list
Commands

Specify commands with or without a leading slash. The following are equivalent:

$ craftctl help
$ craftctl /help

Configuration

Configure craftctl using command-line flags or environment variables.

Option Environment Variable Default Description
-H/--host CRAFTCTL_HOST localhost RCON hostname or IP address
-P/--port CRAFTCTL_PORT 25575 RCON password
-p/--password CRAFTCTL_PASSWORD password RCON password

Installation

Install the Go toolchain, then:

$ go get github.com/benwebber/craftctl
$ go install github.com/benwebber/craftctl

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL