Plugin → AVipGifts
AVipGifts Features:
Discord Username: KaanCaglar#0001
Discord Server: https://discord.gg/bZ7TzfyTRE
Discord Server: https://discord.gg/bZ7TzfyTRE
YAML:
options:
reloadPermission: "avg.reload" # Permission to reload the plugin
reloadCommand: "reload" # /avg reload
messages:
prefix: "&6&lAVG &8→" # Prefix of the plugin
noPermission: "&cYou don't have permission to do this." # Message when the player doesn't have the permission to do something
noConsole: "&cYou can't execute this command from the console." # Message when the player tries to execute a command from the console
reloaded: "&aPlugin reloaded! &7Check the console for any errors!" # Message when the plugin is reloaded
noGift: "&cThis gift does not exist!" # Message when the gift doesn't exist
description:
- " "
- "&6&lAVG &e&lInformation:"
- " "
- " &6/avg - &7Shows this menu"
- " &6/avg reload - &7Reloads the config"
- " &6/avg gift1 - &7Receive the &eGift1 &7Gifts. "
- " "
YAML:
gifts: # 1.8.8 yaml format
'gift1': # Gift name & gift command # customizable command & gift name
sound: LEVEL_UP # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
noSound: ANVIL_LAND # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
permission: "bronze.gift" # The permission that the player needs to have to get the reward
commands:
- "give %player% gold_ingot 1" # %player% will be replaced with the player's name
- "eco give %player% 100" # %player% will be replaced with the player's name
- "say %player% has been rewarded with 100$ and 1 gold ingot!" # %player% will be replaced with the player's name
- "lp user %player% permission unset bronze.gift" # %player% will be replaced with the player's name
# - "blabla" # You can add as many commands as you want
'gift2':
sound: LEVEL_UP # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
noSound: ANVIL_LAND # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
permission: "silver.gift"
commands:
- "give %player% gold_ingot 2"
- "eco give %player% 200"
- "say %player% has been rewarded with 200$ and 2 gold ingot!"
- "lp user %player% permission unset silver.gift"
'gift3':
sound: LEVEL_UP # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
noSound: ANVIL_LAND # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
permission: "gold.gift"
commands:
- "give %player% gold_ingot 3"
- "eco give %player% 300"
- "say %player% has been rewarded with 300$ and 3 gold ingot!"
- "lp user %player% permission unset gold.gift"
# ...... # You can add as many gifts as you want
# 'gift100':
# sound: LEVEL_UP # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
# noSound: ANVIL_LAND # https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
# permission: "100.gift"
# commands: # You can add as many commands as you want
# - "give %player% gold_ingot 100" # %player% will be replaced with the player's name
# - "eco give %player% 10000" # %player% will be replaced with the player's name
# - "say %player% has been rewarded with 10000$ and 100 gold ingot!" # %player% will be replaced with the player's name
# - "lp user %player% permission unset 100.gift"