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

Getting NoClassDefFoundError in jar file

I just added new dependency: com.github.hamza-cskn.obliviate-invs core 4.1.13 And now I am getting NoClassDef error. Creator of that library says…
Timas_bro
  • 33
  • 5
0
votes
1 answer

SPIGOT API Minigame Map Rollback Using World Unload Method

So I've been trying to create a simple minigame engine. Within my Arena Manager class I create the arena's based on the config file information. I then make it so these worlds have autosave set to false. That way when I unload and reload the world…
0
votes
1 answer

Replace block placement with a barrel full of specific items

I'm trying to make a Minecraft spigot plugin using intellij. The bit that I'm struggling with is that I would like an event to be triggered when I place a certain item with a certain name and then that item be replaced with another. For example,…
0
votes
0 answers

Embed config in JAR, or store it in a database?

I'm developing for a game network (Minecraft) where we might need to run a large amount of game instances. When it comes to storing configurations, the first thing that comes to mind is to store them in a database, like Mongo, and have the game…
Liam
  • 41
  • 1
  • 5
0
votes
0 answers

The KTOR server refuses my plugin's register request Solved

I am making a KTOR server that aims to allow the player to buy/sell IG items for money in game item. To do this, the person must be able to connect/register to the site. But, as I'm using the Minecraft nickname to facilitate the item give, it's…
Plag
  • 1
  • 2
0
votes
0 answers

Ktor server when i create an itemStack the ItemMeta is null

I'm making a KTOR server that aims to allow the player to buy IG items with IG money. For this, I use the spigot API in 1.20. I also use this class, but I get the error below when I use the getItemMeta() method or in Kotlin .itemMeta. I'd like to…
Plag
  • 1
  • 2
0
votes
0 answers

SpigotAPI Method on different thread/async runnable slowing

I'm trying to run a certain "scanning" system. It has to scan millions of blocks and do many different things with each block so when I try and run it normally I get: https://sourceb.in/nFuUfzJ1oj this crash. So I tried putting it in a runnable and…
Caleb
  • 1
0
votes
2 answers

Clojure in server plugin dev: calling classes that must be initialized after server startup

I'm new to clojure.. Suppose that a server loads plugins by loading jar file on runtime. And the server itself has many classes that must be initialized after server startup. (these classes will check if server if running while constructing...) Can…
0
votes
0 answers

Stuck at Picked up _JAVA_OPTIONS: -Djdk.net.URLClassPath.disableClassPathURLCheck=true -Xmx1024M -Xmx1024M when building spigot server

Basically I am trying to run a spigot server on my Raspberry Pi B+. However I keep getting stuck on this one line. I tried to run java -Xmx1024M -Xmx1024M -jar BuildTools.jar --rev 1.19.4 To build the server and this is the output: text And it gets…
0
votes
1 answer

How to get all variants of the ingredients for a recipe?

I have an auto-crafter plugin for a Minecraft server, what's important is that it lookups the recipe of the item it is to craft using the ingredient map ((ShapedRecipe)recipe).getIngredientMap();. the ingredient map links a character in the recipe…
RIVERMAN2010
  • 427
  • 3
  • 9
0
votes
0 answers

NMS Mojang Mappings

I am developing a server plugin in 1.17.1 and trying to use NMS I ran buildtools.jar and even after am still getting errors. WORKS(without mojang mappings) org.spigotmc spigot
0
votes
0 answers

How to fix Bukkit Scheduler for 2 Players

I'm writing a Minecraft plugin where I want to work a lot with schedulers and I always get the problem when 2 players carry out an activity at the same time where a scheduler is installed, then the animation of the player who started the activity…
ALTF99
  • 1
  • 1
0
votes
0 answers

Changing AttributeModifiers of Weapons and Armor in Minecraft(Java)

I am using Java with Maven and Spigot-API(1.19.4) to create a plugin which enhances item modifiers for weapons and armor if the enchantment is succesful(+5% per level, for total of 20 levels). The issue is, for some reason it does not apply the…
Roomba
  • 25
  • 3
0
votes
0 answers

I can't import minecraft package in my java project

I'm creating a Minecraft Java plugin and to make it work I need to import a few packages, but when I put the ; in the end the string becomes gray (In the source code they are indicated with * after the string) and therefore it doesn't detect the…
0
votes
0 answers

Spigot Connection Refused: errno 61

I compiled the spigot-1.19.4.jar as instructed in the official documentation. My mcpi version on pip is 1.2.1 (I had to force that because my version of python threw exception for collection.Iterable). Minecraft is at the same 1.19.4 version and I…
user2346536
  • 1,464
  • 2
  • 21
  • 43
1 2
3
10 11