By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

CoinsSystem Plugin for PocketMine-MP Server Software.
version 1.2.0
Approved
Direct Download How to install?
204 Downloads / 204 Total
1 Review
Plugin Description §

CoinsSystem

CoinsSystem Plugin for PocketMine-MP Server Software. This CoinsSystem allows your player to have coins, as a server admin you can add, remove, set, see and get the Coins Amount of a Player.

image

HOW TO USE IT?

Players can see their Coins with the command /coins and server admins can change the coins from players with the following commands.

/coins add playername 5000 - to add coins to a player. /coins remove playername 5000 - to remove coins from a player. /coins set playername 5000 - to set the Coins Amount of a player. /coins see playername - to see how much coins a player have.

How to get the plugin?

  1. Download the plugin from here.
  2. Drag the plugin into your plugin order on the server.
  3. Start the Server.
  4. Modify the config, which you find in the plugin_data\CoinsSystem order.
  5. Have fun with plugin.

SIMPLY API FOR YOUR PLUGIN

If you want to get the Coins from a Player by a Plugin use this code:

$playercoins = $this->getServer()->getPluginManager()->getPlugin("CoinsSystem")->getCoins($player->getName());
$player->sendMessage($player->getName() . $coins);

If you want to add Coins to a Player by a Plugin use this code:

$this->getServer()->getPluginManager()->getPlugin("CoinsSystem")->addCoins($player->getName(), 1000);

If you want to remove Coins from a Player by a Plugin use this code:

$this->getServer()->getPluginManager()->getPlugin("CoinsSystem")->removeCoins($player->getName(), 1000);

If you want to set Coins Amount from a Player by a Plugin use this code:

$this->getServer()->getPluginManager()->getPlugin("CoinsSystem")->setCoins($player->getName(), 1000);

Endermanbugzjfc
using v1.2.0
26 Mar 21
YAML database

Reply to review by :

Supported API versions
3.18.0
->
3.19.0
License §
Categories:
General
Economy
Minigame
API plugins
Permissions
Other files
Commands

You can leave one review per plugin release, and delete or update your review at any time

Loading...