Jump to content

Recommended Posts

Posted

i was wondering how i would go about making custom GM ranks, like for VIPs or maybe just specific GMs that i might have. Would i have to work it into the core or can i just do it through the DB?

Any help would be greatly appreciated :)

Posted

This has been covered several times before. I'd recommend familiarizing yourself with the forum Search feature.

But, since I'm here, I'll answer you this one anywways....

In the MaNGOS core file, Common.h, look under "enum AccountTypes" then modify the code like so:

enum AccountTypes
{
   SEC_PLAYER = 0,         //Player
   SEC_VIP = 1,            //VIP Player
   SEC_GAMEMASTER = 2,     //GameMaster
   SEC_DEVS = 3,           //Developer
   SEC_SENIORGM = 4,       //Senior GM
   SEC_JRADMIN = 5,        //Junior Administrator
   SEC_ADMINISTRATOR = 6,  //Administrator
   SEC_CONSOLE = 7         // CLI in mangosd window, or Console
   // always last in the list, highest security level for use with console only!
}
;

You may wish to add more levels, have fewer, or different labels naming each rank but, this is just an example to illustrate the method.

Don't forget to set the commands for each security level in the "mangos" database table "command". Otherwise, the default assignments in the database will leave many commands inaccessible to higher levels and allow low levels to use commands they shouldn't.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use