Lock Security 1.7.0

Details

  • Filename
    LockSecurity.jar
  • Uploaded by
  • Uploaded
    Nov 24, 2015
  • Size
    101.42 KB
  • Downloads
    466
  • MD5
    8cef497615b635bd1c8d91e7592eec89

Supported Bukkit Versions

  • 1.8.3

Changelog

LS-ChestCollector

LS-ChestCollector has officially been released to the public! The very first add-on for the LockSecurity plugin, which allows for the creation of wireless collection chests. If you love my LockSecurity plugin, you may enjoy LS-ChestCollector! Check it out by -= Clicking Here =-

Changelog

Version 1.7.0

  • ADDED SQLITE DATABASE SUPPORT!!!
  • REMOVED locked.yml functionality
  • |-> There is an automatic conversion method to convert all data in your locked.yml into the database. Please watch your server console to make sure all data is successfully transfered into the database. If something goes wrong, a message will display, and tell you what to do from there. PLEASE follow the warning instructions if they are displayed
  • Removed the LockedStorageHandler class
  • Added RecipeYields configuration option to determine how many Unsmithed keys the recipe creates
  • Removed lockedLockIDs and lockedKeyIDs HashMaps (unused in this update)
  • Changed absolute variables for recipes to direct recipes in the onEnable()
  • Removed locked.yml HashMap data loading code block
  • Added a conversion block of code to automatically transfer all information from the locked.yml into the new database
  • Removed some logging information from onDisable() method
  • Removed formatLocation(Location) method in main class
  • Removed setNextKeyID(int) and setNextLockID() methods
  • Added database-related methods in main class (openConnection(), closeConnection(), createStatement(), closeStatement(), executeStatement(), queryDatabase(), closeResultSet())
  • Removed @SuppressWarnings for deprecation (no more deprecated methods) for most classes
  • Removed references to LockStorageHandler class in most classes
  • Removed unnecessary declaration of variables, and used direct Location variable for parameters instead
  • Removed reload for locked.yml (fixes a NullPointerException)
  • Moved the removal of key and play sound into the actual moment a block is interacted with (Fixes potential NullPointerException in API)
  • Moved removeCurrentItem() method from LockedBlockAccessor into InteractWithBlock class
  • Fixed using multiple ID's and queries for a single ID (more efficient locking of blocks)
  • LockedBlockAccessor API changes:
  • |-> Added getLocationFromLockID(int) method to get a specific location from the specified id
  • |-> Added insertDatabaseInfo(int, String, String, String, Location) method to insert information into the database
  • |-> Added insertDatabaseInfo(int, int, String, String, String, Location) method to insert information into the database with a specific LockID
  • |-> Added isInDatabase(int) method to determine whether the id is in the database or not
  • |-> Removed addLockedYMLInformation() method (no longer to be used)
  • |-> Modified MANY LockedBlockAccessor methods to reference the database rather than the locked.yml

Once updated, you may either do one of the following things with the locked.yml:

  • Delete it
  • Take a backup of it just in case