Code: //don't add value to key $cfg->set("Count", $cfg->get("Count") +1); $cfg->save(); $player->sendMessage($cfg->get("Count")); //add value to Count $player->sendMessage($cfg->get("Count")); $cfg->set("Count", $cfg->get("Count") +1); $cfg->save(); When i set in config value and get the value, value don't update.