Custom Objectives
This guide will explain how to add your very own objective to XLTournaments.
public class PlaceObjective extends XLObjective {
}public class PlaceObjective extends XLObjective {
public PlaceObjective() {
super("BLOCK_PLACE");
}
}public class PlaceObjective extends XLObjective {
public PlaceObjective() {
super("BLOCK_PLACE");
}
@Override
public boolean loadTournament(FileConfiguration config) {
// Load optional or required values from config
// Return true if successful load, otherwise false and the tournament being loaded will be disabled
return true;
}
}Register the objective
Last updated