Questions tagged [bukkit]

Bukkit is a free, open-source variant of the vanilla Minecraft server that allows programmers to extend it using plugins written in Java.

Bukkit is a Minecraft server variant that completely changes how running and modifying a Minecraft server is done, making managing and creating servers easier and providing more flexibility. It's focused on performance, ease-of-use and extreme customisability.

Bukkit provides you with the tools necessary to completely shape your server and makes it easy to maintain it through the use of a built-in plugin install, uninstall and updating system.

Plugin developers can write plugins to modify the game's behavior, adding new features into the game using the Bukkit API. They can then share their plugins with the community.

See also:

As of Aug 21, 2014 at 8:42 AM, Bukkit has been discontinued and CraftBukkit (the actual server application) has been taken down due to DMCA requests.

Now, Spigot is a continuation of Bukkit and can be used in place of CraftBukkit.

Spigot

Spigot is a modification of the original CraftBukkit project, just made more efficient. It is a huge collection of various tweaks to help increase performance, and make it more flexible as server software.

It still implements the Bukkit API, allowing most plugins originally developed for CraftBukkit to be reverse-compatible with the Spigot platform.

See also:

1809 questions
3
votes
1 answer

EntityMetadata packet issue

I am attempting to make a player appear like they are sneaking (crouching) on Minecraft 1.8.8 running Spigot, based on http://wiki.vg/Entities#Entity_Metadata_Format I have done the following: Created a data watcher and mapped appropriate value for…
maldahleh
  • 313
  • 3
  • 18
3
votes
1 answer

Creating new Logger

I am trying to create a new logger for my plugin. However it does not write any content to the file. The logging events provide no errors. If I do not supply a handler I can get all the log events in the console. It seems the logger is handling the…
3
votes
4 answers

Spigot PlayerInteractEntityEvent

I am using Spigot 1.11.2. I have this simple code: @EventHandler public void onPlayerInteractEntity (PlayerInteractEntityEvent event) { if (entity instanceof AbstractHorse) { event.setCancelled(true); AbstractHorse horse =…
Mark Zedler
  • 125
  • 1
  • 7
3
votes
1 answer

How to set a single entity invisible to a player?

After much research and much time wasted, I still can't find out how to hide an entity to a player. What I'm trying to do is create a disguise command. I've now gotten everything worked out, except the issue is that the entity is still visible, and…
Twijn
  • 33
  • 1
  • 3
3
votes
1 answer

String from BufferedReader not splitting?

Right now I'm programming a little chat history plugin for a game, in which I want to save all messages and the time it was sent in a file, which is working perfectly, but when reading it I'm getting a little problem. variables: history = new…
RoflFrankoc
  • 115
  • 6
3
votes
1 answer

NullPointerException and Parameter index out of range exception using MySQL & PreparedStatement

I am getting this error when using MySQL, and cannot figure out how to fix it. Ever since I switched from Connection.execute[whatever](), to PreparedStatement, I've been getting this error, but can't seem to fix it. NullPointerException: guild info…
marisusis
  • 342
  • 4
  • 20
3
votes
2 answers

Best way to get nearby entities

I've pondered over this problem for a long time, and was just wondering if there really was a better way to get nearby entities instead of looping through every entity in the world and testing their location? For the plugin I'm developing, I'm using…
StrangeOne101
  • 121
  • 2
  • 10
3
votes
1 answer

Bukkit - Change player's name above head?

I'm back again. Today I have a question that many people have asked before. The reason I'm asking again is because in all my ~90 minutes of searching, I couldn't find an updated answer. Many answers tell me to use iTag/TagAPI, but I ran into some…
Kaelinator
  • 360
  • 3
  • 17
3
votes
0 answers

Connection reset (SocketException)

I have this message in my console: [15:06:59] [Thread-65394/WARN]: java.net.SocketException: Connection reset [15:06:59] [Thread-65394/WARN]: at java.net.SocketInputStream.read(SocketInputStream.java:209) [15:06:59] [Thread-65394/WARN]: at…
Jules420
  • 71
  • 7
3
votes
1 answer

Bukkit/Spigot: Plugin - Custom GUI Shop error

I am currently coding my own GUI Shop for my Server Network and I am facing two weird problems. The first problem is, whenever I want to get 2 leaves with the Item ID 161 and two different Meta ID's (0 and 1) I just get returned a Meta ID of 2. Here…
Krawtox
  • 41
  • 1
3
votes
1 answer

Bukkit - Why is my Multimap not being passed?

So, I have a class called HitDistanceRatios, it Implements CommandExecutor, It's called in MainClass which is the only class that calls JavaPlugin except for ConfigGets. I also have another class called HitEvent which is an EventHandler, every time…
Kaelinator
  • 360
  • 3
  • 17
3
votes
1 answer

ScheduledEvent Eventhandler from Override

So I want to check when a player right clicks with a book in their hand after first executing a command. I've tried to make Runnable running as a timer and in that scheduler checking if the player right clicks with a book in their hand. The Runnable…
Jake F.
  • 141
  • 1
  • 3
  • 17
3
votes
1 answer

How to use key with a dot at the end?

Eg: "This is a sentence.": "This is the result sentence." I got an error that the YAML file becomes an empty path if I put a dot behind the key, how can I solve this? EDIT: I got this error: java.lang.IllegalArgumentException: Cannot set to an…
Fatty Mieo
  • 39
  • 7
3
votes
6 answers

Get the direction a Player is looking?

I tried to get the direction, like North, South, West, East, of a Players Facing. I created this code, but sometimes it doesn't work... package me.Nightfighter001.GlobalSystem.WorldEditor; import org.bukkit.entity.Player; public enum Yaw { …
LeWimbes
  • 517
  • 1
  • 10
  • 25
3
votes
1 answer

Proguard: Keep annotation of specific method

Have have this class in my Minecraft Bukkit plugin: public class AsyncPlayerChatListener implements Listener { @EventHandler(priority = EventPriority.HIGH) public void onEvent(AsyncPlayerChatEvent event) { } } And I want to keep the…
jd34
  • 81
  • 1
  • 1
  • 6