Commit Graph

129 Commits

Author SHA1 Message Date
Acrobot
efc8a32f98 Database stuffffff 2012-10-28 23:55:30 +01:00
Acrobot
aed6eff863 Fixed enchantments -.- 2012-10-28 23:55:29 +01:00
Acrobot
b0a04c42cc Fixed enchantments -.- 2012-10-28 23:55:27 +01:00
Andrzej Pomirski
60c291da03 Merge pull request #22 from Cyprias/master
Fixed enchants not being added to items.
2012-10-28 15:24:39 -07:00
Cyprias
7cb8cafd01 * Fixed enchants not being added to items. 2012-10-28 14:22:11 -06:00
Acrobot
980739dd11 Oh you, git. 2012-10-21 22:49:42 +02:00
Acrobot
8c5d0f9c01 Started working on the database stuff :D 2012-10-21 22:46:16 +02:00
Acrobot
988a3a549c Using libraries built in Bukkit > manually 2012-10-21 22:46:00 +02:00
Acrobot
361724f2be Fixed item and price formatting 2012-10-21 22:45:30 +02:00
Acrobot
49165e5965 Fixed item name formatting
And fixed a strange bug involving priorities
2012-10-17 00:44:28 +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
Acrobot
773ae17118 Version change 2012-09-14 23:00:53 +02:00
Acrobot
228f493b70 Fixed bug that caused non-economically-active admin shops to be out of money. Also, fixed probable bug with enchantments 2012-09-14 23:00:17 +02:00
Acrobot
6707b1bd5e Fixed the inability for admins to create more than one sign on a chest 2012-09-12 13:06:52 +02:00
Acrobot
d421581e89 Improvements 2012-09-12 12:35:48 +02:00
Acrobot
7ef93e7bc1 Fiiiixeees 2012-09-02 22:41:24 +02:00
Acrobot
0a5707c4d8 Small fixes 2012-08-25 12:50:16 +02:00
Acrobot
ef91e8ccb5 Fixes 2012-08-24 21:03:51 +02:00
Andrzej Pomirski
918b728767 Merge pull request #21 from meiamsome/patch-2
Fixed some potential bugs in the economy section
2012-08-24 11:11:52 -07:00
meiamsome
3e04048e67 Renamed serverAccount() to getServerAccountName()
-
2012-08-24 17:36:35 +02:00
Acrobot
c9e9c6a33e Activated Residence Chest protection 2012-08-24 10:45:54 +02:00
Acrobot
002430a147 Added Residence Chest protection 2012-08-24 10:43:46 +02:00
Acrobot
7a8158508a Added a discount module 2012-08-24 10:24:47 +02:00
meiamsome
80f658e748 Added roundDown
Added another round function as required.
2012-08-18 21:56:46 +02:00
meiamsome
9196504c68 Fixed some potential bugs.
Removed a hasAccount check from add, subtract and hasEnough. These checks should not exist.
The reasons are:
hasEnough: The default for an account may not have enough to pay for anything. Changed to check if Server Account instead.
add & subtract: Changed the check to only isEmpty. This is because money should not just be created or destroyed.
2012-08-18 21:53:01 +02:00
Andrzej Pomirski
af692eb4f8 Merge pull request #20 from meiamsome/patch-1
Updated ChestShopSign.java to allow signs with lower-case B and S.
2012-08-15 10:04:18 -07:00
meiamsome
e7e66b142f Update com/Acrobot/ChestShop/Signs/ChestShopSign.java
Updated to alternate fix.
2012-08-15 01:22:55 +02:00
meiamsome
ebfcfd56f0 Update com/Acrobot/ChestShop/Signs/ChestShopSign.java
Fixes problems with isValid() when used on a sign which has it's price line formatted with lower case letters. Also, uses RegEx to check the price line is valid.
2012-08-14 02:52:56 +02:00
Acrobot
7629c1bc4b Fixed incorrect string ordering 2012-08-10 22:40:49 +02:00
Acrobot
24447d5e05 Changed version 2012-08-10 22:37:30 +02:00
Acrobot
2cd4e7b914 Fixed items incorrectly appearning in messages 2012-08-10 22:25:08 +02:00
Acrobot
30fa329645 Moved packages and fixed logging
Moved packages in a more logical order.
Fixed TransactionLogger using only event.getStock()[0] while logging the
transaction.
Also, TransactionLogger uses string formatter now, instead of a
StringBuilder.
2012-08-10 21:44:32 +02:00
Acrobot
aa60c7caab Updated plugin 2012-08-10 19:01:58 +02:00
Acrobot
58cd316aa9 There is not ShopCheck class 2012-08-10 19:01:52 +02:00
Acrobot
f096e8eefd PlayerInteract now uses Pre/TransactionEvent 2012-08-10 19:01:34 +02:00
Acrobot
3a1b80d4ef Economy.balance() -> Economy.getBalance() 2012-08-10 19:01:04 +02:00
Acrobot
3d9edc4f3f SignChange listener now check if sign is valid 2012-08-10 19:00:45 +02:00
Acrobot
d7c5aad271 Shop object is deleted 2012-08-10 19:00:28 +02:00
Acrobot
032aff47bb New RestrictedSign class 2012-08-10 19:00:20 +02:00
Acrobot
31e440a771 RestrictedSign now should restrict transactions 2012-08-10 18:59:29 +02:00
Acrobot
1fdc32e230 uBlock now contains the chest neighbor methods 2012-08-10 18:59:10 +02:00
Acrobot
b8d8cdb398 Removed unnecessary Container interface
Added a class which implements Inventory instead
2012-08-10 18:58:45 +02:00
Acrobot
d1dd4b7f5d Added INVALID_SHOP_DETECTED for plugin use 2012-08-10 18:57:10 +02:00
Acrobot
a3eaff47cd Transactions now use Event-Listener system 2012-08-10 18:56:16 +02:00
Acrobot
92aeee4a86 Trying to fix "Item not recognised" message 2012-08-10 18:54:49 +02:00
Acrobot
a467e405c2 Add SecureChests support and Fix Towny integration 2012-07-26 13:44:57 +02:00