Commit Graph

47 Commits

Author SHA1 Message Date
drtshock ede738019a Update vault size each time inventory is opened.
Before, the VaultViewInfo was being stored as name instead of uuid as well as not being removed when a vault was closed. This caused the same inventory to be accessed from memory each time the vault was opened after the first opening since the last restart when it would load from file. Since we are recreating the inventory each time, there will likely be a performance loss but we will update the vault title and size each time its opened. Resolves #58.
2015-04-27 14:02:51 -05:00
drtshock f97ba1e694 Reformat. 2015-04-27 12:03:11 -05:00
Joshua Popoff b8b7c24d9d add a config option to disable backups. closes #45 2014-11-24 00:40:15 -08:00
Joshua Popoff e8bbd49804 Fix unique id converstion. fixes #51 2014-11-09 01:17:39 -08:00
drtshock 9ce0d572be RIP metrics 2014-10-06 10:31:30 -05:00
turt2live 338d2cb889 Add converting framework as well as the converter for Backpack
Adds command /pvconvert <all | plugin name>
Adds permission playervaults.convert
Adds Converter interface for future converters
Adds BackpackConverter - A converter for Backpack
(http://dev.bukkit.org/bukkit-plugins/backpack/)
2014-08-31 17:10:26 -06:00
mbax feb5980a3c Reduce File creation:
No, not file creation. File object creation!
2014-08-04 23:52:57 -04:00
mbax 935b8318d1 Start update checking immediately:
Initializing the Updater class from the main thread allows the Updater
thread to begin its query before the first server tick, which is when the
scheduled task will begin. Gotta get that update!
2014-08-04 23:39:04 -04:00
mbax b8d557b769 Substantially reduce disk IO in mass destruction:
Previously, the signs config file was saved for every single change to its
contents. This works great until you have an episode of mass destruction.
Suddenly, you're getting the file saved multiple times per tick. Goodbye,
TPS. Hello, lag.

This commit replaces the functionality of the saveSigns method with
flagging the signs config as requiring a save. A scheduled task checking
for this boolean once per second allows for up-to-the-second accuracy of
the config file without substantially compromising server stability.

Lastly, the config is saved in onDisable to ensure the task hasn't missed
anything.
2014-08-04 23:30:23 -04:00
drtshock 3c122dbe59 Reformat 2014-05-28 08:22:20 -05:00
drtshock 01122e5fba Stop sending 2 failed messages. 2014-05-28 08:22:08 -05:00
Joshua Popoff 2e429ceb21 Do a bit more cleanup, and shuffle a few things around 2014-05-06 22:37:48 -07:00
Joshua Popoff b5ef633105 General cleanup of everything I can see right now 2014-05-05 12:53:26 -07:00
Joshua Popoff d6da845403 Tidy up commands, and make them output when things go boom 2014-05-05 12:13:49 -07:00
drtshock e3da6580ba Make things not so staticy 2014-04-24 10:08:50 -05:00
drtshock 3ad36a3fd3 UUID conversion 2014-04-23 16:29:37 -05:00
drtshock a6cf925a78 Handle UUIDs. 2014-04-23 16:28:21 -05:00
drtshock 2d6ac31c2c Reformat 2014-01-20 12:22:09 -07:00
drtshock 0362170e9b Cleanup task 2014-01-20 12:21:45 -07:00
gomeow 4fca7066e6 Make Metrics async 2014-01-04 17:08:15 -08:00
drtshock 17bcc061ba shhh 2013-12-09 16:44:15 -06:00
drtshock 2fef2b1305 Better update checker. Handle reloads of the lang file properly. 2013-12-09 16:43:12 -06:00
drtshock 26d6f8a3ce QUACK 2013-10-13 23:47:37 -05:00
drtshock 89a7e47577 Let's be GPL. Change version to snapshot 2013-10-12 19:41:38 -05:00
gomeow eab883a052 Javadoc revisions 2013-10-12 12:04:09 -07:00
drtshock 82a35617bd Add configurable vault sizes. Recoded PR 17 to optimize permission checks and put things in correct classes. Updated to version 3.4.0-SNAPSHOT 2013-10-11 15:44:31 -05:00
drtshock 7f75d9f625 Don't check for spaces in file version string. 2013-10-11 11:22:36 -05:00
drtshock ca155443e8 Metrics again 2013-10-10 13:17:46 -05:00
drtshock e330bf34c5 Asyc logging because it's better. 2013-10-09 22:49:09 -05:00
drtshock 0d4aab35b9 let's ping mbaxter with this commit 2013-10-09 22:32:26 -05:00
drtshock 8a51271f3c Remove metrics :( 2013-09-20 16:40:36 -05:00
gomeow f484a8eb71 Fix dupe 2013-08-25 14:51:44 -07:00
gomeow ce91614d0f Overall organize imports and format 2013-08-20 16:26:34 -07:00
gomeow 9ad6332cd2 Allow the lang.yml to have comments within it 2013-06-13 00:01:27 -07:00
gomeow e4def202f5 Do a lot of work on the updater, make it compatible with dev builds 2013-06-08 16:09:07 -04:00
gomeow 91979b5526 Move lang updating to updateLang() in the main class 2013-05-27 23:59:28 -07:00
gomeow 559d0f7f66 Make update checking async for faster startup times 2013-05-25 17:08:30 -07:00
gomeow 4999c88d16 Use onDisable to close inventories
*Untested*
2013-05-24 09:08:03 -07:00
gomeow e3516774f3 Oh, so very much formatting and stuffs 2013-05-23 22:57:16 -07:00
gomeow 12f0a25565 Make it so vaults being viewed at the same time update in real time 2013-05-23 14:36:16 -07:00
gomeow 5901d45310 Move in vault and set sign hashmaps to main class 2013-05-23 13:43:49 -07:00
gomeow f90f8ea6b0 Remove weird whitespace 2013-05-10 20:18:14 -07:00
gomeow bb0183e6c7 Finish sign support 2013-05-05 22:03:13 -07:00
gomeow 457aad54f9 New way of update checking 2013-05-05 21:23:30 -07:00
gomeow 256a58fce8 Continue adding signs support 2013-04-24 18:46:02 -07:00
gomeow b5fc36645e Start sign based accessing of Vaults 2013-04-22 16:32:44 -07:00
drtshock be1d53ed7e Use proper conventions. 2013-04-15 18:42:29 -05:00