Questions tagged [spigot]

Spigot is a Minecraft Server API that uses Bukkit and CraftBukkit bases written in Java. This tag is frequently used in place of Spigot forks such as PaperMC.

Spigot is a platform for minecraft server. It takes the minecraft vanilla server and add an abstract area to easily make plugin for multiple versions.

It started in 2010 with Bukkit (Informations) and you can find the full history and difference with here.

Spigot continue to use Bukkit and CraftBukkit bases.

To know how to write a plugin, you can see here.

When asking a question about spigot, don't forget :

  • Be sure you have one of the latest build
  • Give the version of minecraft you are using
  • Be sure you didn't forget to register listener with implements Listener or with @EventHandler
  • See in latest.log file the first error that concern your plugin, and include it in your question
158 questions
0
votes
2 answers

Assigning a bukkit runnable task to a Minecraft player using a hashmap

I have the following code. I am trying to: Assign a bukkit runnable task to a given ID Assign a player a given ID Place these two IDs into a hashmap, where each participant is matched to their respective bukkit runnable task The repeating task…
0
votes
1 answer

Cannot resolve method 'getTitle' in 'Inventory' when click event

In my event for clicking on kit GUI I get this error "Cannot resolve method 'getTitle' in 'Inventory'". // Event for clicking on kit GUI @EventHandler public void onInventoryClick(InventoryClickEvent e) { Player player = (Player)…
0
votes
0 answers

Custom damage modifier with protection enchant minecraft 1.12.2

I would like to modify the damage suffered with the enchant protection using the NMS. I wrote below the class of the method I used but it doesn't work, what did I do wrong? import net.minecraft.server.v1_12_R1.*; public class…
0
votes
0 answers

ND4J NoAvailableBackendException despite following all documentation steps

I have an annoying issue with ND4J while attempting to implement deeplearning4j into a project. As the title already says, it is a NoAvailableBackendException. I am getting this error with maven, the full pom.xml is here. The stacktrace is here. The…
0
votes
1 answer

How to add craftbukkit to minecraft 1.19.3 plugin as dependency?

I am trying to update a plugin [in 1.18.2] that I haven't written myself to minecraft 1.19.3. However I am struggling with figuring out how to add craftbukkit as a dependency. I use maven and it seems to be unfindable for 1.19.3 in the…
Fuzetea17
  • 19
  • 3
0
votes
1 answer

Could not pass event PlayerMoveEvent to

I'm trying to make a Register/Login plugin in spigot for minecraft and I caught a error: [06:03:10 ERROR]: Could not pass event PlayerMoveEvent to AuthPlugin v1.0-SNAPSHOT org.bukkit.event.EventException: null at…
0
votes
1 answer

Implementing Listener into a java - Kotlin plugin

Im trying to create a Minecraft Plugin using Kotlin, I converted the project to kotlin and did all the necessary stuff, I created an event listener but havent figured how to implement the Listener interface. import org.bukkit.Material import…
0
votes
0 answers

CustomCrafting does not Combine

I have a plugin where I made a custom recipe for mending, everything works great, but I can't use this custom crafted book in the anvil. I think it's because of the ItemMeta, I'm relatively clueless and have already googled, but no result. I ask for…
0
votes
0 answers

My Bukkit plugins has a plugin.yml but it gives this error

[11:20:12 ERROR]: Could not load 'plugins/selamla.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:178)…
0
votes
0 answers

ServiceLoader not loading classes in Bukkit plugin

So I started working on a new Bukkit plugin and did some research on possible ways of automating listener registration. I came across the ServiceLoader class and read its JavaDocs. Basically I'm trying to load all the classes that implement the…
0
votes
0 answers

Why does my spigot plugin maven build fail - cannot access org.bukkit.advancement.AdvancementDisplayType?

I'm making a spigot plugin just for my minecraft server. Until now everything was OK and worked perfectly. Then I added some code and it just won't build... Here is the maven output: https://pastebin.com/fftMVJth And here is the code I…
0
votes
1 answer

How to disable logs for MongoDB in minecraft Spigot plugin?

I'm trying to hide Level.INFO logs from MongoDB because it takes too much space in my console (it literally takes me about 50 lines in cmd). That is code that i tried: Logger logger =…
0
votes
0 answers

I have some problem with Hashmaps in my Spigot Plugin

I am making a plugin that when you run a command your Helmet will get saved in a Hashmap and in an other Hashmaps gets saved that you are now wearing that item then your head slot will get replaced with an item, but when I run the command I get a…
0
votes
0 answers

Edit minecraft pluggin from jar and

My friend asked me if I can make some changes to pluggins he send me. I tried googeling them to find the sorcecode somewhere. Sadly it seems that they are not open scource. So I started decompiling the jar(s) and made the changes in the .class files…
Colors
  • 1
0
votes
2 answers

Jar does not contain plugin.yml - not sure why?

I have the following code below. I am creating a plugin for Minecraft using the Spigot/Bukkit API and the java programming language. I have created this using the maven tool on eclipse. I enter mvn clean package into the terminal on my mac to…
Caledonian26
  • 727
  • 1
  • 10
  • 27