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.
๐ Basisinformatie
| Eigenschap | Waarde |
|---|---|
| Hostname | mc-proxy001 |
| Software | Velocity |
| Rol | Centrale netwerkproxy |
| Publiek adres | tulpencraft.nl |
| Minecraft-poort | 25565 |
| Eerste backend | lobby |
| Besturingssysteem | Linux |
| Installatiedirectory | /srv/minecraft/velocity/ |
๐๏ธ Architectuur
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
Belangrijk ontwerpprincipe
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:
| Plugin | Versie | Rol |
|---|---|---|
| VLobby | 2.1.1 | Lobbycommando's en routering |
| ViaVersion | 5.11.0 | Minecraft-versiecompatibiliteit |
| ViaBackwards | 5.11.0 | Ondersteuning oudere Minecraft-clients |
| MCKotlinVelocity | 1.5.1-k2.4.0 | Kotlin-runtime voor Velocity |
| Simple Voice Chat | 2.6.18 | Voice-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
Cooldown
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.
Huidige status
Simple Voice Chat Velocity 2.6.18
Pluginbestand:
/srv/minecraft/velocity/plugins/voicechat-velocity.jar
Configuratie:
/srv/minecraft/velocity/plugins/voicechat/voicechat-proxy.properties
Netwerk
De Velocity voice-chat proxy luistert momenteel op:
UDP 25565
Dit gebruikt hetzelfde poortnummer als Minecraft, maar een ander netwerkprotocol:
TCP 25565 โ Minecraft / Velocity UDP 25565 โ Simple Voice Chat
De publieke voice-host is:
server.tulpencraft.nl:25565
De netwerkroute is:
Minecraft client โ โโโ TCP 25565 โ โ โ Velocity โ โโโ UDP 25565 โ Simple Voice Chat โ Velocity proxy โ backend voice chat
Firewall
Op mc-proxy001 moet UDP 25565 beschikbaar zijn voor Simple Voice Chat.
De bestaande Minecraft TCP-poort 25565 blijft daarnaast afzonderlijk actief.
Backend
De Survival-server gebruikt zijn eigen Simple Voice Chat backend-plugin:
voicechat-bukkit-2.6.21.jar
De backend wordt via Velocity gekoppeld aan de proxy.
Survival
Op mc-survival001 draait:
Simple Voice Chat 2.6.21 Platform: Paper
Pluginbestand:
/srv/minecraft/survival/plugins/voicechat.jar
De backend gebruikt intern UDP 24454.
De externe spelersverbinding loopt echter via de Velocity-proxy.
Belangrijk
Simple Voice Chat vereist client-side ondersteuning bij spelers.
De huidige voice-chatarchitectuur is:
Velocity โโโ Simple Voice Chat 2.6.18 โโโ UDP 25565
Survival โโโ Simple Voice Chat 2.6.21 โโโ UDP 24454 intern
De publieke voice-host is:
server.tulpencraft.nl:25565
๐ 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/ โโโ ...
Configuratie
/srv/minecraft/velocity/velocity.toml
Plugins
/srv/minecraft/velocity/plugins/
Taalbestanden
/srv/minecraft/velocity/lang/
Logs
/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.
Status bekijken
sudo systemctl status velocity
Proxy starten
sudo systemctl start velocity
Proxy stoppen
sudo systemctl stop velocity
Proxy herstarten
sudo systemctl restart velocity
๐ Logs
De Velocity-logs kunnen via journalctl worden bekeken.
Live logs
sudo journalctl -u velocity -f
Recente logs
sudo journalctl -u velocity --since "10 minutes ago" --no-pager
Fouten zoeken
sudo journalctl -u velocity --since "10 minutes ago" --no-pager | \ grep -Ei 'error|exception|warn'
VLobby controleren
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.
Verbinding bij het inloggen
Minecraft-client
โ
tulpencraft.nl
โ
Velocity
โ
Lobby
Naar Survival
Speler โ Lobby โ Survival
Naar Events
Speler โ Lobby โ Events
Naar toekomstige SkyBlock
Speler โ Lobby โ SkyBlock
๐จ Troubleshooting
Speler kan niet verbinden met Tulpencraft
Controleer:
sudo systemctl status velocity
Controleer vervolgens de logs:
sudo journalctl -u velocity --since "10 minutes ago" --no-pager
Speler komt niet in de Lobby
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'
Speler kan niet naar Survival
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
| Onderdeel | Status |
|---|---|
| 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.