Commit Graph

378 Commits

Author SHA1 Message Date
Eric
9537d93688 Update localization to 1.17 2021-07-29 22:51:38 +02:00
Eric
5157cc42ac Update dependencies and their implementations
PlotSquared integration will not work with version 5.x anymore!

Towny and BentoBox may also require a more recent version.
2021-07-29 14:18:06 +02:00
Eric
acd447c6ec First steps towards 1.17 support
The plugin works, but the localization part has yet to be done, and
support for other plugins has to be updated to the latest versions.
2021-07-24 23:40:53 +02:00
Eric
0ab51482d2 No world access on plugin disable 2021-01-01 19:00:32 +01:00
Eric
4fc8194ceb Hide "unsupported version" message for 1.16.4 2021-01-01 18:59:06 +01:00
Gregory DALMAR
9e9c509f9b
Change plotsquared repo to official new repo and add support for 1.16.4 (#351)
Thank you :)
2020-11-12 14:54:52 +01:00
Eric
967b9f2ce3 Fix hologram for hex colored item names 2020-08-22 19:48:25 +02:00
Eric
d3574f1519 Add support for 1.16.2 2020-08-22 17:59:05 +02:00
Eric
4580319241 Fix JsonBuilder for 1.16 2020-06-27 13:03:46 +02:00
Eric
056989437d Add support for 1.16 2020-06-25 19:52:32 +02:00
Eric
f95516d2a5 Remove trailing spaces from item names file 2020-06-25 19:52:31 +02:00
_Piston
3669cf73be
Bungee sync vendor messages (#320) 2020-04-27 18:13:10 +02:00
Eric
a402423b4b Fix error if PlotSquared v5 is not installed 2020-04-26 15:21:18 +02:00
Eric
1736196a05 Only disconnect database if initialized 2020-04-26 14:34:08 +02:00
Eric
d9618aa227 Re-add support for PlotSquared v4 2020-04-25 16:23:21 +02:00
Eric
0f51cc34c2 Support PlotSquared v5
Does not support older PlotSquared versions anymore
2020-04-25 15:54:15 +02:00
Eric
d4729de3f4 Remove unused import 2020-04-25 15:53:18 +02:00
Eric
30a2b8aefc Make ShopUtils#getShops() return a new copy
ShopUtils#getShopsCopy() is now deprecated
2020-03-25 14:50:21 +01:00
Eric
443cab6df5 Remove "normal" from usage of create command 2020-03-25 14:27:48 +01:00
Eric
1b34ba1fbd Organize imports 2020-03-25 14:22:50 +01:00
Eric
7d9ff86dc5 Remove static hologram methods 2020-03-25 14:05:07 +01:00
Eric
1faac3854e Update hologram text on inventory update
(Untested)
2020-03-23 23:44:41 +01:00
Eric
0e25e4933d BentoBox integration fixes 2020-03-16 15:19:16 +01:00
Eric
0002055e5f Fix removeall command 2020-03-16 15:18:32 +01:00
Eric
8ac7d85f1e Add BentoBox integration
Added a custom protection flag CREATE_SHOP that defaults to trusted members

Shops are removed if an island is deleted or reset, or if a player is banned or expelled from the island
2020-03-16 13:35:22 +01:00
Eric
59ea803f5d Enable creative item selection by default 2020-03-01 20:46:13 +01:00
Eric
8ad730376d Optimize LanguageUtils#getEnchantmentString(...) 2020-03-01 20:17:29 +01:00
Eric
74db09e69e Remove async option from SQLite#vacuum() 2020-02-29 17:34:47 +01:00
Eric
146f1b0dbf Unregister command on disable 2020-02-29 17:23:21 +01:00
Eric
bcf3f5c9cb Don't unload shops on chunk unload 2020-02-24 20:35:13 +01:00
Eric
c681a9fe31 Only add shop if not already loaded 2020-02-24 20:32:22 +01:00
Eric
26025ef64a Only add shop if chunk is still loaded 2020-02-21 15:51:16 +01:00
Eric
8717a282c2 Fix shop limits 2020-02-20 13:23:53 +01:00
Eric
2512d90fef Update bStats dependency to v1.7 2020-01-21 20:01:38 +01:00
Eric
c595b574ec Load/unload shops on chunk load/unload
This breaks shop limits, only loaded shops are counted at the moment
2020-01-21 20:00:08 +01:00
Eric
f15fdc781f Fix JSON builder not parsing '§r' 2020-01-18 18:11:29 +01:00
Eric
fd5ebd0921 Only withdraw creation price if higher than zero
Fixes #285
2019-12-15 15:35:42 +01:00
Eric
8ed16d7f3f Add support for 1.15
Fixes #291
2019-12-15 15:32:05 +01:00
Eric
2a1375254e Add generated serial version UIDs to exceptions 2019-08-07 23:25:04 +02:00
Eric
9a8491a79c Remove unused line 2019-08-07 23:22:03 +02:00
Eric
0896a52556 Add ShopProduct#getLocalizedName for easier access 2019-08-07 23:21:29 +02:00
Eric
6d57267492 Fix removing double chest shops without chests
When AreaShop integration was enabled and a region with double chest
shops was reset and sold/unrented, those shops woudn't be removed.

A method to remove a shop by its ID was introduced as a fix.
2019-08-07 14:54:16 +02:00
Eric
9c7170e109 Don't remove shops when not iterating over copy 2019-08-07 13:34:26 +02:00
Eric
d53ee08db9 Don't ever un-cancel interact event 2019-08-05 22:32:49 +02:00
Eric
fed894a9b0 Handle custom WorldGuard flags not existing
Don't query and try to use flags if they haven't been registered
2019-07-24 14:45:45 +02:00
Eric
e82c28e5e8 Improve output of database errors 2019-07-22 16:07:30 +02:00
Eric
67c55be518 Add serverTimezone to MySQL connection URL 2019-07-22 15:22:41 +02:00
Eric
fe18f38944 Fix holograms for 1.9.x 2019-06-22 17:47:51 +02:00
Eric
da27a4e846 Use guava's Optional for data watcher creation 2019-06-22 17:25:58 +02:00
Eric
0617d3bc1b Use marker armor stands
Allows players to click through holograms for easier shop interaction.

Only available on 1.8.3 and higher
2019-06-22 17:18:44 +02:00