Skip to Content

bz_getAdmin()

Available since 2.4.0

Check if a given player is an administrator, defined by having the ability to use the /ban command.

Usage

bool bz_getAdmin(int playerID)
Parameters
int playerID

The id of the player to check

Returns

bool - True if the player specified has the permission specified

Other Player Information Functions

Back to bzfs API Functions

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

Give us Feedback Edit this Page