Commit Graph

22 Commits

Author SHA1 Message Date
Eric
9a37efd49e Fixed explosion protection 2016-06-09 19:46:40 +02:00
Eric
260bc8f594 Format Prices with Vault
ShopChest will now use the currency symbol specified in the configuration of the economy plugin.
2016-06-08 16:28:47 +02:00
Eric
1666051eb8 Display '∞' instead of '-1' in the shop limits message 2016-06-05 18:53:46 +02:00
Eric
e1aaa34c92 Better display prices
Examples:
- "3$" instead of "3.0$"
- "3.50$" instead of "3.5$"
2016-06-03 18:20:55 +02:00
Eric
e2e034bcc8 Added shop creation costs (configurable) 2016-06-03 16:28:44 +02:00
Eric
70449399bc Added MySQL Support 2016-06-01 21:30:46 +02:00
Eric
ddebe5c594 Removed Infinite Shops
I don't see any sense, why infinite shops should exist. They are
basically the same as admin shops, except that money gets withdrawn from
the vendor for something he doesn't even get or money gets deposited to
the vendor for something that he sold, but didn't even have.
Also the  possibility to convert the database column 'infinite' to
'shoptype' has been removed, so server owners, who update from a version
below 1.7.1 first have to download a version below 1.8.0 to let the
resource convert the database columns.
2016-05-29 13:41:14 +02:00
Eric
543da0682b Automated code cleanup by IntelliJ IDEA
As I Switched from Eclipse to IntelliJ IDEA, I also had to add a few
entries to the .gitignore file.
2016-05-28 16:28:13 +02:00
Eric
54b0f42eaf Allow multiline broadcast messages
Apparently the new-line character isn't detected so I had to make a
workaround with a custom new-line character (#n) where it could split
the lines.
2016-05-07 22:50:26 +02:00
Eric
e1198028ee Improved Update Checker error handling
(temporary removed broadcast messages)
2016-05-07 15:08:40 +02:00
Eric
ca2185a7a6 Added update message broadcast 2016-05-05 18:09:51 +02:00
Eric
756abaddae Add 1.9 and missing 1.8 Item Names and support for Tipped Arrows
Tipped Arrow Effect will be displayed in the shop info message. A
configuration section is also available.
2016-04-16 16:49:45 +02:00
Eric
8d190f93c0 Add permission to create an admin shop 2016-04-13 21:05:21 +02:00
Eric
ecf48629e5 Added Admin Shops
Admin Shops are basically the same as infinite shops, but the vendor
won't get money and won't get a message if someone bought from or sold
to it.
As I rewrote the buy and sell methods, I also fixed a bug that you had
to pay even though you didn't have enough space in your inventory and
that the vendor had to pay even though his shop's inventory was full
2016-04-13 17:30:34 +02:00
Eric
c7aa1feb18 Fix display of price in "messages.someone-bought" 2016-04-13 15:12:16 +02:00
Eric
6d747f6fea Bug fixes and better shop protection
- Fixed Update Checker after reload
- Fixed Update Checker on Minecraft 1.9
- Hoppers shouldn't suck items out of a shop's chest (configurable)
- Hoppers shouldn't pickup a shop's floating item
- Shops shouldn't get destroyed by an explosion (configurable)
2016-04-09 16:34:26 +02:00
Eric
7828e81ea6 Added Blacklist and "In Stock" in Shop Info Message 2015-09-16 16:45:05 +02:00
Eric
66750cd570 Fixed Bugs & Added Hologram Format Configuration 2015-09-13 13:15:07 +02:00
Eric
b88d38c8f5 Added messages the shop owner gets when someone bought/sold something. 2015-09-07 14:38:37 +02:00
Eric
ae756f43e7 Now saves shops to a SQLite Database 2015-09-06 11:58:25 +02:00
Eric
477b6a4701 Added Group- and Player limits for Shops 2015-09-04 20:16:33 +02:00
Eric
0cdcfb5cc6 Commit Default Files 2015-09-02 13:41:34 +02:00