Changed it, thank u for the advice.
/* EVENT CONFIG */
public static int KINGID = 31340; // King npc, if stay alive players recive reward
public static int [] BOSSSID = {25437, 25437, 25437}; // First, Second and third boss
public static int [] GUARDSID = {30478, 30478, 30478, 30478, 30478, 30478, 30478}; // Giran guard defencer
// The bonus are:
// Killing 1 boss
// Killing 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss
// Killing 1 boss + 1 boss + 1 boss and king stay alive
public static int [] REWARDID = {57, 57, 57, 57};
public static int [] REWARDAMOUNT = {1, 2, 3, 4};
// Debug config put true to debug the code
static boolean DEBUG = true;
/* END EVENT CONFIG */