-
Notifications
You must be signed in to change notification settings - Fork 0
[Feature] Ability to configure commands #5
Comments
or the ability to make certain commands aliases? |
See also pmmp/PocketMine-MP#3371 |
in case of multi currency this would cause problems.. no? |
I don't think a generic For example, $api->createCommand("pay", $api->getCurrency("coins"), $api->getCurrency("dollars"), "permission", "description"); And provide appropriate user interfaces to streamline this kind of API calls. Of course, I would even recommend a more generic action model that abstracts commands, block clicks, inventory GUI, etc. together (like libkinetic), but that's probably too much for you. |
Agreed. And that example looks good. However I would make the second param accept an array of currencies. Further I don't think it should fall on this plugin to provide support for inventory GUI transactions or likes. Another plugin could surely do this. |
yes, where in this case each currency would need to have it's own cluster of commands /paygem /paycoin
i think all of it is to bandaid old school days when there's only one currency |
In some cases, payment is not desirable at all. |
The plugin lacks the ability to configure command attributes
Like for example command's name, aliases etc
Or the ability to disable/not register the command listener at all via a config
The text was updated successfully, but these errors were encountered: