HeroChat support - reflection based binding to it
This commit is contained in:
parent
fe93f64273
commit
600dd00bcd
3 changed files with 212 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ public class DynmapPlugin extends JavaPlugin {
|
|||
public Configuration configuration;
|
||||
public HashSet<String> enabledTriggers = new HashSet<String>();
|
||||
public PermissionProvider permissions;
|
||||
public HeroChatHandler hchand;
|
||||
|
||||
public Timer timer;
|
||||
|
||||
|
|
@ -106,6 +107,8 @@ public class DynmapPlugin extends JavaPlugin {
|
|||
timer.scheduleAtFixedRate(new JsonTimerTask(this, configuration), jsonInterval, jsonInterval);
|
||||
}
|
||||
|
||||
hchand = new HeroChatHandler(configuration, this, getServer());
|
||||
|
||||
enabledTriggers.clear();
|
||||
for (Object trigger : configuration.getList("render-triggers")) {
|
||||
enabledTriggers.add((String) trigger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue