Commit Graph

324 Commits

Author SHA1 Message Date
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
mbax 9b5a7f18d9 Build for specific Bukkit release:
Eliminates awkward situations of changes causing confusion when suddenly
your plugin won't compile on new versions of Bukkit. Stuck to 1.7.9-R0.2
because this is the last release supporting getOnlinePlayers as an array,
which this plugin builds against, and building this way supports the most
servers, which is always an admirable goal. Wouldn't want to force people
onto the latest dev, would we?
2014-08-04 23:26:10 -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
drtshock 72df6f5f66 Fix owner of sign being null if self. Fixes issue #31. 2014-05-19 08:51:30 -05:00
Joshua Popoff 2e429ceb21 Do a bit more cleanup, and shuffle a few things around 2014-05-06 22:37:48 -07:00
drtshock faa4a45ba9 Update version to 3.5.0 for release. 2014-05-06 12:37:57 -05:00
drtshock 9503b3a7bf Merge pull request #29 from koalaaaa/master
General cleanup of everything I can see right now.
2014-05-05 15:01:37 -05:00
Joshua Popoff e5904cf651 Okay, I swear I'm done now. ;-; 2014-05-05 12:57:24 -07:00
Joshua Popoff b5ef633105 General cleanup of everything I can see right now 2014-05-05 12:53:26 -07:00
drtshock 99d74afa24 Merge pull request #28 from koalaaaa/master
Tidy up commands, and make them output when things go boom
2014-05-05 14:18:14 -05:00
Joshua Popoff 993dd93dc3 Please don't do that to me, spaces 2014-05-05 12:17:11 -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 5062fbdbc7 Revert "Reformat"
This reverts commit 4628cc8130.
2014-05-05 12:20:40 -05:00
drtshock 4628cc8130 Reformat 2014-05-05 12:15:32 -05:00
drtshock 72e7fb0349 Merge pull request #27 from koalaaaa/master
Fix saving of vaults
2014-05-05 11:43:54 -05:00
Joshua Popoff abb37ab4b0 We want to continue, not break 2014-05-05 09:38:53 -07:00
Joshua Popoff 5721e98e77 I hate spaces 2014-05-05 09:28:38 -07:00
Joshua Popoff 1d6c1bd6d1 Fix saving of vaults and use guava Files instead of nms apache commons Files 2014-05-05 09:27:33 -07:00
Nate Mortensen e1e2ad18e3 Add handling for Iterables to Serialization
Currently any ConfigurationSerializable object that relies upon Iterables
for its serialization will fail to serialize correctly, and, in turn, fail to
deserialize properly.

To correct this, special casing has been added for Iterables(and Maps in a
few places) to ensure that all ConfigurationSerializable objects are
serialized and deserialized correctly.
2014-04-24 19:29:08 -06:00
drtshock e3da6580ba Make things not so staticy 2014-04-24 10:08:50 -05:00
drtshock b704929834 Fix that typo 2014-04-23 16:34:41 -05:00
drtshock 179473ec3f Fix merge 2014-04-23 16:30:22 -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 0ced47c52b UUID conversion 2014-04-23 14:56:05 -05:00
drtshock 56390ebdb1 UUIDConversion class. 2014-04-23 14:37:04 -05:00
drtshock 2ff60128f7 New vault manager class to use UUIDs 2014-04-23 14:05:12 -05:00
drtshock c002913c20 Deprecate old methods to prepare for UUID migration. 2014-04-23 13:55:05 -05:00
drtshock 15f4f81780 Reformat 2014-04-23 13:52:36 -05:00
drtshock ac267345b0 3.4.5 2014-03-12 21:02:21 -05:00
drtshock 1342a5584e Prevent users from opening a vault if they already have one open. 2014-03-12 13:57:23 -05:00
drtshock 4c3da6e8f5 check dat. 2014-03-11 19:31:45 -05:00
drtshock f5dfd3950f Close inventory when saving. 2014-03-11 19:02:16 -05:00
drtshock 90094fc889 clarity 2014-01-20 12:39:31 -07: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
gomeow 6efcc4ffec Change version # for release (v3.4.4) 2014-01-03 10:21:10 -08:00
gomeow 14f6102640 Add explanatory message in lang.yml 2014-01-03 10:20:35 -08:00
gomeow 259b7b907e Fix stupid bad 2013-12-28 23:31:13 -08:00
gomeow f878557b79 Update Metrics 2013-12-28 23:30:19 -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 795f5a1a65 Merge branch 'master' of https://github.com/drtshock/PlayerVaults 2013-12-09 16:36:27 -06:00
gomeow 60ee25a5b4 Make sure vault number is more than 0 2013-12-09 16:35:45 -06:00
drtshock e36ce436c1 Fix up a little regex hopefully.. 2013-12-09 16:35:00 -06:00
gomeow 3c6dc6b069 Make sure vault number is more than 0 2013-12-01 20:06:40 -08:00
drtshock 445ed9d592 Allow players name to be put on vault title 2013-11-21 19:51:29 -06:00
drtshock 41c81bb83e 3.4.3 release 2013-11-21 17:36:49 -06:00