SkillSystemTest

public class SkillSystemTest implements Listener

Admin-only batch diagnostic for the skill system. It tests each weapon type across the configured level checkpoints, grades observed effects, and produces a report. Session mutation, observations, and combat simulation are delegated to dedicated owners so cancellation can restore player state. Kill-triggered skills use a separate real-dummy kill phase because the normal hit loop heals its target after every attack.

Constructors

Link copied to clipboard
public void SkillSystemTest(Player player)
public void SkillSystemTest(Player player, SkillType filterType)
Creates a test session with an optional weapon type filter.

Properties

Link copied to clipboard
public final Player player
Link copied to clipboard
public final UUID playerUUID

Functions

Link copied to clipboard
public void cancel()
Link copied to clipboard
public Player getPlayer()
Link copied to clipboard
public UUID getPlayerUUID()
Link copied to clipboard
public static SkillSystemTest getSession(UUID playerUUID)
Link copied to clipboard
public static boolean hasActiveSession()
public static boolean hasActiveSession(UUID playerUUID)
Link copied to clipboard
public void onDrop(PlayerDropItemEvent event)
Link copied to clipboard
public void onHeldSlot(PlayerItemHeldEvent event)
Link copied to clipboard
public void onIncomingDamage(EntityDamageEvent event)
Link copied to clipboard
public void onInteract(PlayerInteractEvent event)
Link copied to clipboard
public void onInventoryClick(InventoryClickEvent event)
Link copied to clipboard
public void onInventoryDrag(InventoryDragEvent event)
Link copied to clipboard
public void onNaturalHealing(EntityRegainHealthEvent event)
Link copied to clipboard
public void onPickup(EntityPickupItemEvent event)
Link copied to clipboard
Link copied to clipboard
public void onPlayerQuit(PlayerQuitEvent event)
Handles player disconnect during testing - restores state and cleans up.
Link copied to clipboard
public void onSwap(PlayerSwapHandItemsEvent event)
Link copied to clipboard
public static void registerRecoveryListeners()
Soft reload unregisters plugin listeners even when a failed restoration retains its owner.
Link copied to clipboard
public static void shutdown()
Link copied to clipboard
public void start()