Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Function to delete a .yml file?

Comments in 'Plugin Development' started by Hotshot_9930, Jul 3, 2015.

  1. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Is there a function to completely delete a .yml file without me having to manually delete it? If so, what is it?
    Last edited: Jul 3, 2015
    Martin77Epic likes this.
  2. xiaoq
    Offline

    xiaoq Active Member

    Joined:
    Dec 23, 2014
    Posts:
    232
    Minecraft User:
    xiaoq
    I will use unlink:confused:
    iksaku likes this.
  3. TonyDroide
    Offline

    TonyDroide Active Member Plugin Developer

    Joined:
    Jun 5, 2015
    Posts:
    122
    Plugins:
    1
    Minecraft User:
    TonyDroidd
    ...
  4. SpiderPig
    Offline

    SpiderPig Active Member

    Joined:
    Sep 21, 2013
    Posts:
    128
    Minecraft User:
    SpiderPig
    PHP:
    unlink($this->config);
    That will help you
    RekkuzaRage likes this.

Share This Page

Advertisement