Lord, I haven't truly looked at Hybrids source, but in mine how I would do it is in the list of if statements for commands, I would go to my if (Msg[1] == "Create Item") or what ever how ever its coded, because thats not even how mine is coded. than what you do is right at the beginning do a if statement and basically do something like this
assume a GM is 1
if (Client.AccType = 1)
{
put how ever the item is created in his source so if its like this
string[] Info = Item.Split('-');
ItemData.ID = uint.Parse(Info[0]);
ItemData.Plus =byte.Parse(Info[1]);
ItemData.Bless = byte.Parse(Info[2]);
ItemData.Enchant = byte.Parse(Info[3]);
ItemData.SocketOne = byte.Parse(Info[4]);
ItemData.SocketTwo = byte.Parse(Info[5]);
ItemData.UID = NextItemUID;
return true;
}
else
{
if (info[1] > 9 || info[1] < 0)
{
//construct a packet here to send a chat message to the player saying that he is using a invalid number for the plus
and than break it or return it depending on how it is doing it
}
else
{
string[] Info = Item.Split('-');
ItemData.ID = uint.Parse(Info[0]);
ItemData.Plus = byte.Parse(Info[1]);
ItemData.Bless = byte.Parse(Info[2]);
ItemData.Enchant = byte.Parse(Info[3]);
ItemData.SocketOne = byte.Parse(Info[4]);
ItemData.SocketTwo = byte.Parse(Info[5]);
ItemData.UID = NextItemUID;
return true;
}
}
I just came up with this in like two seconds, its not going to work right off the bat but that is the basic logic behind how you could check to make sure its not a value you don't want.