Compare commits

...

2 Commits

Author SHA1 Message Date
1e9b900716 SkinResolver + cleanUp 2024-08-07 23:13:07 +02:00
af89fdb699 modern forwarding 2024-08-07 23:02:34 +02:00
4 changed files with 35 additions and 10 deletions

View File

@ -3,22 +3,25 @@ To switch user use:
# To DO
- [x] Basic commands
- [x] Permisionss of files in this git
- [x] server.properties + run.sh + eula.txt
- [x] iptable commands
- [x] my own .service file
- [x] modification of run.sh
- [x] screen usege
- [x] SSH keys
- [x] Full test under VM
- [x] Can it run under LXC container???
# To be nice
- [x] do not hardcode soma variables
- [x] do not hardcode variables
- [x] BASH script
- [x] manual set up of min/max RAM
- [x] auto add proxy mod (ProxyMod)[https://cdn.modrinth.com/data/vDyrHl8l/versions/K43ePlgq/proxy-compatible-forge-1.20-1.1.4.jar]
- [ ] Do I need it? what is modern forwarding??? yes I need
- [x] set up of min/max RAM
- [x] auto add proxy mod [Proxy-compatible-forge](https://cdn.modrinth.com/data/vDyrHl8l/versions/K43ePlgq/proxy-compatible-forge-1.20-1.1.4.jar)
- [x] config/pcf-common.toml Forwarding secrets
- [x] Update server.properties (whitelist, online-mode=false, name, ...)
- [x] ModernForwarding
- [x] SkinRestorer
- [ ] Better way to select bonus mods
- [ ] Do not stack mods in this repo
- [ ] Better handeling farwarding secrets
- [ ] TerraLith to world gen

5
data/pcf-common.toml Normal file
View File

@ -0,0 +1,5 @@
#Modern Forwarding Settings
[modernForwarding]
forwardingSecret = "CLN4RKWSxUUm"

Binary file not shown.

View File

@ -102,7 +102,14 @@ fi
printf "Are you planing to use Velocity proxy to acces this server? [Y/n]: \n"
read ansVeloProxy
if [[ "$ansVeloProxy" =~ ("y"|"Y") || -z $ansVeloProxy ]]; then
printf "Do you wish to set up moder forwarding? [Y/n]: \n"
read ansModernFarward
fi
printf "Do you want to set up SkinRestorer [Y/n]: \n"
read ansSkinRestorer
sleep 2
@ -160,6 +167,16 @@ cd ..
# adds mode to help comunicate with VeloProxy
if [[ "$ansVeloProxy" =~ ["y"|"Y"] || -z $ansVeloProxy ]]; then
mv data/proxy-compatible-forge*.jar /opt/minecraft/mods/
if [[ "$ansModernFarward" =~ ["y"|"Y"] || -z $ansModernFarward ]]; then
mkdir /opt/minecraft/config
mv data/pcf-common.toml /opt/minecraft/config/
fi
fi
# adds aditional mods
if [[ "$ansSkinRestorer" =~ ["y"|"Y"] || -z $ansSkinRestorer ]]; then
mv data/skinrestorer-forge*.jar /opt/minecraft/mods/
fi
### Permisions ###