30 lines
761 B
Bash
30 lines
761 B
Bash
#!/bin/bash
|
|
|
|
printf "Do you want to run Velocity with Forge server? [Y/n]: \n"
|
|
read ansForge
|
|
|
|
if [[ "$ansForge" =~ ("Y"|"y") || -z $ansForge ]]; then
|
|
printf "+ adding reqired plugin \n"
|
|
cp data/Ambassador*.jar /opt/velocity/plugins
|
|
fi
|
|
|
|
printf "Do you want to run it with whitelist plugin? [Y/n]: \n"
|
|
read ansWhite
|
|
|
|
if [[ "$ansWhite" =~ ("Y"|"y") || -z $ansWhite ]]; then
|
|
printf "+ adding reqired plugin \n"
|
|
cp data/ReWhitelist*.jar /opt/velocity/plugins
|
|
mkdir /opt/velocity/whitelists
|
|
cp 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"
|
|
cp data/SkinsRestorer.jar /opt/velocity/plugins
|
|
fi
|
|
|
|
|