Can't remove data in config.yml

Discussion in 'Plugin Development' started by To175, Dec 24, 2014.

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

    To175

    Hi, I can't remove lines in config :'(

    I tried
    getConfig().set("GameDatas.Players."+player, null);


    Help please
     
  2. Offline

    SuperOriginal

    You don't seem to like using the getName() method too often. Also, save the config.
     
    To175 and Skionz like this.
  3. Offline

    To175

    I don't need to use an other time getName() ...
    I forget the save ! :) thx I'll try
     
  4. Offline

    SuperOriginal

    If you're not using getName() or getUUID(), start using it.
     
  5. Offline

    To175

    i really don't see how can I do what I do WITOUT getName() ......
     
    SuperOriginal likes this.
  6. Offline

    Shawckz

    Did you call saveConfig?
     
  7. Offline

    SuperOriginal

    @Shawckz
     
    Shawckz likes this.
  8. Offline

    Shawckz

    Sorry, didn't see that.
     
Thread Status:
Not open for further replies.

Share This Page