@Inject
@ConfigDir(sharedRoot = false)
private File configDir;
Is there anything that has to taken care of when I want to create muliple config folders and files in that condifdirection?
@Inject
@ConfigDir(sharedRoot = false)
private File configDir;
Is there anything that has to taken care of when I want to create muliple config folders and files in that condifdirection?
I don’t know…I know I have had success with creating a folder and then having a single file in it…i would assume you would be able to add onto…here’s what i use
@Inject
@DefaultConfig(sharedRoot = false)
private File configFile;@Inject @DefaultConfig(sharedRoot = false) ConfigurationLoader<CommentedConfigurationNode> configManager;
Yeah, that’s what I’m doing but I need to dynamically add config files for every player. I wondered if there was a smart way to do this.
ahhh gotcha… Well i’d try using a second class for the player portion so create a second like method from above and make it so that it’ll call the player’s class…in therory i would assume that this would allow a file ontop of it to be added…perhpas