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

Would this work?

Comments in 'Plugin Development' started by Legomite, Apr 22, 2014.

  1. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    $this->config["Profile"] = array($dat);

    Let's say the $dat would say "hi".

    Would the code write the $dat in the config on the subject of Profile?
    PHP:
    $this->config = new Config($this->api->plugin->configPath($this) ."config.yml"CONFIG_YAML,array(
          
    "Profile" => array()
        ));
    If not, would someone tell me how?
    Result:
    Config
    Profile:Hi
  2. PluginMastered
    Offline

    PluginMastered Active Member

    Joined:
    Mar 1, 2014
    Posts:
    161
    Minecraft User:
    Flexa33
    IDK LoL Still Working On PlotMe Generator I wish we would change to java :( still I'm learning a little bit of pup I got the gen to work but instead of grass it randamizes

Share This Page

Advertisement