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
1 answer

Jar file gets corrupted when sent over socket

I'm trying to send a jar file over a socket to a server. Now everything seems to be working fine but on the other side of the socket, the jar is corrupted. The files have on both sides of the socket the same length. But when I try to use the file in…
tb96
  • 265
  • 2
  • 4
  • 17
0
votes
1 answer

Problems with YamlConfiguration.set()

Hey there, I've got a small problem. I am creating a plugin for Bukkit. I tried to code a in-game config editor - that means that one can change configuration options with a command from inside the game. I already got it to work, but as of the build…
mezzodrinker
  • 998
  • 10
  • 28
0
votes
1 answer

javascript pop() method in java

Is there a way that you can use the javascript array.pop() method in java? It would really help if someone finds a way of doing it. I have tried this: int neighbor = neighbors.get(neighbors.size()-1); neighbors.remove(neighbors.size()-1); But it…
0
votes
1 answer

No enclosing instance of the type is accessible in scope bukkit coding

I need help with the above error My code is package me.golfeyes298.SexyTime; import java.util.logging.Logger; import org.bukkit.Bukkit; import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.command.Command; import…
Lewis Holmes
  • 15
  • 1
  • 10
0
votes
3 answers

How to give a message in bukkit after 60 seconds?

thanks for all that helped me! I will be more detailed now. What I want to do is a Bukkit plugin which after one minute, and if the player dropped something, the console displays an information message, like "Players are moving", but I just can make…
PinguCraft
  • 39
  • 1
  • 3
0
votes
1 answer

Process.getOutputStream() doesn't work?

So I'm starting a Bukkit (Minecraft) server from a GUI. ProcessBuilder builder = new ProcessBuilder(); builder.redirectErrorStream(true); builder.command("java", "-jar", file.getAbsolutePath()); try { p = builder.start(); input = new…
Tips48
  • 745
  • 2
  • 11
  • 26
0
votes
1 answer

For Loop checking player locations

This is a Bukkit plugin, for Minecraft, using their API. I'm trying to check if a player is in a specified location, and if they are, then don't teleport a player there. Instead, check another location, and spawn the player there if it's empty. It…
0
votes
4 answers

Bukkit config.yml connection

Alright, I'm trying to program a bukkit plugin and I need to have values from the config file, I've looked up the tutorial at http://wiki.bukkit.org/Configuration_API_Reference#The_Configuration_Object but this gave me no assistance. So my code for…
Joshua
  • 11
  • 1
  • 4
0
votes
4 answers

Ambiguous method in IntelliJ

In Bukkit's API, there are two functions that show up as ambiguous when I try to call them int getMaxHealth() double getMaxHealth() I can't figure out how to specify to the compiler which function I want to call. Instead of directly comparing…
dreadiscool
  • 1,598
  • 3
  • 18
  • 31
0
votes
2 answers

java alternative ways to pause script

OK i am making a minecraft java plugin and it plays a song to the player using preset sounds it is triggers with: player.playSound(player.getLocation(), Sound.NOTE_BASS, 2, 10); And i want it to want to make it sing lyrics for example hammer time…
Gerard2202
  • 151
  • 6
  • 18
0
votes
3 answers

Players can't build in bPermissions

I have created my default group in bPermissions and the players that have the default rank can't build, I can't figure out why. I have even added the permission node "bpermissions.build". Here is the groups.yml: default:…
ben101
  • 17
  • 5
0
votes
3 answers

Run a .jar on Heroku

I am trying to run a .jar file on Heroku, and can't find instructions anywhere on how to do this. Everything that I have read wants me to compile it as I am uploading it to Heroku. Is this possible, and if it is, how would I do this? If it helps, I…
user2713979
  • 41
  • 1
  • 1
0
votes
2 answers

Checking if a game for game mode already exists in Bukkit [Unexpected Result]

Hello Everyone i am creating a game mode for Bukkit and am encountering a problem that at the moment seems to baffling me. Perhaps i am simply over looking something so i would very much appreciate it if i could have another pair of eyes look at…
Devin Wall
  • 180
  • 1
  • 16
0
votes
3 answers

Minecraft Bukkit Sign Inventory

I am making a bukkit plugin with a sign shop that opens a static inventory and you click to get kits. I have gotten the inventory set up, it opens when the sign is clicked, and the items I want are in there. However, when I click in the inventory,…
Ty Brantner
  • 85
  • 1
  • 7
0
votes
1 answer

Bukkit teleport - nullPointerException

I am trying to teleport a user to their own realm using the following code: @EventHandler public static void onPortalTravel(PlayerPortalEvent event) throws Exception { if(event.getCause() == PlayerPortalEvent.TeleportCause.END_PORTAL) { …
MRVDOG
  • 1,717
  • 2
  • 13
  • 20