Customization with Minecraft - My plugin does not work normally

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Callisto’ v2.5.0.0 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

I’ve developed a Bukkit plugin with listeners that are recorded. But some are not registered. For example, the “EntityDamageByEntityEvent” listener is never triggered.

The instance is a copy of my local server. And it works perfectly locally.

Reproduction Steps

  • I have installed a new Instance for a mini game serveur. I chose “After Creation: Do nothing”
  • Once the instance was installed, I went to the Configurations > Server Settings section and set the Server Type to “Spigot”, Release Stream to “Specific version” and Spigot/CraftBukkit Version to 1.18.2 (the version of my spigot server).
  • Then I added all my files from my local server to the instance. I set everything up properly in my plugin config file. When I updated the server, I started it up. Everything seemed to work fine in the console.
  • I connect to start a game, the game starts normally but some features don’t seem to work, for example when a player is hit by a snowball, the “EntityDamageByEntityEvent” is supposed to be triggered in my plugin, but nothing happens. I copied everything to my local server to see if it was coming from my plugin or the instance and everything worked fine. So the problem is with the instance.

This would be something to ask the Spigot community. This isn’t something AMP controls or has any involvement with.

I’d also say to check that the server is actually loading using Spigot (should say in the log), most of the time the server’s Jar should be left as Autoselect, be sure that you don’t have the vanilla Jar selected, as that’ll prevent your plugin from loading.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.