Documentation ¶
Index ¶
- func GamemodeToString(gm world.GameMode) string
- func RegisterAll()
- func StringToGamemode(s string) (world.GameMode, bool)
- type Gamemode
- type GamemodeType
- type Give
- type Item
- type Kick
- type Kill
- type SourceCommand
- type TeleportPlayerToCoords
- type TeleportPlayerToPlayer
- type TeleportToCoords
- type TeleportToPlayer
- type Weather
- type WeatherType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GamemodeToString ¶
func RegisterAll ¶
func RegisterAll()
RegisterAll registers all commands with the default configurations.
Types ¶
type GamemodeType ¶
type GamemodeType string
func (GamemodeType) Type ¶
func (g GamemodeType) Type() string
type Give ¶
type SourceCommand ¶
type SourceCommand struct{}
func (SourceCommand) ReducedByArmour ¶
func (s SourceCommand) ReducedByArmour() bool
func (SourceCommand) ReducedByResistance ¶
func (s SourceCommand) ReducedByResistance() bool
type TeleportPlayerToCoords ¶
type TeleportPlayerToPlayer ¶
type TeleportToCoords ¶
type TeleportToPlayer ¶
type Weather ¶
type Weather struct { Weather WeatherType `cmd:"weather"` Duration cmd.Optional[uint] `cmd:"duration"` }
type WeatherType ¶
type WeatherType string
func (WeatherType) Type ¶
func (w WeatherType) Type() string
Click to show internal directories.
Click to hide internal directories.