Maxlego08 / zMenu

A plugin that will allow the creation of menu for minecraft, has a complete API for developers
GNU General Public License v3.0
56 stars 10 forks source link

Expand player data commands with add & subtract #46

Closed RustyDagger closed 5 months ago

RustyDagger commented 7 months ago

I would like to have the player data commands expanded to include an add & subtract sub command. something like

/zm player add [amount] /zm player subtract [amount]

the amount being optional and defaulting to 1.

This would be useful for creating limited use buttons with 4 or so clicks until disabling and allowing console to add more use's

No doubt some corner cases will exist such as a key not existing and a key containing a string rather than an integer.

RustyDagger commented 7 months ago

any idea of if / when this could be added? or should I make alternate arrangements to achieve the same result?

Maxlego08 commented 5 months ago

For next version !