1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Registering Configs

Discussion in 'Development' started by abimalek, Jan 7, 2018.

  1. abimalek

    abimalek Witch

    Messages:
    74
    GitHub:
    megagastpvp
    For a config I what a config named Tags.hmm how would I register that and would I need to add it under resources
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    please try to rephrase that, because I can't make much sense out of our mix of words (a sentence would be helpful!)
    if you are not a native english speaker, or just bad at it try to explain yourself as detailed as possible.
     
  3. kenygamer

    kenygamer Banned Banned

    Messages:
    106
    GitHub:
    kenygamer
    You need to put your config in the resources/ folder.
    See how I do it on my KillMoney plugin (Line 33 to Line 36) - that only works for the config.yml, otherwise you can create your own saveDefaultConfig() as seen on PluginBase
     
    Last edited: Jan 17, 2018
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.