Commit Graph

7 Commits

Author SHA1 Message Date
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
d421581e89 Improvements 2012-09-12 12:35:48 +02:00
Acrobot
a3eaff47cd Transactions now use Event-Listener system 2012-08-10 18:56:16 +02:00
Acrobot
d1732552b0 - Made the plugin more event-driven
- Added PreTransactionEvent which can be cancelled
- Fixed not placing B/S before prices
- Updated Heroes
2012-07-07 19:24:06 +02:00
Acrobot
c63ba4c9a4 Fixed partial transactions
Removed stackAmount from Shop and TransactionEvent's constructor.
2012-06-10 23:32:57 +02:00
Acrobot
5908eb67fa - Added API (let's start with simple things first)
- Copied utilities from ChestShop-4
- Made code really, really nicer to read
- Made every external plugin's wrapper a listener, so it listens to events instead of being hard-coded.
2012-06-08 15:28:36 +02:00
Acrobot
f1ee558e3a - Reformatted code
- Switched from YamlConfiguration to BreezeConfiguration (from ChestShop 4)
- Fixed getDouble()
- Instead of checking for Admin Shops, we just pass in a new AdminShop Container
- Created events for shop creation, protection checks and protection creation
- Expanded string data value parsing, for example - you can use "Ocelot Monster" on the sign
- Collected all external plugin wrappers in a single folder
- Instead of using statics, now we use objects
- Fixed enchantments for armour
- Made config more readable
- Added a setting for removing empty shops
- Switched from System.out to logger
- Also, switched from ugly file logging to Java's native one (FileHandler)
- Added an option to tax transactions even when SERVER_ECONOMY_ACCOUNT is empty
- Changed the Container interface
2012-05-10 16:32:25 +02:00