1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Am i able to add external methods?

Discussion in 'Development' started by Indexfire, Feb 25, 2017.

  1. Indexfire

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    Im trying to add a scoreboard method i made into my plugin

    Methods:

    PHP:
    createNewScoreboard()
    nameScoreboard()
    registerScoreboardValues()
    removeScoreboard()
    scoreboardAudience()
    Do i have to add it as an External API for this?

    (The scoreboard is in the sidebar if you wanted to know)
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    you have to make your own, mcpe dont even have score boards
     
  3. Indexfire

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    I know that, im making a custom sidebar scoreboard

    But how would i implement them? Via External API?
     
  4. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    tell me what you meant by external API?
     
  5. Indexfire

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    Import my own API into my plugin together with the pocketmine API
     
  6. Junkdude

    Junkdude Zombie

    Messages:
    346
    GitHub:
    JunkDaCoder
    like public function createScoreboard(){
    }
    ?
     
  7. Indexfire

    Indexfire Baby Zombie

    Messages:
    137
    GitHub:
    Indexfire
    Yeah

    public function Scoreboard {
    $this->addScoreboard()
    }
    Yeah. Im sorry for errors im on my phone
     
  8. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    i dont get it, isnt that's what coding all about?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.