gamemode

package module
v0.0.0-...-6cb1b18 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Unlicense Imports: 3 Imported by: 0

README

GameMode

Normal game mode command.

How to use

package main

import "github.com/daft0175/gamemode"

func main() {
    cmd.Register(cmd.New("gamemode", "Sets a player's game mode.", []string{}, gamemode.GameMode{}))
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameMode

type GameMode struct {
	Number int `cmd:"gameMode"`
}

func (GameMode) Run

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

Jump to

Keyboard shortcuts

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