ReWhitelist plugin + icon

This commit is contained in:
godot 2024-07-29 21:42:17 +02:00
parent e97c662640
commit 75c8311f72
3 changed files with 33 additions and 6 deletions

View File

@ -9,20 +9,31 @@
## To DO! ## To DO!
- [x] Firewall shinanigns - [x] Firewall shinanigns
- [x] Proxmox admin acces in firewall - [x] Proxmox admin acces in firewall
- [ ] Clean up Prox - [x] Clean up Prox
- [x] Auto add plugins - [x] Auto add plugins
- [x] SystemD service - [x] SystemD service
- [x] Config of velocity.toml - [x] Config of velocity.toml
- [x] IP - [x] IP
- [x] Tailscale - [x] Tailscale
- [x] Comments of what is doing what - [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 ## To learn
- [x] What content of start.sh means - [x] What content of start.sh means
- [ ] Requred resources - [x] Requred resources
- [ ] Different types of forwarding - [ ] Different types of forwarding
- [ ] SkinRestorer??? - [ ] SkinRestorer???
- [ ] DinMap - [ ] DinMap
- [*] In their docs they have pages - [x] In their docs they have pages
- [ ] Plan-Player-Analytics X Plan-Player-Analytics - [ ] 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)

BIN
data/server-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 714 B

View File

@ -71,12 +71,11 @@ mkdir /opt/velocity
mv data/velocity*.jar start.sh /opt/velocity/ mv data/velocity*.jar start.sh /opt/velocity/
mkdir /opt/velocity/plugins mkdir /opt/velocity/plugins
mv data/Ambassador*.jar /opt/velocity/plugins
mv data/velocity.toml /opt/velocity/ mv data/velocity.toml /opt/velocity/
mv data/forwarding.secret /opt/velocity/ mv data/forwarding.secret /opt/velocity/
mv data/start.sh /opt/velocity/ mv data/start.sh /opt/velocity/
mv data/server-icon.png /opt/velocity/
### Permisions ### Permisions
@ -159,6 +158,23 @@ if [[ "$ansTail" =~ ("y"|"Y") || -z $ansTail ]]; then
fi 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 ### Start service