Compare commits
2 Commits
eb6eb2cdf1
...
1e9b900716
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e9b900716 | |||
| af89fdb699 |
23
README.md
23
README.md
@ -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
5
data/pcf-common.toml
Normal file
@ -0,0 +1,5 @@
|
||||
#Modern Forwarding Settings
|
||||
[modernForwarding]
|
||||
forwardingSecret = "CLN4RKWSxUUm"
|
||||
|
||||
|
||||
BIN
data/skinrestorer-forge-2.0.2+1.20.jar
Normal file
BIN
data/skinrestorer-forge-2.0.2+1.20.jar
Normal file
Binary file not shown.
17
script.sh
17
script.sh
@ -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 ###
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user