Posted March 10, 20187 yr How I can create nested categories in the config file E.g. general{ I:property=1 nested_general{ I:property_in_nested=2 } }
March 10, 20187 yr Are you using the @Config annotations or are you using the Configuration class? Edited March 10, 20187 yr by Choonster Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 10, 20187 yr Author 4 minutes ago, Choonster said: Are you using the @Config annotations or are you using the Configuration class? Configuration class
March 10, 20187 yr 3 minutes ago, Insane96MCP said: Configuration class You can separate category names with periods ( . ) when you call Configuration#get to create nested categories, e.g. config.get("general.nested_general", "property_in_nested", 2) Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.