Commit Graph

48 Commits

Author SHA1 Message Date
Naman 44b3de91dd adding new stuff 2018-03-26 16:43:15 -05:00
Trent Hensler 999067a430 Allow show to be ran from console even if we can't fill in all placeholders 2018-03-11 18:31:06 -07:00
Trent Hensler 81a33de33a Format and check for null section 2018-03-02 13:57:36 -08:00
Trent Hensler d45b5ac612 Add placeholders to f show 2018-02-17 12:17:37 -06:00
Trent Hensler 4110fb2ef4 Fix up default role and promote commands 2018-01-04 18:10:49 -08:00
Trent Hensler 3b644cd6c3 Java 7 and make intellij happy 2017-12-19 02:18:13 -08:00
Trent Hensler 9ed7603e38 Fix showing the faction's balance in f show instead of the player who executed it. 2017-12-19 00:37:17 -08:00
Kakifrucht 04dd47dfea Add faction exemption to /f show 2016-12-17 00:16:42 +01:00
drtshock ce77799ef1 Add minimal f show. 2015-08-06 16:59:54 -05:00
drtshock 8926d0b434 Don't allow % in faction descriptions.
Was messing up string formatting. Fixes #490
2015-08-06 16:09:07 -05:00
drtshock e7f8060441 Don't show home location by default.
This was in there for HCFactions and isn't really meant for regular factions.
2015-05-25 19:16:46 -05:00
drtshock de57060819 Revert "Remove Fanciful, fix compilation (part 1/2)"
This reverts commit fc1d08e507.
We have users on builds before this was included in Spigot. We don't want to break those servers.
2015-05-25 15:46:18 -05:00
Paul Sauve fc1d08e507 Remove Fanciful, fix compilation (part 1/2) 2015-05-24 18:05:27 -05:00
Nick Porillo 44542261ae Variable overhaul and configurable /f show 2015-05-12 21:34:00 -04:00
drtshock 2b0638f54f Pull out null check because console can have null faction. Fixes #375. 2015-05-07 10:39:04 -05:00
drtshock d0b514eff6 Fix some lag with f show. Remove offline permission lookups.
The lookup was locking up my server on almost any f show executions. It's just not worth it.
2015-04-25 19:15:54 -05:00
drtshock 41d0195c9e Remove unused value. 2015-04-25 14:25:17 -05:00
Evan Lindsay 7b522be2c7 Remove duplicate message for land/power/maxpower 2015-03-31 03:14:20 -07:00
Evan Lindsay f5b3628bc4 Fix IllegalStateException due to creating a FancyMessage with no args constructor resulting in first MessagePart having no text. 2015-03-31 02:43:05 -07:00
drtshock 607be6b8fb Merge t00ths branch. 2015-02-26 08:59:00 -06:00
drtshock d888b320db Add DTR (deaths til raidable) option for f show.
Will show 0 if they are raidable to prevent a negative number from showing.
2015-01-27 11:07:55 -06:00
drtshock 092d4b352c Add ability to display if Faction is raidable. Resolves #167. 2015-01-27 09:06:18 -06:00
drtshock a4a11e7045 Allow f show to be executed by non players. 2015-01-22 20:31:26 -06:00
korikisulda 7e6aa4fc25 Even more TL. Fixes command description issues. 2015-01-21 19:25:45 -06:00
t00thpick1 44dc04e3e1 There are lots of unfactioned players, but we shouldn't care about them. 2015-01-02 19:19:57 -05:00
drtshock 91f9d1d8db Remove tooltips for f show and f list.
Tooltips were causing a lot of issues on larger servers. Constructing them as well as the lookups required to display them caused significant lag.

Resolves #197, #164.
2015-01-02 13:38:35 -06:00
Tibo442 2209090783 Different message for own faction and for other factions when faction not found.
Still weird for faction-less players to do /f show <other faction-less player>
2014-12-30 10:07:35 -06:00
t00thpick1 3f949e18cc Lets not do hundreds of object clones when they are nearly never needed. 2014-12-30 00:31:36 -05:00
eueln c4c5bd9df9 Don't perform /f who for players without a faction 2014-12-29 22:02:18 -06:00
eueln 1ada19b02e Properly split FancyMessages for /f show 2014-12-14 17:24:25 -06:00
drtshock fa4154a0ce Allow f show to be sent to non-players.
Fanciful will remove the json formatting to send a readable message.
2014-12-10 22:36:46 -06:00
drtshock c9433d0cf3 Send f show messages all at once to remove delay. 2014-12-10 22:32:47 -06:00
korikisulda 1230803cfb Add TL for commands. Resolves #162. Supercedes #97. 2014-12-08 19:47:19 -06:00
eueln 5e676bdd50 Order `/f show` by rank. Adds #150 2014-12-06 21:44:00 -06:00
korikisulda 6107e9502e Truncate excessively long online/offline player messages in /f show/who. Resolves #154. 2014-12-06 21:23:19 -06:00
drtshock edfe465ad5 Add missing return statements. 2014-11-17 14:30:41 -06:00
Tibo 356842ab41 Fix clients getting kicked from too many allies/enemies. 2014-11-17 20:16:58 +01:00
Tibo b970755cb1 Fix spaces with ", "
Fixes #134
2014-11-17 19:32:34 +01:00
drtshock c4f4036e1d Add tooltips for f show.
Refactor tooltip methods to be shared across command classes.
2014-11-13 13:49:13 -06:00
t00thpick1 ee52016a87 Abstract Data storage method for future implementations. Thanks to Ryan from Reactive MC
Also included:
-Heavily optimized loading process
-Optimizations for various commands.
2014-10-30 23:59:59 -04:00
Byteflux 51f1ceee14 Show power next to member names in /f show 2014-10-30 23:26:20 -04:00
drtshock a170a0f4ad /f showinvites for ability to see pending invites for current faction. Adds feature in ticket #76 2014-10-14 13:30:05 -05:00
drtshock 0f88e8535d Limit length of f show messages. Fixes issue #44.
Clients could crash if the messages were too long so we'll limit it here. Thanks to @mccore for the method here.
2014-08-26 13:05:54 -05:00
drtshock 8a6a97cc90 Reformat 2014-07-01 15:10:18 -05:00
drtshock 5066934a95 More reformatting 2014-07-01 14:52:40 -05:00
drtshock dc54f78cc1 Some reformat 2014-07-01 14:49:42 -05:00
drtshock 814e439705 Reformat before I go crazy. 2014-04-04 13:55:21 -05:00
drtshock c3983d3b96 Mavenize 2014-04-04 13:53:42 -05:00