Repository navigation
System API
The User API is useful when you need to interact with users directly.
##Available Functions
SystemReturnAPIVersion();
SystemFilterInput();
##SystemReturnAPIVersion();
SystemReturnAPIVersion(); is a function used to return the current API version. This function takes no variables.
$api->SystemReturnAPIVersion();
This function returns the API version.
##SystemFilterInput();
SystemFilterInput(); is a function used to return filtered input. This function takes 2 variables. This function may or may not be safe.
$api->SystemFilterInput($var1,$var2);
Variable #1 - Text. What the input is to be filtered. Accepts int, float, text, url and email.
Variable #2 - Input. Input to filtered according to variable #1.
This function returns filtered input.
Current Chivalry Engine Versions:
V1 - 1.0.3b released March 21, 2025
V2 - 2.0.2 released Jun 13, 2020
V3- 3.0.0-alpha1 released Sept 29, 2019