Commit Graph

15 Commits

Author SHA1 Message Date
Eric
30a2b8aefc Make ShopUtils#getShops() return a new copy
ShopUtils#getShopsCopy() is now deprecated
2020-03-25 14:50:21 +01:00
Eric
1b34ba1fbd Organize imports 2020-03-25 14:22:50 +01:00
Eric
0002055e5f Fix removeall command 2020-03-16 15:18:32 +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
e82c28e5e8 Improve output of database errors 2019-07-22 16:07:30 +02:00
Eric
3730eb9703 Disable plugin when shops fail to load or reload 2019-06-16 15:58:02 +02:00
Eric
2e31bbc2b5 Fix another creative mode exploit 2019-06-14 21:16:06 +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
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
Eric
c80129b56f Cancel 15 second timer after removing click type 2018-08-05 12:19:53 +02:00
Eric
9a70df5e01 Update JSON message builder/parser
Preparing for item preview in shop info
2018-07-26 00:02:06 +02:00
Eric
5bfb0a1a22 Renamed config variables 2018-07-23 17:57:01 +02:00
Eric
49d90da57a Added type parameter to callback 2017-07-30 13:54:48 +02:00
Eric
6aa0c0b07c Changed command system for easier integration of "addons" 2017-06-08 14:02:34 +02:00