Well, that's a shame. Thanks for help.
With music discs? What about anything else? I mean, I still can use a resource pack or something. Or is it just not possible?
Well, I don't really want to play the music specifically to the player, but inside of the world itself so that every player is synced.
Is there any way of doing that? I'm basically trying to play like a music disc in a region. In theory, every 25 blocks in any direction from the...
So, I've got this (it got pretty messy after my tries of debugging, sorry about that):
Yup, I had. And coasterman10 pointed it out, so I corrected it in my code. I'm a noob, so I sometimes happen to be... Dense.
I would set up the loop afterwards, then. Sorry, I might've misled you. Nothing has changed except for putting the HashMap before the...
I'd set up the loop afterwards. Right now nothing's working, so why would I bother making the code more complicated?
Aight, I've put it outside. But it still gives me a blank message when called. I'm pretty sure that I'm being retarded right now, but...
Uh-oh, sorry, I've created an independent handler for console which I happened to forgot to copy.
public boolean onCommand(CommandSender sender,...
Umm... I've already said that I would like to list reports written by players - an useful tool for administrators to handle reports. Are...
So what's your advice? Am I even able to list strings with their "owners" through hashmap then?
So how should I do this to get the message and name of the previous sender? Because well.. It would be nice if it worked.
Hm. Now it gives me a blank message.
There is none. The plugin works correctly, except for that one detail. It just doesn't save the name of sender and message - throws both...
It worked though. But thanks for the heads up, I completely forgot about it.
Player player = (Player) sender;
Map<String, String> reportData = new HashMap<String, String>();...
I've tried to use it, but it gave me a null on call. I might've messed something up.
I've created a simple plugin which handles player reporting. I would like to add a feature of storing reports and players who have written...
I got that code helplessly from the internet, alright? Don't care about it.
Has anybody ever done this? Will I be a genius...
Separate names with a comma.