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
