LeakingCode | LC On Top!
Открыть в Telegram
On this channel we leak data. The data that was leaked included various types of data ranging from general data to prohibited data and other similar things Channel Created By @Lintar21
Больше1 757
Подписчики
Нет данных24 часа
Нет данных7 дней
+1730 дней
Архив постов
else if (actual_command.substr(0, 11) == "/setserver ") {
string server_name = cmd.substr(11, cmd.length() - 11).c_str(); //untuk dapatin userinput dari cmd /setserver
std::ifstream ifs("db/config.json"); //untuk dapatin path file config klean
json j = json::parse(ifs);
j["server_name"] = server_name; //ganti ke nama servernya
ifs.close();
std::ofstream ofs("db/config.json"); // pathnya
ofs << std::setw(4) << j << std::endl; //penulisan
ofs.close(); //kode by catflix gtps
}
cmd set server ygy
else if (actual_command == "/closeMD") {
String world = pInfo(peer)->world; //mendapatkan world player
gamepacket_t p;
p.Insert("OnConsoleMessage);
p.Insert("Main door telah di tutup, player tidak bisa masuk/keluar dari world ini")
p.CreatePaclet(peer);
exit (0); \\ untuk menutup exit door dengan angka 0
}
nemu di vps orang
