SkinRestorer basic set-up
This commit is contained in:
parent
e933175b3d
commit
11f47f684e
@ -6,7 +6,8 @@
|
|||||||
- [x] Tailscale
|
- [x] Tailscale
|
||||||
- [x] Integrate ReWhitelist plugin
|
- [x] Integrate ReWhitelist plugin
|
||||||
- [x] Auto set up logo intagret to script
|
- [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
|
- [ ] Checks for what is done
|
||||||
|
|
||||||
## To learn
|
## To learn
|
||||||
|
|||||||
BIN
data/SkinsRestorer.jar
Normal file
BIN
data/SkinsRestorer.jar
Normal file
Binary file not shown.
10
script.sh
10
script.sh
@ -169,13 +169,21 @@ fi
|
|||||||
printf "Do you want to run it with whitelist plugin? [Y/n]: \n"
|
printf "Do you want to run it with whitelist plugin? [Y/n]: \n"
|
||||||
read ansWhite
|
read ansWhite
|
||||||
|
|
||||||
if [[ "$ansForge" =~ ("Y"|"y") || -z $ansForge ]]; then
|
if [[ "$ansWhite" =~ ("Y"|"y") || -z $ansWhite ]]; then
|
||||||
printf "+ adding reqired plugin \n"
|
printf "+ adding reqired plugin \n"
|
||||||
mv data/ReWhitelist*.jar /opt/velocity/plugins
|
mv data/ReWhitelist*.jar /opt/velocity/plugins
|
||||||
mkdir /opt/velocity/whitelists
|
mkdir /opt/velocity/whitelists
|
||||||
mv data/whitelists/* /opt/velocity/whitelists/
|
mv data/whitelists/* /opt/velocity/whitelists/
|
||||||
fi
|
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
|
### Start service
|
||||||
|
|
||||||
printf "Do you want to start velocity proxy right now? [Y/n]: \n"
|
printf "Do you want to start velocity proxy right now? [Y/n]: \n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user