Pack: Spectator Alts - teakivy/teaks-tweaks GitHub Wiki
Spectator Alts allows players to add their own alts to the server's whitelist, which are automatically set to spectator mode.
The config for this pack can be found in the config.yml
file for the plugin.
# Spectator Alts
# Allow players to add their own alt accounts as spectators
#
# Commands:
# /alts <add/remove/list> <alt> [player] (Permission: teakstweaks.command.alt / teakstweaks.command.alt.manage)
spectator-alts:
enabled: false
# Which gamemode to put alts in when they join
# Options: spectator, creative, survival, adventure
gamemode: spectator
# Whether or not to force alts to stay in spectator mode
force-gamemode: true
# Maximum amount of alts a player can have
# OP players have no limit
# Set to 0 to only allow OP players to set alts
# Set to -1 to allow all players to set unlimited alts
# OP players can add alts to other players by using /alts add <alt> <player>
max-alts: 1
# Whether or not to allow alts to teleport to other players
# Alts will always be able to teleport to their main account
allow-player-teleport: true
- Type -
boolean
- Default -
false
- Description - Controls whether the pack is enabled.
- Type -
string
- Default -
spectator
- Description - Sets the gamemode the alt will be set into. Options are
spectator
,survival
,adventure
, orcreative
.
- Type -
boolean
- Default -
true
- Description - Forces the player to remain in their gamemode.
- Type -
int
- Default -
1
- Description - Sets the maximum amount of alt accounts a player can add. Set to 0 to only allow OP players to add alts. Set to -1 to allow all players to set unlimited alts.
- Type -
boolean
- Default -
true
- Description - Controls whether the alt can teleport to other players using spectator controls. Alts can always teleport to their owning player.
teakstweaks.command.alts
- Default -
true
- Description - Controls whether the player can use the
/alts
command.
teakstweaks.command.alts.manage
- Default -
true
- Description - Controls whether the player can use the
/alts
command to manage other player's alt accounts.
"spectator_alts.name": "Spectator Alts",
"spectator_alts.description": "Allow players to add their own alt accounts as spectators.<newline>Command",
- Default -
Spectator Alts
- Default -
Allow players to add their own alt accounts as spectators.<newline>Command