cnr
f5432cd227
Add missing forward-slash prefix to clickable commands. Fixes #401
2015-09-11 23:04:53 -05:00
cnr
c68d3e8e2f
Remove MPluginSecretServerListener. Fixes #414
2015-09-08 13:12:11 -05:00
cnr
6181f08da3
Disable chunk ownership messages in the Wilderness. Fixes #520
2015-09-01 13:47:23 -04:00
eueln
9de87fc2a2
Fix CME when cleaning Factions from the board. Fixes #515
2015-08-28 13:42:21 -04:00
eueln
8354c95a14
Use getOfflinePlayer(UUID) when retrieving groups. Fixes #361
...
We were previously using getOfflinePlayer(String), which was not only
blocking, but also being rate limited
2015-04-14 15:44:14 -04:00
eueln
1daf79c6c3
Fix MemoryBoard#hasFactionWithin implementation
...
It was previously only checking for factions diagonally within the
designated radius
2015-02-20 17:08:29 -06:00
eueln
2b4e1a1947
Gracefully handle the absence of WorldBorder
...
Additionally move `isOutsideWorldBorder` to FLocation, because it
doesn't belong in Board/MemoryBoard.
2015-02-20 17:01:52 -06:00
eueln
fc0b2a1041
Fix path for Relation translations (singular)
2015-01-28 19:58:21 -06:00
eueln
3c0c835160
Fix TL path for /f save success message
2015-01-23 19:48:49 -06:00
eueln
a943f47abb
Init built-in factions after loading from disk
2015-01-21 19:45:49 -06:00
eueln
c1752477c7
Save last-known FPlayer names
...
Instead of performing a lookup each time FPlayer#getName() is called,
save the player's name as s/he logs in
2015-01-13 16:37:59 -06:00
eueln
1d4ca46ebe
Don't update prefixes for Wilderness
2015-01-11 16:14:07 -06:00
eueln
6d6a04e383
Don't do perform economy actions on nameless offline players
...
An offline player is nameless if the player has not played on the server
before.
Unfortunately, all of the major economy plugins don't UUID-based
transactions, and instead forward all of the UUIDs through
Bukkit.getOfflinePlayer(UUID).getName()
2015-01-10 15:12:06 -06:00
eueln
b52805f7a4
Initialize online players when Factions is enabled
2015-01-10 14:42:52 -06:00
eueln
2955370c9e
Fix misleading error in CmdKick
...
The error was shown to a player when s/he tried to kick someone who
didn't belong to a faction, and incorrectly asserted that something had
"went wrong".
2015-01-10 11:32:56 -06:00
eueln
561ab22924
Remove most mentions of getOfflinePlayer(String)
...
Faction bank accounts will need to be migrated to use UUID identifiers
before we can remove the remaining getOfflinePlayer(String) calls.
2015-01-09 11:44:15 -06:00
eueln
d36e88f2c0
Correctly remove faction warps in unclaimed land
2015-01-06 11:59:15 -06:00
eueln
5799a0480b
Fix String-related bugs
...
The result of a call to String#toLowerCase() was ignored, and two
Strings were being compared with ==
2015-01-06 11:59:15 -06:00
eueln
d6bbea7244
Add missing early return in CmdMod
2015-01-05 10:00:51 -06:00
eueln
c4c5bd9df9
Don't perform /f who for players without a faction
2014-12-29 22:02:18 -06:00
eueln
190c2d793f
Use rounded value to match format in /f powerboost
2014-12-24 04:15:16 -06:00
eueln
4703f08027
Fix /f create TL; Save TL nodes on first launch
2014-12-20 20:17:56 -06:00
eueln
3c2e51e8ed
Make LandUnclaimAllEvent Cancellable
2014-12-17 20:50:28 -06:00
eueln
3733539077
Add cancellable FactionRelationWishEvent
...
This event is called before a faction relation wish is applied by a
player using `/f relation`
2014-12-17 20:31:21 -06:00
eueln
1ada19b02e
Properly split FancyMessages for /f show
2014-12-14 17:24:25 -06:00
eueln
6d2ca16002
Initialize FTeamWrapper if it doesn't exist. Fixes #179
2014-12-14 16:15:25 -06:00
eueln
a70cfdaf71
Fix /f {set,del,}warp transactions
2014-12-09 17:16:42 -06:00
eueln
bd8f572cbf
Revert reformat on Conf.java
2014-12-08 15:00:20 -06:00
eueln
a6585e6f5c
Fix /f warp on Java 6 and 7
...
Covariance on ConcurrentHashMap#keySet() in Java 8 was to blame.
2014-12-07 21:59:59 -06:00
eueln
e4bafcf072
Clean board on startup
2014-12-07 15:15:42 -06:00
eueln
e9b0a4d67c
Check projectile shooter's type before casting. Fixes #158
2014-12-07 13:20:48 -06:00
eueln
5e676bdd50
Order /f show by rank. Adds #150
2014-12-06 21:44:00 -06:00
eueln
0487ca77e5
Add spigot constraint for 48-char sidebar text
...
Spigot has a method `addEntry(String)` for Teams that doesn't block,
unlike the OfflinePlayer option. If the server doesn't have this method,
lines are limited to 16 characters as usual.
2014-12-05 15:58:00 -06:00
eueln
ff2e32feff
Fix format in CmdModifyPower message. Fixes #145
2014-11-29 16:29:29 -06:00
eueln
4b6ccc7967
Don't invisibly update faction prefixes when they're disabled
2014-11-17 01:22:12 -06:00
eueln
3af4c9a616
Store OfflinePlayers in FTeamWrapper instead of looking them up
2014-11-15 16:54:16 -06:00
eueln
fdce32e04c
Correct FTeamWrapper faction disband detection
2014-11-09 21:27:03 -06:00
eueln
00045b0186
Don't repeatedly update FTeamWrapper for the same faction
2014-11-09 21:12:42 -06:00
eueln
917c442b59
Correct implementation of FTeamWrapper::updatePrefix
2014-11-07 13:13:54 -06:00
eueln
29836a9183
Remove faction team prefixes when disbanded
2014-11-07 12:55:59 -06:00
eueln
ea8bb9e24f
Remove ghost FInfoBoard.java file
2014-11-07 12:51:18 -06:00
eueln
289a4edc93
Don't create dependency-reduced-pom.xml
2014-11-02 13:15:11 -06:00
eueln
2e1a43c228
Make MemoryFactions::load non-abstract.
...
MemoryFactions::load was incorrectly marked as abstract, which wouldn't
have been possible if not for an erroneous semicolon.
Additionally, we need to call MemoryFactions::load from subclasses.
Fixes #105
Fixes #106
2014-11-02 13:00:01 -06:00
eueln
99c582dda8
Fix issues in CmdOpen
...
A formatted message was missing a format argument, and comparison on
Strings was being performed with ==
2014-11-02 01:10:41 -05:00
eueln
6c70a7d105
Properly handle player kick before PlayerJoinEvent
...
Fixes #104
2014-10-31 13:23:22 -05:00
eueln and t00thpick1
48e43ceba0
Only shade the gson package
2014-10-30 23:26:25 -04:00
eueln and t00thpick1
17a95fc786
Use older version of Bukkit
...
For players on versions earlier than 1.7.10, our usage of
getOnlinePlayers() currently throws a NoSuchMethodError.
2014-10-30 23:26:24 -04:00
eueln and t00thpick1
79c989bfc8
Remove erroneous comment
2014-10-30 23:26:24 -04:00
eueln and t00thpick1
653f918a1b
Add support for Glowstone
...
Glowstone doesn't yet support PlayerMoveEvent nor Scoreboards, so
functionality is unfortunately limited.
2014-10-30 23:26:23 -04:00
eueln and t00thpick1
7f2ef4cbd5
Improve Team prefix performance
...
This change vastly improves performance for faction team prefix update
operations.
2014-10-30 23:26:23 -04:00
eueln and t00thpick1
947f82cb2f
Don't repeatedly copy the Set<FPlayer> of Faction members
2014-10-30 23:26:22 -04:00
eueln and t00thpick1
157d98d4b0
Store FScoreboards by FPlayer instead of Player
2014-10-30 23:26:21 -04:00
eueln and t00thpick1
49babcd4e8
Add player to faction team when they log in
2014-10-30 23:26:21 -04:00
eueln and t00thpick1
c049768e21
Add faction tag to team prefix
2014-10-30 23:26:20 -04:00
eueln and t00thpick1
7ada15992b
Refactor scoreboard issue. Resolves issue #80 .
2014-10-30 23:26:13 -04:00
eueln and t00thpick1
25696f32aa
Refactor scoreboard usage
...
In preparation for team colors, we need to unify scoreboard usage into a
single scoreboard per player.
Rather than creating a new scoreboard for each desired sidebar
objective, we provide an interface FSidebarProvider that allows
implementation-agnostic retrieval of the title and lines of the desired
sidebar, along with appropriate methods in the new implementation of
FScoreboard.
The new FScoreboard implementation manages the currently-visible
sidebar, with methods to set default (non-timed, with update interval)
and temporary (timed, no update interval) sidebars.
Temporary sidebars are replaced with the default sidebar upon
expiration.
2014-10-30 23:26:04 -04:00