Help with config/world

Discussion in 'Plugin Development' started by XKnucklesX, Jul 13, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    XKnucklesX

    How to check if its the right world from config? so like in the config it has

    world = (nether)

    how to check if its the nether. Also I need help creating a config for the plugin.
     
  2. Offline

    ZeusAllMighty11

    You want your config to say:
    Code:
    world = (nether)
    
    ?

    Well there's your issue, that's not even yaml syntax.

    To do it, you would probably do:
    Code:
    getConfig().set("world", "nether");
    
    Don't really know what you're saying, though
     
  3. Offline

    XKnucklesX

    no nether was a example.

    so getConfig().set("world")

    and if the person set nether as there world they want the plugin to activate in it would only work in that

    still need help

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
Thread Status:
Not open for further replies.

Share This Page