SkinRestorer basic set-up

This commit is contained in:
godot 2024-08-07 22:22:43 +02:00
parent e933175b3d
commit 11f47f684e
3 changed files with 11 additions and 2 deletions

View File

@ -6,7 +6,8 @@
- [x] Tailscale
- [x] Integrate ReWhitelist plugin
- [x] Auto set up logo intagret to script
- [ ] SkinRestorer auto setup
- [x] SkinRestorer auto setup
- [ ] Better system for plugin install checks
- [ ] Checks for what is done
## To learn

BIN
data/SkinsRestorer.jar Normal file

Binary file not shown.

View File

@ -169,13 +169,21 @@ fi
printf "Do you want to run it with whitelist plugin? [Y/n]: \n"
read ansWhite
if [[ "$ansForge" =~ ("Y"|"y") || -z $ansForge ]]; then
if [[ "$ansWhite" =~ ("Y"|"y") || -z $ansWhite ]]; then
printf "+ adding reqired plugin \n"
mv data/ReWhitelist*.jar /opt/velocity/plugins
mkdir /opt/velocity/whitelists
mv data/whitelists/* /opt/velocity/whitelists/
fi
printf "Do you want to run it with SkinRestorer? [Y/n]: \n"
read ansSkin
if [[ "$ansSkin" =~ ("Y"|"y") || -z $ansSkin ]]; then
printf "+ adding reqired plugin \n"
mv data/SkinsRestorer.jar /opt/velocity/plugins
fi
### Start service
printf "Do you want to start velocity proxy right now? [Y/n]: \n"