Skip to content

Commands

Maxime Tonie edited this page Apr 11, 2026 · 1 revision

Commands

The main command is /packettrigger, aliased as /pt.


/pt reload

Reloads config.yml and rebuilds all triggers. Also clears all active cooldowns and resets stats.

/pt reload

/pt list

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.


/pt test

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

/pt debug

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.


/pt stats

Shows how many times each trigger has fired since the last server start or /pt resetstats.

/pt stats

/pt resetstats

Resets all fire counts to zero.

/pt resetstats

/pt toggle

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.


/pt clearcooldowns

Clears cooldowns for one player or for everyone.

/pt clearcooldowns [player]

With no player argument, clears all cooldowns on the server.

Clone this wiki locally