Closed ajh123 closed 2 years ago
Variable names prefixed with SubServers::
are searched for within the specified files. See if this correction fixes the problem.
Also, for this type of use-case, you might want to consider using the dynamic variable SubServers::name
instead of constant server names.
That worked! The SubServers::name
wouldn't work well for me because I may have multiple A severs under different names. Maybe have a SubServers::template
which would match the name of the template?
That one also exists, actually.
Currently I want to replace a plugin's config variable that is loaded from a master template, like this.
In A and B's template I have
In the LuckPerm's config.yml I have tried
Also I have tried to change the A and B's replacements to
but it still seems like the server value is not being updated when I run
/sub update aServer A
and yes, the A templateAlso I tried to delete the generated SubServer's LuckPerm config but the same problem persists.