Do you need to give an item to an offline player through Buycraft, or GAListener?
This plugin will allow you to give a player (even if s/he is offline) an item.
This version also supports 1.13+ style block specification, it supports all the following format:
- STONE
- 1
- STONE:2
- GRANITE
- 1:2
Commands:
- /reward help : displays a help menu.
- /reward reload : reloads config file
- /reward <player> <itemid:data> <amount> [options as seen in Essentials' give command]
- /reward <player> <cmd:[@p|!]> <any commmand to be executed with placeholder %player%> : executes the specified command <any commmand to be executed with placeholder %player%> as either a player (@p) or a console (!). The placeholder '%player%' will be replaced by the <player>'s name.
- /reward <player> random <amount> : give <player> random number of (maximum <amount>) randomly selected item. Item will be selected form those listed in the config.yml
Permissions:
- reward.reload : allows you to execute /reward reload command
- reward.admin or reward.reward : allows you to execute /reward <player>... command.
Installation:
Just drop Reward-release.jar file in the plugins folder.
Configuration:
Messages:
ErrorMsg : "&c[Reward] : Some error occured."
NotEnoughArgs : "&c[Reward] : Not enough parameters. Usage: /reward <player> <itemID:data> <amount> [options]."
RewardMsg : "&c[Reward] : %player% has been rewarded with %amount% of %item%!"
HelpMessages:
banner:
msg: "=== &e[&aReward Commands List (%version%)&e] &r==="
help:
msg: "&a/reward help : displays this help menu."
reload:
msg: "&a/reward reload : reloads config file."
permission: "reward.reload"
debug:
msg: "&a/reward debug <true|false> : turn on / off the debug mode."
permission: "reward.debug"
reward:
msg: "&a/reward <player> <itemId:data> <amount> [option], or /reward <player> cmd:[@P|!] oti give %player% oti_id 3"
permission: "reward.admin"
#
# item information for random reward
#
# Format
# itemX: id:durability max
# X is the serial number, max is the maximum possible amount given.
item0:
id: '35:1'
min: 1
max: 5
name: 'Wool!!'
lore:
- 'This is'
- 'my Wool!!'
item1:
id: '276:1'
min: 1
max: 2
name: 'Sword!!!'
lore:
- 'This is'
- 'my Sword!'