mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-23 21:22:54 +08:00
71 lines
3.4 KiB
YAML
71 lines
3.4 KiB
YAML
|
# Waterdog Main Configuration file
|
||
|
# Configure your desired network settings here.
|
||
|
|
||
|
# A list of all downstream servers that are available right after starting
|
||
|
# address field is formatted using ip:port
|
||
|
# publicAddress is optional and can be set to the ip players can directly connect through
|
||
|
servers:
|
||
|
lobby1:
|
||
|
address: 127.0.0.1:19133
|
||
|
public_address: play.myserver.com:19133
|
||
|
listener:
|
||
|
# The Motd which will be displayed in the server tab of a player and returned during ping
|
||
|
motd: §bWaterdog§3PE
|
||
|
# The server priority list. If not changed by plugins, the proxy will connect the player to the first of those servers
|
||
|
priorities:
|
||
|
- lobby1
|
||
|
# The address to bind the server to
|
||
|
host: 0.0.0.0:19132
|
||
|
# The maximum amount of players that can connect to this proxy instance
|
||
|
max_players: 20
|
||
|
# Map the ip a player joined through to a specific server
|
||
|
# for example skywars.xyz.com => SkyWars-1
|
||
|
# when a player connects using skywars-xyz.com as the serverIp, he will be connected to SkyWars-1 directly
|
||
|
forced_hosts: {}
|
||
|
# Case-Sensitive permission list for players (empty using {})
|
||
|
permissions:
|
||
|
TobiasDev:
|
||
|
- waterdog.player.transfer
|
||
|
- waterdog.player.list
|
||
|
alemiz003:
|
||
|
- waterdog.player.transfer
|
||
|
- waterdog.player.list
|
||
|
# List of permissions each player should get by default (empty using [])
|
||
|
permissions_default:
|
||
|
- waterdog.command.help
|
||
|
- waterdog.command.info
|
||
|
# Whether the debug output in the console should be enabled or not
|
||
|
enable_debug: false
|
||
|
# If enabled, encrypted connection between client and proxy will be created
|
||
|
upstream_encryption: true
|
||
|
# If enabled, only players which are authenticated with XBOX Live can join. If disabled, anyone can connect *with any name*
|
||
|
online_mode: true
|
||
|
# If enabled, the proxy will be able to bind to an Ipv6 Address
|
||
|
enable_ipv6: false
|
||
|
# If enabled, the proxy will pass information like XUID or IP to the downstream server using custom fields in the LoginPacket
|
||
|
use_login_extras: true
|
||
|
# Replaces username spaces with underscores if enabled
|
||
|
replace_username_spaces: false
|
||
|
# Whether server query should be enabled
|
||
|
enable_query: true
|
||
|
# If enabled, when receiving a McpeTransferPacket, the proxy will check if the target server is in the downstream list, and if yes, use the fast transfer mechanism
|
||
|
prefer_fast_transfer: true
|
||
|
# Fast-codec only decodes the packets required by the proxy, everything else will be passed rawly. Disabling this can create a performance hit
|
||
|
use_fast_codec: true
|
||
|
# If enabled, the proxy will inject all the proxy commands in the AvailableCommandsPacket, enabling autocompletion
|
||
|
inject_proxy_commands: true
|
||
|
# Upstream server compression ratio(proxy to client), higher = less bandwidth, more cpu, lower vice versa
|
||
|
upstream_compression_level: 6
|
||
|
# Upstream server compression ratio(proxy to downstream server), higher = less bandwidth, more cpu, lower vice versa
|
||
|
downstream_compression_level: 2
|
||
|
# Education features require small adjustments to work correctly. Enable this option if any of downstream servers support education features.
|
||
|
enable_edu_features: false
|
||
|
# Enable/Disable the resource pack system
|
||
|
enable_packs: true
|
||
|
# Whether texture packs should be enforced
|
||
|
force_apply_packs: false
|
||
|
# You can set maximum pack size in MB to be cached.
|
||
|
pack_cache_size: 16
|
||
|
# Creating threads may be in some situations expensive. Specify minimum count of idle threads per internal thread executors. Set to -1 to auto-detect by core count.
|
||
|
default_idle_threads: -1
|