Commit Graph

581 Commits

Author SHA1 Message Date
Eric
263137acba Add hologram item 2020-03-19 18:26:25 +01:00
Eric
ff9c1a4cb4 Get rid of lombok 2020-03-19 15:27:29 +01:00
Eric
4a907ee309 Change method of getting loaded chunks 2020-03-19 15:23:20 +01:00
Eric
6d16b39597 Add bStats metrics 2020-03-19 15:17:56 +01:00
Eric
eaedd42e8d Update pom files 2020-03-19 15:15:22 +01:00
Eric
09e7f3a46f Rename module "new-implemetation" to "core" 2020-03-19 15:08:42 +01:00
Eric
d87afd44ab Delete old implementation 2020-03-19 15:05:18 +01:00
Eric
68b21191ba Fix module names 2020-03-19 15:02:51 +01:00
Eric
8e06193037 Use new NMS holograms 2020-03-19 15:01:18 +01:00
Eric
4e006bc052 Add getters and javadoc to hologram line 2020-03-19 13:43:06 +01:00
Eric
30de267f1e Add NMS hologram line implementations 2020-03-19 13:24:29 +01:00
Eric
2d832e587a Dynamic shop loading based on chunk loading 2020-03-18 17:30:28 +01:00
Eric
9d8a38a2da Add BentoBox integration option to config 2020-03-18 16:11:51 +01:00
Eric
a5953693a1 Spaces > tabs 2020-03-18 16:07:10 +01:00
Eric
7c0da7c212 Unregister command on disable 2020-03-18 16:04:57 +01:00
Eric
b55e9f2c4f Use optionals 2020-03-18 16:00:51 +01:00
Eric
5e479d65c2 Use Abstraction (part 1) 2019-12-15 14:27:51 +01:00
Eric
ed1ab126af Update Bukkit dependency to 1.15 2019-12-15 11:47:52 +01:00
Eric
6d1274ef18 Uncancel interact event on shop open 2019-12-15 11:47:16 +01:00
Eric
57ba92c71b New implementation (part 1) 2019-12-14 12:43:49 +01:00
Eric
e06e143bc0 Fix JsonBuilder (in old implemetation) 2019-12-14 12:43:11 +01:00
Eric
bd3dd17621 Add config properties to API 2019-08-18 18:41:36 +02:00
Eric
f7d7691bc1 Add note for transactions in ShopBuySellEvent 2019-08-18 16:39:19 +02:00
Eric
1df94f7001 Allow setting amount or value in ShopBuySellEvent 2019-08-18 16:32:10 +02:00
Eric
d09fc71a49 Link to ShopPlayer#getShops in ShopManager 2019-08-18 14:48:13 +02:00
Eric
4ed7ffda32 Fix SelectFlag 2019-08-18 14:47:58 +02:00
Eric
9a130f5d76 Update ShopPlayer API 2019-08-18 14:44:32 +02:00
Eric
eebefa348a Use ShopPlayer in events instead of Player 2019-08-18 14:27:00 +02:00
Eric
5b8452cd96 Use MessageFormat#format instead of String#format 2019-08-18 14:26:49 +02:00
Eric
dbcd52fefd Add ShopPlayer#sendMessage for formatted messages 2019-08-18 14:03:48 +02:00
Eric
8311221efc Update shop command help message 2019-08-17 23:39:07 +02:00
Eric
92fdd21ac9 Remove API method to remove shop by ID 2019-08-17 23:37:56 +02:00
Eric
50b69f6445 Update API for better item selection handling 2019-08-17 21:35:39 +02:00
Eric
57b685ecb9 Add API for shop command and sub commands 2019-08-17 21:34:09 +02:00
Eric
5ddda4cce5 Add ShopSelectItemEvent 2019-08-17 14:08:29 +02:00
Eric
d2af5fb0ad Make ShopProduct abstract class 2019-08-17 14:07:51 +02:00
Eric
5c2f3022b5 Use consumers as callback functions 2019-08-17 14:07:10 +02:00
Eric
70f9ff3914 Update flag API 2019-08-17 14:05:45 +02:00
Eric
24e0f0d064 Add formatEconomy to API 2019-08-17 14:05:00 +02:00
Eric
3c6127138f Updates to the API
Added interface for a wrapped player and and for a flag
2019-08-16 13:23:28 +02:00
Eric
04b47e2bb0 Small update to API documentation 2019-08-14 00:21:08 +02:00
Eric
ef6ef3dc1c Update javadoc of events to match rest of API 2019-08-13 20:59:56 +02:00
Eric
34de6022e7 Put API and implementation in seperate modules 2019-08-13 20:02:01 +02:00
Eric
59e111ea96 Update gitignore 2019-08-13 18:54:43 +02:00
Eric
3684f96338 Begin work for proper API 2019-08-13 18:19:30 +02: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