I want to wonder how to change config.yml from this: Code: player-1: one Into this: Code: player-1: one player-2: two
Once you get your config like mentioned in the thread I linked, use: PHP: $config->set("player-2", "two"); $config->save(); I'd suggest using integers rather than strings, and you'll have to define the data you want in it yourself, but that snippet sets and saves data to a file.