Commit Graph

40 Commits

Author SHA1 Message Date
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 9a8538b844 Customizable default (no perms) vault size 2020-04-09 00:49:34 -04:00
CmdrKittens 0272e20d60 Configurable max amount to test via perms 2020-03-17 21:35:20 -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 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 73d7fbbca4 Check for null here and log 2018-04-06 15:29:51 -07: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 5a338937e7 Base64 vault management 2017-12-25 02:46:14 -06: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
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
kashike f51efcfab2 Quick cleanup 2015-06-27 09:37:10 -07: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
turt2live 57272da0cc Allow async conversion and use a UUID service where possible 2014-08-31 18:45:58 -06:00
drtshock 01122e5fba Stop sending 2 failed messages. 2014-05-28 08:22:08 -05:00
Joshua Popoff b5ef633105 General cleanup of everything I can see right now 2014-05-05 12:53:26 -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 a6cf925a78 Handle UUIDs. 2014-04-23 16:28:21 -05:00
drtshock 2d6ac31c2c Reformat 2014-01-20 12:22:09 -07:00
gomeow 60ee25a5b4 Make sure vault number is more than 0 2013-12-09 16:35:45 -06:00
drtshock 79a786a92d Check existing vaults a player has. Don't create a new vault when opening another player's vault. Actually implement costToOpen. Attempt to fix mcstats 403. 2013-10-21 23:32:36 -05:00
gomeow 3c52b7c754 Remove debug output 2013-10-21 17:44:57 -07:00
gomeow 6e0238d77d Move EconomyOperations to vaultmanagement package 2013-10-21 17:44:18 -07:00
drtshock c9c2129d9d Don't check for permissions on a null player. 2013-10-16 01:00:55 -05:00
drtshock 89a7e47577 Let's be GPL. Change version to snapshot 2013-10-12 19:41:38 -05:00
drtshock 82a35617bd Add configurable vault sizes. Recoded PR 17 to optimize permission checks and put things in correct classes. Updated to version 3.4.0-SNAPSHOT 2013-10-11 15:44:31 -05:00