# DataLock
A velocity plugin which provides a way for bukkit plugins to handle data syncing
Use by sending a message on your own plugin message channel. Add it to the DataLock config in the following format:
pluginname:customname
try-lock:try-lock-result.
If it can't be locked yet it will attempt to queue your lock call,
if there is an existing call it will send a failure message with info on that lock on queue-lock-failed.
check-lock: Check if a data entry is locked, it will send the result back as a boolean on check-lock-result
try-unlock: Attempt to unlock a data entry it will send a boolean back on try-unlock-result
If succesfull this will check if there is a queued lock for this data entry and if so lock that for that server and notify it on
locked-queued-lock with information on what the data was
try-lock/check-lock/try-unlock:
try-lock-result/try-unlock-result/check-lock-result
queue-lock-failed
locked-queued-lock