Instant functions : Use fun, press tab and it will create a fully customisable function
Enable,load and disable functions: Type onEnable to create the onEnable function fully premade for you, onLoad for the load one and onDisable for the disable one.
onCommand: Haven't you already struggled by syntax mistakes on the onCommand function? Well, no longer ! Type onCommand and the function will be generate for you !
"This" key: Type $this to auto complete to $this-> without having to type everything ! Very useful since you will need to write this a lot of time
Construct function: Constructs functions are very useful, you never know when they can get handy to use ! Type __construct and press tab and see the function creating itself !
Server shortcut: Type server and press tag to auto complete to $this->getServer(). You will often need it in your plugins.
Logger shortcut: Similar to the server one, type logger to auto complete $this->getLogger().
Register events: Events are the core of most plugins. With this addon, type registerEvents, press Tab and it will auto complete the function to register them !
Ever wanted to quickly access your plugin data folder? Our quick auto complete function getDataFolder will do it for you !
- Basic players functions.
sendMessage: Sends the player a message. Create it instant by typing sendMessage and it will autocomplete the function for you !
sendTip: Sends the player a message in the action bar. Create it instant by typing sendTip and it will autocomplete the function for you !
sendPopup: Sends the player a popup. Create it instant by typing sendPopup and it will autocomplete the function for you !
getInventory: Get the player's inventory. Create it instant by typing getInventory and it will autocomplete the function for you !
knockBack: Kock back the player. Create it instant by typing knockBack and it will autocomplete the function for you !
- Create pocketmine plugins base in seconds
With this function create a pocketmine plugin base in only a few words !
Type first
<?php
then add this line below
<?php
pluginbase
press tab and the magic appears ! A fully made plugin base wih onEnable, onLoad, onDisable and even onCOmmand with an Hello world command !
PM Namespaces auto complete
pocketmine Default Namespace
pocketmine\events
pocketmine\events\Player
pocketmine\events\Server
pocketmine\events\Inventory
pocketmine\events\Blocks
pocketmine\scheduler
pocketmine\plugin
pocketmine\item
pocketmine\block
pocketmine\entity
pocketmine\math
pocketmine\level
pocketmine\command
pocketmine\nbt
pocketmine\network
pocketmine\utils
pocketmine\inventory
pocketmine\player
pocketmine\Server
pocketmine\Vector3
Still reading here and haven't downloaded it yet? What are you waiting for? Click the download button :)
This is still under development so I did notimplement all function so forgive me if I did not add some. But I will be happy to get some feedback about them and which function should I implement next :)
What's new in version 0.0.3:
Tweaks:
Comments are now set to better describe function to be compatibles with more IDEs and increasing code readability
Namespaces can be now accessed by only using the short class name.