Class InternalPaperListener

java.lang.Object
io.github.retrooper.packetevents.bukkit.InternalPaperListener
All Implemented Interfaces:
org.bukkit.event.Listener

@NullMarked @Internal public class InternalPaperListener extends Object implements org.bukkit.event.Listener
Used on Paper 1.21.7+ because of changes due to their Configuration API; This is a variant of the pre-1.20.5 InternalBukkitListener, as Paper no longer creates a Player object during the configuration phase to align with vanilla.
  • Constructor Details

    • InternalPaperListener

      public InternalPaperListener(org.bukkit.plugin.Plugin plugin)
  • Method Details

    • onSpawnLocation

      public void onSpawnLocation(org.spigotmc.event.player.PlayerSpawnLocationEvent event)
    • onJoin

      public void onJoin(org.bukkit.event.player.PlayerJoinEvent event)