make a task to spawn the boss in random locations every hour or whatever you want (removing the previous one as well if not killed)Code:List<Location> locations = new ArrayList<>(); //populate with random locations of spawn Location spawnLocation = Utilities.randomElement(locations); WildernessTask.setCurrentBoss(new Npc(id, location));
create the reward handle it under NPC death.