AVS Key-Skript
2025-10-16Skript addon for Paper/Spigot that exposes two ready-made triggers for UI automa
Skript addon that fires events when a player opens Advancements or receives Statistics. Perfect for auto-opening GUIs, running commands, or any QoL automation tied to those screens.
Features
- on advancement open: — fires when the client sends ADVANCEMENT_TAB.
- on statistics open: — fires when the server sends STATISTICS.
- Optional debug: true in config.yml for clear console logs.
- Designed for Paper 1.21.4; stable PacketEvents-based implementation.

Requirements
- Paper 1.21.4 (Java 17+)
- Skript 2.9.x
- PacketEvents 2.9.5+
Install
- Drop YSkriptPackets-2.x.x.jar, Skript, and PacketEvents into plugins/.
- Start the server.
- (Optional) Set debug: true in plugins/YSkriptPackets/config.yml.
Quick Example (Skript)
on statistics open:
broadcast "&aStats opened by %player%"
on advancement open:
wait 1 tick
# Opening an inventory closes the Advancements screen
make player execute command "/config"
Notes
- Events are notifications (non-cancellable), fired on the main thread.
- Opening any inventory/GUI will “close” the Advancements screen on the client—use the 1-tick delay for smooth UX.
Changelog (latest)
- 2.0.2 – Events marked synchronous (fixes Paper IllegalStateException).
- 2.0.1 – Corrected PacketEvents Maven coords/repos.
- 2.0.0 – Initial stable release (PacketEvents).
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta