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
mbax
b8d557b769
Substantially reduce disk IO in mass destruction:
...
Previously, the signs config file was saved for every single change to its
contents. This works great until you have an episode of mass destruction.
Suddenly, you're getting the file saved multiple times per tick. Goodbye,
TPS. Hello, lag.
This commit replaces the functionality of the saveSigns method with
flagging the signs config as requiring a save. A scheduled task checking
for this boolean once per second allows for up-to-the-second accuracy of
the config file without substantially compromising server stability.
Lastly, the config is saved in onDisable to ensure the task hasn't missed
anything.
2014-08-04 23:30:23 -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
drtshock
72df6f5f66
Fix owner of sign being null if self. Fixes issue #31 .
2014-05-19 08:51:30 -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
Joshua Popoff
abb37ab4b0
We want to continue, not break
2014-05-05 09:38:53 -07:00
Joshua Popoff
5721e98e77
I hate spaces
2014-05-05 09:28:38 -07:00
Joshua Popoff
1d6c1bd6d1
Fix saving of vaults and use guava Files instead of nms apache commons Files
2014-05-05 09:27:33 -07:00