NOTE: Currently the Discord bot addon is under maintenance and is not available!

AdvancedDonations is a very simple concept that is easy to understand for all. Let us begin when a player donates you can run the command "/advanceddonations donate <player> [package]" and it gives all online players effects and it shows the message in chat to all online players! When players donate using CraftingStore, it can be very useful to notify your server of these donations to incentivize further donations. It also is an elegant and fun solution to this. When players donate, you can greet them with a message, sounds, particles, fireworks, and potions. You can configure any amount of potions, particles, and sounds to create an incredibly unique and awesome notification given to all players after someone donates. Take advantage of a powerful default configuration and create the best donation message to incentivize donations.












✯ - /advanceddonations donate <player> [package] - Sends a donation to the specified player! ✯

✯ - /advanceddonations refresh - Force refresh store placeholders! ✯

✯ - /advanceddonations reload [file] - Reload the configuration file! ✯

✯ - /advanceddonations reset [file] - Reset the configuration file! ✯


✯ <center>[text]</center> - Set text to center! ✯



✯ {name} - Displays donator name in broadcast, avatar URL and console commands! ✯

 {everyone} - Displays everyone's name in console commands! ✯

 {uuid} - Displays donator UUID in avatar URL! ✯

 {package} - Displays command args! ✯

 {percentage} - Displays the percentage of the completed goal! ✯

 {progress} - Displays fancy progress bar! ✯

 {received} - Displays the amount of money received! ✯

 {goal} - Displays the amount of donation goal! ✯

 {currency} - Displays store currency! ✯

Installation - HolographicDisplays

You can use the HolographicExtension plugin to use below placeholders!

Installation - MVdWPlaceholderAPI

(( You need to place AdvancedDonationsMVdWHook.jar in your plugins folder. ))

Placeholders:

 {advanceddonations_percentage} - Displays percentage of the completed goal! ✯

 {advanceddonations_progress} - Displays fancy progress bar! ✯

 {advanceddonations_received} - Displays amount of money received! ✯

 {advanceddonations_goal} - Displays amount of donation goal! ✯

 {advanceddonations_currency} - Displays store currency! ✯


Installation - PlaceholderAPI

(( You just need to place Expansion-AdvancedDonations.jar in the PlaceholderAPI expansions folder, located at /plugins/PlaceholderAPI/expansions/. ))

Placeholders:

 %advanceddonations_percentage% - Displays the percentage of the completed goal! ✯

 %advanceddonations_progress% - Displays fancy progress bar! ✯

 %advanceddonations_received% - Displays the amount of money received! ✯

 %advanceddonations_goal% - Displays amount of donation goal! ✯

 %advanceddonations_currency% - Displays store currency! ✯


config.yml


avatar-url: 'http://crafatar.com/avatars/{uuid}?size=8'
store-url: 'https://store.pvpboss.com'
refresh-store: 300
character: '▉'
progress-bar:
  symbol: '|'
  length: 100
  color-filled: '&a'
  color-empty: '&c'
avatar-messages:
  donator:
    - '<center>&f&l** &6You &epurchased &6{package}&e! &f&l**</center>'
    - '<center>&f&l** &eThank you for your kind donation! &f&l**</center>'
    - ''
    - '<center>&e&lMONTHLY DONATION GOAL</center>'
    - '<center>&f&l{received} / {goal} {currency} ({percentage}%)</center>'
    - '<center>{progress}</center>'
    - ''
    - '<center>&7&o(( Donations help us keep the network alive! ))</center>'
  everyone:
    - '<center>&f&l** &6{name} &epurchased &6{package}&e! &f&l**</center>'
    - '<center>&f&l** &eEverybody has been awarded with effects! &f&l**</center>'
    - ''
    - '<center>&e&lMONTHLY DONATION GOAL</center>'
    - '<center>&f&l{received} / {goal} {currency} ({percentage}%)</center>'
    - '<center>{progress}</center>'
    - ''
    - '<center>&7&o(( Donations help us keep the network alive! ))</center>'
console-commands: []
fireworks:
  donator:
    - 'BALL_LARGE;BLUE,LIME,PURPLE,TEAL'
  everyone:
    - 'BALL_LARGE;BLACK,FUCHSIA,MAROON,RED'
potion-effects:
  donator:
    - 'NIGHT_VISION;300;1'
    - 'SPEED;300;1'
    - 'REGENERATION;300;1'
    - 'DAMAGE_RESISTANCE;300;1'
    - 'JUMP;300;1'
  everyone:
    - 'NIGHT_VISION;60;1'
    - 'SPEED;60;1'
    - 'REGENERATION;60;1'
    - 'DAMAGE_RESISTANCE;60;1'
    - 'JUMP;60;1'
sounds:
  donator:
    - 'ENTITY_ENDER_DRAGON_DEATH;AMBIENT;1.0;1.0'
  everyone:
    - 'ENTITY_DRAGON_FIREBALL_EXPLODE;AMBIENT;1.0;1.0'
particles:
  donator:
    - 'FLASH;50;2.0;2.0;2.0;2.0'
  everyone:
    - 'LAVA;50;2.0;2.0;2.0;2.0'
placeholders:
  unknown-percentage: 'N/A'
  unknown-received: 'N/A'
  unknown-goal: 'N/A'
  unknown-progress: 'N/A'
  unknown-currency: 'N/A'
  unknown-package: 'N/A'
permissions:
  main-command: 'advanceddonations.command.use'


messages.yml


refresh-store: '&e&l(!) &eStore placeholders has been &6successfully &erefreshed!'
no-permission: '&c&l(!) &cYou do not have permission to use this command!'
player-not-found: '&c&l(!) &cThe player {player} is not online!'
file-not-found: '&c&l(!) &cThe file with name "{file}" not found!'
invalid-command: '&c&l(!) &cInvalid command! Use "/{cmd}" for help!'
reload-all-files: '&e&l(!) &eAll files was reloaded!'
reload-config: '&e&l(!) &eThe {file} file was reloaded!'
reload-messages: '&e&l(!) &eThe {file} file was reloaded!'
reset-all-files: '&c&l(!) &cAll files was reset!'
reset-config: '&c&l(!) &cThe {file} file was reset!'
reset-messages: '&c&l(!) &cThe {file} file was reset!'
command-usage: '&c&l(!) &cIncorrect usage! Use "/{cmd} <donate|refresh|reload|reset>" instead!'
command-usage-donate: '&c&l(!) &cIncorrect usage! Use "/{cmd} donate <player> [package]" instead!'



✯ Multiple sounds on all online players! ✯

✯ Launch fireworks with multiple colors on all online players! ✯

✯ Custom multiple potion effects for all online players! ✯

✯ Multiple particles on all online players! ✯

✯ Tab completer on commands! ✯

✯ Custom permissions in config! ✯

✯ Ability to set a custom avatar url! ✯

✯ Ability to center text! ✯

✯ Ability to use variables! ✯

✯ Ability to use color codes! ✯

✯ Ability to set a custom character! ✯

✯ Multiple head and footer messages! ✯

✯ Active development and support! ✯

... and much more ...


✯ play.pvpboss.com ✯

✯ play.vanillawars.net ✯

✯ play.skyvele.com ✯

✯ play.legacygaming.co ✯

✯ archerpvp.us ✯

✯ play.smeltblock.com ✯

✯ play.leftypvp.us ✯

✯ play.rapzprison.net ✯

✯ play.dynopvp.com ✯

✯ play.recopvp.net ✯

✯ mcfoxcraft.com ✯

✯ play.stellarpvp.com ✯

✯ fun.multyplay.ro ✯

✯ play.wickedprison.com ✯

✯ play.funsb.net ✯

✯ play.thegalaxynetwork.com ✯

✯ play.airfactions.us ✯

✯ play.laserflare.net ✯

✯ play.raidscrafts.com ✯

✯ ultramc.ro ✯

✯ vidserecraft.us.to ✯

✯ mineahihi.com ✯

✯ play.voltairrealms.com ✯

✯ play.chaoticnetwork.net ✯

✯ play.emberwood.net ✯

✯ play.viperprison.com ✯

✯ mc.altosurvival.pro ✯

✯ play.bumblecraft.net ✯


[MEDIA=youtube]id=c2et_KPBaeE;t=5[/MEDIA]


PlayerDonateEvent

(( import me.olget.advanceddonations.event.PlayerDonateEvent; ))

@EventHandler
public void onPlayerDonate(PlayerDonateEvent event)
{
  Player donator = event.getDonator();
  String item = event.getItem();
  CommandSender sender = event.getSender();
  event.setItem("My item!");
  event.setCancelled(false);
}