0.3.6 - beta
Details
-
Filenameadmittance.jar
-
Uploaded by
-
UploadedOct 21, 2011
-
Size69.66 KB
-
Downloads586
-
MD560bece351b2ee88cbce1686ecb6d2fd8
Supported Bukkit Versions
- CB 1.0.1-R1
- CB 1337
- CB 1060
Changelog
**New version coming before //chinese// new year, presumably 01.01. (european time), adding sound(+)-effects, permission support**
BETA release 0.3.6
Critical bugfix, sign-syntax-checking on placing the sign, other.
RB 1060 ... RB 1337 should work. Running on CB 1.0.0-R1
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
PartyInterface compatible with: mcMMO 1.1.14 and 1.0.50
(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.]
CHANGELOG:
(0.3.6 beta)
- (bugfix, critical) Set the locking time for mechanisms to > 1 minute, to prevent abuse with doors and multiple signs (Not perfect but better than one or two ticks, which doesnt seem to work) - The locking is reset by the closing door anyway.
- (add) Price specification no longer demands separation of amount and currency with a space.
- (add) Syntax checking on placing signs (rudimentary error message, checks on interaction remain almost the same as before).
- (compat) Renamed getConfig to avoid potential trouble with new RB 1337 of CraftBukkit / RB_953 Bukkit-API.
(0.3.5 beta)
- (bugfix, minor) Now the receiver gets notified about receiving money !
- (bugfix, minor) reload gets displayed as an option.
(0.3.4 beta)
- added support for MultiCurrency
- added basic configuration support + features as below (admittance.yml
- various enable-flags (global, for individual features)
- global switching duration specified in ticks
- include/exclude compatible plugins by name (full, prefix, suffix)
- need-cantrigger flag (demand use of a CanTriggerInterface implementation, like WorldGuard or similar)
- pop-signs.xyz (pop signs out of he ground, if placing is not allowed)
- oppermissions (op bypass for placing signs)
- reorganized help messages with sub-topics.
- bugfix: only disable player-interact-events if the sign is really an admittance sign, in case admittance is disabled globally
- bugfix: even if economy interface is missing, the receiver will be granted access.
- bugfix: 'party with' owner access, if party interface is not set.
- using in-game command "/admittance enable/disable" is persistent now (changes configuration).
- changed default behaviour if PartyInterface is not set - now: deny access
- changed internals: allow all interfaces to be null (getting rid of default no-op-impl.)
- compatibility: use Bukkit.getServer().getXYZ() rather than Bukkit.getXYZ()
- refactoring (moving presets etc. to new packages, move some functionality from Listeners to Admittance)
- uniform messages for setting interfaces.
GENERAL:
- There are no permission checks for the payments, so it is possible to send players money in any case.
- 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.
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.