Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
lol, China still has copyright laws. And also censorship, so the leaking websites are probably blocked anyway :p
See, that's funny, since your post is also a bump.
But then so is mine...
You realise that just calls the event? You have to listen to it to actually do something with it. (@EventHandler)
What's the point in the onSkillCast method? It's literally just a static method that takes an object, recreates it with the same information and...
The command label is the actual typed command, useful when you want to run code based on a specific alias. (e.g. -...
got dem 69 rates
This should be in the S & R forum, but AT LEAST put it in BungeeCord plugin development...
You might find Block#getRelative quite helpful.
Or you can manually check by coordinates.
So you're saying this is impossible?
It's because your comparing a Block to a Material.
Block#getType returns the Material of the block, and remember to use == when comparing enums.
Okay, I've managed to set the power to the NMS block via
which does the same thing as your BlockStateInteger.of("power",...
I'm trying to set a redstone wire, placed on a block, to a certain current.
I can get this to work with levers and buttons easily enough, but...
Don't use a static hashmap.
Sounds like a compromising plugin though, and just deop-ing won't solve the problem, since he no doubt has a way to op himself again.
You may want...
What's the point in casting it to a collection?
And please don't spoonfeed.
How is this explaining what a list is? How is this explaining...
Try negating the permission node with
I use the BukkitInput & Output Streams.
p.teleport(new Location(l.getWorld(), l.getX(), l.getY() - 6, l.getZ()));