serverinfrastructuur:proxy

Dit is een oude revisie van het document!


Velocity Proxy

De Velocity Proxy is het centrale toegangspunt van het Tulpencraft-netwerk.

Alle spelers die verbinding maken met Tulpencraft komen binnen via de Velocity-proxy. De proxy stuurt spelers door naar de centrale Lobby.

De achterliggende Minecraft-servers zijn niet zelfstandig vanaf het internet bereikbaar.


EigenschapWaarde
Hostnamemc-proxy001
SoftwareVelocity
RolCentrale netwerkproxy
Publiek adrestulpencraft.nl
Minecraft-poort25565
Eerste backendlobby
BesturingssysteemLinux
Installatiedirectory/srv/minecraft/velocity/

Tulpencraft gebruikt een centrale netwerkarchitectuur.

De verbinding van een speler verloopt altijd via de proxy en vervolgens naar de Lobby:

                     Minecraft-client
                            โ”‚
                            โ”‚ tulpencraft.nl:25565
                            โ–ผ
                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚   Velocity Proxy   โ”‚
                  โ”‚     mc-proxy001    โ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                            โ”‚
                            โ–ผ
                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚       Lobby        โ”‚
                  โ”‚     mc-lobby001    โ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                 โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                 โ”‚          โ”‚          โ”‚
                 โ–ผ          โ–ผ          โ–ผ
              Survival    Events    SkyBlock

De Velocity-proxy maakt voor spelers uitsluitend de Lobby tot eerste backend.

De spelservers bevinden zich achter de Lobby.

De gewenste verkeersstroom is:

Speler
  โ†“
Velocity
  โ†“
Lobby
  โ†“
Spelserver

Niet:

Speler
  โ”œโ”€โ”€โ†’ Survival
  โ”œโ”€โ”€โ†’ Events
  โ””โ”€โ”€โ†’ SkyBlock

De achterliggende servers zijn dus geen zelfstandige publieke Minecraft-servers.


๐Ÿ”€ Velocity

Velocity verzorgt de centrale netwerklaag van Tulpencraft.

De proxy handelt onder andere af:

  • inkomende Minecraft-verbindingen;
  • doorsturen naar de Lobby;
  • netwerkcommando's;
  • serverroutering;
  • versiecompatibiliteit;
  • proxyplugins;
  • centrale netwerkfunctionaliteit.

De hoofdconfiguratie staat in:

/srv/minecraft/velocity/velocity.toml

๐Ÿ”Œ Geรฏnstalleerde plugins

De huidige pluginset op mc-proxy001 bestaat uit:

PluginVersieRol
VLobby2.1.1Lobbycommando's en routering
ViaVersion5.11.0Minecraft-versiecompatibiliteit
ViaBackwards5.11.0Ondersteuning oudere Minecraft-clients
MCKotlinVelocity1.5.1-k2.4.0Kotlin-runtime voor Velocity
Simple Voice Chat2.6.18Voice-chat proxy
bStatsโ€”Anonieme plugin-statistieken
De pluginbestanden bevinden zich in:
/srv/minecraft/velocity/plugins/

De huidige directorystructuur is:

/srv/minecraft/velocity/plugins/
โ”œโ”€โ”€ bStats/
โ”œโ”€โ”€ MCKotlinVelocity-1.5.1-k2.4.0.jar
โ”œโ”€โ”€ viabackwards/
โ”œโ”€โ”€ ViaBackwards-5.11.0.jar
โ”œโ”€โ”€ viaversion/
โ”œโ”€โ”€ ViaVersion-5.11.0.jar
โ”œโ”€โ”€ vlobby/
โ””โ”€โ”€ VLobby-2.1.1.jar

De mappen bevatten de configuratie en plugin-data van de betreffende plugins.


๐Ÿšช VLobby

VLobby verzorgt de lobbycommando's op de Velocity-proxy.

De huidige pluginversie is:

VLobby 2.1.1

Configuratie:

/srv/minecraft/velocity/plugins/vlobby/configuration.conf

De configuratie gebruikt momenteel de handler:

command-handler="COMMAND_TO_SERVER"

De beschikbare routeringscommando's zijn onder andere:

/survival
/events
/lobby
/hub

De configuratie koppelt deze commando's aan de betreffende servers.

Voorbeeld:

survival=survival
events=events
lobby=lobby
hub=lobby

VLobby gebruikt momenteel een cooldown van 5 seconden voor de geconfigureerde commando's.

De Nederlandse melding hiervoor is:

Je kunt dit commando niet zo snel opnieuw gebruiken. Wacht <time> seconden.

๐ŸŒ ViaVersion

ViaVersion verzorgt de Minecraft-versiecompatibiliteit op de proxy.

Versie:

5.11.0

Pluginbestand:

/srv/minecraft/velocity/plugins/ViaVersion-5.11.0.jar

Configuratie:

/srv/minecraft/velocity/plugins/viaversion/

ViaVersion maakt het mogelijk om verschillende ondersteunde Minecraft-clientversies met het netwerk te laten communiceren.


โ†ฉ๏ธ ViaBackwards

ViaBackwards werkt samen met ViaVersion.

Versie:

5.11.0

Pluginbestand:

/srv/minecraft/velocity/plugins/ViaBackwards-5.11.0.jar

Configuratie:

/srv/minecraft/velocity/plugins/viabackwards/

ViaBackwards breidt ViaVersion uit met ondersteuning voor oudere Minecraft-clientversies.

De combinatie is:

ViaVersion
     +
ViaBackwards
     โ†“
Versiecompatibiliteit

๐Ÿงฉ MCKotlinVelocity

MCKotlinVelocity levert Kotlin-runtimefunctionaliteit voor Velocity-plugins die hiervan afhankelijk zijn.

Versie:

1.5.1-k2.4.0

Pluginbestand:

/srv/minecraft/velocity/plugins/MCKotlinVelocity-1.5.1-k2.4.0.jar

MCKotlinVelocity is geen gameplayplugin. Het is een technische runtime/dependency voor plugins die Kotlin gebruiken.


๐ŸŽ™๏ธ Simple Voice Chat

Simple Voice Chat verzorgt de proximity voice chat binnen het Tulpencraft-netwerk.

Op de Velocity-proxy draait de proxycomponent van Simple Voice Chat. Deze ontvangt het UDP-verkeer van spelers en verzorgt de verbinding met de achterliggende Minecraft-servers die voice chat ondersteunen.

Simple Voice Chat
Velocity
2.6.18

๐Ÿ“Š bStats

bStats wordt gebruikt voor anonieme plugin-statistieken.

De gegevens worden door individuele plugins gebruikt om algemene gebruiksstatistieken te verzamelen.

De bStats-data bevindt zich onder:

/srv/minecraft/velocity/plugins/bStats/

๐Ÿ“ Directorystructuur

De volledige Velocity-installatie bevindt zich onder:

/srv/minecraft/velocity/

Belangrijke onderdelen:

/srv/minecraft/velocity/
โ”œโ”€โ”€ velocity.toml
โ”œโ”€โ”€ plugins/
โ”œโ”€โ”€ lang/
โ”œโ”€โ”€ logs/
โ””โ”€โ”€ ...
/srv/minecraft/velocity/velocity.toml
/srv/minecraft/velocity/plugins/
/srv/minecraft/velocity/lang/
/srv/minecraft/velocity/logs/

๐ŸŒ Taal en berichten

Velocity bevat verschillende taalbestanden:

/srv/minecraft/velocity/lang/

Daaronder bevindt zich onder andere:

messages_nl_NL.properties

Dit bestand bevat de Nederlandse vertalingen van Velocity-meldingen.

Voorbeeld:

velocity.error.connecting-server-error=Kan je niet verbinden met <arg:0>. Probeer het later opnieuw.

De standaard messages.properties bevat de Engelse fallback-teksten.

Bij wijzigingen aan Velocity-teksten moet rekening worden gehouden met de taal die door de Minecraft-client wordt gebruikt.


๐Ÿ› ๏ธ Beheer

Velocity wordt als systemd-service uitgevoerd.

sudo systemctl status velocity
sudo systemctl start velocity
sudo systemctl stop velocity
sudo systemctl restart velocity

๐Ÿ“œ Logs

De Velocity-logs kunnen via journalctl worden bekeken.

sudo journalctl -u velocity -f
sudo journalctl -u velocity --since "10 minutes ago" --no-pager
sudo journalctl -u velocity --since "10 minutes ago" --no-pager | \
grep -Ei 'error|exception|warn'
sudo journalctl -u velocity --since "10 minutes ago" --no-pager | \
grep -Ei 'vlobby|error|exception'

๐Ÿ”ง Pluginconfiguratie wijzigen

Pluginconfiguraties worden opgeslagen binnen:

/srv/minecraft/velocity/plugins/

Na wijzigingen moet een plugin worden herladen of, indien noodzakelijk, moet Velocity worden herstart.

Voor wijzigingen aan kritieke proxyconfiguratie wordt een volledige restart aanbevolen:

sudo systemctl restart velocity

Daarna controleren:

sudo journalctl -u velocity --since "1 minute ago" --no-pager

๐Ÿ”’ Netwerkbeveiliging

De Velocity-proxy is het enige publieke Minecraft-toegangspunt.

De gewenste netwerkstructuur is:

                       INTERNET
                           โ”‚
                           โ”‚ :25565
                           โ–ผ
                  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                  โ”‚     Velocity    โ”‚
                  โ”‚   mc-proxy001   โ”‚
                  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                           โ”‚
                           โ–ผ
                         Lobby
                           โ”‚
                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                โ–ผ          โ–ผ          โ–ผ
             Survival    Events    SkyBlock

De backendservers mogen niet rechtstreeks vanaf het internet bereikbaar zijn.


๐Ÿšฆ Serverroutering

De proxy gebruikt de Lobby als centrale ingang.

Minecraft-client
       โ†“
tulpencraft.nl
       โ†“
Velocity
       โ†“
Lobby
Speler
  โ†“
Lobby
  โ†“
Survival
Speler
  โ†“
Lobby
  โ†“
Events
Speler
  โ†“
Lobby
  โ†“
SkyBlock

๐Ÿšจ Troubleshooting

Controleer:

sudo systemctl status velocity

Controleer vervolgens de logs:

sudo journalctl -u velocity --since "10 minutes ago" --no-pager

Controleer eerst Velocity:

sudo systemctl status velocity

Controleer daarna de Lobby:

sudo systemctl status minecraft-lobby

Controleer vervolgens de proxylogs:

sudo journalctl -u velocity --since "5 minutes ago" --no-pager | \
grep -Ei 'lobby|error|exception'

Controleer of Survival actief is:

sudo systemctl status minecraft-survival

Controleer vervolgens de proxy:

sudo journalctl -u velocity --since "5 minutes ago" --no-pager | \
grep -Ei 'survival|vlobby|error|exception'

Controleer daarna de Lobby-server zelf.


๐Ÿ“‹ Huidige configuratiestatus

OnderdeelStatus
Velocity๐ŸŸข Actief
Lobby als eerste backend๐ŸŸข In gebruik
VLobby๐ŸŸข 2.1.1
ViaVersion๐ŸŸข 5.11.0
ViaBackwards๐ŸŸข 5.11.0
MCKotlinVelocity๐ŸŸข 1.5.1-k2.4.0
bStats๐ŸŸข Aanwezig
Publieke backendservers๐Ÿ”’ Niet bereikbaar
Wiki-documentatie๐ŸŸก In ontwikkeling

๐Ÿ“š Gerelateerde pagina's


Laatste update: augustus 2026

De Velocity-proxy is de centrale toegangspoort van Tulpencraft. Wijzigingen aan de proxyconfiguratie, netwerkarchitectuur of geรฏnstalleerde plugins moeten in deze documentatie worden bijgewerkt.

  • serverinfrastructuur/proxy.1787635088.txt.gz
  • Laatst gewijzigd: 2026/08/25 07:18
  • door rroethof