Skip to content

A plugin to add souls to players in your server

License

Notifications You must be signed in to change notification settings

PetterLight/Souls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banner

💀 • Souls

Souls is the most famous pvp servers plugin and we make them better. We made an advanced plugin with a custom API that you can use to create other plugins, this plugin can manage players in a yml database and add souls to player's personal database when killing another. The plugin includes basic commands to sell souls for money or xp and see total souls.


⭐ • Planned

we are planning to add even more features soon to the plugin such as Souls management systems and also an item raffle system with a certain amount of souls clicking on an item that will probably be an end portal... just like in hypixel


📦 • API

  1. To start the development with the plugin API you need create plugin.yml and set depend:
name: SkyWars
main: you\plugin\main
version: 1.0.0
api: [4.0.0]
depend: Souls # don't change 
  1. Now you need to import the plugin API into your Main.php plugin or other files you are using the API from:
use Minestrap\Souls\Main; # Advanced [Optional]
use Minestrap\Souls\SoulsAPI;
  1. After that you need to instantiate the plugin API in the plugin function you are using, like public function:
$soulsAPI = new SoulsAPI($this->getPlugin());
  1. Now you can use the functions to create your custom plugin using this with a controller! General API resources:
// add souls function
$soulsAPI->addSouls($player, $amount);

// remove souls function
$soulsAPI->removeSouls($player, $amount);

// set number of souls
$soulsAPI->setSouls($player, $value);

// view player total souls
$souls = $soulsAPI->getSouls($player);

Made with ♥️ by Minestrap.

About

A plugin to add souls to players in your server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages