TriggerReactor

TriggerReactor

24.6k Downloads

config file rework

wysohn opened this issue ยท 4 comments

commented

Need to create a unified config file that can be used in both spigot and sponge.

and add useInGameEditor option

commented

Design Proposal


Config

String key can contain a dot(.) to indicate the hierarchy just like how FileConfiguration works. The only difference is that we are going to include Gson library as part of our project and do not rely on either Bukkit API or Sponge API.

ConfigManager may be reused inside various other Trigger related Managers (it can be helpful to unify the file handling logics in the abstraction layer instead of handling them separately using different APIs), but it's not necessary.

This will be helpful to solve #241 and help us adding more options for users.

@gerzytet @rkdrns4747

commented

Migration and Config Loading Flow


Config Rework

commented

Also config to change trigger items. Like bone in case of conflicts.

commented