1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Create Configs in Another Class

Discussion in 'Java' started by FabricioSouza, Sep 11, 2018.

  1. FabricioSouza

    FabricioSouza Well-Known Member

    Joined:
    Mar 15, 2018
    Messages:
    267
    Likes Received:
    3
    Well I've been studying Java lately and am using the Spigot API and need some help. I am trying to create a plugin that will need configs <- BUT THAT A CONFIG. So I know how I can create the default config now I do not know how to create other configs.
    So I need if you can provide me with a code but I want to create a custom config and not the default config that would be the "config.yml". So help me, but I want to create the config in another class other than the MAIN.CLASS. And another case you give me the code please do not make me use TRY CATCH OR IOException.
     
  2. D0XY

    D0XY Member

    Joined:
    May 4, 2018
    Messages:
    35
    Likes Received:
    0
    you can't make files without catching an ioexception lol
     

Share This Page

Loading...