This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.
Init
Jump to navigation
Jump to search
Code Example
void SAMPLE_PLUGIN::Init ( const char* /*commandLine*/ ) {
bz_debugMessage(4,"SAMPLE_PLUGIN plugin loaded");
return 0;
}
Functions
The Init function is required for all plugins 2.4 and higher. This function replaces the bz_Load function. In this function all debug messages, events, map objects, and slash commands are registered. Available functions for this are as follows:
More information on this function can be found on the BZFS_API_2.4_Upgrade page.