kokumaji / warrior-plugin

1 stars 0 forks source link

Settings Interface #6

Open kokumaji opened 3 years ago

kokumaji commented 3 years ago

Is your feature request related to a problem? Please describe. User settings are currently stored raw in WarriorUserSettings.java, which is totally fine for now. However, this basic implementation causes code dupe when stringifying the values. An interface for config option nodes as well as the config container would be a great way to reduce the amount of code dupe outside the API package. If this interface is generified, we might even be able to use it for other configs, such as arena flags/options as well as the general plugin config.