Before starting: I want to say this is my first plugin appericiate your help! ok, let's start
==================
Treasure Chest is a plugin that's provide a treasure hunting experince, i an amount at time, treasure will spawn at a world with it cordination and player have to use F3 to find them
This plugin is complied for 1.8 but may work in 1.9 as well
config.yml: Main configuration for the plugin:
treasure.yml: This basicly just to store the treasure, don't touch or it will break the plugin (or at least the current event)
/treasureadmin:
Alternative: /tad
Providing help page for administrator
Permission: TreasureChest.Admin
Default: OP
/treasure
Alternative: /tre
Providing help page for players
Default: All players
Permission: none
==================
Like the plugin: Give a 5 star rating
Help me get some Lipton IceTea Drink
==================

Treasure Chest is a plugin that's provide a treasure hunting experince, i an amount at time, treasure will spawn at a world with it cordination and player have to use F3 to find them
This plugin is complied for 1.8 but may work in 1.9 as well

- Provide Treasure like it's name
- Can config the type of the reward (Command/Item)
- Can config the chance of getting that reward
- Have limits on the area where treasure spawn (Per world configuration)
- Can limit the amount of treasure in a world come along with reward per treasure
- More to come, i need your comments

- Range cordinate are positive (Which mean there can't no negative <minus> X, Z value)
- More to come, i need your comments


Link to the image, the pic doesnt show up for some reason http://imgur.com/h5p2DXw

config.yml: Main configuration for the plugin:
Code:
#DO NOT TOUCH
configVersion: 1.0.0
#Prefix for the announcer
Prefix: "&b&7| &eTreasure&aChest &b&7|"
#Delay between every spawn / despawn in seconds
SpawnDelay: 300
DespawnDelay: 300
#Chest/Rewards Limit for each world/treasure
ChestLimit: 2
RewardLimit: 3
#Limit the area that treasure would appear
#X/YFrom: Starting point
#X/YTo: Ending point
#Note: Treasure would appear in positive cordination, not negative
#Note 2: The config would ignore the "Example" world, so you don't have to be worry
#vvv Please include name of the world you want the treasure to appear
World:
Example:
XFrom: 0
ZFrom: 0
XTo: 0
ZTo: 0
#Configuration for Rewards
#Format as below
#Type: Type of the reward <Item/Command>
#
#
########## Item Type Format ##########
#Material: The item type <Required>
#Amount: The amount of item <Default is 1>
#Enchantment: The enchantment of the item <Not unsafe enchantment> <Optional>
#Lore: Lore of the item <Optional>
#Name: Name of the item <Optional>
#
#
########## Command Type Format ##########
#Commands: Command execute
#
#
########## General ##########
#Chance: Chance of getting the item <Must be lower than 100; Default is 20> <Optional>
#
#
Rewards:
'0':
Type: Item
Material: Diamond_Sword
Amount: 1
Enchantment:
- Damage_All-1
Lore:
- "&3This is an example sword"
Name: "&3Example Sword"
Chance: 100
'1':
Type: Command
Commands:
- give %player% 264 1
Chance: 20
treasure.yml: This basicly just to store the treasure, don't touch or it will break the plugin (or at least the current event)

/treasureadmin:
Alternative: /tad
Providing help page for administrator
Permission: TreasureChest.Admin
Default: OP
/treasure
Alternative: /tre
Providing help page for players
Default: All players
Permission: none
==================
Like the plugin: Give a 5 star rating
Help me get some Lipton IceTea Drink
