Skip to main content
Version: PM3

Introduction


What is a PocketMine-MP Plugin?

A plugin is an external module which can be added to your server to add custom features, change default behaviours and more. PocketMine-MP supports plugins to customize and/or modify PocketMine-MP servers for better experience and customization. Plugins allows server owners to achieve certain tasks or behaviors in their servers that are not officially implemented in PocketMine-MP. There are many interesting and useful plugins that already exists, such as world editing, automatic restarts, and economy system.

What You'll Learn

  • Plugin structure
  • The plugin.yml file
  • Main class basics
  • Adding events
  • Adding commands
  • Using permissions
  • Using configuration file (for user settings)
  • Adding tasks

Before You Start

This tutorial assumes you have done these things:

  1. You must know the PHP language (including OOP).
  2. You should have a working PocketMine-MP server.
  3. You should have the DevTools plugin installed in your server.
    • If you haven't already, you can download the plugin from Poggit.

Click the "Next" button to start learning when you're ready!


Thanks to Sites4Code for making there website first, some of the stuff written here is from them.