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
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
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
0623b4cdd1
Make sure player is online before checking permissions. Fixes #64 .
2015-04-28 11:30:27 -05:00
drtshock
573f58ee2f
Make help message configurable. Resolves #52 .
2015-04-27 14:22:56 -05:00
drtshock
f1c30c6a37
Some more cleanup and formatting.
2015-04-27 14:09:34 -05:00
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
8375d71e3e
Fix sign usage permissions. Resolves #54 .
2015-04-27 12:31:43 -05:00
drtshock
e14958f2e2
Separate permission for vault commands. Resolves #59 .
...
Permission is playervaults.commands.use and defaults to true to keep current functionality.
2015-04-27 12:10:48 -05:00
drtshock
f97ba1e694
Reformat.
2015-04-27 12:03:11 -05:00
drtshock
248c5f193b
Add option to have player name and vault number in vault title.
2015-04-27 11:50:16 -05:00
Joshua Popoff
b8b7c24d9d
add a config option to disable backups. closes #45
2014-11-24 00:40:15 -08:00
turt2live
57272da0cc
Allow async conversion and use a UUID service where possible
2014-08-31 18:45:58 -06:00
evilmidget38
9741c80014
Use the correct config value for cost-to-open
...
This commit changes payToOpen to use the correct value from the config as well as the default value listed in the config instead of
the default value for payToCreate.
2014-08-13 20:51:48 -06:00
mbax
645b3adc07
Consistent UUID usage across file handling
2014-08-05 00:14:52 -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
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
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
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
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
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