#Help getting YAML keys outside of main class
1 messages · Page 1 of 1 (latest)
Use DI or Singleton to get your Plugin instance
DI is Dependency Injection
Guide to dependency injection: https://www.spigotmc.org/wiki/using-dependency-injection/
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
and what really is DI
Passing your plugin instance through constructors