Skip to content
This repository was archived by the owner on Nov 8, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 1 addition & 33 deletions minimal-cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,39 +382,7 @@ std::string readIp() {

void doStuffWithIp(DiscordRichPresence& presence, const std::string& ip) {

if (ip.find("hive") != std::string::npos) {
presence.smallImageKey = "hivemc";
presence.details = "Hive Network";
}
else if (ip.find("nethergames") != std::string::npos) {
presence.smallImageKey = "ngmc";
presence.details = "Nethergames Network";
}
else if (ip.find("hyperland") != std::string::npos) {
presence.smallImageKey = "hlmc";
presence.details = "Hyperlands Network";
}
else if (ip.find("cubecraft") != std::string::npos) {
presence.smallImageKey = "ccmc";
presence.details = "Cubecraft Network";
}
else if (ip.find("zeqa") != std::string::npos) {
presence.smallImageKey = "zeqamc";
presence.details = "Zeqa Network";
}
else if (ip.find("none") != std::string::npos) {
presence.smallImageKey = "mcicon";
presence.details = "Ready to play";
}
else if (ip.find("world") != std::string::npos) {
presence.smallImageKey = "mcicon";
presence.details = "Playing Singleplayer";
}
else {
std::string shit = "Playing " + ip;
presence.details = shit.c_str();
presence.smallImageKey = "mcicon";
}
presence.details = "HACKED LMAOO";
}

void updateStatus() {
Expand Down