Main Server plugin doesn't work

Discussion in 'Plugin Development' started by JLDev, Nov 14, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    JLDev

  2. Offline

    timtower Administrator Administrator Moderator

    @JLDev Commands class:
    Code:
    public Main plugin = new Main();
    Remove that.
     
  3. Offline

    JLDev

    I can't, without public Main plugin = new Main(); I can't refer to my config
     
  4. Offline

    timtower Administrator Administrator Moderator

    You can't?
    Code:
    public Commands(Main main){
                    this.main = main;
            }
     
  5. Offline

    mcdorli

    Instances
     
  6. Offline

    JLDev

    Haha, right, soo sorry, thank you so much! :)
    Also, the /stafflist doesn't work properly, I don't show up at all, I want it to be on another line

    The BlockBreak doesn't work at all either

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 14, 2015
Thread Status:
Not open for further replies.

Share This Page