Brett Flannigan
755a957b12
Merge pull request #200 from blha303/master
...
Closed a possible resource leak (in currently unused code), updated README.md to point to DBO instead of Github's deprecated downloads section
2013-01-04 08:11:29 -08:00
Olof Larsson
16c69d67cd
Use the standard Bukkit command handling system.
...
Doing so will remove the possiblility for dynamic command alias assignment but makes factions compatible with all other
plugins doing stuff like blocking commands from being used (AntiGuest, NoCheatPlus, War etc) and plugins that log command
useage (Hawkeye etc).
2013-01-03 08:23:46 +01:00
Steven Smith
d9ca9c62cb
Closed a possible resource leak, updated README.md to point to DBO instead of Github's deprecated downloads section
2012-12-28 04:54:13 +08:00
Brettflan
31faf605dc
Release 1.8.0
...
and sneaking in a typo fix
2012-12-19 06:43:25 -06:00
Olof Larsson
675505e6fd
Using PlayerLoginEvent instead of PlayerPreLoginEvent to fix a warning.
2012-11-07 11:39:59 +01:00
Brettflan
b8aaeb1053
Fix for slashless commands triggering errors in CraftBukkit on rare occasions due to being run async
2012-11-06 14:23:17 -06:00
Brettflan
ef56ce9a51
Backups are now created of bad factions.json and players.json files if they fail to load due to a JSON parse error; same as we already do for bad conf.json
2012-10-19 01:50:37 -05:00
Brettflan
7aa4fa12f2
Modified readBytes() and writeBytes() methods in DiscUtil.java to use older file handling routines which don't require Java 7. The vastly improved file loading speed which came from Olof's recent update to this file has been retained.
2012-08-26 15:23:45 -05:00
Brettflan
e3bfaec642
Merge branch 'master' of github.com:MassiveCraft/Factions
2012-08-26 01:02:54 -05:00
Brettflan
28206b1c25
The latest CraftBukkit builds have changed their compiled-in GSON lib's package name. Rather than us switching back to using a separate GSON lib again (with two effectively identical copies of GSON ending up loaded and wasting server resources), I'm simply switching Factions to point to CraftBukkit's refactored GSON package name instead.
...
In line with that, I've removed the Bukkit and GSON libs and added in CraftBukkit as a lib.
2012-08-26 01:02:31 -05: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
ddd17830c0
Switch PlayerChatEvent to AsyncPlayerChatEvent for bleeding-edge 1.3.1 Bukkit builds to prevent persistent nag from Bukkit, update Bukkit lib
...
UNTESTED, please confirm working... looks like chat event cancellation might be bugged in Bukkit at the moment but will hopefully be fixed soon if so
2012-08-05 19:58:50 -05:00
basicsensei
94816a6e52
fix evil bug with getPlayer matching online players
...
if the offline player had similar name with the online player
ie. online "s2", offline "s", then "s" would show as online because
getPlayer("s") will return getPlayer("s2")
this is why getPlayerExact should be used
2012-07-16 18:11:27 +02:00
Olof Larsson
5988e8e5af
Simplified the perm command.
2012-05-09 06:29:52 +02:00
Brettflan
e3a7188b0d
/f show|who command will no longer reveal players as online if they are hidden from the viewer by the Vanish API
2012-04-26 08:08:11 -05:00
Brettflan
d77cf1fa18
Double-space (or more) after command alias is no longer accepted, i.e. "f home". Otherwise, command prevention routines (in Factions itself and in other plugins) can be bypassed. For example, preventing the "f home" command wouldn't prevent anyone from using "f home" or "f home" instead.
2012-03-19 08:21:06 -05:00
Brettflan
18b10ce8f9
Cleaning sweep, mainly for various stray "4 spaces" indentions to tabs
2012-03-13 08:27:03 -05:00
Brettflan
c0308940c8
Connected standard command handler getCommand("f"), for it to work with other plugins which directly execute commands using that interface.
2012-03-11 11:41:56 -05:00
Brettflan
2c6191b73f
Removed dependence on external GSON lib in lib/gson.jar, since GSON 2.1 is now embedded in CraftBukkit itself, used by their auto-updater added shortly before 1.1-R5 was released:
...
0ed1d1fdbb
2012-03-11 07:39:31 -05:00
Brettflan
fd44983ae2
(donington) Consolidated chat event listeners into a single chat listener class.
...
(Brettflan) Fixed slashless commands not being logged if player was in faction chat or alliance chat mode. Also cleaned up chat code a bit, nothing major.
2012-03-09 21:25:01 -06:00
Brettflan
a5bb25eb44
New setting "logPlayerCommands" (default true) which can be disabled to prevent player commands from being logged.
2012-03-09 19:26:40 -06:00
Brettflan
0a048d6553
If plugin failed to load correctly for various reasons, it could end up wiping the board or faction list. This should now be prevented.
...
An example: if you loaded 1.6.6 (not 1.6.6b) on CB 1.1-R6 or newer, it would trigger an exception at startup and cause this problem.
2012-03-09 14:44:17 -06:00
Brettflan
2954fa621f
Fix for fatal error at startup in CraftBukkit 1.1-R5 and above
...
Updated Bukkit lib
2012-03-01 09:40:28 -06:00
Brettflan
d71bd15a79
Added possibility to specify a player in the /f join command (/f join <faction> [player=you]), to make a player other than yourself join the specified faction. The new permission factions.join.others (added to factions.kit.mod and above) is required to be able to specify a different player.
...
Note that the player cannot currently already be in another faction; if they are, you'll need to /f kick them first. Also note that if the faction isn't open (with no invitation required), the player isn't invited, and you don't have the factions.join.any permission or have admin bypass mode on, the attempt will also fail.
Also, added new log method which accepts arguments (like the msg method).
2012-02-26 12:29:44 -06:00
Brettflan
a0fa3863d4
Hopeful fix for rare errors where location world somehow changes in the middle of trying to show a smoke effect
2012-02-22 23:52:39 -06:00
Olof Larsson
92116bc929
Fix some warnings in Eclipse
2012-02-22 19:08:17 +01:00
Brettflan
e918bc0d91
Compatibility with upcoming CB 1.1-R5 and above: updated Enderman block monitors to use EntityChangeBlockEvent, removed register event convenience methods from MPlugin (no longer working or needed)
...
Updated Bukkit lib to newest dev version
2012-02-20 16:59:33 -06:00
Brettflan
c208658cab
update default GSON jar version to 2.1
2012-02-19 08:32:50 -06:00
Brettflan
8e96a75b56
Update our MCore event handlers to use the newer Bukkit event system
2012-02-07 17:02:54 -06:00
Olof Larsson
c74e4baab2
Minor change to support NoCheat protection
2012-02-05 19:51:51 +01: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
d639a4a93e
Removed direct Permissions and PermissionsEx plugin support. Problems with PermissionsEx integration had been reported.
...
Now permissions are solely handled directly through Bukkit's built-in "superperms" permission system, since all modern permission plugins should be interfacing through that at this point.
2012-01-31 10:52:34 -06:00
Brettflan
8027e87078
Errors loading conf.json are handled better now, allowing Factions to continue on to loading board.json instead of losing it
...
Also, the bad conf.json file is backed up to conf.json_bad so it can potentially be recovered
2012-01-13 05:48:03 -06:00
Olof Larsson
907492e8f7
MassiveCraftCore update
2011-11-25 21:09:03 +01: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
Olof Larsson
4f7fd6dd96
Possibly solved the faction creation issue. Changed the best id match to something more reasonable
2011-10-23 12:07:20 +02:00
Olof Larsson
45d6a6628a
Claim command refactoring in progress.
2011-10-22 16:00:24 +02:00
Olof Larsson
5bf38ab0aa
Adding match mode for id search to MassiveCraftCore and improving the faction argument readers.
2011-10-22 14:39:01 +02:00
Olof Larsson
aad9819ae9
herp
2011-10-16 12:12:49 +02:00
Brettflan
f5450886f1
Fix for Bukkit "unknown command" error when using console commands
...
handling for extra commas in "baseCommandAliases" in conf.json adding null values
2011-10-16 04:02:29 -05:00
Olof Larsson
00f6f4ab05
Support for the CAPI plugin.
2011-10-14 15:03:23 +02:00
Olof Larsson
618c5fceed
Fixed a bug with the smoke effect for the faction home and one NPE.
2011-10-13 22:49:41 +02:00
Olof Larsson
88fe43d600
Using PEX 1.15 and only as superpermsmanager to allow for use of the parent permission. Also changed the handling of money on faction leave as last player.
2011-10-13 19:47:37 +02:00
Olof Larsson
98260c75de
Bugfixes and awesome probably complete money commands.
2011-10-13 16:07:07 +02:00
Olof Larsson
0039370f05
Some effect for the f home teleport command
2011-10-13 12:17:23 +02:00
Brettflan
4ec086e4fa
Fix for faction creation sometimes causing an NPE; hopefully a fix for the cause of the null value as well, from an ID clash in the entity collection of factions
...
Fix for disband command causing an NPE if run from the console
Additionally, disband command use is now logged
2011-10-13 04:10:29 -05:00
Olof Larsson
b0e31eb837
Supressed warnings in eclipse
2011-10-11 13:03:33 +02:00
Olof Larsson
6ab7e10d1f
Merge branch 'master' of github.com:MassiveCraft/Factions
2011-10-11 13:01:12 +02:00
Olof Larsson
d07639e7ee
Added a register event convenience method
2011-10-11 13:00:53 +02:00
Brettflan
7d85a478a8
Update to allow the project to compile in Netbeans, as per:
...
http://stackoverflow.com/questions/314572/bug-in-eclipse-compiler-or-in-javac
Also added license files, for building into JAR file
2011-10-10 20:48:23 -05:00