0.1.1 - beta

Details

  • Filename
    rbuy.jar
  • Uploaded by
  • Uploaded
    Nov 11, 2011
  • Size
    32.63 KB
  • Downloads
    432
  • MD5
    869a189298055049928bb94f0a432f8a

Supported Bukkit Versions

  • CB 1.0.1-R1
  • CB 1337

Changelog

0.1.1 - beta

Running on latest CB 1.0.0-R1 as well, currently.

(0.1.1) Finally the bugfix: Force WorldGuard to save regions on changes. This might cost little extra performance for a split second, due to WorldGuard saving, but prevents the owner switching back in some cases like server crashes.
(0.1.0) Added support for signs for selling and buying, bugfixes, more permissions and bypass-permissions, command for removing offers of others, listing offers by prefix (rlist only), volume restriction.
The configuration has been extended, same with permissions - see main page for reference.

Requirements:

CHANGELOG: (0.1.1) - bugfix: Force WorldGuard to save regions on changes. (Prevents the buyer losing ownership to the seller in case of crashes and other.)

(0.1.0) - add: sign support both for selling and buying.
- add: magic words for signs (not for commands).
- add: '/rlist <region/prefix>' lists all region starting with the specified prefix.
- add: '/rsell *' removes all regions you offered for sale.
- add: Administrative command /rremove with flexible arguments specifying players, worlds, regions (All, specific, region or world prefixes, multiple arguments for each type).
- add: volume restriction
- add: negative entries for times default along the chain volume->area->buy->transaction(end)
- remove: users-buy, users-sell configuration options.
- add: ignore-permissions configuration option.
- add: bypass permissions for limits including "rbuy.all".
- add: commands per second limit.
- change: default policy is to DENY permissions for everything.
- add: sort displayed regions by name (hopefully everywhere).
- add: configuration entry op-permissions
- note: op-permissions are dependent on the permissions plugin / WorldGuard.
- add: permission nodes for bypasses including "all".
- add: configuration option: list-all-worlds
- change: Unowned regions can not be bought anymore (If offered for sale and the player has the permission 'rbuy.sell-unwoned', the owner will be set to the seller.).
- bugfix: Multiple worlds compatibility: cross world buying is now impossible, neither for regions with same names nor in general.
- bugfix: The area is now written/read correctly from transaction entries of the data file.
- bugfix: removing expired transactions is now done correctly on checking a players transactions (little effect if the server reloads plugins daily).
- bugfix: The global region 'global' can not be sold anymore (should have lead to exceptions anyway...).
- fix: prevent selling the global region.
- internals: adjusted many places to cover null inputs, demand world names to be not null on loading.
- internals: add some javadoc comments.
- internals: add default values as fields (prevents typos).
- internals: Decided upon which methods/attributes to set to public visibility (for the moment).

NO WARRANTY WHATSOEVER
I have done a range of tests, but am still unwilling to be responsible for region losses or money transfers failing, crashing servers (unlikely), and similar.

NOTES:

  • Logging of transactions is done in the plugins/rbuy/runtime.yml file, they are available for the period specified in the configuration (in days), preset is 30 days.
  • Listing nearby regions iterates over all regions by now (due to having failed to use WorldGuards deprecated functionality for that), so this is probably not fit for a large number of regions for sale. To limit this there is configurable limits.
  • It is possible to add regions to the datafile, however you should disable rbuy before calling "rreload", bcause rbuy will save data before reloading configuration and data.
  • Each manipulation leads to saving the data, so the full transactions and region offers will be written to the file for each change. This might lead to small performance issues if used by many people with many offers/transactions.
  • The configuration entries users-buy and users-sell are not used anymore. Use ignore-permissions instead.