Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Realm of the Mad God Hacks & Cheats › Realm of the Mad God Private Servers › Realm of the Mad God Private Servers Tutorials/Source Code › FSOD /realm /vault /petyard /dq /nexus /ghall commands

FSOD /realm /vault /petyard /dq /nexus /ghall commands

Posts 1–6 of 6 · Page 1 of 1
FL
FlashFlyyy
FSOD /realm /vault /petyard /dq /nexus /ghall commands
Hey all! Thought I should contribute a bit more to say thanks to the community for helping me out!

To add these commands, simply navigate to 'WordCommand.cs' and paste them in

1. /realm command
Code:
    internal class RealmCommand : Command
    {
        public RealmCommand()
            : base("realm")
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            World world = player.Client.Manager.Monitor.GetRandomRealm();

            player.Client.Reconnect(new ReconnectPacket
            {
                Host = "",
                Port = Program.Settings.GetValue<int>("port"),
                GameId = world.Id,
                Name = world.Name,
                Key = world.PortalKey,
            });
            return true;
        }
    }
2. /ghall command
Code:
    internal class GHallCommand : Command
    {
        public GHallCommand()
            : base("ghall")
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            try
            {
                World world = player.Guild.GuildHall;
                player.Client.Reconnect(new ReconnectPacket
                {
                    Host = "",
                    Port = Program.Settings.GetValue<int>("port"),
                    GameId = world.Id,
                    Name = world.Name,
                    Key = world.PortalKey,
                });
                return true;
            }
            catch
            {
                player.SendError("You are not a member of a guild!");
                return false;
            }
        }
    }
3. /petyard command
Code:
    internal class PetYardCommand : Command
    {
        public PetYardCommand()
            : base("petyard")
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            World world = player.Client.Manager.AddWorld(new PetYard(player));
            player.Client.Reconnect(new ReconnectPacket
            {
                Host = "",
                Port = Program.Settings.GetValue<int>("port"),
                GameId = world.Id,
                Name = world.Name,
                Key = world.PortalKey,
            });
            return true;
        }
    }
4. /vault command
Code:
    internal class VaultCommand : Command
    {
        public VaultCommand()
            : base("vault")
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
                    player.Client.Reconnect(new ReconnectPacket
                    {
                        Host = "",
                        Port = Program.Settings.GetValue<int>("port"),
                        GameId = player.Manager.PlayerVault(player.Client).Id,
                        Name = player.Manager.PlayerVault(player.Client).Name,
                        Key = player.Manager.PlayerVault(player.Client).PortalKey,
                    });
                    return true;
        }
    }
A little buggy if you use it within vault

5. /dq command
Code:
    internal class DailyQuest : Command
    {
        public DailyQuest()
            : base("dq")
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            player.Client.Reconnect(new ReconnectPacket
            {
                Host = "",
                Port = Program.Settings.GetValue<int>("port"),
                GameId = World.DAILY_QUEST_ID,
                Key = Empty<byte>.Array,
            });
            return true;
        }
    }
6. /nexus command
Code:
    internal class NexusCommand : Command
    {
        public NexusCommand()
            : base("nexus")
        {
        }

        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            player.Client.Reconnect(new ReconnectPacket
            {
                Host = "",
                Port = Program.Settings.GetValue<int>("port"),
                GameId = World.NEXUS_ID,
                Name = "Nexus",
                Key = Empty<byte>.Array,
            });
            return true;
        }
    }
Enjoy
Any problems let me know plz! Or if you know how to perfect the /vault command plz let me know as well
#1 · 8y ago
SG
sgrawsreghawrhgwrhgr
I recommend having small checks so that these commands are not usable in given worlds (so if the player is already inside a vault, tell them that they cannot use the command because they're already inside a vault world), all in all looks good.
Example if Player is p
Code:
            if (p.Owner is Vault)
            {
                p.SendError("You're already inside your Vault...");
                return;
            }
#2 · 8y ago
FL
FlashFlyyy
Quote Originally Posted by Nobody77 View Post
I recommend having small checks so that these commands are not usable in given worlds (so if the player is already inside a vault, tell them that they cannot use the command because they're already inside a vault world), all in all looks good.
Example if Player is p
Code:
            if (p.Owner is Vault)
            {
                p.SendError("You're already inside your Vault...");
                return;
            }
Ye definitely as sometimes '/vault' may keep you on a forever loading page. But then again, the aim is to connect regardless of which world you're in. Makes testing easier as well.
But, ye can add it
#3 · 8y ago
SE
sebastianfra12
Isn't it better to create one command :thinking:, like /world {name of the world}
#4 · 8y ago
FL
FlashFlyyy
Quote Originally Posted by sebastianfra12 View Post
Isn't it better to create one command :thinking:, like /world {name of the world}
Up to the programmer
For me, I was inspired by Nilly's Realm so I tried to replicate their commands, which were the ones I created
#5 · 8y ago
GE
gewz
where in the code do i copy and paste these commands's code in? im sorta new to programming so i based it off of the other commands and tried to find the pattern (i did, but the commands don't register as real commands in game)
#6 · 6y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • [FSoD] /realm commandBy Narwallz in Realm of the Mad God Private Servers Help
    7Last post 9y ago
  • [FSoD] Realm Portals Don't Spawn In NexusBy Lunacy Gaming in Realm of the Mad God Private Servers Help
    2Last post 9y ago
  • [FSoD] Realm portals don't appearBy Lunacy Gaming in Realm of the Mad God Private Servers Help
    5Last post 9y ago
  • [AS3] How to make Realm Portals appear in Nexus!By lkdjnfoskjednfblksjdfn in Realm of the Mad God Private Servers Tutorials/Source Code
    14Last post 10y ago
  • [FSoD] Realm portals don't appear...PLEASE HELP!By Lunacy Gaming in Realm of the Mad God Private Servers Help
    5Last post 9y ago

Tags for this Thread

None