Skip to content

Modding API

MasterGeneral156 edited this page Apr 6, 2017 · 13 revisions

We provide a simple to use API available to those who don't want to attempt to understand my horrendous code!

Notes for Game Owners

I've tried my best to make sure all inputs through the API is sanitized and protected against mischief. I take no responsibility if a user destroys your game, database, etc. with their custom made modules. You need to do your own screening of the modules sent for your own game.

Basics

The basic file structure required for a module is simple!
Formatting for a basic module.
That's what's required, at minimum, for a successful module.

Calling The API

Calling upon the API is very simple! Simply write:
$api->
Along with the function name (which you can read further along, or by checking The API itself.

API Categories (In-depth info inside each category)

User API
Game API
System API
Guild API

Clone this wiki locally