Hey Guys, I Need ur help! I´ve made a LobbySystem for my Server and I have made something where you can buy Special Items in the Lobby for Coins, it works all fine, but it don´t take the Coins in the Config. Here´s the Code: $pcfg = new Config("/home/Datenbank/Players/".strtolower($event->getPlayer()->getName()).".yml", Config::YAML); $coins = $pcfg->get("Coins"); $coinsnew = $coins - 25000; $pcfg->set("Coins", $coinsnew);