T
- The value type associated with this ConfigNode
public class ConfigNode<T> extends Object
Minigame
.Modifier and Type | Field and Description |
---|---|
static RoundConfigNode<Boolean> |
ALLOW_DAMAGE
Whether
Challenger s are permitted to damage one another. |
static RoundConfigNode<Boolean> |
ALLOW_EXIT_BOUNDARY
|
static RoundConfigNode<Boolean> |
ALLOW_FRIENDLY_FIRE
Whether
Challenger s are permitted to damage teammates. |
static RoundConfigNode<LobbySignPopulator> |
CHALLENGER_LISTING_LOBBY_SIGN_POPULATOR |
static ConfigNode<ImmutableSet<LifecycleStage>> |
DEFAULT_LIFECYCLE_STAGES
The default
LifecycleStage s to apply to new Round s. |
static ConfigNode<Boolean> |
ENABLE_LOBBY_WIZARD
Whether the integrated lobby wizard is enabled for a
Minigame . |
static RoundConfigNode<Set<String>> |
FORBIDDEN_COMMANDS
|
static RoundConfigNode<Integer> |
MAX_PLAYERS
The maximum permitted player count.
|
static RoundConfigNode<Boolean> |
RANDOM_SPAWNING
Deprecated.
Use
SPAWNING_MODE |
static ConfigNode<Boolean> |
REQUIRE_SNEAK_TO_DESTROY_LOBBY
Whether an in-game player must be sneaking in order to destroy a physical
LobbySign . |
static RoundConfigNode<Boolean> |
ROLLBACK_ON_END
Whether
Round s shall be rolled back by default upon ending. |
static RoundConfigNode<Boolean> |
SEPARATE_ROUND_CHATS
Whether
Round s are to use separate chat channels. |
static RoundConfigNode<Boolean> |
SEPARATE_TEAM_CHATS
Whether
Team s are to use separate chat channels. |
static RoundConfigNode<SpawningMode> |
SPAWNING_MODE
The mode which should be used when selecting spawn points.
|
static RoundConfigNode<LobbySignPopulator> |
STATUS_LOBBY_SIGN_POPULATOR |
static RoundConfigNode<Boolean> |
WITHHOLD_SPECTATOR_CHAT
Whether messages sent by spectators are to be withheld from
non-spectators.
|
Modifier | Constructor and Description |
---|---|
protected |
ConfigNode(T defaultValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
T |
getDefaultValue()
Returns this
ConfigNode 's default value. |
int |
hashCode() |
public static final ConfigNode<ImmutableSet<LifecycleStage>> DEFAULT_LIFECYCLE_STAGES
public static final ConfigNode<Boolean> ENABLE_LOBBY_WIZARD
Minigame
.
When enabled, the lobby wizard will be available to in-game players
with the permission nodes <minigame name>.lobby.create
,
<minigame name>.lobby.*
, or <minigame name>.*
, or with
server operator status. It will be activated when a sign is placed in the
world with the first line being the Minigame
's name within square
brackets ("[" and "]") and guide the player through the process of
creating the sign.
Defualt: true
public static final ConfigNode<Boolean> REQUIRE_SNEAK_TO_DESTROY_LOBBY
LobbySign
.
If true
, left-clicking the lobby sign without sneaking will
not break it, regardless of gamemode or permissions. Rather, a
PlayerClickLobbySignEvent
will be called.
If false
, the sign will not be prevented from breaking, and if
broken, the sign will be unregistered and an event will not be called.
Default: true
public static final RoundConfigNode<Integer> MAX_PLAYERS
Default: 32
public static final RoundConfigNode<Boolean> ALLOW_EXIT_BOUNDARY
Challenger
s are permitted to physically leave their
Arena
s' Boundaries
. If false
(default),
they will be unconditionally forbidden from physically exiting the
boundary region while in a Round
. If true
, they will be
removed from the Round
upon leaving.
Default: false
public static final RoundConfigNode<Boolean> ALLOW_DAMAGE
Challenger
s are permitted to damage one another.
Default: true
public static final RoundConfigNode<Boolean> ALLOW_FRIENDLY_FIRE
Challenger
s are permitted to damage teammates.
Default: true
public static final RoundConfigNode<Boolean> SEPARATE_TEAM_CHATS
Team
s are to use separate chat channels.
Default: false
public static final RoundConfigNode<Boolean> SEPARATE_ROUND_CHATS
Round
s are to use separate chat channels.
Default: true
public static final RoundConfigNode<Boolean> WITHHOLD_SPECTATOR_CHAT
Default: true
public static final RoundConfigNode<Boolean> ROLLBACK_ON_END
Round
s shall be rolled back by default upon ending.
Default: true
public static final RoundConfigNode<SpawningMode> SPAWNING_MODE
SpawningMode
for more information.)
Default: SpawningMode.SEQUENTIAL
@Deprecated public static final RoundConfigNode<Boolean> RANDOM_SPAWNING
SPAWNING_MODE
Challenger
s entering
rounds randomly. If false
, spawn points will be selected
sequentially.
Default: false
public static final RoundConfigNode<Set<String>> FORBIDDEN_COMMANDS
public static final RoundConfigNode<LobbySignPopulator> STATUS_LOBBY_SIGN_POPULATOR
public static final RoundConfigNode<LobbySignPopulator> CHALLENGER_LISTING_LOBBY_SIGN_POPULATOR
protected ConfigNode(T defaultValue)
public T getDefaultValue()
ConfigNode
's default value.ConfigNode
's default value