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
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
drtshock
0623b4cdd1
Make sure player is online before checking permissions. Fixes #64 .
2015-04-28 11:30:27 -05:00
drtshock
30b76349a2
Add pvreload command. Resolves #32 .
2015-04-27 14:27:49 -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
Joshua Popoff
e8bbd49804
Fix unique id converstion. fixes #51
2014-11-09 01:17:39 -08:00
drtshock
9ce0d572be
RIP metrics
2014-10-06 10:31:30 -05:00
turt2live
9c92255b34
Exception handling and don't kill everything
2014-08-31 19:56:15 -06:00
turt2live
57272da0cc
Allow async conversion and use a UUID service where possible
2014-08-31 18:45:58 -06:00
turt2live
645ab84f0b
Make @evilmidget38 happy
2014-08-31 17:12:53 -06:00
turt2live
338d2cb889
Add converting framework as well as the converter for Backpack
...
Adds command /pvconvert <all | plugin name>
Adds permission playervaults.convert
Adds Converter interface for future converters
Adds BackpackConverter - A converter for Backpack
(http://dev.bukkit.org/bukkit-plugins/backpack/ )
2014-08-31 17:10:26 -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
mbax
feb5980a3c
Reduce File creation:
...
No, not file creation. File object creation!
2014-08-04 23:52:57 -04:00
mbax
935b8318d1
Start update checking immediately:
...
Initializing the Updater class from the main thread allows the Updater
thread to begin its query before the first server tick, which is when the
scheduled task will begin. Gotta get that update!
2014-08-04 23:39:04 -04:00