Commit Graph

61 Commits

Author SHA1 Message Date
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
f9f5068f6d Simplified saving of item_names.txt file 2016-05-29 12:35:46 +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
5bb4169c80 Changed version to 1.7.4 2016-05-27 16:34:10 +02:00
Eric
099208de67 Add support for both hands when buying or selling something 2016-05-27 16:22:40 +02:00
Eric
4c022dd9dc On admin and infinite shops, the player must have enough items 2016-05-27 15:00:39 +02:00
Eric
c4bc318a25 The creator of an admin shop should be able to use it 2016-05-27 14:57:47 +02:00
Eric
341f6b1fb0 Changed Version to 1.7.3 2016-05-11 18:54:34 +02:00
Eric
04636a7b01 Added 1.9.4 Support (1.9_R2) 2016-05-11 18:53:34 +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
5f5fd05e6c Removed some unnecessary extra lines 2016-05-07 15:41:55 +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
20d3814aac Added missing "Purpur Slab (Double)" item name 2016-05-04 17:05:09 +02:00
Eric
ab055d7bd1 Refresh item names lookup file 2016-05-04 17:01:13 +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
2516f6e491 Admin Shop: Vendor doesn't need enough money, Chest doesn't need space
Infinite Shops also don't need free space when someone wants to sell
something.

Fixes #3
2016-04-15 15:32:10 +02:00
Eric
5e3cdca606 Changed Version to 1.7.1 2016-04-14 20:27:55 +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
103c96bc2f Added Support for 1.9 and fixed bugs
Fixes #2
2016-04-08 14:52:11 +02:00
Eric
49530f806d Added Graph "Shop Type" to Statistics Page (Still Testing) 2015-09-16 21:16:21 +02:00
Eric
375c37b7dc Removed "-DEVELOPER" from Version 2015-09-16 16:46:03 +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
1e5a6f3731 Update README.md
Extended README.md
2015-09-09 14:57:13 +02:00
Eric
f5bfaac6d7 Removed compile permission 2015-09-09 12:29:29 +02:00
Eric
0ba461f16f Added ItemTags Support; Removed compiling 2015-09-09 12:27:23 +02:00
Eric
72514750d5 Fixed Java 7 Support 2015-09-09 11:32:41 +02:00
Eric
207b249019 Fixed Bugs 2015-09-08 12:59:34 +02:00
Eric
cfa719ef37 Changed version to 1.5.3 2015-09-07 14:38:58 +02:00
Eric
b88d38c8f5 Added messages the shop owner gets when someone bought/sold something. 2015-09-07 14:38:37 +02:00
Eric
699ad6d5d4 Changed version to 1.5.2 2015-09-06 14:20:57 +02:00
Eric
2f5945c536 Fixed Database Entry Removal 2015-09-06 14:12:12 +02:00
Eric
f1e034add0 Create README.md 2015-09-06 12:13:33 +02:00
Eric
1309591d4c Removed SQLite Library 2015-09-06 12:06:01 +02:00
Eric
246cd5d298 Added compile permission and command description 2015-09-06 12:02:56 +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
fa9f3e59fc Changed Plugin Library Directory 2015-09-04 16:09:54 +02:00
Eric
508293e9b6 Removed debug messages 2015-09-04 14:06:37 +02:00
Eric
a2ea19afa2 Removed debug messages 2015-09-04 14:05:44 +02:00
Eric
3935785966 Added Libraries 2015-09-04 13:53:11 +02:00
Eric
125d0381a1 Fixed LWC and Lockette Support 2015-09-04 13:41:24 +02:00
Eric
22442f0429 Added LWC and Lockette Support 2015-09-04 12:31:19 +02:00
Eric
56967951da Fixed issue that the shop gets mad if a player place a chest next a shop 2015-09-03 21:16:40 +02:00