Commit Graph

151 Commits

Author SHA1 Message Date
Acrobot
d3524faae9 Optimized the transaction module 2013-02-01 19:28:42 +01:00
Acrobot
1c3be2c7eb Added an error stating the lack of SQLite connector 2013-01-29 21:02:20 +01:00
Acrobot
616950e54a Fixed a NPE in TerrainCheck pre shop creation 2013-01-29 21:02:03 +01:00
Acrobot
4ba69135cb Fixed NPE in PermissionCheck pre shop creation 2013-01-29 21:01:46 +01:00
Acrobot
a9f9add12a Fixed NPE in PlayerInteract 2013-01-29 21:01:30 +01:00
Acrobot
ebdf90a64e ChestShop 3.50 IS NEAR 2013-01-24 22:35:28 +01:00
Acrobot
4d73ef02a5 Merge remote-tracking branch 'origin/master' 2013-01-15 21:35:31 +01:00
Acrobot
c97d6fbebe Changes to prepare for the MC change 2013-01-15 21:33:00 +01:00
Justin Kaeser
8b4ed86c76 change mixed tab/space to space only 2013-01-14 22:18:32 +01:00
Justin Kaeser
e12adad4d0 normalize whitespace 2013-01-14 22:09:41 +01:00
Justin Kaeser
9625680d97 Make chestshop buying transactions fail if money deposit on seller's account fails.
Some economy plugins, such as Gringotts, only allow a limited amount of money in an account.
Thus, deposits to an account can fail. Chestshop would ignore the failure, which could cause a seller not
to receive the payment for selling an item.

This commit fixes the problem by canceling a transaction if the seller is not able to receive the money of a sale.
2013-01-09 01:50:44 +01:00
Acrobot
30c19e4864 Fix restricted shops + bump version 2012-12-31 17:04:38 +01:00
Acrobot
b53751af32 Added a check for existing protections in LWC
Fixes a bug where multiple protections are used
2012-12-31 02:46:42 +01:00
Acrobot
3bf60c061c Simplified the message 2012-12-31 02:46:21 +01:00
Acrobot
39d3853802 Does not validate invalid shops 2012-12-31 02:34:27 +01:00
Acrobot
2fca493dec Refractored player interact a bit 2012-12-31 02:34:16 +01:00
Acrobot
2420dcd911 No prefix in the sign creation messages! 2012-12-31 02:29:00 +01:00
Acrobot
23b6e59fa0 Avoiding creating blank spaces in the config 2012-12-31 02:28:39 +01:00
Acrobot
61555db8f1 Refractoring 2012-12-26 21:42:22 +01:00
Acrobot
6ad5d85349 Minor fixes & version change 2012-12-22 21:05:05 +01:00
Acrobot
d0ce8419e7 More refractoring 2012-12-22 21:04:48 +01:00
Acrobot
6f61f3cce0 Spacing! 2012-12-19 18:54:23 +01:00
Acrobot
4ee3e091d7 Un-deprecated the code 2012-12-19 18:49:13 +01:00
Acrobot
f77dddb323 Removed Essentials from built-in Register system - the system has been reported not working properly in Register, please use Vault 2012-12-19 17:50:45 +01:00
Acrobot
7bdcce2826 One missing "!" can make a huge difference 2012-12-18 23:35:13 +01:00
Acrobot
7d377bb068 Updated Metrics class 2012-12-16 21:13:56 +01:00
Acrobot
a5728dc2d0 Yeah, kind of screwed that before :P 2012-11-30 21:50:03 +01:00
Acrobot
ac7a14cab8 Fixed a bug where the piston could break a shop 2012-11-30 14:26:13 +01:00
Acrobot
a781ef51b5 Formatting 2012-11-29 20:28:16 +01:00
Acrobot
9fa32c448a Let's use a human-readable name 2012-11-28 21:31:24 +01:00
Acrobot
0f0fd3b60e Fixed OddItem integration 2012-11-28 21:31:03 +01:00
Acrobot
a2e9cc81c3 Small fixes & starting to clean up code 2012-11-25 23:34:21 +01:00
Acrobot
cb44575270 Configured all classes to use the newest config 2012-11-23 21:04:13 +01:00
Acrobot
0d22ddc4a4 Fixed errors in PlayerInventoryListener 2012-11-23 21:03:29 +01:00
Acrobot
22c5e20703 Changed how uName works
(I still don't like the uName class at all, it will probably change in
the near future)
2012-11-23 21:03:02 +01:00
Acrobot
3104ba1b48 Changed /chestshop reload to work with new config 2012-11-23 21:02:15 +01:00
Acrobot
aa35a0aa84 More configuration stuff! 2012-11-23 21:00:35 +01:00
Acrobot
513aeef7b7 Added a new config system 2012-11-23 20:59:12 +01:00
Acrobot
028a18179c Protection from NPE 2012-11-04 21:09:52 +01:00
Acrobot
1e57726b60 I like clean code. 2012-11-04 21:09:38 +01:00
Acrobot
ac71113f3e Added protection from buy and sell prices == 0
Also fixed the formattedItem NPE.
2012-11-03 20:41:28 +01:00
Acrobot
45fa6d5c75 THEN WHO WAS BLOCK?! 2012-11-03 20:40:48 +01:00
Acrobot
cd13f1ce8f Yeah, include server economy account 2012-11-03 20:40:30 +01:00
Acrobot
b0a04c42cc Fixed enchantments -.- 2012-10-28 23:55:27 +01:00
Acrobot
361724f2be Fixed item and price formatting 2012-10-21 22:45:30 +02:00
Acrobot
1bf4651efa Many, many changes
- Added ShopDestroyedEvent
- Fixed signs stacked on each other not working
- Fixed Admin Shops selling materials with metadata
- Fixed shops accepting '0' quantity
- Started working on database stuff
- Split BlockBreak listener to many files
- Added methods to InventoryUtil
- Fixed discounts
2012-10-16 17:03:45 +02:00
Acrobot
1e85e427ca REALLY fixed Admin Shops now
Also, fixed out of stock message to include items.
Oh, and Shift+clicking correctly gets the item amount.
2012-09-20 22:38:11 +02:00
Acrobot
bbeec231ec Added '-' to the supported name character list 2012-09-16 11:53:38 +02:00
Acrobot
a9aa932a6f Fixed Admin Shops' sign removal 2012-09-15 20:48:37 +02:00
Acrobot
773df3bbc3 Really fixed Admin Shops now 2012-09-15 20:32:22 +02:00