Commit Graph

68 Commits

Author SHA1 Message Date
mbax 3696d4eb94 Fancier debug/help 2021-05-22 21:34:32 -04:00
mbax 5e3deaa8e2 Introduce MiniMessage, new lang, and fix storage quirks 2021-05-22 21:32:49 -04:00
CmdrKittens db414a7d2f Check permission node correctly in command 2020-04-11 23:22:48 -04:00
CmdrKittens 2286fd7656 New config 2020-04-09 00:18:17 -04:00
CmdrKittens c3473b1c81 Some light cleaning 2020-03-18 19:22:49 -04:00
ArtelGG 0592554f0c Rework vault signs (#387)
* Rework vault signs

* Fix potential vault sign issues
2019-05-30 09:28:03 -07:00
Trent Hensler 077745733b Send messages the right way. Fixes #378 2018-12-29 15:45:06 -08: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
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 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 0b43300b21 Remove UUID lib dependency. Will resolve #317 2018-01-01 10:50:42 -08:00
Trent Hensler 5a338937e7 Base64 vault management 2017-12-25 02:46:14 -06:00
kashike 9263c2a092 Avoid NFE when incorrect usage is used. Fixes #205 2016-08-19 23:58:14 -07: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 48206f552f Remove stupid workbench command. 2016-05-30 14:37:40 -07:00
kashike aaef544ea4 Don't create new file when attempting to load cache. Fixes #107 2016-02-05 23:03:15 -08: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
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
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 e931488c28 Store target player's UUID when opening other vault. Fixes #68. 2015-05-08 08:59:18 -05:00
drtshock 573f58ee2f Make help message configurable. Resolves #52. 2015-04-27 14:22:56 -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
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
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 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
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 1342a5584e Prevent users from opening a vault if they already have one open. 2014-03-12 13:57:23 -05:00
drtshock 2d6ac31c2c Reformat 2014-01-20 12:22:09 -07: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
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
drtshock e330bf34c5 Asyc logging because it's better. 2013-10-09 22:49:09 -05:00
drtshock 678233d1be Make things make sense. 2013-08-27 14:06:17 -05:00
gomeow 2ba9656f48 Fix a few things, remove bad code 2013-08-27 11:21:43 -07:00
gomeow e527764d56 Format some stuffs 2013-08-25 14:58:11 -07:00
gomeow ce91614d0f Overall organize imports and format 2013-08-20 16:26:34 -07:00