Skip to content

Commit f5459be

Browse files
committed
Document onlineModeKickExistingPlayers setting
1 parent bf48bd7 commit f5459be

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

config.yml

+6
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ config:
7171
readTimeout: 30000
7272
# Whether to reconnect the player when disconnected from a server.
7373
failoverOnUnexpectedServerDisconnect: true
74+
# Whether to kick existing connected player when an online-mode player with the same name joins.
75+
# This is useful for scenarios where the real Minecraft account takes precedence over the cracked one.
76+
# Note that enabling this would allow real Minecraft account players to bully cracked players by
77+
# taking the cracked player's name and block them from joining the server, while the online player is connected.
78+
# Default: false
79+
onlineModeKickExistingPlayers: false
7480
# Enabled extra debug logging (only for debugging purposes).
7581
debug: false
7682
# This allows you to customize how player information such as IPs and UUIDs are forwarded to your server.

pkg/edition/java/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ type Config struct { // TODO use https://github.com/projectdiscovery/yamldoc-go
7171
Bind string // The address to listen for connections.
7272

7373
OnlineMode bool
74-
OnlineModeKickExistingPlayers bool
74+
OnlineModeKickExistingPlayers bool // Kicks existing players when a premium player with the same name joins.
7575

7676
Forwarding Forwarding
7777
Status Status

0 commit comments

Comments
 (0)