Hello, I have problem with Plugin so Im making EasyGMchange plugin for pocketmine but it just dont work so I need help. soo its for API 12 and im running api 12 on my android pocketmine,everything works good heres. Plugin is running and everything but when i type /help or command /gm which is used to do nothing happens is there any resolution? thanks nice day!
Mr. Doctor, my leg hurts. But I won't tell you which part of my leg hurts, nor am I going to let you touch my leg.
Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe. This refers to nobody i just like this quote by Albert Einstein
the universe is not infinite according to big bang because it's an explosion from nothingness and it gets bigger and bigger but its not infinite and after about 2*10 billion by the 6 billion power times 100000000 gooogol light years the universe well run out of matter and eventually collapse on it self , and if you are able to watch it out side of the universe you well see it as flash back from the big bang ( i didn't get this info from google i realized that by my self and then asked google for confirmation)
Configuration? I remember it's kind of a 4D circle-like thing, like when you go to the "boundary" you in fact are like traveled round Earth.
How do you expect Mr. Doctor to help you if you don't tell him what hurts and don't let him even look at you?
PHP: <?php/*__PocketMine Plugin__name=Easy Gamemode Changerdescription=Plugin created by Aljaz5513version=1.0author=Aljaz5513class=nbLfMvWxapiversion=12*/ class nbLfMvWx implements plugin{ private $api; public function __construct(ServerAPI $api, $server = false){ $this->api = $api; } public function init(){ $this->api->addHandler("player.gamemode.change", array($this, "eventHandler"), 100); } public function eventHandler($data, $event) { switch($event) { case 'player.gamemode.change': $this->api->console->run(""); break; } } public function __destruct(){ }}
This plugin, obviously, is generated through a plugin generator. Also, you handle the event when a player changes his gamemode, and you didn't register the command at all. Moreover, the handler of the gamemode change event does nothing except runs a void command "" as console. This forum is for those who have questions in the plugins they made, not the plugins they generated using the online plugin generator. If you want support for the online plugin generator on this website, please reply to that thread or send a private message to the creator.