EssentialsX

EssentialsX

2M Downloads

EssentialsXProtect fails to register EntityTransformEvent in 1.12.2 and lower

KingdomsMineMC opened this issue ยท 4 comments

commented

[Server thread/ERROR]: [EssentialsProtect] Plugin EssentialsProtect v2.17.1.48 has failed to register events for class com.earth2me.essentials.protect.EssentialsProtectEntityListener because org/bukkit/event/entity/EntityTransformEvent does not exist.

Server: Paper-Spigot 1.12.2

commented

@KingdomsMineMC You can't just delete the issue template, we need it to be able to help. Please fill it out entirely. That includes providing the entire error message (not just the first line).

commented

[21:52:33] [Server thread/INFO]: Starting minecraft server version 1.12.2
[21:52:33] [Server thread/INFO]: Loading properties
[21:52:33] [Server thread/INFO]: Default game type: SURVIVAL
[21:52:34] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-79a30d7-acbc348 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
[21:52:34] [Server thread/INFO]: Debug logging is disabled
[21:52:34] [Server thread/INFO]: Server Ping Player Sample Count: 12
[21:52:34] [Server thread/INFO]: Using 4 threads for Netty based IO
[21:52:34] [Server thread/INFO]: Generating keypair
[21:52:34] [Server thread/INFO]: Starting Minecraft server on *:53565
[21:52:34] [Server thread/INFO]: Using default channel type
[21:52:34] [Server thread/INFO]: Set PluginClassLoader as parallel capable
[21:52:35] [Server thread/INFO]: [Vault] Loading Vault v1.5.6-b49
[21:52:35] [Server thread/INFO]: [GroupManager] Loading GroupManager v0.3.0
[21:52:35] [Server thread/INFO]: [Essentials] Loading Essentials v2.17.1.48
[21:52:35] [Server thread/INFO]: [EssentialsProtect] Loading EssentialsProtect v2.17.1.48
[21:52:35] [Server thread/INFO]: [EssentialsSpawn] Loading EssentialsSpawn v2.17.1.48
[21:52:35] [Server thread/INFO]: [EssentialsChat] Loading EssentialsChat v2.17.1.48
[21:52:35] [Server thread/INFO]: [EssentialsAntiBuild] Loading EssentialsAntiBuild v2.17.1.48
[21:52:35] [Server thread/INFO]: [Vault] Enabling Vault v1.5.6-b49
[21:52:35] [Server thread/INFO]: [Vault] [Economy] Essentials Economy found: Waiting
[21:52:35] [Server thread/INFO]: [Vault] [Permission] GroupManager found: Waiting
[21:52:35] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.
[21:52:35] [Server thread/INFO]: [Vault] [Chat] GroupManager found: Waiting
[21:52:35] [Server thread/INFO]: [Vault] Enabled Version 1.5.6-b49
[21:52:35] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[21:52:35] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[21:52:35] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[21:52:35] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[21:52:35] [Server thread/INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[21:52:35] [Server thread/INFO]: Preparing level "world"
[21:52:35] [Server thread/INFO]: -------- World Settings For [world] --------
[21:52:35] [Server thread/INFO]: Item Merge Radius: 2.5
[21:52:35] [Server thread/INFO]: Item Despawn Rate: 6000
[21:52:35] [Server thread/INFO]: Arrow Despawn Rate: 1200
[21:52:35] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[21:52:35] [Server thread/INFO]: View Distance: 10
[21:52:35] [Server thread/INFO]: Experience Merge Radius: 3.0
[21:52:35] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[21:52:35] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[21:52:35] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617 Monument: 10387313 Slime: 987234911
[21:52:35] [Server thread/INFO]: Mob Spawn Range: 4
[21:52:35] [Server thread/INFO]: Structure Info Saving: true
[21:52:35] [Server thread/INFO]: Random Lighting Updates: false
[21:52:35] [Server thread/INFO]: Cactus Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Cane Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Melon Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Sapling Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Wheat Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Vine Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[21:52:35] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 / Tiv true
[21:52:35] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[21:52:35] [Server thread/INFO]: Max TNT Explosions: 100
[21:52:35] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[21:52:35] [Server thread/INFO]: -------- World Settings For [world_nether] --------
[21:52:35] [Server thread/INFO]: Item Merge Radius: 2.5
[21:52:35] [Server thread/INFO]: Item Despawn Rate: 6000
[21:52:35] [Server thread/INFO]: Arrow Despawn Rate: 1200
[21:52:35] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[21:52:35] [Server thread/INFO]: View Distance: 10
[21:52:35] [Server thread/INFO]: Experience Merge Radius: 3.0
[21:52:35] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[21:52:35] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[21:52:35] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617 Monument: 10387313 Slime: 987234911
[21:52:35] [Server thread/INFO]: Mob Spawn Range: 4
[21:52:35] [Server thread/INFO]: Structure Info Saving: true
[21:52:35] [Server thread/INFO]: Random Lighting Updates: false
[21:52:35] [Server thread/INFO]: Cactus Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Cane Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Melon Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Sapling Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Wheat Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Vine Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[21:52:35] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 / Tiv true
[21:52:35] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[21:52:35] [Server thread/INFO]: Max TNT Explosions: 100
[21:52:35] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[21:52:35] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[21:52:35] [Server thread/INFO]: Item Merge Radius: 2.5
[21:52:35] [Server thread/INFO]: Item Despawn Rate: 6000
[21:52:35] [Server thread/INFO]: Arrow Despawn Rate: 1200
[21:52:35] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[21:52:35] [Server thread/INFO]: View Distance: 10
[21:52:35] [Server thread/INFO]: Experience Merge Radius: 3.0
[21:52:35] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[21:52:35] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[21:52:35] [Server thread/INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617 Monument: 10387313 Slime: 987234911
[21:52:35] [Server thread/INFO]: Mob Spawn Range: 4
[21:52:35] [Server thread/INFO]: Structure Info Saving: true
[21:52:35] [Server thread/INFO]: Random Lighting Updates: false
[21:52:35] [Server thread/INFO]: Cactus Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Cane Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Melon Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Sapling Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Wheat Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Vine Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[21:52:35] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[21:52:35] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16 / Tiv true
[21:52:35] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[21:52:35] [Server thread/INFO]: Max TNT Explosions: 100
[21:52:35] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[21:52:35] [Server thread/INFO]: Preparing start region for level 0 (Seed: -1523825598125102156)
[21:52:36] [Server thread/INFO]: Preparing start region for level 1 (Seed: -1523825598125102156)
[21:52:37] [Server thread/INFO]: Preparing start region for level 2 (Seed: -1523825598125102156)
[21:52:37] [Server thread/INFO]: [GroupManager] Enabling GroupManager v0.3.0
[21:52:37] [Server thread/INFO]: GroupManager - INFO - World Found: world
[21:52:37] [Server thread/INFO]: GroupManager - INFO - Superperms support enabled.
[21:52:37] [Server thread/INFO]: GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
[21:52:37] [Server thread/INFO]: GroupManager - INFO - Backups will be retained for 24 hours!
[21:52:37] [Server thread/INFO]: GroupManager version 0.3.0 is enabled!
[21:52:37] [Server thread/INFO]: [Vault][Permission] GroupManager hooked.
[21:52:37] [Server thread/INFO]: [Vault][Chat] GroupManager - Chat hooked.
[21:52:37] [Server thread/INFO]: [Essentials] Enabling Essentials v2.17.1.48
[21:52:37] [Server thread/INFO]: Attempting to convert old kits in config.yml to new kits.yml
[21:52:37] [Server thread/INFO]: No kits found to migrate.
[21:52:37] [Server thread/INFO]: [Essentials] Starting Essentials ban format conversion
[21:52:37] [Server thread/INFO]: [Essentials] Starting usermap repair
[21:52:37] [Server thread/WARN]: [Essentials] Missing userdata folder, aborting
[21:52:37] [Server thread/INFO]: [Essentials] Using legacy item data provider as mob spawner provider.
[21:52:37] [Server thread/INFO]: [Essentials] Using Reflection based provider as spawn egg provider.
[21:52:37] [Server thread/INFO]: [Essentials] Using 1.9+ BasePotionData provider as potion meta provider.
[21:52:37] [Server thread/INFO]: Loaded 852 items from items.csv.
[21:52:37] [Server thread/INFO]: Using locale de_DE
[21:52:37] [Server thread/INFO]: [Essentials] ServerListPingEvent: Spigot iterator API
[21:52:37] [Server thread/INFO]: [Essentials] Starting Metrics. Opt-out using the global bStats config.
[21:52:37] [Server thread/INFO]: [Vault][Economy] Essentials Economy hooked.
[21:52:37] [Server thread/INFO]: [Essentials] Using Vault based permissions (GroupManager)
I have the server set up new with Spigot-1.12.2 the error remains.

[21:52:37] [Server thread/INFO]: [EssentialsProtect] Enabling EssentialsProtect v2.17.1.48
[21:52:37] [Server thread/INFO]: [EssentialsProtect] Continuing to enable Protect.
[21:52:37] [Server thread/ERROR]: [EssentialsProtect] Plugin EssentialsProtect v2.17.1.48 has failed to register events for class com.earth2me.essentials.protect.EssentialsProtectEntityListener because org/bukkit/event/entity/EntityTransformEvent does not exist.
[21:52:37] [Server thread/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn v2.17.1.48
[21:52:37] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat v2.17.1.48
[21:52:37] [Server thread/INFO]: [EssentialsAntiBuild] Enabling EssentialsAntiBuild v2.17.1.48
[21:52:37] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[21:52:37] [Server thread/INFO]: Done (2,869s)! For help, type "help" or "?"

commented

Upon some investigation, this is likely due to #2836. Need someone to double check this, but the listener for this event should probably only be registered if a supported game version is loaded.

commented

Upon some investigation, this is likely due to #2836. Need someone to double check this, but the listener for this event should probably only be registered if a supported game version is loaded.

You're correct, it seems the event is only present in 1.13.2 and above having been added to the Bukkit API in November of 2018: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/commits/856adc3e6afc3e9c0495ac27e38b96b144e54b1e