Hi! I was just curious if it was at all possible to make commands (on one's private server) gm only! Especially the /item commands. Because ya'know thats weak lol, so if its impossible just say so, but if you can do it please help thanks =D
if(Client.AccountStatus == ADMIN_FLAG)
{
// Admin commands
}
if(Client.AccountStatus >= GM_FLAG)
{
// Add commands available only for GMs here
}
if(Client.AccountStatus >= NORMAL_FLAG)
{
// Normal player commands
}