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

java.lang.IllegalArgumentException: bound must be positive(java.util.concurrent.ThreadLocalRandom.nextInt(Unknown Source) ~[?:1.8.0_301])

Get an error saying that my bound must be positive. The error comes from this line : return mapNames[ThreadLocalRandom.current().nextInt(mapNames.length)]; The place where I set mapNames is here : String[] mapNames =…
mlagie
  • 1
  • 2
-1
votes
2 answers

Why does my plugin not give a name to the item?

I've tried everything, but with this code, the items I get for killing a player will have their base Minecraft name, why? I've tried everything. Could another plugin be blocking it? What could be the problem? Java, intellijidea, 1.8 Code: public…
console
  • 11
  • 4
-1
votes
4 answers

Can I make this switch statement any smaller? Preferably with a for loop

Is there a way to make this smaller, I tried using a for loop but couldn't make a random instance for each of the possible Types. Random randFireworkEffect = new Random(5); switch(randFireworkEffect.nextInt()) { case 0: e =…
-1
votes
2 answers

How do I put a runnable in an if statement?

Is it possible to put a runnable in an if statement, because I need it, if the player has a chiseled sandstone underneath it, then it should take the block out after 5 seconds, is it possible to do it this way or do I need another way? Intellij…
console
  • 11
  • 4
-1
votes
1 answer

1.16 Bukkit plugin command with player or @a as an argument

This is my first ever plugin and I'm coding a command that can feed a certain player specified in the commands first argument how do i do this pls help https://i.stack.imgur.com/1kjHg.png
-1
votes
1 answer

How to add an enchantment that 1 shots baby mobs?

I have tried many events such as onAttack,EntityDeathEvent,EntityDamageByEntityEvent. None of these seems to work. It is probably because i wrote the code wrong, here's what i want. I added a command which gives you a diamond sword with the…
Alkaria
  • 1
  • 1
-1
votes
1 answer

What event i need to deal more damage to certain mobs with enchantment?

@EventHandler public void onAttack(EntityDamageByEntityEvent event, ItemStack inHand) { if (!(event.getDamager() instanceof Player && !(event.getEntity() instanceof Player))) { return; } else { Player player =…
Alkaria
  • 1
  • 1
-1
votes
2 answers

how do i use itemStack in recipe

I'm making a plugin using 1.16 spigot API and I'm stuck trying to get an itemStack in the recipe. I was using 1.8 spigot API but when I'm realized that I was either in need of a third party API or making my own crafting system I chose to change from…
zaze
  • 37
  • 1
  • 1
  • 6
-1
votes
1 answer

Null pointer after implementing custom events, have no idea what's missing

This is only my second question on here so please bear with me if I'm doing anything wrong. I have been coding a Bukkit plugin that includes a radiation effect, where if you aren't in a designated safezone you get damaged. I am using the WorldEdit…
-1
votes
1 answer

How does the Event-API of "Spigot / Bukkit" work?

Iam trying to understand, how object-oriented programming in Java works. Herefor I thougth the Spigot-API would be a very nice example. For everyone, who doesnt know spigot : Its an API for making minecraft plugins. I reached the point, where I…
Frosty
  • 41
  • 1
  • 6
-1
votes
1 answer

How do you show a title to only select players using Bukkit?

In minecraft it was possible to do this using tags, I was going to try to make the console run the /tag command, but it causes problems with permissions. I want to show a title or the bossbar only to players the are in a minigame.
-1
votes
1 answer

Why do I get an error referring to the plugin.yml when I reload my bukkit server?

I'm following a java tutorial on how to make plugins, but each time I try to run the plugins on my server, I get this message. >reload [09:04:18] [Server thread/INFO]: CONSOLE: Please note that this command is not supported and may cause issues…
-1
votes
1 answer

How to reload config.yml file on command in Bukkit Plugin?

I was trying to reload config.yml file on command with Bukkit Plugin, I don't know how to do it. I searched on google and I found one answer, but when I used it, config.yml was not generating. Here's my code: BlockChanger Please help
Maxisy
  • 50
  • 1
  • 6
-1
votes
1 answer

How do i fix this error in bukkit/plugin programming: java:cannot find symbol constructor CommandExecute()

I recently started creating a small plugin for my Minecraft bukkit/spigot server (Minecraft Version 1.15.2) for sending the player a message with his coordinates upon death. Everything worked fine until I tried to implement a command for enabling…
byTreneib
  • 176
  • 13
-1
votes
1 answer

Minecraft Spigot Command Not Enabling in Main Class

My Command (Specifically only my cmd2 command) doesn't register, and the console displays an error when I start the server. The other command, cmd1, works, but cmd2 doesn't. I'm really not sure why, so I came here for help. Some of my Main…
Vamp
  • 65
  • 1
  • 7
1 2 3
99
100