How to make a plugin using the api - mariogrip/minepeon-base GitHub Wiki
Plugins to Minepeon is made easy with the new api that's added
Example: https://github.com/mariogrip/minepeon-plugin
- make a
[yourappfoldername]_apimenu.xml
(foldername is the name on the your plugin's folder) file inside /plugins/api_menu that look like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<api>
<Menu_text>[your plugin menu text]</Menu_text>
<pl_folder>[your plugin Plugin index file or folder]</pl_folder>
</api>
- fill in Menu_text and pl_folder
- make a
plugin.yml
(it have to be namedplugin.yml
!) that look like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<plugin>
<name>[plugin name]</name>
<maker>[your username]</maker>
<description>[Description]</description>
<settings>[settings file]</settings>
</plugin>
- Fill in all fields in the xml file (the settings look like this "plugins/testpl/settings.php")
- Compress all files to tar.gz file
- see example to see how this tar.gz looks like (example can you find here: https://github.com/mariogrip/minepeon-plugin)