
PacketTrigger
PacketTrigger lets you intercept the packets from other plugins and replace them with your own actions
7
1
PacketTrigger 2.0.0
release12 апреля 2026 г.Added
SEND_TITLEaction — send title and subtitle with configurable fade timesPLAY_SOUNDaction — play any Bukkit sound with volume and pitch controlPLAY_PARTICLEaction — spawn particles around the playerREPEATaction — run a set of actions multiple times with a configurable intervalRANDOMaction — pick one action at random from a list- Per-trigger
cooldown— prevent a trigger firing more than once per N seconds per player - Per-trigger
conditions— list of checks that must all pass for the trigger to fire - Per-trigger
permission— only fire for players with a specific permission - Per-trigger
enabledflag — disable without deleting - Per-trigger
packet-source— chooseSYSTEM,PLAYER, orBOTH - Math expressions via
{math:<expr>}in any action field - PlaceholderAPI expansion —
%pt_<triggerName>_<index>%works in any PAPI-compatible plugin /pt test <trigger> <player> [data...]command — fire triggers manually for testing/pt debug [player]command — toggle per-player packet logging/pt statsand/pt resetstatscommands — see trigger fire counts/pt togglecommand — toggle settings live without reloading/pt clearcooldownscommand — clear cooldowns per player or globally- Built-in player placeholders:
%player_health%,%player_level% - DataStore — remembers last fired data per player so PAPI expansion can read it
Changed
- Placeholder long-form changed from
%pg_<tag>_<n>%to%pt_<triggerName>_<n>% - Listener moved to
listenerpackage, cleaner project structure - Removed all BungeeCord chat component dependencies — now uses Adventure API exclusively
- ProtocolLib dependency updated to
net.dmulloy2:ProtocolLib:5.4.0(Maven Central)
Fixed
- Double-trigger bug when both SYSTEM_CHAT and CHAT packets fired for the same message
- Packet type check prevents player chat from matching SYSTEM-only triggers
Совместимость
Ссылки
Создатели
Детали
Лицензия:MIT
Опубликован:1 месяц назад
Обновлён:1 месяц назад

