zDonation icon

zDonation -----

Allows players to give items to other players



[​IMG]
Serveur Minecraft Vote is a site that lists the best minecraft servers and rank them according to their number of points, do not wait and add your server!

[​IMG]

[​IMG]

Allows players to give items to other players
Commands
  • /don - See the list of orders (zdonation.use)
  • /don open - Open the donation inventory. (zdonation.open)
  • /don send <player> - Send a donation. (zdonation.send)
  • /don sendall <is online> - Send a donation to online or offline player (zdonation.send.all)
  • /don reload - Reload configuration. (zdonation.reload)
API:
JavaDocs: http://javadocs.groupez.dev/zdonation
Event:

  • DonationSendEvent
Get DonationManager:
Code (Java):

DonationManager donationManager = getProvider (DonationManager. class ) ;

protected <T > T getProvider (Class <T > classz ) {
    RegisteredServiceProvider <T > provider = getServer ( ). getServicesManager ( ). getRegistration (classz ) ;
    if (provider == null ) {
        log. log ( "Unable to retrieve the provider " + classz. toString ( ), LogType. WARNING ) ;
        return null ;
    }
    return provider. getProvider ( ) != null ? (T ) provider. getProvider ( ) : null ;
}
 

Resource Information
Author:
----------
Total Downloads: 766
First Release: Dec 31, 2020
Last Update: Jun 8, 2023
Category: ---------------
All-Time Rating:
0 ratings
Find more info at groupez.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings