I'm trying to set an anvil and make it face a given direction. This is what I've tried: public byte getDirection(BlockFace dir) { byte d...
I have a spectator system, but I don't want arrows to interact with players who are hidden. I know VanishNoPacket does this, but I'm not quite...
I'm hooking into factions, and I need to check if a player has a certain power. Here's what I'm doing now:MPlayer mplayer = MPlayer.get(player);...
I'm trying to make a glass box using two coordinates. I'm not sure how to loop through the blocks to get this to work. Any ideas?
It's extremely far off target. Usually by 20+ blocks.
The image is broken, but I believe what you're looking for is the Action Bar.
I'm trying to make a fireball shoot at a player, but I can't seem to get the velocity right. Here's what I have: Vector from =...
How do I make something happen at that given time? Do I have a repeating runnable?
I'm making a plugin where every Friday there will be an event. I know how to make cooldowns with runnables and whatnot; however, I want this event...
I'm trying to make a 3x5 box of glass. I understand how to make a square box, but I've never made a rectangular box before. Any idea on how to...
That class uses OfflinePlayer's. I heard that is no longer the best way to handle scoreboards, instead use strings. Is this true?
I'm using the scoreboard to display player stats (kills, deaths, wins, etc). However, before I do the updating portion, I was wondering what is...
As we all know, 1.8 came out with a new gamemode called "spectator mode." I know how to put a player in spectator mode, but I'm not sure how to...
I need to get the location two block in front of where a player is running. This doesn't have to be a block location, it can be a coordinate. How...
Do you know what is wrong?
So I am brand new to developing plugins. I thought I would try and learn from youtube the basics of developing a bukkit plugin. Of course, with my...
Bump.
Does anyone know how to disable God apples in World Guard? I know that there is a blacklist, but it doesn't seem to be working. I may just be...
Hello, I am extremely new to creating plugins, and I would like to know how to make a config file, and how it would work. If someone could explain...
This is a very simple plugin that I need. I need a plugin where when the server is restarted, the console will execute a command. Thats all. If...
Separate names with a comma.