Commit Graph

237 Commits

Author SHA1 Message Date
ducitymp ef4053fee7 Added check for viewers 2017-12-15 19:56:22 +01:00
ducitymp 430009c51d Fixed saving issue 2017-12-14 14:58:17 +01:00
ducitymp 55cdbbfecd Fixed dupe glitch 2017-12-02 22:38:46 +01:00
kashike b97f04bb97 Update for 1.12.0
Fixes #270
2017-06-08 14:24:35 -07:00
Byteflux 25120bef1a Remove async saving
Fixes #245, #223, #246, #247
2017-01-06 20:35:13 -08:00
SmellyGeek 24f4adc3ad Remove redundant "start" method 2016-12-01 18:45:41 -05:00
Trent Hensler e5fb65b8d9 Attempt maven version 2016-08-29 18:42:05 -07:00
kashike 9263c2a092 Avoid NFE when incorrect usage is used. Fixes #205 2016-08-19 23:58:14 -07:00
kashike ee7d0439f5 Don't grant a max size of 54 when player first joins. Fixes #219
Introduced in ede738019a
2016-08-19 19:52:57 -07:00
m10653 4ba4f5da25 Added ItemFlag support and patch error when loading ItemFlags from file. 2016-08-18 16:36:47 -04:00
kashike a700fea5a2 Avoid NPE in SignListener when requesting a vault. Fixes #187 2016-06-21 17:25:08 -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
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
Edson Passos fc3d2fd9e7 Fix for https://github.com/drtshock/PlayerVaults/issues/174 2016-05-24 14:35:08 -03: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
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
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
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 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
drtshock e931488c28 Store target player's UUID when opening other vault. Fixes #68. 2015-05-08 08:59:18 -05:00
drtshock 9fe5c3ef56 Ignore cancelled events. 2015-04-29 08:51:35 -05:00