-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
The main command is /packettrigger, aliased as /pt.
Reloads config.yml and rebuilds all triggers. Also clears all active cooldowns and resets stats.
/pt reload
Shows all loaded triggers with their status, placeholder, packet source, action count, cooldown, and permission.
/pt list
A green checkmark means the trigger is enabled, red X means it's disabled.
Fires a trigger manually for a specific player. Useful when setting up a new trigger — you don't need to wait for the other plugin to send the packet.
/pt test <trigger> <player> [data1] [data2] ...
Examples:
Fire battlepass-xp for player Steve with value 1 = 50 and value 2 = 350:
/pt test battlepass-xp Steve 50 350
Fire level-up for player Alex with no data:
/pt test level-up Alex
Toggles per-player packet logging. When enabled for a player, every chat packet sent to them is printed to console — both SYSTEM and PLAYER type — with the plain text content. Use this to find out exactly what string a plugin is sending.
/pt debug [player]
If no player is specified it targets whoever ran the command. Run it again to turn it off.
Shows how many times each trigger has fired since the last server start or /pt resetstats.
/pt stats
Resets all fire counts to zero.
/pt resetstats
Toggles a runtime setting without touching the config file or reloading.
/pt toggle log-to-console
/pt toggle log-packet-content
The change is live immediately but not saved — after a reload the config file values take over again.
Clears cooldowns for one player or for everyone.
/pt clearcooldowns [player]
With no player argument, clears all cooldowns on the server.