Links

config.yml

#
# SponsoredSlots
# Author: ItsLewizzz
# Copyright (c) Lewis D 2020-2022. All Rights Reserved.
#
## Valid Currency Types
# - VAULT
# - QUADREXMOBCOINS
# - SUPERMOBCOINS
# - KRAKENMOBCOINS
#
## Valid Action Types
# - [MESSAGE] <string> - Send message to player
# - [BROADCAST] <string> - Broadcast a message
# - [COMMAND] <string> - Execute a command from the player
# - [CONSOLE] <string> - Execute a command as console (supports {PLAYER} placeholder)
settings:
# Default sponsor message (if no custom message is set then it will not be announced in chat)
default_message: "&6N/A &8- &6Use &6/slots message"
# What is the max character length for the sponsor message?
max_message_character_length: 60
# Various sounds from the plugin
# Use latest Spigot sound names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
sounds:
gui_open: ENTITY_BAT_TAKEOFF
gui_close: BLOCK_CHEST_CLOSE
slot_purchase_failure: BLOCK_NOTE_BLOCK_PLING
slot_purchase_success: ENTITY_PLAYER_LEVELUP
slot_teleport: ENTITY_ENDERMAN_TELEPORT
# Sponsor announcements
announcer:
# Should the announcer be enabled?
enabled: true
# Delay between each announcement (in seconds)
delay: 30
# The message displayed when a player hovers anywhere over the announcement message
hover_message: "&7Click to visit {PLAYER}'s island!"
# Message to be announced to all players
message:
- ''
- '&6[&e&lSlot&6] &fSponsor: &7{PLAYER}'
- '&8» &e{MESSAGE}'
- ''
- '&8» &7Click here or use &f/slots visit {PLAYER} &7to check it out!'
- ''
# Only supported on 1.9+
bossbar:
# Should the boss bar announcer be enabled?
enabled: true
# Duration of the boss bar display (in ticks)
duration: 180
# Color of the bossbar
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
color: BLUE
# Style of the bossbar
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html
style: SOLID
# Text displayed on the bossbar
text: "&6[&e&lSponsor&6] &7{PLAYER} &8» &e{MESSAGE}"
# Sponsored Slots GUI
gui:
title: "Sponsored Islands"
rows: 3
# Filler items are static items with no purpose
# Material names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
filler_items:
glass:
material: GRAY_STAINED_GLASS_PANE
amount: 1
display_name: "&r"
slot: -1 # -1 will fill all empty slots
clock:
material: WATCH
slot: 22
display_name: "&6&lSponsored Slots Information"
lore:
- '&fPurchase a Sponsored Slot to boost growth'
- '&fon your Island. You can make custom'
- '&fadvertisement message that will broadcast'
- '&fperiodically to all players.'
# Sponsored slot items
# Material names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
sponsored_slots:
'1':
slot: 11
# Slot duration (in seconds)
duration: 300
# The currency to use for this slot (see top of configuration for built-in currencies)
currency: VAULT
# Price to purchase a slot
price: 100
# Command to be executed when a player clicks on a claimed slot
actions:
- "[COMMAND] is visit {SLOT_OWNER}"
# Unclaimed display item
unclaimed:
material: PAPER
display_name: '&6Unclaimed Slot'
lore:
- '&7Price: &6${PRICE}'
- '&7Period: &6{TIME}'
- ''
- '&eClick to claim!'
# Claimed display item
claimed:
material: PLAYER_HEAD
display_name: '&6{PLAYER}''s Slot'
lore:
- '&7Message: &6{MESSAGE}'
- '&7Time Left: &6{TIME}'
- '&7Command: &6/is visit {PLAYER}'
- ''
- '&eClick to teleport to {PLAYER}''s Island!'
'2':
slot: 13
duration: 300
currency: VAULT
price: 100
actions:
- "[COMMAND] is visit {SLOT_OWNER}"
unclaimed:
material: PAPER
display_name: '&6Unclaimed Slot'
lore:
- '&7Price: &6${PRICE}'
- '&7Period: &6{TIME}'
- ''
- '&eClick to claim!'
claimed:
material: PLAYER_HEAD
display_name: '&6{PLAYER}''s Slot'
lore:
- '&7Message: &6{MESSAGE}'
- '&7Time Left: &6{TIME}'
- '&7Command: &6/is visit {PLAYER}'
- ''
- '&eClick to teleport to {PLAYER}''s Island!'
'3':
slot: 15
duration: 300
currency: VAULT
price: 100
actions:
- "[COMMAND] is visit {SLOT_OWNER}"
unclaimed:
material: PAPER
display_name: '&6Unclaimed Slot'
lore:
- '&7Price: &6${PRICE}'
- '&7Period: &6{TIME}'
- ''
- '&eClick to claim!'
claimed:
material: PLAYER_HEAD
display_name: '&6{PLAYER}''s Slot'
lore:
- '&7Message: &6{MESSAGE}'
- '&7Time Left: &6{TIME}'
- '&7Command: &6/is visit {PLAYER}'
- ''
- '&eClick to teleport to {PLAYER}''s Island!'