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
