diff --git a/README.md b/README.md index e69de29..1f17773 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,22 @@ +## The Plan +- [x] walkthruw +- [ ] prototype +- [ ] clean it +- [ ] script it +- [x] addons for Forge + +## To DO! +- [ ] Firewall shinanigns +- [ ] Auto add plugins +- [ ] Config of velocity.toml + - [ ] IP || Tailscale DNS + zapis +- [ ] plugins/ambassador/Ambassador.toml config + + +## To learn +- [ ] What content of start.sh means +- [ ] Different types of forwarding +- [ ] SkinRestorer??? +- [ ] DinMap +- [ ] Requred resources +- [ ] In their docs they have Tuning and Configuration pages diff --git a/script.sh b/script.sh index e69de29..0738107 100755 --- a/script.sh +++ b/script.sh @@ -0,0 +1,29 @@ +apt install openjdk-17-jre-headless + + +sudo apt install openjdk-17-jre-headless + +wget https://api.papermc.io/v2/projects/velocity/versions/3.3.0-SNAPSHOT/builds/411/downloads/velocity-3.3.0-SNAPSHOT-411.jar + +mkdir /opt/velocity + + + +echo "#!/bin/sh + +java -Xms1G -Xmx1G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar velocity*.jar" > start.sh +# I have no F ideal what it means + + +sudo chown -R godot:godot /opt/velocity/ + +chmod +x start.sh + +### Nestopne se samo, mozna lepsi vytvorit strukturu za nej vlozit config a spustit az pres systemD +./start.sh +end + + +velocity.toml = config serveru na pripojeni + +