ME1312 / SubServers-2

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

Feature Request: Expanded Placeholders #69

Closed morgan2233 closed 2 years ago

morgan2233 commented 2 years ago

What Should Be Added

I would like to see the ability to use sub server template placeholder (such as the exciting "SubServers::name") in other template files, primarily Plugin config files

Why It Should be Added

I believe this should be added as with the increased number of bungee compatible plugins requiring the name of the server to be entered into the plugin config (for example LuckPerms), it would be ideal, easier and simpler for everyone who wishes to have ready-made server templates if the name was automatically set instead of after having made a new server from a template, having to stop it, manually open FTP or cli nano/vi and edit followed by starting again.

What's The Alternative

The only alternative to mind is doing it by hand which is time consuming, repetitive and if you have multiple plugins can be confusing to remember which need their name changed and which don't.

ME1312 commented 2 years ago

This feature exists, but with the exception of /server.properties you are required to specify which files need replacements. See the Replace build option and its accompanying file selection format.