modern forwarding
This commit is contained in:
parent
eb6eb2cdf1
commit
af89fdb699
@ -18,7 +18,11 @@ To switch user use:
|
||||
- [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] Do I need it? what is modern forwarding??? yes I need
|
||||
- [x] config/pcf-common.toml Forwarding secrets
|
||||
- [x] Update server.properties (whitelist, online-mode=false, name, ...)
|
||||
- [ ] TerraLith to world gen
|
||||
- [x] config/pcf-* file with forwarding secret
|
||||
- [ ] SkinRestorer
|
||||
|
||||
|
||||
|
||||
5
data/pcf-common.toml
Normal file
5
data/pcf-common.toml
Normal file
@ -0,0 +1,5 @@
|
||||
#Modern Forwarding Settings
|
||||
[modernForwarding]
|
||||
forwardingSecret = "CLN4RKWSxUUm"
|
||||
|
||||
|
||||
13
script.sh
13
script.sh
@ -102,7 +102,12 @@ 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
|
||||
|
||||
|
||||
sleep 2
|
||||
@ -160,7 +165,15 @@ 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
|
||||
|
||||
|
||||
|
||||
|
||||
### Permisions ###
|
||||
printf "\n+ Permision handeling\n"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user