Commit Graph

232 Commits

Author SHA1 Message Date
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
Eric
dbf809ea5b Only show help messages of commands a player can enter 2016-11-12 15:55:36 +01:00
Eric
acef90335c Changed/Fixed hologram appearing
I didn't like the look of the performance saving, as the hologram would appear at a lower distance then it would disappear
2016-11-12 15:43:56 +01:00
Eric
8ecea0d938 Fix NPEs caused by non-existent Shop Items 2016-11-12 15:17:13 +01:00
Eric
3f3ddfe66f Fixed issues with ItemMeta
(Mostly issues with books)
Fixes #30
2016-11-12 15:03:19 +01:00
Eric
b73ad05034 Use permission based shop limits
This also removes the permission "shopchest.limits"
Closes #27
2016-11-12 15:02:10 +01:00
Eric
8452fad8a3 Hide messages in the console on auto reload 2016-10-12 20:09:18 +02:00
Eric
f75e07aad0 Show shop item and hologram on creation 2016-10-12 18:30:51 +02:00
Eric
6009ad20c3 Amount must be greater than 0 2016-10-12 18:25:36 +02:00
Eric
99a15fd8f6 Fix ocelot spawn eggs
Closes #29
2016-09-27 20:26:04 +02:00
Eric
076846d74e Fix error when a book doesn't have a title (e.g. book and quill) 2016-09-27 20:24:50 +02:00
Eric
c9c5b5b37d Slightly improved economy transactions
- Only start the second economy transaction after the first one succeeds
- Undo the first transaction if the second one fails
2016-09-07 17:00:59 +02:00
Eric
b2c9f81c91 Changed version to 1.10.4 2016-09-06 11:53:20 +02:00
Eric
94011c997d Improved illogical condition whether buying/selling is enabled 2016-09-06 11:53:20 +02:00
Eric
c9a63c7cbb Display "Disabled" instead of 0$ when selling/buying is disabled 2016-09-06 11:53:06 +02:00
Eric
da772fcbd6 Shop items now protected from spreading and growing blocks 2016-09-06 11:16:36 +02:00
Eric
f76ec6fe2d Added null check for shop item when updating visibility 2016-08-20 12:41:27 +02:00
Eric
6a96e235a6 Readded autoReconnect parameter to MySQL connection url 2016-08-20 12:38:53 +02:00
Eric
684a0b3c8a Use bukkit's ChatColor 2016-08-19 19:47:12 +02:00
Eric
d56421682b Changed version to 1.10.3 2016-08-19 15:34:50 +02:00
Eric
1b51318dbe Fixed shop items after teleporting far or changing worlds 2016-08-19 14:34:02 +02:00
Eric
418c82e4bf Display UUID when a vendor's name is not found 2016-08-19 12:48:59 +02:00
Eric
ba4334407e Added -Xdoclint:none parameter to javadoc on java 8 and later
Closes #23
2016-08-19 12:35:17 +02:00
Eric
c8f4e8980e Fixed error message in console after teleporting
p.getWorld() does not return the right world when the process of teleporting has not yet finished. We need to use the world of the passed location object, which in the PlayerTeleportEvent is e.getTo()
2016-08-18 22:59:12 +02:00
MineTheCube
e94463ccbe Make logEconomy asynchronous (#21) 2016-08-18 16:59:57 +02:00
Eric
ff7248aba4 Updated maven instructions in Readme 2016-08-18 15:53:05 +02:00
Eric
dfdf253837 Removed "softdepend" and "loadbefore" in plugin.yml 2016-08-18 15:37:34 +02:00
Eric
5225a18475 Changed version to 1.10.2 2016-08-18 15:36:12 +02:00
Eric
7c27fc0d54 Added configurable value "allow-decimals-in-price"
When disabled, "auto-calculate-item-amount" will be disabled too, even if it's set to true in the config.
This closes #20
2016-08-18 15:33:58 +02:00
Eric
6205dfbd65 Merge pull request #18 from MineTheCube/master
- Improve listeners performances
- Fixes #17
2016-08-18 15:03:37 +02:00
MineTheCube
1c079b5abe Change method name to what it really does 2016-08-18 14:43:36 +02:00
MineTheCube
55a3bb87d3 Change event priority and ignore cancelled
Make it consistent with ShopItemListener#onPlayerMove(PlayerMoveEvent)
2016-08-18 14:34:43 +02:00
Eric
d1453d5839 Added economy log in database file
Closes #19
2016-08-18 13:30:14 +02:00