Add system property to change plugins folder

This commit is contained in:
Phoenix616 2020-08-10 17:19:51 +01:00
parent 15b514130e
commit 2b4d91c6c2
No known key found for this signature in database
GPG Key ID: 40E2321E71738EB0

View File

@ -152,7 +152,7 @@ public class BungeeCord extends ProxyServer
private ConfigurationAdapter configurationAdapter = new YamlConfig();
private final Collection<String> pluginChannels = new HashSet<>();
@Getter
private final File pluginsFolder = new File( "plugins" );
private final File pluginsFolder = new File( System.getProperty( "net.md_5.bungee.plugins", "plugins" ) );
@Getter
private final BungeeScheduler scheduler = new BungeeScheduler();
@Getter