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
0
votes
2 answers

Bukkit Plugin Call IC2 Function

I need to call a function from the IC2 (mod) API from within my bukkit plugin. How would i go about importing the IC2 API into the plugin so i can call the function? To give you an idea as to why i would want to do this; Below is a piece of…
Mattigins
  • 1,014
  • 9
  • 25
0
votes
1 answer

Pattern not working with less than one argument

Hi I'm trying to setup a hostname pattern for a minecraft-server plugin. It will look through the arguments of the chat message and try to find any possible hostnames. The code works unless the message only contains one word. Here's the class that…
Carlgo11
  • 1
  • 1
0
votes
4 answers

Where does an Interface get its method body from in Java?

I am using the Bukkit API to create Minecraft plugins. The Player interface can be called and used like so: Player p = [insert player here]; String name = p.getName(); However, as Player is an interface, which only has the method and not the method…
Connor M
  • 331
  • 3
  • 5
  • 18
0
votes
1 answer

PHP system() keeps giving input to console

I'm a coder of a server, and when I crash the server I have no way to start it back up unless the host is here. I've been trying to execute the file via PHP, and so far so good. However, with this method, the server is spammed with "Usage: /say "…
Drew Lemmy
  • 447
  • 1
  • 4
  • 13
0
votes
1 answer

server.getWorld(String) always returning null? Bukkit API

I am trying to use the method getWorld to get the world of a string, but every time, no matter what string I input, null is returned. Here is an example of what I have tried: World world = server.getWorld("world"); As documented here it states that…
Alex
  • 361
  • 1
  • 4
  • 15
0
votes
2 answers

ClassNotFoundException In a Bukkit java Plugin

I'm trying to revive a plugin and im geting thir error: [03:01:18 ERROR]: Could not load 'plugins\Reporter.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ClassNotFoundException: me.f levasgr.rainbow.Reporter at…
user2945758
0
votes
2 answers

Get players inventory and then broadcast the item displayname

Ok, Im trying to check the player's inventory when they login and it it say that displayname public void onPlayerJoin(PlayerJoinEvent event) { Player p = event.getPlayer(); for (int i = 0; i < p.getInventory().getSize(); i++) { if…
0
votes
2 answers

Query to online game server to get its status Delphi - Indy 10

I am trying to find out how to establish a connection between a Delphi application and an online game server in this case Minecraft running with Bukkit. The search was not successful, but I have a vague idea using maybe Indy 10 components? like…
Martini002
  • 123
  • 1
  • 1
  • 9
0
votes
2 answers

Bukkit Plugin - comparing an arg to all possible items

I have just recently started to program Bukkit plugins for personal use and for learning purposes. I have decided to make a command-line global shop, since I'd rather not have to build a shop in-game. Here is the code i have currently: package…
0
votes
2 answers

Need a equation to find the velocity required

i really need help with figuring out a velocity equation to launch a player from one X Y Z location to another. from looking at other threads i created the following code (the code doesn't work) public void vJump(Entity entity, Location loc, double…
Ashley
  • 142
  • 7
0
votes
1 answer

Creating a file in a method

I am making a bukkit arena plugin, but my savearena method always returns null. I am using the Bukkit API. The error: Caused by: java.lang.NullPointerException at…
user3091392
  • 37
  • 2
  • 5
0
votes
1 answer

Way to efficiently keep track of the database time in java

Before I start, I want to say that this is related to a Bukkit plugin. I have tried searching this all over the web, but I can't just find a good way to do it. I am trying to build a plugin that can connect to a database (usually MySQL), and locally…
D4rKDeagle
  • 39
  • 2
0
votes
1 answer

Unknown syntax error on else

I am coding a plugin for a game. This is probably a really simple answer and I have stared at it for about 15 minutes and cannot figure out what the error is on this else statement. It is after an if statement but Eclipse still says that there is a…
user2263904
  • 1
  • 1
  • 2
0
votes
2 answers

When is WorldLoadEvent triggered?

I thought init stands for when a world is first created and load for when that world is loaded after a server restart. But in both case WorldInitEvent is triggered. So when is WorldLoadEvent triggered? The docs didn't help…
Daniel
  • 3,092
  • 3
  • 32
  • 49
0
votes
1 answer

NullPointerException.. My favourite

EDIT: I would just like to apologize for my simple mistake.. I'm only 12 :P I seem to be having the great NullPointerException.. I'm using the Bukkit API, just in case that changed anything ;P Anyway, here's my…
Kondax Design
  • 175
  • 1
  • 1
  • 15