diff --git a/README.md b/README.md index 9231fb1..1f52951 100644 --- a/README.md +++ b/README.md @@ -9,20 +9,31 @@ ## To DO! - [x] Firewall shinanigns - [x] Proxmox admin acces in firewall - - [ ] Clean up Prox + - [x] Clean up Prox - [x] Auto add plugins - [x] SystemD service - [x] Config of velocity.toml - [x] IP - [x] Tailscale - [x] Comments of what is doing what -- [ ] Integrate ReWhitelist plugin +- [x] Integrate ReWhitelist plugin +- [x] Auto set up logo intagret to script +- [ ] Back up script ## To learn - [x] What content of start.sh means -- [ ] Requred resources +- [x] Requred resources - [ ] Different types of forwarding - [ ] SkinRestorer??? - [ ] DinMap -- [*] In their docs they have pages +- [x] In their docs they have pages - [ ] Plan-Player-Analytics X Plan-Player-Analytics + +## Used plugins +- [Proxy Compatible Forge](https://github.com/adde0109/Proxy-Compatible-Forge) (On server for Velocity) + +- [Ambassador](https://github.com/adde0109/Ambassador) (on Proxy for Forge support) +- [ReWhitelist](https://hangar.papermc.io/ReModded/ReWhitelist) (on Proxy for whitelisting) + + + diff --git a/data/server-icon.png b/data/server-icon.png new file mode 100644 index 0000000..c00f0bc Binary files /dev/null and b/data/server-icon.png differ diff --git a/script.sh b/script.sh index f26a5a9..2bb3c8b 100755 --- a/script.sh +++ b/script.sh @@ -71,12 +71,11 @@ mkdir /opt/velocity mv data/velocity*.jar start.sh /opt/velocity/ mkdir /opt/velocity/plugins -mv data/Ambassador*.jar /opt/velocity/plugins mv data/velocity.toml /opt/velocity/ mv data/forwarding.secret /opt/velocity/ mv data/start.sh /opt/velocity/ - +mv data/server-icon.png /opt/velocity/ ### Permisions @@ -159,6 +158,23 @@ if [[ "$ansTail" =~ ("y"|"Y") || -z $ansTail ]]; then fi +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" + mv data/Ambassador*.jar /opt/velocity/plugins +fi + +printf "Do you want to run it with whitelist plugin? [Y/n]: \n" +read ansWhite + +if [[ "$ansForge" =~ ("Y"|"y") || -z $ansForge ]]; then + printf "+ adding reqired plugin \n" + mv data/ReWhitelist*.jar /opt/velocity/plugins + mkdir /opt/velocity/whitelists + mv data/whitelists/* /opt/velocity/whitelists/ +fi ### Start service