ME1312 / SubServers-2

SubServers – The Minecraft Server Management Platform
Apache License 2.0
91 stars 23 forks source link

Feature Request: Template Overwrite Jar files #70

Closed morgan2233 closed 2 years ago

morgan2233 commented 2 years ago

What Should Be Added

I would like the option when executing the sub update command to have the jar files in the template to overwrite the existing jar files in the server (could be limited by last modified date as well).

Why It Should be Added

I think this should be added as if you have a group of servers, for example, a hub group and suddenly a plugin receives an update; instead of manually updating each server you could run for example update the plugin in the template folder and then run sub update :hubs [version] to update that plugin in all the servers at once.

Alternatively, there could be a new command to search a specified server or group and replace the file/plugin and make it independent from the update command.

What's The Alternative

The only current method is to do it by hand which is time-consuming when you have multiple servers (which is kinda the idea behind SubServers).

ME1312 commented 2 years ago

There is a build option called Update-Files which can do this for you. This rule applies to all (present) files though – not just jarfiles – so if something more specific is needed, let me know.