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

Solved Run PHP code when the server finishes to start

Discussion in 'Development' started by TheNewHEROBRINE, Jun 27, 2017.

  1. TheNewHEROBRINE

    TheNewHEROBRINE Spider

    Messages:
    8
    GitHub:
    thenewherobrinex
    Is there a way to run code when the server has finished to start and has loaded all plugins and all commands?
     
  2. MCMarsBoyee

    MCMarsBoyee Spider Jockey

    Messages:
    30
    GitHub:
    mcmarsboyee
    Like a plugin or a separate application?
     
  3. TheNewHEROBRINE

    TheNewHEROBRINE Spider

    Messages:
    8
    GitHub:
    thenewherobrinex
    I mean in a plugin
     
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    You can use a Task, the server won't start executing Tasks until it's finished starting.
     
  5. TheNewHEROBRINE

    TheNewHEROBRINE Spider

    Messages:
    8
    GitHub:
    thenewherobrinex
  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.