Commit Graph

5 Commits

Author SHA1 Message Date
Acrobot
d3524faae9 Optimized the transaction module 2013-02-01 19:28:42 +01:00
Justin Kaeser
9625680d97 Make chestshop buying transactions fail if money deposit on seller's account fails.
Some economy plugins, such as Gringotts, only allow a limited amount of money in an account.
Thus, deposits to an account can fail. Chestshop would ignore the failure, which could cause a seller not
to receive the payment for selling an item.

This commit fixes the problem by canceling a transaction if the seller is not able to receive the money of a sale.
2013-01-09 01:50:44 +01:00
Acrobot
a2e9cc81c3 Small fixes & starting to clean up code 2012-11-25 23:34:21 +01:00
Acrobot
f67990ea48 Changed how dependencies are loaded 2012-06-25 17:16:24 +02: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