I don't think you are correctly using HashMaps. For me, the best way to do that is using a DB or any other external data manager because values in...
Traks in onCommand: // Identify the command final World world = player.getWorld(); final Location dest = new Location(world, 0, 10, 50); final...
Traks Yes, I'm using that, I've also tryed with a simple test: 1) Spawn Item in A. 2) At every update, calculate B-A and set the velocity of the...
A little bump, I'd like to find the method to get the velocity between two point, for example: If A is at (10, 70, 10) and B is at (50, 100, 30)...
From this thread -> http://forums.bukkit.org/threads/common-mistakes.100544/
You're getting a NullPointer because first you call PixarBoard.setupScoreboard(); on line 22 of PixarCraft but you do instance = this only at the...
Don't use the "= =" operator on non-primitive /enum types, use the method equals.
Traks I think that some code will explain better than me. This is the method I'm using to set the position at every update (I've scheduled un...
xTrollxDudex Simply with world.dropItem method.
xTrollxDudex I tried all possible combinations/transformations , no way to get the right one xD
xTrollxDudex Yes, I'd like to know what is the right way to calculate vectors between two points because I need directional velocity.
You can use this online tool to check YML errors http://yaml-online-parser.appspot.com/
I'm sorry but I didn't understand the real problem, do you want to remove the death message part about the item used to kill?
First, thank you for the reply. Uhm, I think you're right, but partly. I still need the direction because I want the "velocity vector", is there...
I assume that you can write a simple plugin (there are tons of tutorials about it) and I'll give you hints for the specific problems: 1...
Hi ChrystianSandu, are you getting any error? Is the Listener right registered? Are you sure that "bannedFromChat" contains the name of the player...
welsar55 I think you can track the InventoryOpenEvent and do on the event (evt): evt.getInventory().getType(); comparing it properly, I'm talking...
The command is tokenized by spaces, for example, this command: will return 4 arguments! ( ["first", "second", "-", "third"]). So, if you want the...
Hi all. My problem is about the creation of a circular movement (I've read other thread about that but I didn't find a solution working for...
Hi girardcome, I think you should do something like: int pages = 1; Player[] playersOnline = Bukkit.getOnlinePlayers(); if (playersOnline.length...
Separate names with a comma.