LinkedChest by Ghomerr

INTRODUCTION:
	This plugin allows to link chests together. 
	A command is used to create a master chest. 
	Then, use a sign to link another chest to a master chest. 
	The sign must contain the chest name between wildcards (*) on the first line. 
	The sign can be placed around the chest, just above and around this block and two blocks under the chest. 
	You wont be able to destroy a master chest, unless you remove it with the REMOVE command. 
	Master chests are protected against explosions. Linked chests are not protected at all. 
	You wont be able to place a chest near a simple master chest. Place it before adding the master chest.
	Double master chests seems to not work in versions older than 1.2.3 of Craftbukkit.

1) How to install:
	Only put the "LinkedChest-x.x.x.jar" file in your plugins directory, inside the minecraft server directory.
	At the first run, the directory "LinkedChest" will be created, with the default configuration file "configuration.properties".
	Place in the "LinkedChest" directory the "message_xx.properties" file corresponding to the language configured in the configuration file.
	Plugin data is stored in the files "masterchest.properties" and "linkedchest.properties". 
	The first one contains chest names, their locations and options.
	The second file contains the linked chest locations, and master chests names.
	
2) How to configure:
	Fill the configuration file linkedchest.config has you want, using these parameters:
		debug: Values (true|false) -> Enable/Disable the debug mode. (There is barely no debug messages for now)
		language: Values (language code) -> Select the messages file corresponding to this configuration.
		usepermissions: Values (true|false) -> Enable permissions (PermissionsBukkit, PermissionsEx and Native Bukkit's Permissions system are supported).
	
3) Multilanguage messages:
	You can choose the language of displayed messages ingame.
	Only put a language code in the language configuration and get or make the corresponding messages file.
	For example, with a configuration "language=en", you have to use a file named "messages_en.properties".
	You must let the messages variables inside braces "{}" to let the plugin replace them by dynamic parameters, as chest names.
	Messages variables names does not matter. It is based on variables order.
	
4) Permissions Nodes:
	Commands permissions
		linkedchest.add
		linkedchest.adminchest
		linkedchest.aliases
		linkedchest.config
		linkedchest.debug
		linkedchest.details
		linkedchest.help
		linkedchest.link
		linkedchest.list
		linkedchest.openremote
		linkedchest.remove
		linkedchest.unlink
		linkedchest.usepermissions
		linkedchest.version
		
	Actions permissions:
		linkedchest.openadminchest
		linkedchest.openmasterchest
		linkedchest.openlinkedchest
		linkedchest.placelinkedsign
	
5) How to use:
	This plugin use the main command /linkedchest. Available aliases: /lc, /lchest, /linkchest
	Following commands use parameters. <c> = command, <n> = chest name, <o> = options
	Admins Commands:
		/lc add <n> <o> : create a master chest from the target chest. Only "a" option is available, to make an admin-only chest
		/lc admin <n> : toggle the admin status of the given chest
		/lc config : display the current config
		/lc debug : toggle the debug mode
		/lc link <n> : link the targeted chest to a master chest
		/lc open : remotely open a chest
		/lc remove <n> : remove a master chest
		/lc perms : toggle the usage of permissions
		/lc unlink (<n>) : unlink the targeted chest or all chests of the given master chests
		
	Users commands:
		/lc alias <c> : display the aliases of the given command
		/lc details <n> : display the details of the given chest
		/lc help <c> : display general help without parameter and the help message of the given command
		/lc list : display chests list
		/lc version : display the current plugin version