I Have made a player login event but i can't seem to get it to work, can you spot any errors with my code? @EventHandler public void...
Sorry for hassling you, i fixed it - there was an error in the other file (players.yml), thanks for your help!
heres the code for teams.yml : dave: owner: a1eyedhamster locked: unlocked hqx: none hqy: none hqz: none so surely the code should work ?
that was an example of what it looked like, all i need to do is delete the whole thing, the bit that says teamname and all of the subnodes.
I Tried that and it then tells me that an internal error occured . . .
//GET THE PLAYERS TEAM File playerConfig = new...
Yeah, i have tried setting it to null but the entry is not removed.
Yeah, i've looked at that before but i don't know how to remove from YAML.
Hey i was wondering how i could remove from yaml in code, i want to remove this section . . . teamname: herp: derp:
Thanks this worked first time :)
I Am making a teams plugin where the teams are stored in a file called teams.yml, is there a way to check if the node 'herp' exists, this is the...
I Tried this before and this didn't work, i trued again and i got the same error, i then checked the code above and it said players.yml and not...
Okay, so how would i get the data from the herp team under hqx?
Okay, so i am making a plugin and i have a teams.yml file that looks like this : herp: hqx: 100 hqy: 200 hqz: 300 derp: hqx:...
Ah, thank you :)
Separate names with a comma.