Commit Graph

302 Commits

Author SHA1 Message Date
kashike 9cffb99f4a Merge pull request #216 from omegablitz/patch-1
Updated maven repository
2016-08-09 18:38:43 -07:00
Aashish Welling 2b0b1582b9 Updated maven repository 2016-08-09 21:36:54 -04:00
kashike a700fea5a2 Avoid NPE in SignListener when requesting a vault. Fixes #187 2016-06-21 17:25:08 -07:00
Trent Hensler 76475093c8 Merge pull request #196 from vemacs/master
Don't save on teleport if player has vault open. Fixes #194 #195
2016-06-21 09:30:45 -07:00
vemacs 23d3364f24 Don't save on teleport if player has vault open. Fixes #194 #195 2016-06-21 09:16:12 -06:00
Trent Hensler edc6b0f8ae Fix opening of other player's vaults. Resolves #190. 2016-06-14 14:08:25 -05:00
kashike 472ff03b2c Merge pull request #188 from HunterGPlays/master
Fix dupe glitch
2016-06-12 15:54:49 -07:00
Terrobility 8dbd2d830a Fix dupe glitch
Fixes https://github.com/drtshock/PlayerVaults/issues/186
2016-06-12 23:51:26 +01:00
Trent Hensler bc9d1091e1 Accept Strings as inputs instead of UUIDs.
This leaves options for other plugins to hook into us to use our vault operations. I did a first shot of this with FactionsUUID.
* This needs to be tested more in depth before being pushed to a release version as it changes how we handle a lot of our dupe checks.
2016-05-30 16:20:36 -07:00
Trent Hensler 48206f552f Remove stupid workbench command. 2016-05-30 14:37:40 -07:00
Trent Hensler c55ad60705 Check for null map. 2016-05-30 14:32:32 -07:00
kashike 63ef227a7d Revert "Remove unnecessary teleport handler."
This reverts commit 1421c2bf15.
2016-05-29 18:15:28 -07:00
kashike 44be629603 Merge pull request #175 from RoinujNosde/patch-1
Fix for https://github.com/drtshock/PlayerVaults/issues/174
2016-05-29 18:08:40 -07:00
Edson Passos fc3d2fd9e7 Fix for https://github.com/drtshock/PlayerVaults/issues/174 2016-05-24 14:35:08 -03:00
kashike e8e1504123 Merge pull request #167 from HunterGPlays/master
Listen to inventory drag event
2016-04-23 22:32:15 -07:00
HunterGPlays 5618061016 Listen to inventory drag 2016-04-24 06:10:26 +01:00
HunterGPlays 6885fc0446 Added drag listener 2016-04-24 06:09:20 +01:00
Kashike 993ff3c833 Merge pull request #152 from MinelinkNetwork/fix-deserialization-errors
Fix deserialization errors introduced by previous commit.
2016-03-08 19:29:16 -08:00
Byteflux 0562425271 Fix deserialization errors introduced by previous commit.
This addresses an issue where items do not retain integer-based item meta
such as repair cost, enchantment levels etc.
2016-03-08 19:27:56 -08:00
Kashike 417277acfb Merge pull request #148 from MinelinkNetwork/fix-serializing-nested-maps
Fix StackOverflow when attempting to serialize ItemMeta
2016-03-08 14:10:42 -08:00
kashike cf4678a727 Bump to 3.5.8-SNAPSHOT 2016-03-08 14:11:35 -08:00
Byteflux 415b06a4c3 Fix StackOverflow when attempting to serialize ItemMeta with nested maps.
This removes the JSON library included with PlayerVaults and uses
SimpleJSON included with Bukkit.
2016-03-08 13:51:12 -08:00
Trent Hensler 1421c2bf15 Remove unnecessary teleport handler. 2016-02-08 09:45:08 -08:00
kashike 06bb39d345 Oops. Fix NPE 2016-02-06 12:13:41 -08:00
kashike aaef544ea4 Don't create new file when attempting to load cache. Fixes #107 2016-02-05 23:03:15 -08:00
drtshock 18da2bf0df Check for UUID, not name on shutdown. Resolves #113. 2015-09-15 14:33:43 -05:00
drtshock 32e7caf958 Make sure in vault map is populated and queried with UUIDs, not names.
Resolves #116
2015-09-15 14:16:18 -05:00
drtshock 403f2bd75a Add debug for closing inventories on shutdown for #113. 2015-09-10 14:38:15 -05:00
drtshock 272dc755ce Correct if vault exists check. Fixes #103. 2015-08-15 21:15:48 -05:00
drtshock 444ae3d1ab Only load signs if we need to.
Large servers were having some performance issues in the blockphysicsevent in the signlistener class, this helps relieve that stress.
2015-07-25 14:21:51 -05:00
drtshock 67b11db40d 3.5.6 release. 2015-07-09 14:17:34 -05:00
Kashike a71b09fe7c Merge pull request #89 from turt2live/travis/fix-convert-command
Move UUID caching code to convert command execution. Addresses #88
2015-07-08 17:18:23 -07:00
turt2live 17579896f1 Move UUID caching code to convert command execution. Addresses #88
Instead of loading the cache up front (potentially taking minutes) we now
move the UUID caching to the command execution. Although this may increase
the command execution time it does reduce the time spent starting the
server and furthermore saves a little bit of memory from being used.

The cache is only seeded if the UUID provider has not been initialized. If
it has, then the seeding does not occur.
2015-07-08 18:04:51 -06:00
drtshock 2c8691bcd8 Add lots of debug.
Hopefully help give some insight into #88.
2015-07-07 15:20:02 -05:00
drtshock b3ed171291 Add build number into plugin.yml version. 2015-07-07 15:09:35 -05:00
kashike 8980bc5fac Fix NPE in Listeners 2015-06-28 18:58:41 -07:00
kashike f51efcfab2 Quick cleanup 2015-06-27 09:37:10 -07:00
vemacs 26781df8f4 Update cache on delete, fixes online user vault deletion 2015-06-27 08:49:22 -07:00
vemacs eeb72ed1bb Only update if already in map 2015-06-26 14:31:19 -05:00
vemacs bcf9aacd3b [Somewhat tested] Implement asynchronous save operations and cached read operations 2015-06-26 11:18:46 -04:00
drtshock 81c9f83d65 3.5.6-SNAPSHOT 2015-06-24 14:33:05 -05:00
drtshock a5ed2b1f4d Revert "Add CachedVaults"
This reverts commit 9cd5755d0a.
2015-06-24 14:32:12 -05:00
drtshock a2ec843599 Revert "Apparently needed to reformat."
This reverts commit 101098ae7b.
2015-06-24 14:32:10 -05:00
drtshock 94c049f77c Revert "Attempt to fix #73. Not confirmed as a fix."
This reverts commit c2fa317e16.
2015-06-24 14:32:07 -05:00
kashike c2fa317e16 Attempt to fix #73. Not confirmed as a fix. 2015-06-08 12:27:16 -07:00
drtshock 101098ae7b Apparently needed to reformat. 2015-05-25 21:06:22 -05:00
Vaquxine 9cd5755d0a Add CachedVaults
Only writes vaults to file on server shutdown or player quit, rather
than every inventory close event.

Also caches for read() events.
2015-05-25 21:01:42 -05:00
drtshock 89c57dc76d Use Runnable. 2015-05-21 10:41:31 -05:00
drtshock 24f423d2f3 Add configurable blocked items list. 2015-05-21 10:39:34 -05:00
drtshock ab46f49b0f Allow deleting offline player's vaults.
Not sure why this was restricted to online players.
2015-05-16 20:18:42 -05:00