I wanted to make a sign up forum for my server but I don't want to make it so that I have to go and manually whitelist everyone. Is there a...
I still get the same error
I have this but it says "The field MemoryConfiguration.options is not visible" for line 5: 1| public void onEnable(){ 2|...
But how do I create the config file and edit its contents? Because doesn't that line access the variable "x" from the file "config"?
But this: getConfig().getInt(player + ".X") is just calling from the file right? How do i set the config to have his location when he dies?
What does that do?
Why do I want to save it to another file(config)? Can't I just change a variable?
Thats awesome! Now I know how to just get the x,y,z or world. Thanks!
It's all good, I assumed that too :P but I got the location working. It prints out a bunch of un-needed stuff but because messaging the location...
OOoh never mind it actually did work! :D Here is the code that works, I accidentaly didn't change one of the "player"s to "entity" (I'll mark the...
I changed it to this but I just get a ton of errors whenever I die: public void onEntityDeath(PlayerDeathEvent e){ //Player player =...
lol crap thats the only error I was worried about this whole time. This is my code now but i tested it and it doesn't say anything when i die:...
I did those things but none took away the error, here is my whole PlayerListener.java file, there might be something wrong that I haven't posted:...
Ya, all the other imports are working fine, thats the only one with an error
I have implemented it as a listener and when i put that at the top of my file it says it "can't be resolved" and when I hover over...
Separate names with a comma.