Commit Graph

89 Commits

Author SHA1 Message Date
mbax de58a37d2d Healthier conversion strategy 2021-05-22 21:32:57 -04:00
mbax 5e3deaa8e2 Introduce MiniMessage, new lang, and fix storage quirks 2021-05-22 21:32:49 -04:00
mbax 4a79cfd41c More sign debug stuffs 2021-04-10 20:26:05 -04:00
CmdrKittens 18dac06fa9 Better handle cancelled inventory open event 2020-04-24 16:31:36 -04:00
CmdrKittens 288c53be49 Add a bit more debug 2020-04-24 16:31:28 -04:00
CmdrKittens 3925012a94 Link, wake up... 2020-04-13 14:57:22 -04:00
CmdrKittens db414a7d2f Check permission node correctly in command 2020-04-11 23:22:48 -04:00
CmdrKittens ab9919071a Don't charge players for costs of zero 2020-04-09 10:50:46 -04:00
CmdrKittens 2e4fef70d9 Improve debug, and other informative messages 2020-04-09 01:54:32 -04:00
CmdrKittens 9a8538b844 Customizable default (no perms) vault size 2020-04-09 00:49:34 -04:00
CmdrKittens 2286fd7656 New config 2020-04-09 00:18:17 -04:00
CmdrKittens ebfee098c1 Prevent items the server deems invalid from getting into vaults 2020-03-28 19:53:00 -04:00
CmdrKittens c3473b1c81 Some light cleaning 2020-03-18 19:22:49 -04:00
CmdrKittens 0272e20d60 Configurable max amount to test via perms 2020-03-17 21:35:20 -04:00
CmdrKittens 876c696e86 Prettier code 2020-03-17 21:32:59 -04:00
Trent Hensler f463dedee6 Update license headers in all files. 2018-12-17 20:08:56 -08:00
ArtelGG 88e0351826 Retain cross-version compatibility & cleanup (#374) 2018-12-17 19:58:55 -08:00
Trent Hensler a3d72a0a28 Commit rest of files. 2018-12-16 22:37:41 -08:00
Trent Hensler 181bb89ac0 Rework operations to allow for owners of vaults to be Strings, which is more friendly to third party or group vaults. Fixes compatibility with FactionsUUID. 2018-12-16 22:13:13 -08:00
Trent Hensler 55cbea8582 Set vault size manually instead of relying on Inventory object. Fixes #366 2018-12-15 16:13:40 -08:00
Trent Hensler 920a4398e1 Safely handle cancelled inventory open events on vaults by checking if inventory is null AFTER it's opened. Resolves #354 2018-05-21 13:51:39 -07:00
Jamie Sinn 2b687fc42e Warn -> Info (#357) 2018-05-13 15:30:34 -07:00
Jamie Sinn 79fe9b53f8 Delete all vaults (1-100) 2018-05-11 19:34:16 -07:00
Trent Hensler a58320a5f3 Only charge in one spot for vaults 2018-04-06 15:48:21 -07:00
Trent Hensler 73d7fbbca4 Check for null here and log 2018-04-06 15:29:51 -07:00
Trent Hensler b1033c77ad Set vault holders 2018-03-23 18:28:22 -07:00
Trent Hensler 6bdb2212ec Revert "Added ItemFlag support and patch error when loading ItemFlags from file."
This reverts commit 4ba4f5da25.

Should fix #332 and #329
2018-03-02 10:10:46 -08:00
Trent Hensler 668a3be6a9 Properly check for numbers in pvdevl. Fixes #334 2018-02-17 12:25:12 -06:00
Trent Hensler 5f115f631b Save all lang files to disk. Allow switching between languages in the config file.
This will break anyone using the current lang.yml. They'll just need to move it to lang/english.yml
2018-01-06 19:50:47 -08:00
Trent Hensler e8843bc054 Null check 2018-01-01 00:24:42 -08:00
Trent Hensler 00861205ae Preserve title and size of vaults 2017-12-31 23:58:22 -08:00
Trent Hensler 5a338937e7 Base64 vault management 2017-12-25 02:46:14 -06:00
Byteflux 25120bef1a Remove async saving
Fixes #245, #223, #246, #247
2017-01-06 20:35:13 -08: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
Trent Hensler edc6b0f8ae Fix opening of other player's vaults. Resolves #190. 2016-06-14 14:08:25 -05: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 c55ad60705 Check for null map. 2016-05-30 14:32:32 -07: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
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 272dc755ce Correct if vault exists check. Fixes #103. 2015-08-15 21:15:48 -05: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 101098ae7b Apparently needed to reformat. 2015-05-25 21:06:22 -05:00