Just linking my open-src plugin for Event Scheduling I coded 1 month ago.
Features:
/kothscheduler - Permission: kothscheduler.command.kothscheduler
Source: https://github.com/sergivb01/KothScheduler/
JAR: https://void.cat/#d1a069d1bf8bf0cfecf355032c869d47bb44a83c
Code snippet for registering your HCF koths:
Enjoy!
Features:
- Config file for registering events.
- Rich command argument.
- Easy and intuitive public API.
/kothscheduler - Permission: kothscheduler.command.kothscheduler
Source: https://github.com/sergivb01/KothScheduler/
JAR: https://void.cat/#d1a069d1bf8bf0cfecf355032c869d47bb44a83c
Code snippet for registering your HCF koths:
Code:
private void registerFromFactions(){
koths.clear();
for(Faction faction : getFactionManager().getFactions()){
if(faction instanceof EventFaction){
if(faction instanceof KothFaction) {
koths.add(faction.getName());
this.getLogger().info("Registered " + faction.getName() + " in eventGames list.");
}
}
}
}
Enjoy!
Last edited:
