基本Minecraft集群

This commit is contained in:
2026-02-22 20:14:29 +08:00
parent d1a90c953b
commit 69d2ffac99
570 changed files with 1143225 additions and 415 deletions

View File

@@ -0,0 +1,2 @@
# No config yet
there-is-no-config-yet: true

View File

@@ -0,0 +1,65 @@
# If you need help, you can join our Discord - https://viaversion.com/discord
#
# Always shows a mapped mob's original name, and not only when hovering over it with the cursor.
always-show-original-mob-name: true
#
# Writes name and level of custom enchantments into the item's lore.
# Set this to false if you see the entries doubled/if the custom-enchant plugin already writes these into the lore manually.
add-custom-enchants-into-lore: true
#
# Adds the color of a scoreboard team after its prefix for 1.12 clients on 1.13+ servers.
add-teamcolor-to-prefix: true
#
# Converts the 1.13 face look-at packet for 1.12- players. Requires a bit of extra caching.
fix-1_13-face-player: 5
#
# Fixes 1.13 clients and lower not seeing color or formatting in inventory titles by converting them to legacy text.
# If you have issues with translatable text being displayed wrongly, disable this.
fix-formatted-inventory-titles: true
#
# Sends inventory acknowledgement packets to act as a replacement for ping packets for sub 1.17 clients.
# This only takes effect for ids in the short range. Useful for anticheat compatibility.
handle-pings-as-inv-acknowledgements: true
#
# Adds bedrock blocks at y=0 for sub 1.17 clients. This may allow for weird interactions due to sending fake blocks.
bedrock-at-y-0: false
#
# Shows sculk shriekers as crying obsidian for 1.18.2 clients on 1.19+ servers. This fixes collision and block breaking issues.
# If disabled, the client will see them as end portal frames.
sculk-shriekers-to-crying-obsidian: true
#
# Shows scaffolding as water for 1.13.2 clients on 1.14+ servers. This fixes collision issues.
# If disabled, the client will see them as hay blocks.
scaffolding-to-water: false
#
# Maps the darkness effect to blindness for 1.18.2 clients on 1.19+ servers.
map-darkness-effect: true
#
# If enabled, 1.21.3 clients will receive the first float of 1.21.4+ custom model data as int. Disable if you handle this change yourself.
map-custom-model-data: true
#
# If enabled, 1.19.3 clients will receive display entities as armor stands with custom entity data on 1.19.4+ servers. Note that
# this does not support all features display entities offer.
map-display-entities: true
#
# Suppresses warnings of missing emulations for certain features that are not supported (e.g. world height in 1.17+).
suppress-emulation-warnings: false
#
# If enabled, dialogs will be shown via chest inventories for 1.21.5 clients on 1.21.6+ servers.
dialogs-via-chests: true
#
# Dialog styling. You can also use translation keys here.
dialog-style:
page-navigation-title: '&9&lPage navigation'
page-navigation-next: '&9Left click: &6Go to next page'
page-navigation-previous: '&9Right click: &6Go to previous page'
toggle-value: '&9Left click: &6Toggle value'
increase-value: '&9Left click: &6Increase value by %s'
decrease-value: '&9Right click: &6Decrease value by %s'
value-range: '&7(Value between &a%s &7and &a%s&7)'
current-value: '&7Current value: &a%s'
edit-value: '&9Left click: &6Edit text'
next-option: '&9Left click: &6Go to next option'
previous-option: '&9Right click: &6Go to previous option'
set-text: '&9Left click/close: &6Set text'
close: '&9Left click: &6Close'

View File

@@ -0,0 +1,18 @@
# If true, enables experimental features. These features are almost certainly not fully stable/tested and may cause unexpected issues
enable-experimental-features: false
# Controls blob caching (Reduces network usage and loading time), Valid options: "disabled", "memory", "disk"
blob-cache: disk
# If enabled, starts the resource pack HTTP server and enables resource pack translation
translate-resource-packs: true
# Resource pack HTTP server address
resource-pack-host: 127.0.0.1
# Resource pack HTTP server port (0 = random available port)
resource-pack-port: 0
# Resource pack URL which the clients will use to download the resource pack (empty = auto)
resource-pack-url: ''
# Controls resource pack caching (Reduces network usage and loading time), Valid options: "disabled", "memory", "disk"
pack-cache: disk
# If true, translates bedrock's showCoordinates game rule to java's reduced debug info flag
translate-show-coordinates-game-rule: false
# If true, disables the internal server blacklist. This will allow you to connect to any server, even if it's known to ban ViaBedrock clients
disable-server-blacklist: false

View File

@@ -0,0 +1,33 @@
#
# Calculate 1.7.10 OnGround field dynamically. Requires a bit of extra caching
dynamic-onground: true
#
# Ignores serverbound plugin channel messages of 1.8+ clients with channel names longer than 16 characters
# CraftBukkit had this limit hardcoded until 1.8
ignore-long-1_8-channel-names: true
#
# Load <= 1.7.2 player skull skins
legacy-skull-loading: false
#
# Load <= 1.6.4 skins. (Adds max 500ms delay to player spawn packets)
legacy-skin-loading: false
#
# Emulate sounds for <= 1.2.5
sound-emulation: true
#
# Calculate <= 1.1 biomes. Requires a lot of extra calculations
old-biomes: true
#
# Enables sprinting for versions below beta 1.8. !THIS CAN CAUSE ISSUES WITH ANTI-CHEAT PLUGINS!
enable-b1_7_3-sprinting: false
#
# The MOTD to use for <= beta 1.7.3 servers. Supports newlines. Doesn't support color codes.
b1_7_3-motd: |
The server seems to be running!
Wait 5 seconds between each connection
#
# Classic chunk loading range
classic-chunk-range: 10
#
# Enable fly on regular (non CPE) classic servers
enable-classic-fly: false

View File

@@ -0,0 +1,44 @@
# If you need help, you can join our Discord - https://viaversion.com/discord
#
# Specifies how 1.8.x clients should see the cooldown indicator
# You can choose between TITLE, ACTION_BAR, BOSS_BAR and DISABLED
# ONLY DISABLE IF YOU HAVE 1.9 COOLDOWN DISABLED ON YOUR SERVER
# 1.8 PLAYERS MAY ASK WHY PVP IS NOT WORKING OTHERWISE.
# REQUIRES A SERVER RESTART TO TAKE EFFECT
cooldown-indicator: TITLE
#
# Replaces Adventure mode with Survival mode for 1.7.x clients
# Enable this option if your server is using the 'CanDestroy'
# or 'CanPlaceOn' flags on items
replace-adventure: true
#
# Whether similar ones should replace 1.9 particles in
# 1.8 and lower
replace-particles: true
#
# Max number of pages for written books before a client gets kicked
max-book-pages: 100
#
# Max number of characters in the json (!) string of a book page before a client gets kicked
max-book-page-length: 5000
#
# Whether to emulate the 1.8+ world border for 1.7.x clients
emulate-world-border: true
#
# Always shows a mapped mob's original name, and not only when hovering over it with the cursor.
always-show-original-mob-name: true
#
# The particle to show the world border for the 1.8+ world border for 1.7.x clients
world-border-particle: fireworksSpark
#
# If enabled, 1.8 players on 1.9+ servers can use /offhand to switch items between their main hand and offhand.
enable-offhand: true
#
# Allows defining the offhand command
offhand-command: /offhand
#
# If enabled, 1.8 players on 1.9+ servers will also experience the levitation effect by sending velocity packets.
emulate-levitation-effect: true
#
# If enabled, 1.8 players will handle the player combat packet added in 1.9 by showing the custom death message above the hotbar.
handle-player-combat-packet: true

View File

@@ -0,0 +1,198 @@
# Thanks for downloading ViaVersion
# Ensure you look through all these options
# If you need help:
# Discord - https://viaversion.com/discord
# Docs - https://docs.viaversion.com
#
#----------------------------------------------------------#
# GLOBAL OPTIONS #
#----------------------------------------------------------#
#
# Should ViaVersion check for updates?
# Send the supported versions with the Status (Ping) response packet
send-supported-versions: false
# Easier to configure alternative to 'block-protocols'. Uses readable version strings with possible '<' and '>' prefixes.
# An example to block 1.16.4, everything below 1.16, as well as everything above 1.17.1 would be: ["<1.16", "1.16.4", ">1.17.1"]
# You can use both this and the block-protocols option at the same time as well.
block-versions: []
# Block specific Minecraft protocol version numbers.
# List of all Minecraft protocol versions: https://minecraft.wiki/w/Protocol_version, or use a generator: https://via.krusic22.com
block-protocols: []
# Change the blocked disconnect message
block-disconnect-msg: You are using an unsupported Minecraft version!
# If you use ProtocolLib, we can't reload without kicking the players.
# (We don't suggest using reload either, use a plugin manager)
# You can customize the message we kick people with if you use ProtocolLib here.
reload-disconnect-msg: Server reload, please rejoin!
# Settings for logging behavior. When debugging issues, we may ask you to change some of these.
# Most of these are disabled by default to prevent log spam from bad user input.
logging:
# Whether to log more info about kicks due to blocked protocol versions to the console.
log-blocked-joins: false
# Whether to log errors during entity data conversion.
log-entity-data-errors: true
# Whether to log errors during text component conversion.
log-text-component-conversion-errors: true
# Whether to warn for other issues when converting items, blocks, or other data between server and client.
log-other-conversion-warnings: true
# Maximum length of error messages in the console.
max-error-length: 1500
#
# Used for auto updating config files. Do not touch.
config-version: 1
init-config-version: 1
# Whether to update config values that were left on their default to newly changed defaults. Recommended to keep enabled.
migrate-default-config-changes: true
#
#----------------------------------------------------------#
# GLOBAL PACKET LIMITER #
#----------------------------------------------------------#
# Packets Per Second (PPS) and kilobyte packet size limiters.
# Setting 'max-per-second' or 'sustained-max-per-second' to -1 will disable the individual limit.
# Kick messages may include the %pps or %bps placeholders respectively, though they are more intended for debugging purposes.
#
# Limits the amount of packets sent per second.
# Clients by default send around 20-90 packets per second.
packet-limiter:
enabled: true
# The maximum packets a client can send per second.
max-per-second: 1400
max-per-second-kick-message: You are sending too many packets!
#
# We can also kick them if they repeatedly send too many packets over a longer period of time.
# E.g. if a player sends over 200 packets per second for 4 out of 7 seconds, we kick them.
# The maximum packets per second a client can send over a longer period of time.
sustained-max-per-second: 400
# Period to track in seconds.
sustained-period-seconds: 7
# The number of seconds within the interval that the client can exceed the limit before being kicked.
sustained-threshold: 4
sustained-kick-message: You are sending too many packets, :(
# Limits the size of packets in kilobytes sent per second.
packet-size-limiter:
enabled: false
max-per-second: -1
max-per-second-kick-message: You are sending too large packets!
sustained-max-per-second: -1
sustained-period-seconds: 5
sustained-threshold: 3
sustained-kick-message: You are sending too large packets, :(
#
#----------------------------------------------------------#
# MULTIPLE VERSIONS OPTIONS #
#----------------------------------------------------------#
#
# Should we enable our hologram patch?
# If they're in the wrong place, enable this
hologram-patch: false
# This is the offset, should work as default when enabled.
hologram-y: -0.96
# Should we disable piston animation for 1.11/1.11.1 clients?
# In some cases, when firing lots of pistons, it crashes them.
piston-animation-patch: false
# Should we use prefix for team color on 1.13 and above clients?
team-colour-fix: true
# 1.13 introduced new auto complete which can trigger "Kicked for spamming" for servers older than 1.13, the following option will disable it completely.
disable-1_13-auto-complete: false
# The following option will delay the tab complete request in x ticks if greater than 0, if other tab-complete is received, the previous is cancelled
1_13-tab-complete-delay: 5
# For 1.13 clients the smallest (1 layer) snow doesn't have collisions, this will send these as 2 snowlayers for 1.13+ clients to prevent them bugging through them
fix-low-snow-collision: false
# Infested blocks are instantly breakable for 1.13+ clients, resulting in them being unable to break them on sub 1.13 servers. This remaps them to their normal stone variants
fix-infested-block-breaking: true
# In 1.14 the client page limit has been upped to 100 (from 50). Some anti-exploit plugins ban when clients go higher than 50. This option cuts edited books to 50 pages.
truncate-1_14-books: false
# Fixes 1.14+ clients on sub 1.14 servers having a light value of 0 for non-full blocks.
fix-non-full-blocklight: true
# Fixes walk animation not shown when health is set to Float.NaN
fix-1_14-health-nan: true
# Should 1.15+ clients respawn instantly / without showing a death screen?
use-1_15-instant-respawn: false
#
# Enable serverside block-connections for 1.13+ clients - all the options in this section are built around this option
serverside-blockconnections: true
# When activated, only the most important blocks are stored in the blockstorage. (fences, glass panes etc. won't connect to solid blocks)
reduce-blockstorage-memory: false
# When activated with serverside-blockconnections, flower parts with blocks above will be sent as stems
# Useful for lobbyservers where users can't build and those stems are used decoratively
flowerstem-when-block-above: false
# Vines that are not connected to blocks will be mapped to air, else 1.13+ would still be able to climb up on them.
vine-climb-fix: false
#
# Ignores incoming plugin channel messages of 1.16+ clients with channel names longer than 32 characters.
# CraftBukkit had this limit hardcoded until 1.16, so we have to assume any server/proxy might have this arbitrary check present.
ignore-long-1_16-channel-names: true
#
# Force 1.17+ client to accept the server resource pack; they will automatically disconnect if they decline.
forced-use-1_17-resource-pack: false
# The message to be displayed at the prompt when the 1.17+ client receives the server resource pack.
resource-pack-1_17-prompt: ''
#
# Caches light until chunks are unloaded to allow later chunk update packets as opposed to instantly uncaching when the first chunk data is sent.
# Only disable this if you know what you are doing.
cache-1_17-light: true
#
# Get the world names which should be returned for each vanilla dimension
map-1_16-world-names:
overworld: minecraft:overworld
nether: minecraft:the_nether
end: minecraft:the_end
#
# If disabled, tamed cats will be displayed as ocelots to 1.14+ clients on 1.13 servers. Otherwise, ocelots (tamed and untamed) will be displayed as cats.
translate-ocelot-to-cat: false
#
# Determines the value sent to 1.19+ clients on join if currently not accessible by ViaVersion.
# It is not recommended to fake this value if your server is running 1.19 or later, as 1.20.5 have stricter chat handling and may get kicked otherwise.
enforce-secure-chat: false
#
# Handles items with invalid count values (higher than max stack size) on 1.20.3 servers.
handle-invalid-item-count: true
#
# Hides scoreboard numbers for 1.20.3+ clients on older server versions.
hide-scoreboard-numbers: false
#
# Fixes 1.21+ clients on 1.20.5 servers placing water/lava buckets at the wrong location when moving fast, NOTE: This may cause issues with anti-cheat plugins.
fix-1_21-placement-rotation: true
#
# If enabled, cancel swing packets sent while having an inventory opened on 1.15.2 and below servers. This can cause false positives with anti-cheat plugins.
cancel-swing-in-inventory: true
#
#----------------------------------------------------------#
# 1.9+ CLIENTS ON 1.8 SERVERS OPTIONS #
#----------------------------------------------------------#
#
# No collide options, these allow you to configure how collision works.
# Do you want us to prevent collision?
prevent-collision: true
# If the above is true, should we automatically team players until you do?
auto-team: true
# When enabled, 1.9+ will be able to block by using shields
shield-blocking: true
# If this setting is active, the main hand is used instead of the off-hand to trigger the blocking of the player.
# With the main hand, the blocking starts way faster.
# (Requires "show-shield-when-sword-in-hand" to be disabled)
no-delay-shield-blocking: true
# If this setting is active, the shield will appear immediately for 1.9+ when you hold a sword in your main hand.
# The shield disappears when you switch to another item.
# (Requires "shield-blocking" to be enabled)
show-shield-when-sword-in-hand: false
# Enable player tick simulation, this fixes eating, drinking, nether portals.
simulate-pt: true
# Should we patch boss bars so they work? (Default: true, disable if you're having issues)
bossbar-patch: true
# If your boss bar flickers on 1.9+, set this to 'true'. It will keep all boss bars on 100% (not recommended)
bossbar-anti-flicker: false
# This will show the new effect indicator in the top-right corner for 1.9+ players.
use-new-effect-indicator: true
# Should we replace extended pistons to fix 1.10.1 (Only on chunk loading)?
replace-pistons: false
# What id should we replace with, default is air. (careful of players getting stuck standing on them)
replacement-piston-id: 0
# Fix 1.9+ clients not rendering the far away chunks and improve chunk rendering when moving fast (Increases network usage and decreases client fps slightly)
chunk-border-fix: false
# Allows 1.9+ left-handedness (main hand) on 1.8 servers
left-handed-handling: true
# Tries to cancel block break/place sounds sent by 1.8 servers to 1.9+ clients to prevent them from playing twice
cancel-block-sounds: true
# If enabled, 1.21.11+ clients on 1.8 servers will get wider entity hitboxes when attacking with items
use-1_8-hitbox-margin: true

Binary file not shown.

View File

@@ -0,0 +1 @@
{"accountsV4":[],"ui":{"proxy":"","legacy_skin_loading":"false","notice.ban_warning":"true","server_address":"127.0.0.1:25566","bind_address":"0.0.0.0:25568"}}

View File

@@ -0,0 +1,111 @@
# ViaProxy configuration file
# The address ViaProxy should listen for connections.
# This option is not reloadable.
bind-address: 0.0.0.0:25568
# The address of the server ViaProxy should connect to.
target-address: 127.0.0.1:25566
# The version ViaProxy should translate to. (See ViaProxy GUI for a list of versions)
target-version: Auto Detect (1.7+ servers)
# The connect timeout for backend server connections in milliseconds.
connect-timeout: 8000
# Proxy Online Mode allows you to see skins on online mode servers and use the signed chat features.
# Enabling Proxy Online Mode requires your client to have a valid minecraft account.
proxy-online-mode: false
# The authentication method to use for joining the target server.
# none: No authentication (Offline mode)
# account: Use an account for joining the target server. (Has to be configured in ViaProxy GUI)
auth-method: NONE
# The GUI account list index (0 indexed) of the account if the auth method is set to account.
minecraft-account-index: 0
# Use BetaCraft authentication for classic servers.
# Enabling BetaCraft Auth allows you to join classic servers which have online mode enabled.
betacraft-auth: false
# URL of a SOCKS(4/5)/HTTP(S) proxy which will be used for backend server connections. Leave empty to connect directly.
# Supported formats:
# - type://address:port
# - type://username:password@address:port
backend-proxy-url: ''
# Send HAProxy protocol messages to the target server.
backend-haproxy: false
# Read HAProxy protocol messages from client connections.
frontend-haproxy: false
# Enables sending signed chat messages on >= 1.19 servers.
chat-signing: true
# The threshold for packet compression. Packets larger than this size will be compressed. (-1 to disable)
compression-threshold: 256
# Enabling this will allow you to ping <= b1.7.3 servers. This may cause issues with servers that block too frequent connections.
allow-beta-pinging: false
# Enabling this will prevent getting disconnected from the server when a packet translation error occurs and instead only print the error in the console.
# This may cause issues depending on the type of packet which failed to translate.
ignore-protocol-translation-errors: false
# Enabling this will suppress client protocol errors to prevent lag when ViaProxy is getting spammed with invalid packets.
# This may cause issues with debugging client connection issues because no error messages will be printed.
suppress-client-protocol-errors: false
# Allow <= 1.6.4 clients to connect through ViaProxy to the target server. (No protocol translation or packet handling)
allow-legacy-client-passthrough: false
# Allow additional information like player ip, player uuid to be passed through to the backend server.
# This is typically used by proxies like BungeeCord and requires support from the backend server as well.
bungeecord-player-info-passthrough: false
# Enabling this will rewrite the address in the handshake packet to a value the vanilla client would have sent when connecting directly to the target server.
# This should be left enabled unless you are a server owner and you need the original address on the backend server.
rewrite-handshake-packet: true
# Enabling this will rewrite transfer packets to point back to ViaProxy. This allows ViaProxy to perform protocol translation when forwarding the player to the actual server from the transfer packet.
# This should be left enabled unless you are a server owner and the servers you are transferring to perform their own protocol translation.
rewrite-transfer-packets: true
# Custom MOTD to send when clients ping the proxy. Leave empty to use the target server's MOTD.
custom-motd: ''
# Relative file path to a custom favicon to send when clients ping the proxy. Leave empty to use the target server's favicon.
custom-favicon-path: ''
# URL of a resource pack which clients can optionally download when connecting to the server. Leave empty to disable.
# Example: http://example.com/resourcepack.zip
resource-pack-url: ''
# Allows clients to specify a target server and version using wildcard domains.
# none: No wildcard domain handling.
# public: Public wildcard domain handling. Intended for usage by external clients. (Example: address_port_version.viaproxy.127.0.0.1.nip.io)
# internal: Internal wildcard domain handling. Intended for local usage by custom clients. (Example: original-handshake-address\7address:port\7version\7classic-mppass)
wildcard-domain-handling: NONE
# Enables handling and rewriting of Simple Voice Chat mod packets.
simple-voice-chat-support: false
# Accepts resource packs from the server without showing a prompt to the client.
# This is required for servers that require a resource pack, but the client can't load it due to version differences.
fake-accept-resource-packs: false
# Fixes potential join issues on <= 1.20.1 quilt/fabric servers.
# It's recommended to only enable this if you are experiencing issues with the config state packet queue (See above issue).
skip-config-state-packet-queue: false
# If enabled, ViaProxy will send a connection details custom payload packet to the server.
# This includes the actual client version as well as the ViaProxy version.
send-connection-details: false
# Disable this if you want to hide IP addresses in the console and log files.
log-ips: true
# Enable this if you want to see client status requests in the console and log files.
log-client-status-requests: false