Added new configuration option 'checkForUpdates' to the config.yml. If enabled, the plugin will notify you when an update has been made to TokensPlus.
Here is the latest config.yml:
Code (YAML):
## TokensPlus - Configuration
config
:
# If enabled, player token balance will be managed through a MySQL database instead of the tokens.yml flat file
# I highly recommend restarting the server when switching between MySQL and flat file mode.
MySQL:
enabled
: false
host
:
"localhost"
port
:
"3306"
database
:
"tokensplus"
username
:
"root"
password
:
""
useSSL
: false
# This defines what the default starting amount of tokens the player will receive
defaultTokenAmount
: 0
# If enabled, the TokensPlus shop inventory will close on purchase
shouldCloseShopOnPurchase
: true
# If enabled, checks to see if you are using the latest version of TokensPlus
checkForUpdates
: true
## TokensPlus - Shop Configuration
# You can create any number of shop pages. Just follow the structure provided and add one to the last page number
# For example, if you wanted to add another page to the default config.yml, you would add a page3 section.
# The numbers after the 'items' section refers to the slot number in the TokensPlus shop inventory.
# All slot numbers are available, starting from 0, with the exception of slots 48, 49 and 50 (0-47, 51-53).
# For 'material', refer here for the material names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
# For 'enchants', refer here for the enchantment names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
shop:
page0:
items:
21:
material
: DIRT
amount
: 64
name
:
"&664 Dirt blocks"
lore
:
-
"&7Build a dirt house!"
enchants
:
-
tokenCost
: 10
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: true
commands
:
-
"experience add %playername% 100"
-
"tell %playername% You got 100xp for free!"
22:
material
: COBBLESTONE
amount
: 16
name
:
"&716 Cobblestone blocks"
lore
:
-
enchants
:
-
tokenCost
: 20
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: true
commands
:
-
"experience add %playername% 200"
23:
material
: SAND
amount
: 8
name
:
"&d8 Sand blocks"
lore
:
-
"&8Build a TNT sand cannon"
-
"&d&lBuild a sand castle"
tokenCost
: 40
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: true
commands
:
-
30:
material
: CREEPER_SPAWN_EGG
amount
: 4
name
:
"&a4 Creeper Spawn Eggs"
lore
:
-
"&cSpawn creepers anywhere!"
enchants
:
-
tokenCost
: 10
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: false
commands
:
-
31:
material
: EXPERIENCE_BOTTLE
amount
: 16
name
:
"&416 XP Bottles"
lore
:
-
"&7Click to buy!"
enchants
:
-
tokenCost
: 10
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: true
commands
:
-
32:
material
: TNT
amount
: 64
name
:
"&264 TNT"
lore
:
-
enchants
:
-
tokenCost
: 10
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: true
commands
:
-
page1:
items:
21:
material
: DIAMOND
amount
: 64
name
:
"&b64 Diamonds"
lore
:
-
"&7Click to buy!"
enchants
:
-
tokenCost
: 10
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: true
commands
:
-
page2:
items:
21:
material
: DIAMOND_SWORD
amount
: 1
name
:
"&a&lDIAMOND SWORD!!!"
lore
:
-
"&7Click to buy!"
enchants
:
- DAMAGE_ALL:4
tokenCost
: 10
shouldRemoveNameOnPurchase
: true
shouldRemoveLoreOnPurchase
: false
commands
:
-