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 › Gold / Fame / Character Fame / Tokens/ God / Stars + Commands! [Fabiano]

LightbulbGold / Fame / Character Fame / Tokens/ God / Stars + Commands! [Fabiano]

Posts 1–15 of 16 · Page 1 of 2
Daemonmann
Daemonmann
Gold / Fame / Character Fame / Tokens/ God / Stars + Commands! [Fabiano]
Here Are Gold / Fame / Character Fame / Tokens/ God / Stars / Berserker Effect / Invunerable Effect / Stasis Immune Effect / Invisible Effect

Gold Command:

internal class SetGoldCommand : Command
{
public SetGoldCommand() : base ("gold", 1) { }
protected override bool Process(Player player, RealmTime time, string[] args)
{
if (string.IsNullOrEmpty(args[0]))
{
player.SendHelp("Usage: /gold <gold>");
return false;
}
player.Manager.Database.DoActionAsync(db =>
{
var cmd = db.CreateQuery();
cmd.CommandText = "UPDATE `stats` SET `credits`=@cre WHERE accId=@accId";
cmd.Parameters.AddWithValue("@cre", args[0]);
cmd.Parameters.AddWithValue("@accId", player.AccountId);
if (cmd.ExecuteNonQuery() == 0)
{
player.SendError("Error setting gold!");
}
else
{
player.SendInfo("Success!");
}
});
return true;
}
}

Fame Command:

internal class SetFameCommand : Command
{
public SetFameCommand() : base("fame", 1) { }
protected override bool Process(Player player, RealmTime time, string[] args)
{
if (string.IsNullOrEmpty(args[0]))
{
player.SendHelp("Usage: /fame <fame ammount>");
return false;
}
player.Manager.Database.DoActionAsync(db =>
{
var cmd = db.CreateQuery();
cmd.CommandText = "UPDATE `stats` SET `fame`=@cre WHERE accId=@accId";
cmd.Parameters.AddWithValue("@cre", args[0]);
cmd.Parameters.AddWithValue("@accId", player.AccountId);
if (cmd.ExecuteNonQuery() == 0)
{
player.SendError("Error setting fame!");
}
else
{
player.SendInfo("Success!");
}
});
return true;
}
}

Tokens Command:

internal class SetTokensCommand : Command
{
public SetTokensCommand() : base("tokens", 1) { }
protected override bool Process(Player player, RealmTime time, string[] args)
{
if (string.IsNullOrEmpty(args[0]))
{
player.SendHelp("Usage: /tokens <tokens ammount>");
return false;
}
player.Manager.Database.DoActionAsync(db =>
{
var cmd = db.CreateQuery();
cmd.CommandText = "UPDATE `stats` SET `fortunetokens`=@cre WHERE accId=@accId";
cmd.Parameters.AddWithValue("@cre", args[0]);
cmd.Parameters.AddWithValue("@accId", player.AccountId);
if (cmd.ExecuteNonQuery() == 0)
{
player.SendError("Error setting tokens!");
}
else
{
player.SendInfo("Success!");
}
});
return true;
}
}

God Command:

internal class GodCommand : Command
{
public GodCommand()
: base("god", 1)
{
}

protected override bool Process(Player player, RealmTime time, string[] args)
{
if (player.HasConditionEffect(ConditionEffectIndex.In vincible))
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Invincible,
DurationMS = 0
});
player.SendInfo("Godmode Off");
}
else
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Invincible,
DurationMS = -1
});
player.SendInfo("Godmode On");
}
return true;
}
}

Stars Command:

internal class StarsCommand : Command
{
public StarsCommand()
: base("stars", 1)
{
}

protected override bool Process(Player player, RealmTime time, string[] args)
{
try
{
if (args.Length == 0)
{
player.SendHelp("Use /stars <ammount>");
}
else if (args.Length == 1)
{
player.Client.Player.Stars = int.Parse(args[0]);
player.UpdateCount++;
player.SendInfo("Success Setting Stars!");
}
}
catch
{
player.SendError("Error!");
}
return true;
}
}

Berserker Effect:

internal class BerserkerCommand : Command
{
public BerserkerCommand()
: base("berserker", 1)
{
}

protected override bool Process(Player player, RealmTime time, string[] args)
{
if (player.HasConditionEffect(ConditionEffectIndex.Be rserk))
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Berserk,
DurationMS = 0
});
player.SendInfo("Berserk Mode Off");
}
else
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Berserk,
DurationMS = -1
});
player.SendInfo("Berserk Mode On");
}
return true;
}
}

Invunerable Effect:

internal class InvulnerableCommand : Command
{
public InvulnerableCommand()
: base("invulnerable", 1)
{
}

protected override bool Process(Player player, RealmTime time, string[] args)
{
if (player.HasConditionEffect(ConditionEffectIndex.In vulnerable))
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Invulnerable,
DurationMS = 0
});
player.SendInfo("Invulnerable Mode Off");
}
else
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Invulnerable,
DurationMS = -1
});
player.SendInfo("Invulnerable Mode On");
}
return true;
}
}

Stasis Immune Effect:

internal class StasisCommand : Command
{
public StasisCommand()
: base("stasis", 1)
{
}

protected override bool Process(Player player, RealmTime time, string[] args)
{
if (player.HasConditionEffect(ConditionEffectIndex.St asisImmune))
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.StasisImmune,
DurationMS = 0
});
player.SendInfo("Stasis Immune Mode Off");
}
else
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.StasisImmune,
DurationMS = -1
});
player.SendInfo("Stasis Immune Mode On");
}
return true;
}
}

Invisible Effect:

internal class InvisibleCommand : Command
{
public InvisibleCommand()
: base("invisible", 1)
{
}

protected override bool Process(Player player, RealmTime time, string[] args)
{
if (player.HasConditionEffect(ConditionEffectIndex.In visible))
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Invisible,
DurationMS = 0
});
player.SendInfo("Invisible Mode Off");
}
else
{
player.ApplyConditionEffect(new ConditionEffect
{
Effect = ConditionEffectIndex.Invisible,
DurationMS = -1
});
player.SendInfo("Invisible Mode On");
}
return true;
}
}

Character Fame Command:

internal class CFameCommand : Command
{
public CFameCommand()
: base("cfame", 1)
{
}

protected override bool Process(Player player, RealmTime time, string[] args)
{
if (args[0] == "")
{
player.SendHelp("Usage: /cfame <Fame Amount>");
return false;
}
try
{
int newFame = Convert.ToInt32(args[0]);
int newXP = Convert.ToInt32(newFame.ToString() + "000");
player.Fame = newFame;
player.Experience = newXP;
player.SaveToCharacter();
player.Client.Save();
player.UpdateCount++;
player.SendInfo("Updated Character Fame To: " + newFame);
}
catch
{
player.SendInfo("Error Setting Fame");
return false;
}
return true;
}
}
#1 · 10y ago
Ahlwong
[MPGH]Ahl
Just wanted to tell you that the eff command covers almost all these commands.

The stars command is only temporary.

Instead, you should do it via Class Stats in the database and set x characters to x stars depending on how many stars the player wants.
#2 · 10y ago
MrchickenWingz
MrchickenWingz
gud tut 10/10
#3 · 10y ago
ST
Stellar Spark
Quote Originally Posted by Daemonmann View Post
int newFame = Convert.ToInt32(args[0]);
int newXP = Convert.ToInt32(newFame.ToString() + "000");
A little something to make that cleaner...

Code:
int newXP = newFame * 1000;
You might also want to use CODE tags for this. It's a bit annoying to read through as it is atm.
#4 · 10y ago
RI
Riigged
use the code tags like proph said so it indents lol
#5 · 10y ago
Daemonmann
Daemonmann
this is my first post, I wanted to do but did not know how!
#6 · 10y ago
Daemonmann
Daemonmann
Roxy that code it's not mine!
#7 · 10y ago
Lxys
Lxys
Why the fuck do you post commands that are already in sources like wtf?!?!?!?!?? ugh
#8 · 10y ago
Azuki
Azuki
that gold command and fame command are from me. brah pls
#9 · 10y ago
Desire
Desire
Quote Originally Posted by Azuki View Post
that gold command and fame command are from me. brah pls
This bump...
#10 · 10y ago
Lxys
Lxys
Quote Originally Posted by Bear View Post
This bump...
Ikr wtf hahahaah
#11 · 10y ago
Skepta
Skepta
The bump is strong with this one.
#12 · 10y ago
Azuki
Azuki
i bump all the shit
#13 · 10y ago
Lxys
Lxys
Quote Originally Posted by Azuki View Post
i bump all the shit
What makes you think you coded these commands?
#14 · 10y ago
Pinkzombie
Pinkzombie
Where do I put this code in on a Fab source?
#15 · 8y ago
Posts 1–15 of 16 · Page 1 of 2

Post a Reply

Similar Threads

  • Fame to gold Ratio RoTMG Fame updateBy Suedadlol in Realm of the Mad God Discussions
    7Last post 13y ago
  • Selling account: 7 8/8's with tops/UTs, 3k+ gold, 7.5k fame, 8 vault/char slotsBy username87 in Realm of the Mad God Selling / Trading / Buying
    24Last post 12y ago
  • Realm account - Legendary 88 / 8x / 6x Pet - 15K live Fame - 6 8/8 59 StarsBy Demyrt in Realm of the Mad God Selling / Trading / Buying
    10Last post 11y ago
  • Selling High end ROTMG account <8/8 warrior 3k+ fame> <few 6/8alts> <ORANGE STAR>By Spitzy1 in Realm of the Mad God Selling / Trading / Buying
    8Last post 11y ago
  • [SELL] Account | 7 Vaults & Char Slots | 290 Gold | 6900 Dead Fame | 70/61 Heal/Ele |By TheDeniedOne in Realm of the Mad God Selling / Trading / Buying
    6Last post 13y ago

Tags for this Thread

#commands#effects#fabiano#game#realm of the mad god