Commit Graph

184 Commits

Author SHA1 Message Date
Eric
4194c72bd4 Added vendor information about a sold out shop 2017-01-04 18:46:50 +01:00
Eric
f6f8d93b85 Improve performance while updating shops
Inspired from the fork of @gonzalociocca but not exactly the same
Closes #39
2017-01-04 17:07:00 +01:00
Eric
e08b09fe3f Allow better customization of hologram lift
Closes #38
2017-01-04 14:50:11 +01:00
Eric
2951ef8349 Only permitted players can remove admin shops
+ Changed permission "shopchest.removeOther" to "shopchest.remove.other"
Closes #36
2017-01-04 14:34:59 +01:00
Eric
f233c626e1 Add way to invert mouse buttons
Closes #35
2017-01-03 15:35:35 +01:00
Eric
f54c2ff7ff Shortened method to check WorldGuard permission 2017-01-03 14:28:54 +01:00
Eric
8217cdef6f Allow customization of custom WorldGuard flags' default values
Closes #45
2017-01-03 13:59:09 +01:00
Eric
49398547f1 Hide WorldGuard message when interacting with hologram 2017-01-03 13:34:34 +01:00
Eric
8e867a7c1d Hopefully fixed item meta issues for good 2017-01-03 13:06:29 +01:00
Eric
f1712a6bce Added 1.11.2 translation values and the missing one for "Nether Wart" 2017-01-02 19:20:41 +01:00
Eric
222b553a8e Fixed Shulker Boxes
Closes #53
2017-01-02 17:50:46 +01:00
Steven M
bedf207210 Fix fireworks (#52)
Fixes #51
2017-01-01 17:52:33 +01:00
gonzalociocca
253e40e8b9 Only compare a world's name to improve performace (#40)
When using .equals() on classes with many variables and methods, means that every single thing on the class would be checked to be equals to the one from the another class, and its taking too much CPU.
2016-12-08 20:11:48 +01:00
Steven M
f4b7df8c92 Add additional check for permissions (#42) 2016-12-08 20:08:28 +01:00
Eric
192b124eb5 Added way to disable vendor messages
(= Messages that a vendor gets after players buy or sell something from/to
his shop)

Closes #33
2016-11-26 17:23:32 +01:00
Eric
98c79f5e8a Fixed issue when shop limit by permission is smaller than default 2016-11-26 17:13:39 +01:00
Eric
73f5d0f79e Change get(...) to getShop(...) in database 2016-11-26 17:07:21 +01:00
Eric
4f894ddac7 Fix ClassCastException when using Shulker Boxes
Closes #34
2016-11-26 17:06:21 +01:00
Eric
1fa0f08073 Shortened getShops method in ShopUtils 2016-11-25 13:55:39 +01:00
Eric
a522197112 Improve performance while reloading shops 2016-11-24 22:00:49 +01:00
Eric
d4a88a2a9b Fixed typos in config file 2016-11-24 21:43:26 +01:00
Eric
1fbcd76098 Fixed WorldGuard support for lower versions 2016-11-23 17:23:57 +01:00
Eric
e9bcd2dd2f Add config value to enable quality mode 2016-11-23 17:17:09 +01:00
Eric
cda28be3e3 Set ignoreCancelled flag to chest protection events 2016-11-23 17:08:46 +01:00
Eric
eda52af179 Fix support for WorldGuard v6.1.3 and later 2016-11-23 17:08:20 +01:00
Eric
103662c532 Add support for per-world-economy plugins
The money will be withdrawn or deposited on the world of the shop
2016-11-23 16:11:07 +01:00
Eric
d097a15122 Added way to disable WorldGuard/Towny integration
+ Added permission to use shops in WorldGuard regions that deny shop use
2016-11-23 16:05:33 +01:00
Eric
a112d82c16 Set default value of permission "shopchest.limit.*" to OP 2016-11-22 14:35:51 +01:00
Eric
04a6d836b9 Added towny support
- Players can only create shops in shop plots, not in wilderness or normal
  plots
- Added permission "shopchest.extend.protected"
- Changed permission "shopchest.extendOther" to "shopchest.extend.other"
- When creating a shop on a double chest, both chests must not be
  protected/in a protected region
- To extend a shop into a protected region (e.g. WorldGuard/Towny), you
  need permission (shopchest.extend.protected)
- Added no-permission message for "shopchest.extend.protected"
2016-11-20 14:18:36 +01:00
Eric
dcd50bad33 Fixed NPE when database was not initialized 2016-11-20 14:18:35 +01:00
Eric
198f83c738 Fix hologram interaction in 1.8.x 2016-11-19 21:34:59 +01:00
Eric
6dcedc9bff Added messages when WorldGuard denies shop use 2016-11-19 14:45:18 +01:00
Eric
0c127a7d74 Fix hologram bounding box when interaction is enabled 2016-11-19 14:45:17 +01:00
Eric
6223d9393f Fix hologram visibility on join 2016-11-19 14:45:16 +01:00
Eric
0e73880603 Fixed console spam again
(Output of language reload)
2016-11-18 22:29:29 +01:00
Eric
3c822332d1 Allow console to use some commands
This changes the command executor class a lot
2016-11-18 22:29:29 +01:00
Eric
e8100564ff Fix and shorten command registration 2016-11-18 22:29:28 +01:00
Eric
fdfc7419d9 Permission constants & No more Vault permission system 2016-11-18 22:29:28 +01:00
Eric
1d7a534fe4 Added permission for extending other players' shop chests 2016-11-18 22:29:27 +01:00
Eric
ef3bc57381 Allow permitted players to break other players' shops 2016-11-18 22:29:26 +01:00
Eric
58ad504f7f Add hologram interaction (configurable) 2016-11-18 17:58:50 +01:00
Eric
0b206168cc Added missing German translation for Vindicator 2016-11-18 17:58:49 +01:00
Eric
068edfa9ff Fixed book meta for 1.10 2016-11-18 17:58:49 +01:00
Eric
8ecd53e78a Fix description of "shop-limits.default" configuration 2016-11-17 20:33:12 +01:00
Eric
b7aa71599e Add support for 1.11 2016-11-17 20:30:26 +01:00
Eric
7e044eb7b1 Fixed selling to full admin shops and support for lower versions 2016-11-17 20:16:42 +01:00
Eric
2bacca0915 Fix shop limits configuration 2016-11-13 20:58:48 +01:00
Eric
3562a534c7 Fix loading when WorldGuard is not enabled 2016-11-13 20:51:25 +01:00
Eric
334219cbe1 Fixed issue with BlockStateMeta 2016-11-13 14:00:07 +01:00
Eric
ff406abf2d Added WorldGuard support
Might contain issues, as it's not tested extensively
2016-11-13 13:43:03 +01:00