Commit Graph

68 Commits

Author SHA1 Message Date
Acrobot
e28548d534 Changed name of 1 class and 1 variable 2012-04-19 17:12:49 +02:00
Acrobot
7f8fe5e6c1 Instead of generating a new protection, use the new method 2012-04-19 16:37:33 +02:00
Acrobot
bb9f970148 Restructured Property enum 2012-04-19 16:37:15 +02:00
Acrobot
475ba36728 Removed BLOCK_UPDATE (which didn't work) 2012-04-19 16:36:31 +02:00
Acrobot
a71b56e1f7 Fixed MaxPrice 2012-04-19 16:36:01 +02:00
Acrobot
7a3078aedc Fixed Metrics' error message 2012-04-19 16:14:12 +02:00
Acrobot
6faa4321df - Added fancy formatting fo the item name in the chat message
- Fixed consle item fomatting
2012-04-19 16:13:42 +02:00
Acrobot
6bcac6fa01 Fixed getDouble() 2012-04-19 16:05:56 +02:00
Acrobot
e23184d0fa Updated Logging methods 2012-04-19 15:53:23 +02:00
Acrobot
edee5f217f Updated Towny 2012-04-19 15:53:15 +02:00
Acrobot
b1b97bbaf9 Added WorldGuard container protection 2012-04-19 15:53:08 +02:00
Acrobot
e2305225d3 Fixed buying from shops 2012-04-19 15:52:31 +02:00
Acrobot
5da5773879 Added getDefaultProtection() method so the objects gets created only once 2012-04-19 15:51:50 +02:00
Acrobot
e4e7329063 Switched from ugly statics to objects 2012-04-19 15:50:53 +02:00
Acrobot
fc475ff543 Synchronised Queue methods 2012-04-19 15:50:05 +02:00
Acrobot
fce5508aa3 Switched from float to double in economical stuff 2012-04-19 15:49:48 +02:00
Acrobot
9f63103ff3 Changed MaxPrice to also work globally 2012-04-19 15:46:05 +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
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
1ce4191586 Opening chest with right click is bypassing lockette ([private]) access restriction. I don't know, imo chesthop should check event.isCancelled(), but adding this option to config is lesser invasive solution. 2012-04-06 21:24:11 +03:00
Aiquen
7213ca0fe4 Update com/Acrobot/ChestShop/Config/Property.java 2012-04-06 21:17:10 +03: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
73e3616238 - Fixed an issue with LWC (defaulting to public protection)
- Fixed an issue with admins not receiving the refund when destroying a shop
2012-03-11 22:56:51 +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
0e22503c9b Merge branch 'master' of github.com:Acrobot/ChestShop-3 2012-03-01 22:07:41 +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
7c93fba155 Merge pull request #14 from GoalieGuy6/patch-1
Made transcation records able to last forever
2012-02-22 06:12:02 -08:00
GoalieGuy6
28197e4d6f Made transcation records able to last forever 2012-02-21 23:55:04 -05: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
505dfb3449 - Fixed potion stacking and adding items to stacks with a different durability
- Modified /iteminfo a bit
- Added a message to the DBpage generator
- Added more functions to word datavalue
- Modified the SignChange fourth line formatting
2011-12-20 21:39:45 +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
353dacf1a0 - Fixed block destruction 2011-12-02 11:38:20 +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
4440101a3a - Added support for OddItem 0.8
- Fixed getRetractBlock
2011-09-25 16:17:44 +02:00
Acrobot
06e02cbc3e - Fixed towny integration (grr... java)
- (Tried to) - it shouldn't cause too long message error.
2011-09-23 14:07:20 +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
7ec812a3e1 - Added parenthesis. It fixes a bug with signs... 2011-09-10 20:50:24 +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
fac79282df - Fixed new lines in configs
- Fixed sign protection
- Doesn't protect with LWC if the limit is reached
- Added a message when you paid for shop.
2011-08-31 20:57:10 +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
77bbf5de00 - Fixed bug when creating a shop locked by LWC/Lockette 2011-08-15 11:46:01 +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