M

MyMoney

por poggit-archive
No disponible

Incompatible con la versión actual de PocketMine-MP — Could not load plugin 'MyMoney': Incompatible API version (plugin requires one of: 2.0.0, 3.0.0, 3.0.1, 3.1.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2, 3.0.0-ALPHA3) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).

EconomíaVariospocketmine
6visitas
0descargas

MyMoney

NOTE: There are unimplemented features. They are marked with a * (star) in the features list.

A simple economy plugin for PMMP.

Features

  • Easy money management

  • Different Currencies*

  • API for plugin developers

  • Shop signs

Commands

  • /givemoney

  • /setmoney

  • /takemoney

API

MyMoney includes a easy to use API.

In your onEnable, add $myMoney= new API();

You will need to add use Dog2puppy\MyMoney\API to your list of use statements.

Lastly, in your plugin.yml add softdepend: "MyMoney" to ensure that MyMoney is enabled before your plugin.

API functions:

giveMoney(player,player, amount)

setMoney(player,player, amount)

takeMoney(player,player, amount)

Example: $myMoney->setMoney("Dog2puppy", "50");