Does sound like I need to change the players name to the uuid in the file. I already have that for the file name so that I could avoid creating...
There's the one that I did at the top, a for loop that looks at everything in the section, and I did the same thing with the clear() method, but I...
I am making a mailing system, where messages to a play can be stored in a yml and then once they have been shown (I might change it so it would be...
@Desle That is the same exact method that I was talking about, and it doesnt work. @AlvinB Im using this in one plugin that has a ton of stuff in...
Oh boy, I wasn't expecting to use an api just to open the book, but I guess I can use it and see if it works.
@timtower How could I achieve this with packets? All I have is that old method that was used from a different forum post.
I think your error is here at line 23 in the main class.
Ive seen this happen on hypixel where if someone wants to vote for the server, a book will appear in their inventory and then disappear, then...
@Scorpyon04 Make sure your events are being registered too. Making an InventoryClickEvent has to be registered in the main class of your project....
@Tecno_Wizard Ok awesome, got it! Now in use: if (a.getStringList("players").contains(p1.getName())) return true; }...
This link says, "If this abstract pathname does not denote a directory, then this method returns null. Otherwise an array of File objects is...
I am having trouble figuring out how I can get a list called 'players' from several ymls in one folder. The following method actually works:...
@Zombie_Striker was right. All I had to do was make an else if statement and included the event.getFrom().getName(). So the final working code is...
Eclipse is telling that the first line has an incompatible operand types of World and string.
So, I am trying to get a class to get the world name called creative, then clear the player's inventory once they leave. But, in reality, its...
Separate names with a comma.