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

IP Regex w/ further checking

I have a simple IP Regex for my Minecraft Bukkit server that will listen on players talking in chat, and if the chat message contains a valid IPv4 address will replace it with my servers IP. Obviously the purpose is to stop people coming in and…
Necro.
  • 987
  • 6
  • 17
  • 29
0
votes
3 answers

Storing Doubles with a string - Java

So I seemed to have run into a slight problem. I am attempting to store some doubles with a string (acting like a name for the them), then be able to sort them in descending order. I would also like to store them in someway, like a hashmap,…
Jack Sullivan
  • 91
  • 1
  • 1
  • 9
0
votes
5 answers

Getting latest/newest HashMap entries

I have a HashMap, and I'm inputting an entry into the HashMap everytime a player speaks for example. Bob492 says 'Hi'. and I will be inputting 'Bob492', and 'Hi' as its value. Now I need a way to capture the last 5 message into a…
Lewes
  • 123
  • 1
  • 6
0
votes
1 answer

Compacting this code?

Is it possible to compact these two loops somehow?, ive had to double them because the second loop deals with the blocks that were ignored by the first loop int count = 1; for(int y = 0; y < cuboidClipboard.getHeight(); y++) …
clienthax
  • 1,211
  • 2
  • 8
  • 12
0
votes
1 answer

Dispenser inventory not updating bukkit

Im currently creating a plugin which utilizes dispensers. I have a while loop during a listener that should remove one piece of coal from the inventory of the dispenser until there is none left on which the loop will break. It loops fine and…
CarbonAssassin
  • 855
  • 12
  • 24
0
votes
1 answer

Error when loading yaml file: mapping values are not allowed here

I have weird problem... I have that class: http://pastebin.com/0rn9jCZd And that configFile: # ProfessionalWarns plugin config :) Plugin by BukkitSmerf. General: V: 0.01 Language: EN DB: SQLite MySQl: user: username db: database …
user2250333
  • 133
  • 3
  • 17
0
votes
1 answer

Add support to UTF-8 chars without writing all class code from 0? [Bukkit and Java]

I have 3 class to handle all configs. (2000 lines in 2 class) And I want add support to UTF-8 chars without writing all code from 0 ;/ I show my smallest class (is not finished and I don't want to spam with 1400 lines :)) Have actual only two…
user2250333
  • 133
  • 3
  • 17
0
votes
2 answers

How do I record a player's response?

Basically what I am trying to do is have the player respond to a message in which they are required to input numbers only. From that point, I could parse the String into an int and use it towards the rest of my code. Also, I am trying to make it so…
J Alex
  • 25
  • 7
0
votes
1 answer

IDE gives no errors, but ArrayList fails to work

I have this in my main class named RuneCraft in package com.mcvigor: public static ArrayList prospPlayers = new ArrayList(); I have this in another class named MiningListener in package com.mcvigor.listeners: ` public void…
0
votes
1 answer

Distributing a java plugin's functionality elegantly - general Java / OOP noob issue

I am trying to split up functionality of a plugin I wrote for Bukkit and I'm not quite sure what the best way to do it would be. Would it make sense to split it into AdCommons (with the main information, like a list of worlds, players, loaded…
Yorrd
  • 726
  • 1
  • 7
  • 20
0
votes
2 answers

Minecraft Bukkit plugin throws Syntax Error

I am trying to make a mixedmodeauth (my own version of an authentication plugin), but there is a problem- at the line with the star, I get the following errors: Syntax error on token "(", ; expected Syntax error on token ")", ; expected void is an…
wuiyang
  • 409
  • 2
  • 5
  • 18
0
votes
1 answer

Issuing commands (stdin) to an already running process using PHP

I got this process running doing some server-related tasks. I'd like to have PHP issue a command to it. The software I'm using is Craftbukkit which is a custom server tool for Minecraft. I'd like to be able to execute various commands to it using…
user1248084
0
votes
2 answers

Bukkit server "unsupported major minor version 51.0" errors

I have been testing the new plugins I have added to my bukkit minecraft server, and saw this error message: C:\Users\XXX\XXXXXXX\XXXXXXXXXXXX>java -Xms1024M -Xmx1024M -jar craftbukkit-1.5. 2-R0.1.jar -o true 229 recipes 27 achievements 14:12:34…
user2217286
  • 19
  • 2
  • 3
0
votes
2 answers

Bukkit - Health in name

FIXED I am attempting to add a health bar next to my entities name, like: Level 3 Skeleton |||| Where bars are how much health, out of 5. I have tried everything it seems, but I cannot figure it out! I think its really simple, but I just can't get…
Paul
  • 21
  • 3
0
votes
1 answer

Bukkit NPE During PlayerInteractEvent

I am getting a NPE (null-pointer exception) when placing any other item than the ones I have defined, or when drinking from a milk-bucket. I have tried adding isCanceled() == false to my EventHandler, but it breaks my RIGHT_CLICK_AIR action. Sorry,…
caycehouse
  • 46
  • 1
  • 1
  • 6