admittance 1.0.5

Details

  • Filename
    admittance.jar
  • Uploaded by
  • Uploaded
    Mar 1, 2013
  • Size
    94.95 KB
  • Downloads
    1,257
  • MD5
    0a751009421dc880eaaa4c876773d404

Supported Bukkit Versions

  • 1.4.7

Changelog

1.0.5

* Adapt to mcMMO API changes, once more.

Might well work with lower CBs that works with super-perms and the new event system.
This version should also work with latest dev builds of CraftBukkit.

Economy works with: Essentials Economy 2.6.1, iConomy5 and iConomy6, BOSEconomy 0.7.2, MultiCurrency 0.11, PluginLibSharedLibrary
CanTrigger checks compatible with: WorldGuard 5.2 and above
PartyInterface compatible with: mcMMO 1.1.14 and above
(Future versions of the plugins should work fine, unless they change their API.)

NO WARRANTY (anyway)
Test the features that you want to build on. I recommend  to check if non-ops can place signs next to land they can not build on (WorldGuard), and if payments work (subtract from a, add to b) for the fee option (same code as with the buy-exclusive option).

NOTES:
BOSEconomy: do mind, that BOSEConomy uses "coin" as currency, initially :)
iConomy: It is recommended for fractions to set the options Single and Separate and maybe Minor for iConomy all to false (default). Because iConomy is not providing an API call for getting the currencyName, admittance will attempt to parse it from the format(amount) method that iConomy does provide. [Subject to testing: might be no problem with current parsing method.]

(since 0.4.2)

  • Toggle-once- signs do not harmonize with normal admittance-signs, in that if you activate a mechanism by toggle-once, then activate the same mechanism with a normal admittance sign, the mechanism will switch back but not forth again, as one might expect (this slightly limits the use, but should be a very rare potential application).
  • Buttons can not be toggled once, they will switch back normally, *but* with the switching duration of admittance signs, not that of buttons [Buttons might get deactivated for toggle-once-signs in one of the next versions, depending on feedback!].

GENERAL:
- The Economy interfaces are kind of static, so if you change the currency during runtime, it might break unless you reload ('/admittance reload' is sufficient.).
- For iConomy and BOSEconomy banks will not be used but the "ordinary" add/subtract methods.
- Because iConomy and Essentials are not providing an explicit API call for getting the currencyName (i could not find it), admittance will attempt to parse it from the format(amount) method that iConomy does provide. This work for results like "$1" or "1.0 $" or even "1 whatever 0 coins", while coins would be ignored.
- Admittance will not search for other compatible plugins on deactivation of plugins, then a "/admittance reload"is necessary. if there will not be another compatible plugin for the same purpose being enabled afterwards.
- Mechanisms triggered just before plugin shutdown will not be reset on disabling, neither on enabling.

If in doubt, check your serverlog for "admittance -" [...] entries on the first reload or restart after adding the jar to the plugin folder, it will state what is used for PartyInterface, EconomyInterface, CanTriggerInterface - the interfaces will be set either at enabling admittance or later, when a compatible plugin has been enabled. The command 'admittance info' will state which interfaces are used and if they are enabled.