Location

Discussion in 'Plugin Development' started by ChrystianSandu, Jul 13, 2014.

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

    ChrystianSandu

    I write a location into config.yml. Who I can read?

    Write:
    Code:java
    1. player.sendMessage("Checkpoint set!");
    2. getConfig().set("Check", loc);
    3. getConfig().set("Start", 1);
    4. saveConfig();


    So how I can read this?
     
  2. Offline

    masons123456

    ChrystianSandu
    I'm not 100% sure on what you're asking, but I believe this is what you are talking about?

    Code:java
    1. getConfig().getString("Check");


    Let me know if not!
     
  3. Offline

    ChrystianSandu

    Oh... no, finaly I found how to do this :) SOLVED
     
Thread Status:
Not open for further replies.

Share This Page