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 |
| 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.
๐ 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:
- id="d7r3mh"
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
- id="p4h8zq"
Minecraft-client โ tulpencraft.nl โ Velocity โ Lobby
Naar Survival
- id="r8m2kc"
Speler โ Lobby โ Survival
Naar Events
- id="v3q7nx"
Speler โ Lobby โ Events
Naar toekomstige SkyBlock
- id="m9c5hd"
Speler โ Lobby โ SkyBlock
๐จ Troubleshooting
Speler kan niet verbinden met Tulpencraft
Controleer:
- id="b5q1sv"
sudo systemctl status velocity
Controleer vervolgens de logs:
- id="t8m4pz"
sudo journalctl -u velocity --since "10 minutes ago" --no-pager
Speler komt niet in de Lobby
Controleer eerst Velocity:
- id="k7n2fx"
sudo systemctl status velocity
Controleer daarna de Lobby:
- id="v4c8rm"
sudo systemctl status minecraft-lobby
Controleer vervolgens de proxylogs:
- id="z6p3qw"
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:
- id="q9m5kx"
sudo systemctl status minecraft-survival
Controleer vervolgens de proxy:
- id="f2r7vc"
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.