Sueta

[1.11-1.15] RandomDonation | Donate items to random players!

1.0

FULLY customizable, a fun plugin allowing you to donate any items to any randomly selected players!

·Plugin

RandomDonate, a plugin which allows players to donate items to other randomly selected players. With one simple command, a player opens a donation inventory, and when they are ready to donate items, they click on a button to donate those items! The player which receives those items will be randomly selected!

Permissions and commands

randomdonate.* : Allows access to every command in this plugin![/SIZE][/FONT][/CENTER] 
[FONT=Verdana][SIZE=7] 
[CENTER] 
randomdonate.send : Allows player to donate items! 

randomdonate.on : Allows player to turn off ability to receive donations. 

randomdonate.off : Allows player to turn on ability to receive donations. This is turned on by default.


Config file

###################################[/SIZE][/FONT][/CENTER] 
[FONT=Verdana][SIZE=7] 
[CENTER]# RANDOMDONATE 1.0 BY @realFirstix# 
################################### 

#Text when player types /df help# 
helptext: 
  - '&9&lRandom&b&lDonate' 
  - '&fAll commands are listed below!' 
  - '&f/rd | to check the version of this plugin!' 
  - '&f/rd send | to randomly donate items!' 
  - '&f/rd off | to disable receiving donations!' 
  - '&f/rd on | to enable receiving donations!' 

#Title of the random donate inventory# 
menuTitle: '&aRandomDonate' 

#Material of the item which is shown as the 'send' button# 
sendbutton: EMERALD 

#Text as the display name of the 'send' button# 
sendbuttonName: '&aClick to donate your items!' 

#Lore of the 'send' button!# 
sendButtonLore: 
  - '&aThese items will be' 
  - '&adonated to a random player!' 
  
#text sent to donator when items have been donated! put $RECEIVER$ where you would like the receivers name to be.# 
#$ITEMLIST$ represents the items that have been donated!# 
#WARNING, when putting color formats before $ITEMLIST$ or $RECEIVER$, put it atleast one space before it!# 
# example: &f$ITEMLIST$ is not allowed, but &f $ITEMLIST$ is allowed!# 
donatorText: '&fYou have donated $ITEMLIST$ to $RECEIVER$' 

#text sent to receiver when items have been donated! put $DONATOR$ where you would like the donators name to be.# 
#$ITEMLIST$ represents the items that have been donated!# 
#WARNING, when putting color formats before $ITEMLIST$ or $RECEIVER$, put it atleast one space before it!# 
# example: &f$ITEMLIST$ is not allowed, but &f $ITEMLIST$ is allowed!# 
receiverText: '&fYou have received $ITEMLIST$ from $DONATOR$' 

#text sent to donator when donation wasnt able to occur# 
donationerror: '&fDonation couldnt occur!' 
  
  
#Items which are not allowed to be donated!# 
banneditems: 
  - sand 
  - dirt 
  
#Players which are not allowed to receive items from random donations!# 
bannedplayers: 
  - Notch 
  - Firstix 
  
#Message when player attempts to donate a banned item# 
banneditemmessage: '&fYou have attempted to donate banned item(s), these have been dropped at your feet!' 
#Message when player enables donations# 
enabledDonations: '&fYou will now receive donations!' 

#Message when player tries to enable donations, but theyre already enabled# 
enableDonationsError: '&fYou are already eligible to receive donations!' 

#Message when player disables donations# 
disabledDonations: '&fYou will no longer receive donations' 

#Message when player tries to disable donations, but theyre already disabled# 
disableDonationsError: '&fYou are already not receiving donations' 
#Message when player attempts a command to which they have no permission for# 
noPermission: '&fYou have no permission to use this command!'

Similar projects

Plugin →