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

Extending a method on an interface

This is probably basic java, but I'm new to the language, so please forgive me I would like to extend the SetCustomName method of LivingEntity so that, in addition to it's normal steps, it will also throw a custom event/exception. My attempts to do…
Drazisil
  • 3,070
  • 4
  • 33
  • 53
0
votes
1 answer

LoadArenas returning a wierd String

public void loadArenas(){ File folder = new File(plugin.getDataFolder().getPath() + "/arenas/"); for (final File fileEntry : folder.listFiles()) { if (fileEntry.isDirectory()) { } else { …
noraaron
  • 1
  • 2
0
votes
1 answer

Eclipse SWT - exported .jar fails to import methods

I've got the SWT file ".jar" added on to my project as an external jar. So it's imported into my project and I can call it's method via: import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Button; import…
user3422952
  • 319
  • 2
  • 8
  • 17
0
votes
1 answer

How to ignore case in replace method java

Alright So I am trying to check and see if a string exists but I don't know what case it's going to be in so How would I use it in my method? here is my code if (!p.hasPermission("core.chat.curse")){ String message =…
user253596
  • 21
  • 4
0
votes
1 answer

Why does this MySQL not execute correctly?

I'm trying to update tables when an event happens in a Minecraft Spigot (Bukkit) server. For some reason, I just can't figure out why this won't work. No matter what, the fields just won't change at all. Here's the code doing the work: public void…
user1316498
0
votes
1 answer

How to use the method getHealth() in Bukkit using Heroes

Basically I have started updating a lot of Heroes spells to 1.7.2 and this update broke the .getHealth() and .getMaxHealth(). I am trying to fix it but I do not know how to. If anyone has some advice or samples I will be in debt. I will place some…
Matei301
  • 1
  • 1
0
votes
1 answer

Calling PlayerMoveEvent instance method

I am simply trying to call a method, but I'm a bit lost on how to do so with the parameters I need to use from the Bukkit API. The method I'm calling: @EventHandler private void onPlayerMove(PlayerMoveEvent event) { Player player =…
swiftsly
  • 811
  • 4
  • 16
  • 29
0
votes
3 answers

The method getHealth() is ambiguous for the type Player - Bukkit 1.7.2

I have this problem that I am trying to get the killers health from the PlayerDeathEvent but it gives me the error that the method getHealth() is ambiguous for the type Player Here is a piece of the code. @EventHandler public void…
0
votes
1 answer

Bukkit - Getting a response from a PHP file

I would like to make a Bukkit plugin using Java. In this plugin I would like to get a response from PHP file, key.php?nick=gameplayer&code=key. If $_GET['code'] is Ok, then server response should be 1, else it is 0. How could I accomplish this?
0
votes
2 answers

Arraylist of custom objects serialization

I have two array lists in my code. One stores User objects, the other stores Team objects. What I'm trying to do is when the close instruction is given save both array lists to files, then close the program. I was having problems saving both of the…
Bruno Tavares
  • 450
  • 1
  • 4
  • 18
0
votes
3 answers

How to make a String contain each item in an ArrayList? (JAVA)

I have a String named listOfItemsBanned, and an ArrayList named itemsBanned. Let's say the ArrayList itemsBanned contains 3 things: TNT, EnderPearl, and Sand. I would want the String to be "TNT, EnderPearl, Sand". And when something is removed from…
user3395095
  • 21
  • 1
  • 2
0
votes
1 answer

Correct "for" usage in this instance

What is the correct usage of for (Player p : ) if I am trying to get the player's location and teleport them within a Bukkit scheduled task? It gives me an unidentified error when using a : which I believe I need to connect the reset of the…
swiftsly
  • 811
  • 4
  • 16
  • 29
0
votes
5 answers

Python Error Handling & Connection Errors

I'm working on a Telnet client. I started coding on my notebook(Windows) and at the finish I uploaded it on my server(Debian). Both systems works with Python 3. At my notebook the script works well, but on Debian, it does make errors. The…
miny1997
  • 469
  • 3
  • 13
0
votes
1 answer

SQLite/MySQL Big Table vs Multiple Small Tables?

I'm developing an Administration plugin for Bukkit Servers. I want to give it the functionality to Ban (normal, temp and ip), Mute (normal and temp), and Warn players. To store all this information, I want to use an SQL Database (SQLite or…
Kyle Colantonio
  • 454
  • 1
  • 3
  • 21
0
votes
1 answer

Bukkit Config - get Subsections and safe casting

I have the following config file: arenas arena1 info: infotest info2: info2test arena2 info: infotest info2: info2test So. Now i want to get one arena, and convert it to a arena object, i have a constructor there taking a Map.…
T_01
  • 1,256
  • 3
  • 16
  • 35