Commit Graph

22 Commits

Author SHA1 Message Date
Eric
8f75f9f90d Check database connection before accessing it
This hopefully fixes #7
2016-07-01 14:28:31 +02:00
Eric Biedert
2b9a2c957f Admin shops can be excluded of shop limits 2016-06-24 18:13:33 +02:00
Eric
35e09ea44c Changed default language to en_US 2016-06-23 19:52:31 +02:00
Eric
08286e6beb Added configurable language for everything and more
This can read the default minecraft language files, but in order to
translate the messages, you need to add the message section from the
en_US.lang.
Also, spawn eggs will work now, the title of music discs will be
displayed in the info sections and "tipped arrow effect" is now named
"potion effect" and is displayed also if the product is a potion,
splashed potion or a lingering potion (and of course tipped arrows).
The message configuration is no longer found in the config.yml file, but
has gone to the .lang file, so you need to reconfigure every message!
As the Jsoup library is no longer needed, the filesize of the final jar
shrunk quite a bit.
Maybe there are some more changes, which I already forgot.
2016-06-22 20:51:29 +02:00
Eric
5cd630e664 Removed currency-symbol value in config.yml 2016-06-09 21:01:01 +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
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
558741e587 Re-added broadcast messages
They work a bit different now. They are still only shown on startup, on
join or when a player checks for updates, but also if no update is
available. Also the player needs the permission "shopchest.broadcast" in
order to get the message.
2016-05-07 15:35:34 +02:00
Eric
e1198028ee Improved Update Checker error handling
(temporary removed broadcast messages)
2016-05-07 15:08:40 +02:00
Eric
af2cf38ddf Fix default config values
On updater messages, the color and formatting code were in the wrong
order (color codes must be before formatting codes).
2016-05-05 20:24: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
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
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