Actionhandler
Replace case xxxx by your chest ID and actually the pkp needed is 1 and taken out is 1 ( You can probably read that lol ) so edit it to whatever. Enter your random giveitem code on the // lines
Code:case XXXX: if ( c.pkPoints >= 1) { c.pkPoints -= 1; //enter your random giveitem code //enter your random giveitem code //enter your random giveitem code } else { c.sendMessage("You need XXX ammount of PKP!."); } break;