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

How can i get the command which executes when you click an npc?

I`m tried to get the command which executes when i click an npc on my server. How can i get this command? I tried to use some modded client to get it but it didnt helped.
VanProBRO
  • 11
  • 4
-1
votes
1 answer

Why java class not do GET request

I made java script, it save/load player inventory when he leave/join, but someting goes wrong(GET request dont send) here is classes. InventorySync: import com.google.gson.Gson; import org.bukkit.entity.Player; import…
-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

Minecraft Spigot/Paper best way to receive info to site?

How to best way to receive info to cite from minecraft plugin? Maybe used simple http servlet, but how start him without Tomcat? Or, maybe, better to use websockets? I'm creating a project used plugin "Minecraft" like spigot plugin and try to add…
Igor Bukur
  • 21
  • 4
-1
votes
1 answer

Comparing 2 configfile in java (for spigot plugin)

I try to learn some thing about plugin for minecraft. In my way i got to make config files. From there everything is ok i can read it, save it into the pluginfolder.. But when i change it into my resourceFolder it dosn't update into the…
Meridias
  • 1
  • 1
-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
1 answer

I'm creating a spigot plugin, and the config file that appears on my test server doesn't match the one in Intellij

The part of my config file specifically is this: Players: "examplePlayer1": - 10 - 0 "examplePlayer2": - 75 - 3 That's what it looks like in Intellij, but when I package the plugin and put it in my test server, the config file…
-1
votes
1 answer

why does my sql table treat 1000 as a middle number?

When I try to sort by a value descending my SQL table does it correctly, but if it sees for example "1000" it always puts it in the middle? for Example: this even happens when I reference it in spigot (I'm using it for a plugin) it outputs it the…
user19387122
-1
votes
1 answer

having trouble with my event identifying the hashset from my command class minecraft plugin (spigot)

So I'm experimenting with hashmaps/sets and I can't get my event class to recognize the contents of my hashset. The toggle command works (identifies and sends back correct results of if the player is in the set or not) but, the event when I cast the…
user19387122
-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
2 answers

How can I make a new HashMap that won't change the one I've copied from?

I have a HashMap called the Item Database, which stores data about all of the items. However, these items can have modifiers (in this case, the stat multiplier is important). Whenever I change an item to just one specific item drop, it ends up…
Endistic
  • 1
  • 1
-1
votes
2 answers

Error: Could not create the Java Virtual Machine. Spigot Minecraft

i'm trying to install spigot server on debian 10, when i run start.sh: #!/bin/sh while true do java -Xms4G -Xmx4G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 - XX:+UnlockExperimentalVMOptions -$ echo "restarting in 10" sleep…
Grainbox
  • 31
  • 3
-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

Flickering Level Bar in Spigot/Minecraft Repeating Task

I'm currently running into a rather annoying problem. Im running round about this task, with a Spigot-1.8 in Java 1.8. But this exact code gives me two diffrent Results. In one the Levelbar of Minecraft just counts down and in another the Levelbar…
-1
votes
2 answers

Minecraft | Spigot | Set Double or argument Decimal limit in command

I am currently working on my own currency system and am now looking for a solution to limit the decimal places in the argument to solve this problem. Example "/command…
1 2 3
10
11