Brettflan
3e0a68fd6e
Performance overhaul sponsored by rockxz3, using his large server's data for reference to help with testing and tuning. Timing numbers below are based on this data set on my test server.
...
* PlayerMoveEvent performance boost (from 0.047ms to 0.015ms in testing, ~313% as fast): now more thrifty in determining whether player has actually moved between chunks before doing anything else; important since this event triggers extremely quickly
* PlayerInteractEvent performance boost (from 0.068ms to 0.034ms in testing, ~200% as fast): now ignores left-clicks for interaction checks, since in CraftBukkit 1.4 left-clicks no longer open doors or activate buttons/levers/etc.; not as important as above, but still triggers quite often as people are digging or interacting with blocks
* "/f list" command performance boost (from 234ms to 30ms in testing, ~780% as fast): code was getting information for all factions, narrowed it down to only getting info for displayed page range
* "/f show" command performance boost (from 132ms to 28ms in testing, ~470% as fast): tweaked the ally & enemy listing code used
2012-11-06 09:43:27 -06:00
Brettflan
5f33e51fae
Fix for crash on plugin startup if Worldguard integration is enabled ("worldGuardChecking") but Worldguard plugin isn't loaded on server
...
Also updated SpoutPlugin lib
2012-10-09 17:37:01 -05:00
Olof Larsson
b588d355b4
Fix crash when HeroChat was not present.
2012-08-26 12:20:56 +02:00
Olof Larsson
bc0647e51b
Fixing the recipients for HeroChat integration.
2012-08-26 02:12:02 +02:00
Olof Larsson
48c5131ea4
New beta herochat integration and fixing the slow load time. This may require Java7.
2012-08-26 00:54:15 +02:00
Brettflan
124a46c791
Update for remaining old PlayerChatEvents, update EssentialsChat libs and integration accordingly
2012-08-07 21:51:22 -05:00
Brettflan
d7a5970b85
Release 1.7.5 alpha: one last minor fix to EssentialsChat integration needed
2012-05-16 20:34:38 -05:00
Brettflan
4460438365
Brief access info is now displayed under two circumstances: if you have been granted explicit access to the territory you are in ("access granted"), or if you are a normal member of the faction which owns the territory and access is denied to you ("access restricted"). This info will be displayed through Spout under the faction tag if possible, otherwise it will be displayed through chat.
...
New conf.json setting:
"spoutTerritoryAccessShow": true, - whether to show brief access info using Spout
2012-05-16 15:29:00 -05:00
Olof Larsson
a0a163056d
Now using automated help. Fixed SeeChunk issues.
2012-05-09 05:56:37 +02:00
Olof Larsson
67e5aa8464
Fixing a few apperance bugs and stopped updating apparance if it was the same.
2012-05-09 05:21:21 +02:00
Olof Larsson
ca6b185bd1
New cape system and refactored spout appearances.
2012-05-09 03:24:07 +02:00
Olof Larsson
1459c9c057
Reworked chat completely. Added Herochat integration. New tag-parsing system. Non-monitor-breaking relation colored chat.
2012-05-02 04:45:10 +02:00
Olof Larsson
3eed72783b
Added a healthbar feature :)
2012-03-25 21:07:11 +02:00
Brettflan
7b9674dc4b
Ability to pay for commands (through economy) is now checked before firing events which can be canceled, and actual payment made after making sure the event isn't canceled.
...
Added Econ.hasAtLeast(EconomyParticipator ep, double delta, String toDoThis) method to check if an account has at least a specified amount of money in it. Also added related FCommand.canAffordCommand(double cost, String toDoThis).
2012-03-13 09:48:34 -05:00
Brettflan
fd8ca30af6
(donington) Fixes for compiler warnings & minor .gitignore enhancement, completed the last of the creatureType/entityType renaming (a few imports and functions)
2012-03-13 08:43:45 -05:00
Brettflan
3af6f2737a
Final attempt to fix rare non-fatal NPE from Player ending up returning null while updating Spout appearance features
2012-03-01 09:38:47 -06:00
Brettflan
02200e5793
UNTESTED: fix for chatspy not working with CAPI chat integration
...
If it's still not working correctly, let me know
2012-02-25 04:44:28 -06:00
Brettflan
50572b388c
Moved Essentials teleport integration handling to EssentialsFeatures.java
2012-02-22 13:35:26 -06:00
Brettflan
546ecd6a45
Clean up integration methods with other plugins a bit
2012-02-22 11:43:53 -06:00
Brettflan
c8d6d06f90
Updated SpoutAPI, handled deprecated Spout AppearanceManager code, updated Spout event listener to new Bukkit event system
2012-02-20 17:03:37 -06:00
Brettflan
03a45784c7
Fix for potential NPE in CraftBukkit caused by LWC location world returning null
2012-02-19 08:23:13 -06:00
Brettflan
fbbf0a12af
Add back support for older EssentialsChat versions
...
also reword leader command's "you must be leader" error message
2012-02-07 15:31:35 -06:00
Olof Larsson
37169dc6ec
Added command logging as for default commands and temporairly removed Essentials old features as it does not compile in Eclipse :/ sorry about this. How would we go about getting this compile in Eclipse and Netbeans at the same time?
2012-02-05 18:55:26 +01:00
Brettflan
4f4b988b42
Preemptive EssentialsChat 3.x support, since they'll be removing the old local chat integration method; new implementation will need improvement to support relation coloring, but for now it otherwise works.
...
When chat event hits an UnknownFormatConversionException which requires better chat configuration, the quick dirty fix of setting chatTagInsertIndex to 0 is now automatically applied.
2012-02-02 19:31:33 -06:00
Brettflan
1cd392f256
Workaround fix for EssentialsChat integration not working on Essentials 2.8+. "chatTagReplaceString" setting now defaults to "[FACTION]" instead of "{FACTION}" since Essentials now converts curly-braces to square-braces for any tags specified in their chat format setting which Essentials doesn't recognize.
...
For those using Essentials 2.8.x, this should hopefully be handled automatically.
2012-02-02 07:29:00 -06:00
Olof Larsson
0abc3f397a
Using latest CAPI for integration
2012-01-31 21:14:05 +01:00
Brettflan
900f05c62f
zero-value economy gains/losses are now skipped over ("X gained 0.0 for claiming this land" and similar is a bit odd)
...
CLeaned up warning given for UnknownFormatConversionException chat exception; the debug info is no longer useful for us, and a distraction for users.
2012-01-31 11:07:47 -06:00
Brettflan
848d0463db
Delayed Vault economy integration not necessary after all; reverting added delay
2012-01-29 23:11:39 -06:00
Brettflan
5ac0baf84a
Fix for Vault economy integration bugging out if the target economy plugin loaded after Factions (really seems like a Vault issue, but we'll work around it)
...
Fix for users who have Vault but don't use economy getting an NPE
2012-01-28 05:24:39 -06:00
Patrick
23e970bc60
Fixed NPE that occurs when a player is offline when chests are cleared.
2012-01-26 17:19:00 -05:00
Brettflan
2a9b475012
Economy integration is now handled through Vault instead of Register. You will need to download and install the Vault plugin now if you want to use any Economy-related features. If you're not using the Register plugin for anything other than Factions, it should be safe to remove it from your server.
...
Vault: http://dev.bukkit.org/server-mods/vault/
Note: for proper faction bank support, if you're using iCo5 or EssentialsEco, I recommend waiting for Vault 1.2.5 to be released which addresses faction account creation issues related to those.
2012-01-16 19:38:14 -06:00
Brettflan
de14985d1e
(courtesy of patrickfreed) LWC Chest Protection Integration
...
When a claimed territory is captured by another Faction, all LWC chests that are not occupied by members of the person who is claiming the territory's faction lose their protection.
2012-01-15 12:41:33 -06:00
Brettflan
f1114848ff
fix for Spout's questionable new "no default height" warning for variable-sized text labels
...
also updated Bukkit lib
2011-12-15 23:48:15 -06:00
Olof Larsson
1e1925b43e
Performance boost? And fixed capi integration once again.
2011-12-16 00:19:01 +01:00
Olof Larsson
2c5a8872f2
Fixed capi integration
2011-12-15 16:49:47 +01:00
Brettflan
101aa8cabe
Hopefully fix a couple of economy integration problems
2011-11-23 00:11:30 -06:00
Brettflan
e390c67bde
formatting
2011-11-06 15:29:14 -06:00
Brettflan
dedb282498
Fix for minor NPE causes by null player when updating Spout-based appearances
...
also updated Spout lib
2011-11-06 15:27:18 -06:00
Olof Larsson
72db45e45e
Updated readme, Fixed admin bypass command and corresponding permissions, Swapped colors for ally and truce, added new faction permissions, improved explosion protection and implemented firespread protection, fixed painbuild check order, flags can only be changed by server admins now and implemented type adapters for some enumerations for future changes to be non breaking. That it \:D /
2011-10-25 21:18:08 +02:00
Olof Larsson
8eec55e37e
asdf
2011-10-24 13:02:48 +02:00
Olof Larsson
5f437b1862
Changed permission view. Bank withdraw permission in the works
2011-10-24 11:56:41 +02:00
Olof Larsson
0c46809952
Some refactoring and better messages
2011-10-24 11:07:06 +02:00
Olof Larsson
e3821a8d4e
REMOVED owned plots
2011-10-24 01:37:51 +02:00
Olof Larsson
21783ef9d4
Woop
2011-10-23 22:08:57 +02:00
Olof Larsson
ac6870b770
Merge with master
2011-10-23 20:53:56 +02:00
Brettflan
f8f3704cd4
Additional logging, with new conf.json settings to enable/disable logging of specific events:
...
"logFactionCreate": true, - log faction creation
"logFactionDisband": true, - log factions being disbanded, by command or by circumstance
"logFactionJoin": true, - log player joining a faction
"logFactionKick": true, - log player being kicked from a faction
"logFactionLeave": true, - log player leaving a faction
"logLandClaims": true, - log land being claimed (including safe zone and war zone)
"logLandUnclaims": true, - log land being unclaimed (including safe zone and war zone)
"logMoneyTransactions": true, - log money being deposited, withdrawn, and otherwise transferred in relation to faction banks
Also a fix for a potential NPE from players logging out and Spout appearance handler referencing them afterwards
2011-10-23 12:50:02 -05:00
Olof Larsson
842844969b
Merged Relation and Role into one enum
2011-10-23 17:55:53 +02:00
Olof Larsson
e6ff84ad9a
Merge branch 'master' into seven
2011-10-23 17:31:30 +02:00
Olof Larsson
d280f9409d
In the middle of refactoring to merged role and relation as one enum
2011-10-23 17:30:41 +02:00
Brettflan
83f690c9c5
Fix for unclaimall command not working if Economy was disabled
2011-10-23 10:04:36 -05:00