- Do not make donors GMs. It is just plain stupid. Most of the time donors are the ones who abuse their power 24/7.
- Properly evaluate your GMs.
- Do not give donors Super GM status, or GM status. In my opinion, the most they deserve is intern, and that is mostly restricted. If they are good enough to be a GM, then consider making them one.
- If you really want to get money for server hosting, make interesting donor prizes.
That is just advice, but if you really still want to go on with that...
> Go to the commands files for GMs, and restrict by making it only on an event map or when an event is active. Make sure there is an !event command (there should be a boolean to make event status online). And then, make a command that checks if the boolean is true, and then if so, allow the person to give the item. If you really want to make sure they don't abuse their power, you can make them do something like so: !event <player name> <item id> (prize)
> At the end of event, you can do something like... !giveprize <playername> to give the prize. (that is if you wanted to do the thing I said last in the other part.
Anyway, as I am extremely lazy to code all of this right now, I will simply not spoonfeed it to you.
I'll give one of the commands though.
I'll assume you are using MoopleDEV.
Not sure if the commands changed at all in REV 118. Haven't checked it since rev 116.
PHP Code:
} else if (sub[0].equals("giveprize")) {
itemId = Integer.parseInt(sub[1]);
quantity = Integer.parseInt(sub[2]);
if (eventIsOn) { // idk the boolean name.
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(sub[1]);
int petid = -1;
if (ItemConstants.isPet(itemId)) {
petid = MaplePet.createPet(itemId);
}
MapleInventoryManipulator.addById(c, itemId, quantity, player.getName(), petid, -1);
} else {
player.dropMessage("no event is on.");
}
that is just an example.