Commit Graph

28 Commits

Author SHA1 Message Date
Acrobot
d421581e89 Improvements 2012-09-12 12:35:48 +02:00
Acrobot
7ef93e7bc1 Fiiiixeees 2012-09-02 22:41:24 +02:00
Acrobot
ef91e8ccb5 Fixes 2012-08-24 21:03:51 +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
bb9f970148 Restructured Property enum 2012-04-19 16:37:15 +02:00
Acrobot
77aa60d2a2 Fixed the last merge 2012-04-07 12:44:58 +02:00
Andrzej Pomirski
12cc59aa35 Merge pull request #19 from Aiquen/master
Added an option to toggle the right-sign-click chest-open feature.
2012-04-07 03:42:06 -07:00
Acrobot
948dcf3653 - Added an option to toggle the WG flag
- Removed old pre-CB 1.1-R6 chest compatibility
- Changed priorities for block destroying
- Synchronised run() in Queue, as it's called from asynch thread.
2012-04-07 12:41:20 +02:00
Aiquen
7213ca0fe4 Update com/Acrobot/ChestShop/Config/Property.java 2012-04-06 21:17:10 +03: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
dc4d9961c1 - Fancy sign formatting :D
- Fixed LWC, Lockette and Default protections
- Added restricted signs (Changed how they work)
- Added an option to use another name
- Fixed a bug where default protection was initialized too many times
- Disallowed players to place another chest near a shop chest
- Speeded up and fixed enchantment and durability in itemstacks
- Changed /iteminfo a bit
- Added /chestshop reload
- Added many default permission kits
- Fixed dye colors
- Added an option to allow towny residents place shops in their town
2012-01-09 22:39:38 +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
06ff63ecfd - Added multiple protection plugins work at once
- Added custom LWC protection limit message
- Fixed block destroying
- Added a new permission node, to let people create shops as other user (also usable for Towns, Factions etc.)
2011-12-01 14:02:58 +01:00
Acrobot
637e08e985 Wow, that is ugly now :/
- Added WorldGuard support
- Fixed protection
- Added shop refund price
- Updated Register
2011-10-11 13:15:53 +02:00
Acrobot
9a6b9d0c38 - Added option to tax all transactions
- Updated Register and BukkitEx
- Can't place shops in the wilderness
- Fixed CraftBukkit's piston bug - no more try/catch
2011-09-29 20:29:39 +02: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
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
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
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
770b8e88cd - Added support for BOSEconomy 7
- Speeded up shop recognition
- Better item durability checking
- Added choice of preffered economy plugin
2011-07-15 21:45:26 +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
0bde74f3ad - Fixed protections 2011-07-02 20:34:14 +02:00
Acrobot
d919818bb6 - Fixed not checking whether Material is null before getting durability from String
- Moved Register classes, should work with other plugins now
- Cleaned the code a bit
2011-06-14 15:07:44 +02:00
Acrobot
fbc87e8977 Even more changes, almost ready for relase! 2011-06-11 17:36:55 +02:00