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
Eric
27083e5093
Add convenience methods for database versioning
2019-06-16 17:54:55 +02:00
Eric
bc284a0717
Only use one date format instance
2019-06-16 17:32:27 +02:00
Eric
a2756620f5
Show "Updating database finished" message
2019-06-16 16:47:16 +02:00
Eric
1b1e5de47e
Initialize SQLite driver before use
2019-06-16 16:47:16 +02:00
Eric
e3dadb5896
Add version for database for better future updates
2019-06-16 16:47:15 +02:00
Eric
3730eb9703
Disable plugin when shops fail to load or reload
2019-06-16 15:58:02 +02:00
Eric
9df50e8d87
Add metrics chart for creative mode setting
2019-06-15 13:55:12 +02:00
Eric
2e31bbc2b5
Fix another creative mode exploit
2019-06-14 21:16:06 +02:00
Eric
00bdbaee53
Fix exploit that allows staying in creative mode
2019-06-13 13:11:55 +02:00
Eric
27212f0496
Prevent NPEs when disabling plugin in onEnable
2019-06-04 16:12:55 +02:00
Eric
c9ce45dc0c
Add chest space to shop info message
...
Space only shown if selling enabled, stock only shown if buying enabled
2019-06-03 17:03:24 +02:00
Eric
e6393ecd6c
Added refund to "Shop removed" message
...
+ Fixed refund option being ignored
2019-06-03 16:53:23 +02:00
Eric
48bb669c01
Remove a couple config options
...
- Shop items cannot be hidden
- Hologram interaction had to be removed
- Hopper/Explosion protection cannot be disabled
- Admin shops cannot be counted in shop limit
- Only the nearest shop the player points at is shown
2019-06-03 16:38:25 +02:00
Eric
ea894783fb
Allow shop item to be selected from creative menu
...
If the player does not hold an item, he is asked to select one.
2019-05-28 15:53:26 +02:00
Eric
655e1f8b07
Automatically add missing translation entries
...
Entries will be appended to the bottom of the selected language file
with English default values
2019-05-09 14:42:33 +02:00
Eric
1c8cdb0639
Outsource external checks for shop creation
...
Every supported plugin has its own listener for ShopCreateEvent
and ShopExtendEvent.
I also tried to clean up a bit, there can be done more though.
2019-05-08 21:47:23 +02:00
Eric
63e1b263c2
Entity IDs should not be changing
...
Removing an entity from a client doesn't work if the ID has changed.
2019-05-01 12:53:38 +02:00
Eric
e47fc9765d
UUID of hologram and shop item should be unique
2019-05-01 12:28:17 +02:00
Eric
8f2d2540ba
Update some dependencies
...
Should fix #245 , however PlotSquared support will not be working anymore
for versions below 1.13.
2019-04-30 22:24:01 +02:00
Eric
f09d57b2a2
Fix error when WorldGuard not installed
2019-04-29 21:08:55 +02:00
Eric
71f6ee5d6f
Fixes (especially for 1.8.x)
2019-04-28 23:27:15 +02:00
Eric
404c872396
Specify database connection test queries
...
Should fix database connection error on older Minecraft versions
2019-04-28 22:28:03 +02:00
Eric
e402c21e1b
Fix translation name errors
2019-04-28 22:10:58 +02:00
Eric
8ef1fb391f
Fix "chest blocked" error with cave/void air
2019-04-28 22:10:27 +02:00
Eric
77a837fc05
Rework NMS
...
Fixes hologram duplicates
Fixes support for 1.14
Breaks hologram interaction (Events cannot be sent to the server)
Armor stand and item entities are now totally client side,they are not
even created, but instead are just put in a packet to send to the client
Performance has not been tested!
2019-04-28 20:56:49 +02:00
Eric
bac5a24b37
Add IS_BANNER_PATTERN for hologram format
2019-04-28 20:51:43 +02:00
Eric
c3227e9a42
Update WorldGuardWrapper depdendency
2019-04-27 17:38:46 +02:00
Eric
8581622a57
Add support for 1.14 (untested)
2019-04-27 17:38:45 +02:00
ken_kentan
e532e9c095
Fix shop updater ( #236 )
2019-01-14 16:24:57 +01:00
Eric
6ae12f65c0
Database improvements
...
- Support table prefixes (Fixes #138 )
- Support amounts above 127 in Paper (Fixes #149 )
- Split UUID, name and shop type in economy log
- Split product and amount in economy log (Fixes #143 )
- Added product data (Base64) to economy log
2018-11-10 20:34:11 +01:00