Separate names with a comma.
Comments in 'Plugin Development' started by iksaku, Jul 6, 2014.
I want to know if it's possible to register an event inside a command class... anyone?
Got it thanks anyways xD
$this->getServer()->getPluginManager()->registerEvent("pocketmine\\event\\player\\PlayerInteractEvent", $listener, EventPriority::NORMAL, $eventExecutor, $plugin);
The event executor is a bit of trouble though.