Commit Graph

41 Commits

Author SHA1 Message Date
Acrobot
8d7389b7e0 Added a fix for inventory not closing on /tp 2013-02-07 14:17:03 +01:00
Acrobot
ebdf90a64e ChestShop 3.50 IS NEAR 2013-01-24 22:35:28 +01:00
Acrobot
c97d6fbebe Changes to prepare for the MC change 2013-01-15 21:33:00 +01:00
Acrobot
6ad5d85349 Minor fixes & version change 2012-12-22 21:05:05 +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
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
1e57726b60 I like clean code. 2012-11-04 21:09:38 +01: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
d421581e89 Improvements 2012-09-12 12:35:48 +02:00
Acrobot
7a8158508a Added a discount module 2012-08-24 10:24:47 +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
032aff47bb New RestrictedSign class 2012-08-10 19:00:20 +02:00
Acrobot
a3eaff47cd Transactions now use Event-Listener system 2012-08-10 18:56:16 +02:00
Acrobot
c31e902b4a Added chest protection 2012-06-25 17:15:32 +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
Acrobot
8156b38785 - Fixed the chest exploit, but still waiting for feedback
- Added new Metrics class
2012-04-16 16:34:00 +02:00
Acrobot
d6bdb0486a - Fixed chests in 1.2.3
- Formatting
- Warning about old Bukkit version
- Renamed "TOWNY_CANNOT_CREATE_SHOP_HERE" to "CANNOT_CREATE_SHOP_HERE" to avoid confusion
- Renamed "NOT_ENOUGH_LWC_PROTECTIONS" to "NOT_ENOUGH_PROTECTIONS" and changed its message

- Fixed armour enchantments
- Logging shop location
- Fixed Heroes for the newest version
- Removed redutant plugin object
- Added dev-url for CraftBukkitUpToDate
- Removed redutant plugins from softdepend
- Fixed a bug when the player interacts with a shop with a sign in hand
2012-03-17 15:00:25 +01:00
Acrobot
e87f5f4f11 - Added a warning if spawn-radius isn't set to 0
- Deleted a few outdated plugins from built-in Register
- System.out -> System.err for errors
- Blocked buying if you're holding a sign in your hand (allows, for example, for sign editors to work)
- Updated Heroes package
- Fixed WG integration (no longer throws errors, but uses ugly workaround)
- Fixed a small bug in Register plugin loading message
- Removed version checking for OddItem, WorldGuard and LWC
2012-03-06 19:41:14 +01:00
Acrobot
7f8af7b5b3 Breaking changes:
- Permissions 2/3 are no longer supported
- Changed ChestShop.shop.create permission to consist of 2 different permissions: ChestShop.shop.create.buy and ChestShop.shop.create.sell
- (Experimental) Ability to add max item prices to the config
- (Experimental) Added a custom "chestshop" WorldGuard flag using reflection

- Switched to new Config system
- Updated Metrics
- Removed chest masking option
2012-03-01 22:03:59 +01:00
Acrobot
a49d51ce97 - Changed to the new, more robust event system
- Added partial transactions (You have 5 items, shop wants 10 - you can sell your items for half the price)
- Added a warning to the HTML generator
- Fixed Towny integration
- Fixed occasional ArrayOutOfBoundsExceptions
- Fixed an error when a shop couldn't be created because a sign (not shop sign) was on other side of the block
- Added SCL (SimpleChestLock) protection plugin to supported plugins
- Updated Metrics (and added a new asynch thread for startup)
- Removed Bukkit-1.0 workaround
- Fixed plugin.yml formatting
2012-02-16 19:09:37 +01:00
Acrobot
c3b084fd1a - Added statistics to the plugin
- Added shop refund message
- Recoded Register for ChestShop
- Added VAULT support (Register is used when no Vault is found)
- Added Heroes exp option for granting exp for shop creation
- EXPERIMENTAL: Option to cause BlockState.update() every transaction (probably doesn't work, as Block.applyPhysics() is needed)
- Added ChestShop.nofee permission for free shop creation (and no refunds)
- Added a separate Admin Shop tax option
-
2012-01-25 16:32:34 +01:00
Acrobot
2e489774d8 - Added selling/buying of Enchanted items
- Modified /iteminfo command to show enchantments (and their id)
- Fixed LWC problem
- Added an option to ignore creative mode
- Fixed broken inventory.addItem(ItemStack) (adds up to custom Material max stack amount now) @Bukkit
2011-12-16 17:20:09 +01:00
Acrobot
ad51a87175 - Updated Register
- Support for Townie's shop plots
- Doesn't load Towny older than 0.76.0.47 (Yeah, long custom difficult method)
- Replaced onBlockPistonRetract to use custom method instead of try/catch
- You won't sell to your own shop anymore
- Added Towny to dependencies
2011-09-22 15:56:06 +02:00
Acrobot
9a914929d1 - Fixed a bug with admin placed signs 2011-09-09 15:15:53 +02:00
Acrobot
a84c68d49d - Changed how configuration works, so it works with plugin folder in different place
- Added support for Deadbolt
- By default, left clicking your own sign doesn't do anything
- Restricted signs now check if you've got permission ChestShop.group.groupName
- Added support for stacking unstackable things
- Updated Register
- Changed how plugins are loaded.
2011-09-06 19:01:57 +02:00
Acrobot
e47632793a - Added support for new Lockette
- Fixed LWC
2011-09-01 18:59:15 +02:00
Acrobot
0418629062 - Fixed >64 item selling/buying
- Fixed block destroying
- Broke signChange into more methods
2011-08-26 23:12:32 +02:00
Acrobot
c64627205e Final version.
- Speeded it up
- Added Buy/Sell specified ID permission
- Removed EXCLUDE_ITEM permission - just use normal Permission negating
- Doesn't add more LWC's on an already protected block
- Updated Register
- Added option to turn off messages
2011-08-13 12:08:34 +02:00
Acrobot
83a7bbcb6c - Fixed database
- Made it a bit quicker at startup
- Added protection against Creepers & TNT
2011-07-24 16:56:18 +02:00
Acrobot
7b6d7d59bd - Long name (>15 chars) support
- Added Bukkit Persistence Reimplemented by LennardF1989
- Made the plugin faster
- Deleted unnecessary files (.jar size went down by 10 KB)
- Added final and private keywords
- Support for Bukkit's built-in permissions
- Updated to newest Bukkit's standard (getFace -> getRelative)
2011-07-23 21:00:47 +02:00
Acrobot
e27cdfb70c - Compatibility with PailStone
- Renamed a lot of things
- Added chest masking option
2011-07-05 19:08:55 +02:00
Acrobot
e522b33d9d - Fixed Permissions for shop creation
- Added Moderator Permission (ChestShop.mod)
- Updated Register
2011-07-01 14:12:26 +02:00
Acrobot
51296f6ac9 - Fix for infinite items
- Tried to fix the NPE during transaction
- Fixed NPE during Admin Shop setup
- Speeded up protection system
- Made configuration system more flexible
2011-06-19 23:52:36 +02:00
Acrobot
fbc87e8977 Even more changes, almost ready for relase! 2011-06-11 17:36:55 +02:00
Acrobot
677fe9668b Yay, it's almost relased! 2011-06-09 22:54:01 +02:00
Acrobot
444b09fe1a Changed "a bit" 2011-05-29 13:25:25 +02:00
Acrobot
fc4909bb90 Did some more work, currently working on buying 2011-05-21 19:55:55 +02:00
Acrobot
d5b791f8c8 Changed name to ChestShop 2011-05-15 19:33:03 +02:00