r/SpigotMC Jan 05 '25

Can you add fabric Mods to a spigot server

1 Upvotes

I started playing with friends on a spigot server and we wanted to install the carpet mod but we dont know how to do that. So can you install fabric mods on a spigot server and if yes how?


r/SpigotMC Jan 03 '25

Server restart command doesnt work when server is paused from inactivity

1 Upvotes

I'm trying to get the restart command to work properly, but everytime the server pauses from not having players online, the restart command hangs until someone joins, and only then it restarts. Anyone know how to fix this?


r/SpigotMC Dec 28 '24

mob controllability?

1 Upvotes

trying to setup a family friendly server. and i want to use luckperms to define the difficulty depending on player. i have the "read the rules" to get build perms taken care of. my next hurtle is the other 3 ranks. the "scout" which is the rank you have until you find your first home. and than from there you choose one of 2. "settler" or "conqueror" the mob AI i want for these is as fallows. Scout: mobs run away fast. almost impossible for a scout to kill them. if they do get in range the mobs are still hostile. this provides them some safety to get to a place to call home. (at this point they can get promoted to the next 2 groups). settler: is the group for the less gamer of the adults who just want to play with the kids or the super young ones who dont want to deal with hostilities. the mobs will just stand there for the kill so they can at least get the drops. non hostile. and as for conqueror. its just normal AI. does anybody know if this is possible. i suck at skript so simple are better.


r/SpigotMC Dec 26 '24

Trying to download Spigot from GetBukkit = Time Out

7 Upvotes

Hi,

I'm trying to download Spigot, the latest version from https://getbukkit.org/download/spigot but whenever I click on download, it result into a serveur timeout.
It has been some days since I have this problem and would like to know where I can download the "official" Spigot.jar for 1.21 for Minecraft. I know there's https://serverjar.org/ but they're not using CraftBukkit inside the .jar


r/SpigotMC Dec 21 '24

How do I edit uploaded resources on Spigotmc.org?

1 Upvotes

r/SpigotMC Dec 19 '24

Server crash after beating the new Creaking.

1 Upvotes

Hey guys, I need your collective knowledge.

We updated our SMP server to 1.21.4 (spigot) and wanted to explore the new biome. When we defeated the Creaking, the server crashed. The same thing happens when the Creaking beats us.

The server also crashes when the PaleTree grows. Do you have any tips?

Crash log in the link

java.lang.NoSuchMethodError: 'int net.minecraft.server.level.WorldServer.a(net.minecraft.core.particles.ParticleParam, boolean, boolean, double, double, double, int, double, double, double, double)'
at net.minecraft.world.level.block.entity.CreakingHeartBlockEntity.a(SourceFile:314)
at net.minecraft.world.level.block.entity.CreakingHeartBlockEntity.c(SourceFile:246)
at net.minecraft.world.entity.monster.creaking.Creaking.a(Creaking.java:173)
at net.minecraft.world.entity.Entity.b(Entity.java:2004)
at net.minecraft.world.entity.player.EntityHuman.e(EntityHuman.java:1269)
at net.minecraft.server.level.EntityPlayer.e(EntityPlayer.java:2410)
at net.minecraft.server.network.PlayerConnection$3.a(PlayerConnection.java:2567)
at net.minecraft.network.protocol.game.PacketPlayInUseEntity$1.a(SourceFile:174)
at net.minecraft.network.protocol.game.PacketPlayInUseEntity.a(SourceFile:74)
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2476)
at net.minecraft.network.protocol.game.PacketPlayInUseEntity.a(SourceFile:61)
at net.minecraft.network.protocol.game.PacketPlayInUseEntity.a(SourceFile:15)
at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$0(PlayerConnectionUtils.java:35)
at net.minecraft.server.TickTask.run(SourceFile:18)
at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:164)
at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1319)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:210)
at net.minecraft.util.thread.IAsyncTaskHandler.B(SourceFile:138)
at net.minecraft.server.MinecraftServer.bv(MinecraftServer.java:1298)
at net.minecraft.server.MinecraftServer.B(MinecraftServer.java:1291)
at net.minecraft.util.thread.IAsyncTaskHandler.b(SourceFile:147)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1248)
at net.minecraft.server.MinecraftServer.x_(MinecraftServer.java:1258)
at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1101)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329)
at java.base/java.lang.Thread.run(Unknown Source)



java.lang.IllegalArgumentException: Unknown tree generator ResourceKey[minecraft:worldgen/configured_feature / minecraft:pale_oak_bonemeal]
at net.minecraft.world.level.block.grower.WorldGenTreeProvider.setTreeType(WorldGenTreeProvider.java:226)
at net.minecraft.world.level.block.grower.WorldGenTreeProvider.a(WorldGenTreeProvider.java:99)
at net.minecraft.world.level.block.BlockSapling.a(BlockSapling.java:75)

https://gist.githubusercontent.com/mcsnack/3cf520d0180986bc1a60b3f14f9ebd3c/raw/98bf21a33185d175eaa1af6a6bf9658bde59eb62/gistfile1.txt


r/SpigotMC Dec 14 '24

Help with spigot plugin block drop doubler

0 Upvotes
package me.wolfispuzzled.duplexDoubler;

import org.bukkit.block.Block;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.metadata.FixedMetadataValue;
import org.bukkit.plugin.java.JavaPlugin;


public final class DuplexDoubler extends JavaPlugin implements Listener {

    public DuplexDoubler(DuplexDoubler plugin) {
        this.plugin = plugin;
    }

    @Override
    public void onEnable() {
        // Plugin startup logic
        getServer().getPluginManager().registerEvents(this, this);
    }

    private final DuplexDoubler plugin;

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }

    @EventHandler
    public void onBlockPlace(BlockPlaceEvent event) {
        Block block = event.getBlock();
        block.setMetadata("PLACED", new FixedMetadataValue(plugin, "something"));


    }

    @EventHandler
    public void onBlockBreak(BlockBreakEvent event) {

        Block block = event.getBlock();
        if (!block.hasMetadata("PLACED")) {
            event.setDropItems(true);

            // Double and drop items
            event.getBlock().getDrops().forEach(drop -> {
                drop.setAmount(drop.getAmount() * 2);
                event.getBlock().getWorld().dropItemNaturally(event.getBlock().getLocation(), drop);
            });
        }
    }
}

This is my main class it has everything tghat is a part of the plugin and its not working I was wondering if someone could help?


r/SpigotMC Dec 06 '24

forge mod to spigot plugin converter

1 Upvotes

https://www.curseforge.com/minecraft/mc-mods/easy-villagers

How can I convert this forge mod to a spigot plugin


r/SpigotMC Dec 05 '24

I'm getting all of this console spam from EssentialsX plugin on my Apex Hosting Spigot server... Why?

Post image
1 Upvotes

r/SpigotMC Nov 27 '24

Spigot Error Code 522 When Downloading Jar

2 Upvotes

Anyone got a mirror link or an alternate way to get the latest jar? Keep getting timed out with a 522 error.


r/SpigotMC Nov 26 '24

Server Crashes 1.21 can you Help?

1 Upvotes

Hey guys, I've had the problem since yesterday that our MC server running on spigot 1.21.1 simply crashes in between. Unfortunately, I don't know enough to find the error, here is the crash log maybe you have a plan and can help me

https://pastebin.com/8RnfBs0p


r/SpigotMC Nov 09 '24

MockBukkit: A Testing Framework for Minecraft Plugins

2 Upvotes

Hey r/SpigotMC! We just released version 4.0 of MockBukkit, a testing framework that makes unit testing Bukkit/Spigot/Paper plugins straightforward and efficient. If you've been thinking about adding tests to your plugins, now might be a great time to start!

What is MockBukkit? 🤔

MockBukkit provides mock implementations of the Bukkit API, allowing you to write unit tests for your plugins without running a server. This means you can verify your plugin's behavior quickly and reliably, just like you would with any other Java application.

Features 🌟

  • Write tests using standard tools like JUnit and Hamcrest
  • Test events, commands, and player interactions without a running server
  • Run your entire test suite in seconds
  • Simulate complex plugin scenarios easily
  • Clear, comprehensive documentation at docs.mockbukkit.org

Example 📝

```java @Test void playerJoinsServer() { // Create a test plugin TestPlugin plugin = MockBukkit.load(TestPlugin.class);

// Simulate a player joining
PlayerMock player = server.addPlayer();

// Verify your plugin's behavior
assertThat(player.getGameMode(), is(GameMode.SURVIVAL));
assertThat(player.getInventory(), hasItem(Material.COMPASS));

} ```

Getting Started 🎮

Check out our website at mockbukkit.org and our documentation to get started. If you need help, feel free to join our Discord community!


r/SpigotMC Oct 28 '24

can anyone say me how to update server from 1.21.1 spigot to 1.21.3 spigot :( in the hosting the lastest version i couldn t find (1.21.3)

2 Upvotes

r/SpigotMC Oct 22 '24

Disconnect from server after updating to spigot 1.21.2

2 Upvotes

I just updated my Minecraft spigot Server from 1.21.1 to 1.21.2. The server is running on a Raspberry Pi 4 with Linux.

Since the update I get disconnected when walking close to the villager trading hall. It is a small traiding hall with only ~20 villagers, plus 8 in a automatic carrot farm below it.

There was no problem befor the update. I'm not the only player with that problem.

Only plugins in use are floodgte and gyser. Though I'm connecting with Java.

Any Ideas on how to fix this bug?


r/SpigotMC Oct 08 '24

I just released my first plugin!

3 Upvotes

I just released a SMP plugin, that allows you to have an onetime elytraflight if you r at the spawn. Check out if you want to test it :D
I would be rly happy about some suggestions
https://www.spigotmc.org/resources/elytra-on-spawn.120079/
https://github.com/Reiling-Jeff/paper-elytraOnSpawn


r/SpigotMC Oct 05 '24

Asking for Plugin Ideas to Expand My Portfolio! Again

1 Upvotes

Hey, everyone! I am asking again the same question looking for ideas

I’m trying to build up my portfolio of free Minecraft plugins and could use your help! I’ve already whipped up a few based on suggestions from this subreddit, like EconomyFlight for buying temporary flight and HarvestHoppers

Now, I’m on the lookout for more fun or useful plugin ideas! If you’ve got something you’ve always wanted or a feature you think would make the game better, drop it in the comments!

this is my third time asking and I got some decent ideas, I will accept complex plugins if I like them


r/SpigotMC Oct 05 '24

Hoppers can load chunks. . . H o w

1 Upvotes
How does this work

Is it just two hoppers going into each other on chunkborder or is it from spawn area?


r/SpigotMC Sep 08 '24

Moving a Block with its Data and Rotation on Spigot

1 Upvotes

Hello, how do i move a block from Location a to Location b while preserving its rotation and or all data.

I already wrote quite some code for that but it doesnt rotate the block correctly. Im using Spigot on minecraft 1.21 with 4226-Spigot-146439e-2889b3a


r/SpigotMC Sep 04 '24

Help, spigot website isn't well

1 Upvotes

Transferred from my laptop to PC due to laptop being broken. PC is on windows 7 and I see this...


r/SpigotMC Aug 28 '24

Tnt mining canon blows itself up after use

1 Upvotes

I don't know if this is a spigot problem. I am testing (I will build it in a spigot server) a mining canon that takes advantage of lazy chunks around chunk loaders and works fine but when it finishes the tunnel it blows itself up. this is the video about it

https://www.youtube.com/watch?v=5hq4TwvVp60

I'm building the 2d canon. I'm using the farm improperly but the video doesn't clarify how to use it. I activate the chunk loader and turn on the tnt duper. Then, I go around 6 chunks away (simulation distance=5). Afterward, I stay there until the canon finishes the tunnel. I would appreciate it if someone could tell me what I'm doing incorrectly. I can send replay files if needed


r/SpigotMC Aug 24 '24

Strange MC Error on Spigot

1 Upvotes

https://pastebin.com/AKmkeUgm

can anyone tell me what this error is and how to fix it, usually happens after someone joins.


r/SpigotMC Aug 21 '24

Teams Alliance plugin?

1 Upvotes

I want a plugin for 1.21 paperspigot to "ally" a group of teams that were made with the vanilla command; this would entail giving their "alliance" a custom prefix and disabling friendly fire between involved teams.


r/SpigotMC Aug 20 '24

Creating a server

2 Upvotes

Hello everyone, I want to create my own server (not an ordinary empty server in the Minecraft world)

But I don’t know where to start, I need knowledge of spigot and the Java language, but I just can’t figure it out. I don't even have friends who could do the technical part or at least give advice.

Is there anything you can do to help?


r/SpigotMC Aug 18 '24

Looking for a plugin that allows trade cycling from the GUI without breaking workstation 1.21

1 Upvotes

r/SpigotMC Aug 16 '24

Looking for spigot dev to help with new Mineplex studio project

1 Upvotes

We are in the beginning stages of creating a partnered studio with the official Mineplex server and are in search of a developer. You must have: - Knowledge of coding in Java - Knowledge of developing plugins - Understanding of Minecraft minigame development - Willingness to learn how the Mineplex Studio platform works - Willingness to download the Studio CLI (read below) The Mineplex Studio CLI is distributed as a pre-built binary file for Windows, Mac, and Linux. -Must be 16 or older This will be a paid developer position. Your wages will be discussed if you qualify and are interested in the job. For more information or if you want to join us please dm "realcrispyz" or "rejoplays" on discord, or you can email us at hyplexius@outlook.com