Skip to content

Settings

github-actions[bot] edited this page Oct 27, 2025 · 2 revisions

Author: Adrian Preuß

Since: 1.0.0

Gets the secret.
getSecret(): string | null
Returns
string | null

Sets the secret.
setSecret(secret): void
Parameters
Name Type Description
secret
string | null
The secret.

Gets the messages.
getMessages(): any[]
Returns
any[]

Sets the messages.
setMessages(messages): void
Parameters
Name Type Description
messages
any[]
The messages.

Gets the allow copies flag.
getAllowCopies(): boolean
Returns
boolean

Sets the allow copies flag.
setAllowCopies(allowCopies): void
Parameters
Name Type Description
allowCopies
boolean
The allow copies flag.

Populates the settings from a JSON object.
fromJSON(json): Settings
Parameters
Name Type Description
json
any
The JSON object.
Returns
Settings

Converts the settings to a JSON object.
toJSON(): any
Returns
any

General

The actual abstraction layer for retrieving or sending data from the portal server.

⠀⠀ Installation

⠀⠀ Usage

⠀⠀ Examples

Backends

The actual abstraction layer for retrieving or sending data from the portal server.

⠀⠀ Blueprints

⠀⠀ Experience

⠀⠀ Mods⠀⠀⠀⠀

⠀⠀ PlayElements

Models

Model data for simplified use of the data.

⠀⠀ Blueprint

⠀⠀ Creator

⠀⠀ Design

⠀⠀ Map

⠀⠀ MapRotation

⠀⠀ Option

⠀⠀ PlayElement

⠀⠀ Settings

⠀⠀ Tag

⠀⠀ Team

⠀⠀ TeamComposition

Enum

Static data and informations.

⠀⠀ CreatorType

⠀⠀ OptionType

⠀⠀ Status


Clone this wiki locally