-
Notifications
You must be signed in to change notification settings - Fork 158
How to use plugins
TheRoyalBlock edited this page Aug 13, 2017
·
7 revisions
Plugins normally come in the form of a phar
file: a php archive. Steadfast2 is coded in the PHP language, and so are the plugins. To run a plugin in the form of a phar
file, place the plugin into the plugins
directory of the server.
If the plugin is not in the form of a phar, something which happens often when downloading the plugin from its github repository, follow these steps:
- Download the plugin
- Place it in the plugins directory
- Unzip it, so the file structure is as shown here:
Steadfast2 Installation Directory
├── plugins
ᅠᅠᅠ└── src
ᅠᅠᅠᅠᅠᅠ└── PluginName
ᅠᅠᅠᅠᅠᅠᅠᅠᅠ└── plugin.yml
4. Once the file structure is as shown above, you are good to go! Start the server and have fun!