[Resolved] config.yml?

Discussion in 'Spigot Plugin Help' started by Divining, May 9, 2015.

  1. Hi,

    I'm attempting to store a players kills in a config.

    My current config.yml layout:


    That's all I have so far, and what I'm currently attempting to do is put the player name under "players", and then "kills" under their player name, and when they have killed someone, it just adds one on the death event.

    Could someone help me with this, please?

    Thanks in advance.
  2. FileConfiguration#set("players." + Player#getUniqueId() + ".kills", int);