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
3 answers

Good YAML code isn't accepted by Bukkit

So I have the YAML code that I made for PermissionsBukkit 1.6. But that stopped working with the new Minecraft update. The Online YAML Parser couldn't find any issues with it. users: Grace: permissions: permissions.example: true …
user1427806
  • 73
  • 1
  • 2
  • 10
0
votes
3 answers

Bukkit won't load the plugin: name is not defined

Here's my code: package me.chimericalhobo.BlockChanger; import java.util.ArrayList; import java.util.logging.Logger; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import…
Addles
  • 9
  • 2
0
votes
4 answers

Why isn't "<= 1" working as expected?

I have the following code @EventHandler public void onPlayerQuit(PlayerQuitEvent event){ Player player = event.getPlayer(); final Player[] playerlist = getServer().getOnlinePlayers(); if (playerlist.length <=1) { // if no players are…
Jeremy Sayers
  • 637
  • 4
  • 10
  • 23
-1
votes
1 answer

Minecraft Anti cheat ( java: cannot find symbol )

Im trying to make a minecraft anti cheat with bukkit. my server version is 1.18. but i seem to get this error; java: cannot find symbol symbol: method getTitle() location: variable inventory of type org.bukkit.inventory.Inventory here is the…
RipTide 12
  • 11
  • 2
-1
votes
1 answer

Runtime java.lang.NoClassDefFoundError in Maven project even in shaded jar

I'm writing a tool to aid with the development of a Paper plugin for a Minecraft server. It uses Maven to bring in the relavent dependencies, and I'm using a plugin to produce a shaded jar. I'm also using a plugin to generate an executable jar. My…
Marf Bot
  • 55
  • 1
  • 7
-1
votes
1 answer

(BungeeCord Messaging Channel) The message received in the Channel, is different than the one sent

I encountered this problem, sending from a Paper Server a message (containing the command to be executed as String) through this code: ByteArrayDataOutput out =…
-1
votes
2 answers

Minecraft's Plugin -getInstance

I use static objects in order to use JavaPlugin in another class , but I can't understand why instance = this; should be written inside onEnable(). Why can't it be written when we declare private static Main instance;? import…
Lin898
  • 1
  • 2
-1
votes
1 answer

Log4j2-TF-1-AsyncLogger[AsyncContext@33909752]-1 ERROR An exception occurred

i use guice in my bukkit plugin and i got that error: Log4j2-TF-1-AsyncLogger[AsyncContext@33909752]-1 ERROR An exception occurred 2022-07-19 13:02:17,704 Log4j2-TF-1-AsyncLogger[AsyncContext@33909752]-1 ERROR An exception occurred processing…
Den Aco
  • 5
  • 1
-1
votes
1 answer

Trying to get getView().getTitle() to work

I was first using only getTitle() for this but then found you need to use getView() as well. So i did but I stil can't get it to work. FYI This is the error : Cannot resolve method 'getView' in 'Inventory' I tried changing getInventory() for…
-1
votes
1 answer

Bukkit nullpointerexception

Does anyone knows how to fix this nullpointerexception? https://haste.nycode.de/gipicaxune.avrasm Silvan
Silvan
  • 21
  • 6
-1
votes
2 answers

Minecraft Bukkit Plugin, runTask(Plugin plugin)

i try to make a minecraft plugin with bukkit and i will try to change the time every 500ms but when i start that in the main thread, the server crashes. So i tried the runTask(); function but i do not know where i can find the parameter Plugin,…
-1
votes
2 answers

How can I use bukkit Javaplugin without 'extends javaplugin'?

I use paper plugin, java. I want to use getLogger(bukkit's)code. I know I cannot use ' extends JavaPlugin ' code. so, how? Source code package com; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; public class (class…
nooob
  • 1
  • 2
-1
votes
1 answer

How to separate my plugin into multiple classes

I use java and paper plugin. I made this myself, but it doesn't work well. source code package com; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; public class [[mainclassname]] extends JavaPlugin implements Listener…
nooob
  • 1
  • 2
-1
votes
2 answers

Copy large regions with Spigot

I'm currently working on a training plugin, where every player would get his own region, to learn bridge for example. So when a player joins, the plugin should automatically generate a new area for this player and delete it when he leaves. I've…
Brentspine
  • 274
  • 1
  • 15
-1
votes
1 answer

java.lang.NullPointerException: null | Bukkit.getPluginCommand Error, Spigot API 1.16 using

Here I implemented my commands: Bukkit.getPluginCommand("fw").setExecutor((CommandExecutor)new FireworkCMD()); Bukkit.getPluginCommand("armor").setExecutor((CommandExecutor)new…