Velocity icon indicating copy to clipboard operation
Velocity copied to clipboard

Feature request: Add update folder mechanism similar to what Bukkit servers do

Open dlee13 opened this issue 3 years ago • 2 comments

Before loading any plugins, check if an update folder has any Velocity plugins and replace plugin candidates with plugin ids that match the update files.

On my public server, we schedule proxy restarts to happen at 4 AM when players are less likely to be online. Since hot swapping plugins is not recommended, this would be the next best thing since it would allow me to drop the plugin updates in and forget about it.

dlee13 avatar Aug 01 '22 02:08 dlee13

Imo this is out of scope; you can add the copying logic to your (re)start script. I'm on a phone, but adding mv -f plugin_updates/* plugins/ before the java command should do the job.

The downside is that plugin file names for different versions must be equal, which is usually not the case. You can still manually rename the files though.

hugmanrique avatar Aug 01 '22 02:08 hugmanrique

Imo this is out of scope; you can add the copying logic to your (re)start script. I'm on a phone, but adding mv -f plugin_updates/* plugins/ before the java command should do the job.

The downside is that plugin file names for different versions must be equal, which is usually not the case. You can still manually rename the files though.

You unfortunately cannot do this on shared hosts

kyngs avatar Oct 24 '23 06:10 kyngs