Help w plugin

Discussion in 'Spigot Plugin Development' started by Known, May 23, 2017.

  1. I am using a settings manager class, and wondering how i can access the config from every class.
  2. You have to get an instance from the main class to the class you want.
    • Agree Agree x 1
  3. I always pass reference to the Main class through the constructors
    of all classes and then leave the object I need reference to in the
    main, but a singleton works too.