Well, I have been trying to make an auto ranks plugin and I need help loading two run commands and registering them. If you want you can find me an example of a run plugin with more than one command and run two commands per one registered command. You may edit this sample of my plugin and send back after fixed. Please include what I would do with multiple register commands, maybe a sample plugin. Thank You Edited file, on post #4
Your code is pretty close to the Rankup I have But your code will be useless next week due to 0.9.0 and you will need to write a new one
I don't completely understand what your saying. Yes you can have 1 command run multiple other commands, if that's what your getting at. And you can have muliple registered commands running multiple other commands. Please provide more info. And with this coding even if the player didnt have enough money the player would still recive the rank.
Thanks . Can you show me how I would code it so that player will need money to pass to next rank? Thank You
Will do! And I'm not completely sure I can do the only rank up if they have enough money, but I will research and I also will fix a couple errors. I'm new to this to .
Thank You very much I can't find a good tutorial that doesn't show how to make simple plugins. There should be tutorials on more challenging plugins. Thanks again
I am planning to create a similar plugin, but I am still in the progress of learning PHP, also if you are planning to create a complex plugin, you should learn PHP and PocketMine's API. Good Luck.
Can you send me to a very good tutorial that teaches how to make not a simple plugin but a more complex one.
I don't think there is one, but you can look at complex plugins like PocketMoney or SimpleAuth and see how they work. You also need to know PHP & PocketMine's API, if you want to code a complex plugin.