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

How to save an array to a config?

Comments in 'Plugin Development' started by RekkuzaRage, Aug 1, 2015.

  1. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    252
    Minecraft User:
    RekkuzaRage
    How do I save an array to a config? I am trying to save multiple homes with each being its own array, but I am not sure how to do it.
  2. Lambo
    Offline

    Lambo Notable Member Plugin Developer

    Joined:
    Sep 14, 2013
    Posts:
    435
    Plugins:
    4
    Minecraft User:
    Lambo
    PHP:
    $config->set("key""value/array")
    PEMapModder and Kvetinac97 like this.

Share This Page

Advertisement