forked from PocketMine/PocketMine-MP
-
Notifications
You must be signed in to change notification settings - Fork 14
PluginAPI
mc.getSendQueue().addToSendQueue(new Packet11PlayerPosition(Double.NaN, Double.NaN, Double.NaN, Double.NaN, true)) edited this page Aug 27, 2026
·
2 revisions
WIP
interface Plugin
interface OtherPluginRequirement
- RequiredPluginEntry - Use this as object of requirements array
- DummyPlugin - a plugin with nothing in it.
- Args: None
- Return: Array - a list of plugins on server
- Args: file<File>
- Return: Boolean
- Loads a plugin from file
- Args: $identifier
- Return: Plugin or False
- Gets a plugin
- Args: None
- Return: String - path to the plugins folder
- Args: Plugin $plugin
- Return: String - path to the config folder for $plugin