Skip to Content

bz_eUnknownSlashCommand

This event is called when the BZFS server does not have an installed handler for a specific slash command

Data Object Type

2.4.0 bz_UnknownSlashCommandEventData_V1

Parameters

These are the values accessible in the bz_EventData variable that's made available in the Event method.

Data Type Name Description
int from

The player who sent the slash command

bool handled

The current state representing if the command has been handled by a previous plug-in.

bz_ApiString message

The full text of the chat message for the slash command, containing the command and all

double eventTime

The local server time of the event.

Plug-in Usage

There are no plug-ins in the official distribution that make use of this event. Browse the Plug-in Releases forum for plug-ins which may make use of this event.

Plug-in Example

This block of code can be used to get started when implementing the Event() function of your plug-in.

bz_UnknownSlashCommandEventData_V1* dataObject = (bz_UnknownSlashCommandEventData_V1*)eventData;

// Data
// ---
// (int)          from - The player who sent the slash command
// (bool)         handled - The current state representing if the command has been handled by a previous plug-in.
// (bz_ApiString) message - The full text of the chat message for the slash command, containing the command and all
// (double)       eventTime - The local server time of the event.

Other Slash Commands Events

Back to bzfs API Events

This content is maintained on GitHub. We welcome any feedback and improvements!

Give us Feedback Edit this Page