Commit Graph

512 Commits

Author SHA1 Message Date
Eric
8d459220d3 Vacuum SQLite database on server stop
Closes #132
2017-08-15 12:44:02 +02:00
Eric
a8f589c1b7 Added config option to disable economy logging 2017-08-15 12:44:01 +02:00
Eric
397304c748 Use collection instead of array in Database#getShops 2017-08-15 12:44:01 +02:00
MineTheCube
3b9d26c079 Few improvements (#135)
* Fix: Few improvements

* Few improvements

* Hologram/item can wait after shop creation

* Compare worlds using their name

* Fix holograms display

* Changed version to 1.12.4

* Display shop after creation

* Fix requested changed

* Improve performance for simple hologram conditions
2017-08-10 17:02:24 +02:00
Eric
efced89eb1 Fixed ConcurrentModificationException (again) 2017-07-30 17:58:56 +02:00
Eric
c230257676 Fix ConcurrentModificationException on disable 2017-07-30 14:09:16 +02:00
Eric
787426218b Fixed NPE when product does not have item meta 2017-07-30 13:56:56 +02:00
Eric
51a0813473 Fixed shop info item when in off hand 2017-07-30 13:54:59 +02:00
Eric
49d90da57a Added type parameter to callback 2017-07-30 13:54:48 +02:00
EpicEric
a4517b3657 Merge pull request #131 from MineTheCube/fix/performance
Performance improvements & shop updater refactor
2017-07-29 13:37:46 +02:00
MineTheCube
48059811fb Method getShops now returns a collection 2017-07-27 13:10:00 +02:00
MineTheCube
5bb338494d Cleanup pom.xml 2017-07-27 01:17:34 +02:00
MineTheCube
08b298922e Re-add teleport listener and few minor changes 2017-07-27 01:02:21 +02:00
EpicEric
ba203b1b95 Merge pull request #129 from MineTheCube/patch-1
Add multi-world plugins in softdepend
2017-07-26 21:14:12 +02:00
MineTheCube
67f12872a9 Performance improvements & shop updater refactor 2017-07-25 02:18:05 +02:00
MineTheCube
8ea0c3c288 Add multi-world plugins in softdepend
So ShopChest will more likely load after worlds are loaded.
2017-07-24 22:55:08 +02:00
Eric
0cf4fbf893 Changed version to 1.12.3 2017-06-27 22:00:45 +02:00
Eric
1ae4ee379b Added durability requirement and placeholder for hologram format 2017-06-27 22:00:37 +02:00
Eric
8533c017e7 Fixed NoSuchMethodError on 1.8 2017-06-27 21:57:17 +02:00
Eric
bbd0046ed1 Fixed crashes and errors ("Asynchronous entity track")
Fixes #109 (Hopefully)
Fixes #110 (Hopefully)
2017-06-27 21:42:41 +02:00
Eric
0ad435b266 Changed version to 1.12.2 2017-06-17 13:41:37 +02:00
Eric
c0415a1e27 Respawn shop item after teleport
Sometimes it disappeared after teleporting, because the chunk
has not been loaded yet. Now, after 15 ticks, the shop item will
be respawned after a teleport.
2017-06-17 13:38:07 +02:00
Eric
bc9354eb95 Changed bukkit dependency version to 1.12 2017-06-15 14:04:39 +02:00
Eric
ef8f597796 Added CHEST_SPACE requirement and placeholder
+ Fixed %MAX-STACK% placeholder
2017-06-15 14:03:48 +02:00
Eric
0e1fc781f5 Fixed error when extending shop in unowned ASkyBlock island 2017-06-15 13:33:06 +02:00
Eric
36ea51b593 Fixed NPE when hologram interaction is disabled 2017-06-15 13:31:35 +02:00
Eric
d135a7ae92 Armor Stands should be removed from entity lists 2017-06-15 13:30:21 +02:00
Eric
a78195037b Fixed high CPU usage
Closes #70
2017-06-15 12:25:42 +02:00
Eric
4fb31880d4 Changed version to 1.12.1 2017-06-08 21:57:49 +02:00
Eric
a92bd9292e Fixed NPE while creating shop on an unowned ASkyBlock island 2017-06-08 21:57:30 +02:00
Eric
f6eb2948b5 Changed version to 1.12 2017-06-08 14:02:35 +02:00
Eric
408abebbfa Added header and footer to help message (translatable)
+ Fixed translations with one or more equal signs in its value
2017-06-08 14:02:34 +02:00
Eric
6aa0c0b07c Changed command system for easier integration of "addons" 2017-06-08 14:02:34 +02:00
Eric
3e6207182a Fixed refund if economy transactions fail 2017-06-08 11:32:40 +02:00
Eric
3eef8250d2 Fixed shops duplicating after extending 2017-06-06 18:13:24 +02:00
Eric
4c02a77037 Revert to NMS Armor Stands for holograms
Bukkit's armor stands caused too many issues
2017-06-06 17:40:30 +02:00
Eric
f69299e20a Fixed typos in message enum names 2017-06-05 15:13:26 +02:00
Eric
58b5eb20ef Removed unnecessary placeholder checks 2017-06-05 15:12:09 +02:00
Eric
f653355cc2 Added way to retrieve shop info by clicking it with a specific item
Closes #104
2017-06-05 15:02:49 +02:00
Eric
c4e7e5a8ab Added auto removal of click type after 15 seconds 2017-06-05 14:20:00 +02:00
Eric
8f0d2aaf5f Added permissions "shopchest.create.buy" and "shopchest.create.sell"
Both of these also work with item nodes. Examples:

- shopchest.create.buy.CHEST (Allows only shops selling chests)
- shopchest.create.sell.APPLE (Allows only shops buying apples)
- shopchest.create.STONE.3 (Allows only shops buying or selling diorite)
- shopchest.create.buy (Allows only shops that are selling anything)
- shopchest.create.sell (Allows only shops that are buying anything)
2017-06-05 14:13:40 +02:00
Eric
8cdff11aaf Fixed typo in description of update command 2017-06-05 13:39:49 +02:00
Eric
18d3e36390 Added notification for withdrawal of shop creation price 2017-06-05 13:39:01 +02:00
Eric
de2046e6b5 Added empty lines before and after help message 2017-06-05 13:38:08 +02:00
Eric
9f229bbf6a Fixed NPE when player does not have an item in his hand 2017-06-05 13:31:47 +02:00
Eric
48eda92079 Fixed support for multi-world economy plugins 2017-06-02 14:56:34 +02:00
Eric
57e57dc71e Improved configuration of command description messages
+ Renamed all occurrences of "regex" to "placeholder"
2017-06-02 14:44:08 +02:00
Eric
b455db4172 Added ShopInitializedEvent 2017-06-02 14:17:08 +02:00
Eric
0f1d68e0c1 Fixed holograms when dynamic line, that is not the last one, disappears 2017-05-30 21:10:57 +02:00
Eric
d4da428bc1 Removed "useCurrentThread" parameter from "hidePlayer" method 2017-05-30 20:41:49 +02:00