command

package
v0.0.0-...-1279de1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auto

type Auto struct {
	Auto cmd.SubCommand `cmd:"auto"`
}

Auto implements the /plot auto command. It teleports the user to the nearest unclaimed plot.

func (Auto) Run

func (a Auto) Run(source cmd.Source, output *cmd.Output)

Run ...

type Claim

type Claim struct {
	Claim cmd.SubCommand `cmd:"claim"`
}

Claim implements the claim command.

func (Claim) Run

func (Claim) Run(source cmd.Source, output *cmd.Output)

Run ...

type Clear

type Clear struct {
	Clear cmd.SubCommand `cmd:"clear"`
}

Clear implements the /plot clear command. It may be used to clear one's plot without removing the claim from it.

func (Clear) Run

func (r Clear) Run(source cmd.Source, output *cmd.Output)

Run ...

type Delete

type Delete struct {
	Delete cmd.SubCommand `cmd:"delete"`
}

Delete implements a /p delete command, which may be used to clear a plot and delete the claim.

func (Delete) Run

func (d Delete) Run(source cmd.Source, output *cmd.Output)

Run ...

type List

type List struct {
	List cmd.SubCommand `cmd:"list"`
}

List implements a /plot list command which may be used to check the available plots.

func (List) Run

func (l List) Run(source cmd.Source, output *cmd.Output)

Run ...

type Teleport

type Teleport struct {
	Tp cmd.SubCommand `cmd:"tp"`
	// Number is the number of the plot to teleport to. These numbers may be found by running /p list.
	Number plotNumber `cmd:"number"`
}

Teleport implements a /plot tp command which may be used to teleport to a specific plot owned by the player.

func (Teleport) Run

func (t Teleport) Run(source cmd.Source, output *cmd.Output)

Run ...

Jump to

Keyboard shortcuts

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