Difference between revisions of "Plugin API"
Jump to navigation
Jump to search
|} | |} | ||
| − | + | {{APIFunctVoid|saveWholeMap| |void| |Saves the whole map to disk}} | |
| + | {{APIFunct2|getMapData_block|x|int|x-coordinate|z|int|z-coordinate|unsigned char*| }} | ||
| + | {{APIFunct2|getMapData_meta|x|int|x-coordinate|z|int|z-coordinate|unsigned char*| }} | ||
| + | |||
| + | {{APIFunct2|getMapData_skylight|x|int|x-coordinate|z|int|z-coordinate|unsigned char*| }} | ||
| + | |||
| + | {{APIFunct2|getMapData_blocklight|x|int|x-coordinate|z|int|z-coordinate|unsigned char*| }} | ||
| + | |||
| + | ====User Functions==== | ||
| + | |||
| + | {{APIFunct1|toggleDND|user|const char*|Username in null terminated char array|bool, indicates if user was found|Toggles the DND (Do not Disturb)-Mode of a ''user''}} | ||
| + | |||
| + | {{APIFunct7|getPosition|user|const char*|Username in null terminated char array|x|double*|x-coordinate|y|double*|y-coordinate|z|double*|z-coordinate|yaw|float*|yaw-Value|pitch|float*|pitch-Value|*stance|double|stance-Value|bool, true if user has been found|Finds a player and stores its info in the referenced variables}} | ||
| + | |||
| + | {{APIFunct8|getPosition|user|const char*|Username in null terminated char array|x|double*|x-coordinate|y|double*|y-coordinate|z|double*|z-coordinate|w|int*|World ID|yaw|float*|yaw-Value|pitch|float*|pitch-Value|*stance|double|stance-Value|bool, true if user has been found|Finds a player and stores its info in the referenced variables}} | ||
| + | |||
| + | ==Available callbacks== | ||
| + | |||
{| class="wikitable" | {| class="wikitable" | ||
|- class="row0" | |- class="row0" | ||
