Core Plugin Help

Discussion in 'Programming' started by DiscoverSquishy, Apr 30, 2017.

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

    Benefactor

    Hello! How can I code a core plugin?
     
  2. What exactly are you asking? What do you want the plugin to do?


    Sent from my iPhone using Tapatalk
     
  3. DiscoverSquishy

    Benefactor

    Its a server core that connects all children {Sub Pluigns} to work together, My plan is a core then rewards, economy etc...
     
  4. Well you first add all the plugins to your project and put loadbefore: [pluginnamea, pluginnameb, ...]. Then you do whatever you want it to do.
     
  5. Since you have access to the sub plugins this should be pretty easily doable. You'll need some routines to hook into those sub plugins from the core one, like so you can lookup a players rewards, if you're using vault for economy (recommended) then that's quite easy to hook into and use the API.

    It's also open source so if you're wondering how they get player balances and such you can view the source and poke around there for hints


    Sent from my iPhone using Tapatalk
     
  6. DiscoverSquishy

    Benefactor

    Thank You, very much for helping!
     
Thread Status:
Not open for further replies.