playit.gg: init
This commit is contained in:
parent
0ae65af2a3
commit
09c5f8e6a8
6 changed files with 119 additions and 11 deletions
|
|
@ -11,11 +11,6 @@
|
|||
mode = "440";
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 10000 ];
|
||||
allowedUDPPorts = [ 19132 ]; # for geyser
|
||||
};
|
||||
|
||||
users = {
|
||||
users.velocity = {
|
||||
group = "velocity";
|
||||
|
|
@ -27,7 +22,7 @@
|
|||
environment.etc."velocity/velocity.toml".source = pkgs.writers.writeTOML "velocity.toml" {
|
||||
config-version = "2.7";
|
||||
|
||||
bind = "0.0.0.0:10000";
|
||||
bind = "127.0.0.1:10000";
|
||||
|
||||
motd = "if you see this the server is not working";
|
||||
show-max-players = 2147483647;
|
||||
|
|
@ -60,8 +55,9 @@
|
|||
};
|
||||
|
||||
forced-hosts = {
|
||||
"dj2.mc.wo2wz.fyi" = [ "divine-journey-2" ];
|
||||
"countries.mc.wo2wz.fyi" = [ "countries" ];
|
||||
"entire-identity.gl.at.ply.gg" = [ "divine-journey-2" ];
|
||||
"sample-moments.gl.at.ply.gg" = [ "countries" ];
|
||||
"paris-character.gl.at.ply.gg" = [ "countries" ];
|
||||
};
|
||||
|
||||
advanced = {
|
||||
|
|
@ -71,7 +67,7 @@
|
|||
connection-timeout = 5000;
|
||||
read-timeout = 30000;
|
||||
|
||||
haproxy-protocol = false;
|
||||
haproxy-protocol = true;
|
||||
tcp-fast-open = true;
|
||||
|
||||
bungee-plugin-message-channel = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue