Code:
public void MakeGMItem(MapleCharacter player) {
MapleInventory equip = player.getInventory(MapleInventoryType.EQUIP);
int item = 1302000; // replace 1302000 with the id of the item you want to msi.
byte slot = equip.getNextFreeSlot(); // Find the method to get the next free slot in MapleInventory.(This code might be different in different version.)
Equip nItem = new Equip(item, slot, (byte) 0);
nItem.setStr((short) 32767); // STR
nItem.setDex((short) 32767); // DEX
nItem.setInt((short) 32767); // INT
nItem.setLuk((short) 32767); //LUK
nItem.setUpgradeSlots((byte) 0);
player.getInventory(MapleInventoryType.EQUIP).addFromDB(nItem);
}
That's about it. Should work.
Tell me if it work. Been ages since I touch Java.