LeakingCode | LC On Top!
Open in 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
Show more1 757
Subscribers
No data24 hours
No data7 days
+1730 days
Posts Archive
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
