Yes I have made a mini game at the end you get a reward after clicking the portal.
But how would I stop them from clicking the portal and keep getting the items more than once?
Here is my method:
Code:
* Crystal Key
*/
case 2465:
if (c.getItems().playerHasItem(989,1)) {
c.getPA().startTeleport(3093, 3493, 0, "modern");
c.getItems().deleteItem(989, 1);
c.getItems().addItem(7462,1);
c.getItems().addItem(6570,1);
c.getItems().addItem(995,15000);
} else {
c.sendMessage("You can't move on until you have a Crystal Key!");
}
break;