console

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: GPL-3.0 Imports: 34 Imported by: 4

README

server/console

Overview

Administrative console helpers bundled with the server. Provides shared console-mode code reused by client tooling. Key routines cover console admin within the console subsystem.

Go Files

  • console-admin.go – Implements admin console commands exposed by the server.
  • console-admin_test.go (tests) – Tests admin console behaviors.
  • console.go – Core console runtime used for server-side interactive sessions.

Documentation

Index

Constants

View Source
const (

	// Info - Display colorful information
	Info = bold + cyan + "[*] " + normal
	// Warn - Warn a user
	Warn = bold + red + "[!] " + normal
	// Debug - Display debug information
	Debug = bold + purple + "[-] " + normal
	// Woot - Display success
	Woot = bold + green + "[$] " + normal
)

Variables

This section is empty.

Functions

func DefaultOperatorWireGuardEnabled added in v1.7.4

func DefaultOperatorWireGuardEnabled() bool

DefaultOperatorWireGuardEnabled returns the default wireguard mode for new operator configs based on the current server multiplayer exposure.

func JobStartClientListener added in v1.6.0

func JobStartClientListener(multiplayerListener *clientpb.MultiplayerListenerReq) (int, error)

func NewOperatorConfig added in v1.5.0

func NewOperatorConfig(operatorName string, lhost string, lport uint16, permissions []string, includeWG bool) ([]byte, error)

NewOperatorConfig - Generate a new player/client/operator configuration

func Start

func Start(rcScript string)

Start - Starts the server console

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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