Skip to content

Commit

Permalink
Document onlineModeKickExistingPlayers setting
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbraemer committed Feb 21, 2023
1 parent bf48bd7 commit f5459be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ config:
readTimeout: 30000
# Whether to reconnect the player when disconnected from a server.
failoverOnUnexpectedServerDisconnect: true
# Whether to kick existing connected player when an online-mode player with the same name joins.
# This is useful for scenarios where the real Minecraft account takes precedence over the cracked one.
# Note that enabling this would allow real Minecraft account players to bully cracked players by
# taking the cracked player's name and block them from joining the server, while the online player is connected.
# Default: false
onlineModeKickExistingPlayers: false
# Enabled extra debug logging (only for debugging purposes).
debug: false
# This allows you to customize how player information such as IPs and UUIDs are forwarded to your server.
Expand Down
2 changes: 1 addition & 1 deletion pkg/edition/java/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ type Config struct { // TODO use https://github.com/projectdiscovery/yamldoc-go
Bind string // The address to listen for connections.

OnlineMode bool
OnlineModeKickExistingPlayers bool
OnlineModeKickExistingPlayers bool // Kicks existing players when a premium player with the same name joins.

Forwarding Forwarding
Status Status
Expand Down

0 comments on commit f5459be

Please sign in to comment.