Commit Graph

188 Commits

Author SHA1 Message Date
Trent Hensler
c4a56de3b7 Compile against PlayerVaultsX 2018-03-01 18:54:14 -08:00
Trent Hensler
151d38fd7b Faction Bans
Adds /f ban, /f unban, and /f banlist
Permission: factions.ban - included with factions.kithalfplayer
Also added as a /f perm that can be granted. Otherwise, defaults to faction mods.
Number of bans now shows up in f show
Banning a player will notify your faction and target player. It'll also kick the player from your faction if they are currently in it.
TODO: make /f banlist prettier
2018-02-28 20:23:37 -08:00
Trent Hensler
d45b5ac612 Add placeholders to f show 2018-02-17 12:17:37 -06:00
Trent Hensler
3f1edf1096 Allow players to set titles with colors. Adds #1036.
factions.title.color permission which is included in factions.fullplayer permission subset.
2018-02-15 18:02:59 -08:00
Trent Hensler
f29efa116d Clickable f map
* New command /f claimat world x z
* Permission: factions.claimat
* Permission is not included in factions.halfplayer or anything for now. Will need to be granted manually.
* If players don't have factions.claimat, they won't see the clickable f map
2018-02-12 18:09:02 -08:00
Trent Hensler
ea7213cbd7 Fix sethome perm check 2018-02-12 10:59:45 -08:00
Trent Hensler
a034030ba5 Fix setting perms.
Annoyingly setting them to und by default now
2018-02-11 17:38:04 -08:00
Trent Hensler
d8125eb0d2 Max mapheight is 2x default 2018-02-10 17:03:31 -08:00
Trent Hensler
0f6bd8eabd Fix default mapheight 2018-02-10 16:27:49 -08:00
Trent Hensler
50930d7583 Bigger /f map
Add /f mapheight <height> command to allow players to set their mapheight.
Increase default map height and width to be in line with larger values servers want
2018-02-10 16:20:13 -08:00
Trent Hensler
47f0bf1ce5 Tooltips in f map 2018-02-10 15:59:21 -08:00
Trent Hensler
79410d91f1 Command to view your permissions 2018-02-05 20:46:53 -07:00
Trent Hensler
1b088ccd54 Set warp and f warp f perms 2018-02-03 13:04:21 -08:00
Trent Hensler
ad10222c2d Withdraw f perm 2018-02-03 13:01:25 -08:00
Trent Hensler
925014bd60 f perm for kick 2018-02-03 12:59:05 -08:00
Trent Hensler
baea59a1cd F perm for invite and sethome 2018-02-03 12:56:16 -08:00
Trent Hensler
3eda8750cc Format 2018-02-03 12:50:12 -08:00
Trent Hensler
182022fe5f Check for f perm in building 2018-02-03 12:49:04 -08:00
Trent Hensler
249770d2cd Add Permissable interface for f perm compatibility.
Allows Roles and Relations to be permissable, so we can set f perms for both of those in the same map.
2018-02-03 12:33:28 -08:00
Trent Hensler
9e8205b5e2 Work with PlayerVaultsX 2018-01-31 17:03:55 -08:00
Trent Hensler
79d4a885f8 Allow bulk setting of permissions 2018-01-04 23:16:24 -08:00
Trent Hensler
39f1bd7404 Fix permissions 2018-01-04 23:01:52 -08:00
Trent Hensler
4110fb2ef4 Fix up default role and promote commands 2018-01-04 18:10:49 -08:00
Trent Hensler
f019c4f833 Don't let them set default to admin 2018-01-04 17:38:29 -08:00
Trent Hensler
f6bd156f89 Add command to set default rank. Only used by admins.
/f defaultrole <role>
2018-01-04 17:37:23 -08:00
Trent Hensler
4db185e3ee Role updates.
* Adds recruit role below the normal role.
* Adds /f promote and demote. Access to this command defaults to moderator if not set in /f perm
* Default role is still set to recruite. Will have to /f demote to set players to that rank.
2018-01-04 17:17:30 -08:00
Trent Hensler
7a4ddc6855 Actually allow setting of truce 2018-01-04 01:47:36 -08:00
Trent Hensler
687bac31db Initial f perm.
TODO:
* Add GUI for viewing and changing permissions.
* Currently no way to view access for all perms.
* Test this because I didn't.
* Finish implementation of all permissions, add more.
2018-01-04 01:36:51 -08:00
Trent Hensler
ff8ae7be3b Check for sender in f money ff. Fixes #993 2018-01-03 23:32:19 -08:00
Trent Hensler
3b644cd6c3 Java 7 and make intellij happy 2017-12-19 02:18:13 -08:00
Trent Hensler
ce132ed033 Add password protected warps 2017-12-19 02:10:52 -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
Joel Puig Rubio
08c0995741 Allow unclaiming all safezones and warzones in a specific world 2017-09-04 23:17:12 +02:00
Kakifrucht
208434972f Also exempt from /f list 2016-12-17 02:06:44 +01:00
Kakifrucht
04dd47dfea Add faction exemption to /f show 2016-12-17 00:16:42 +01:00
novucs
d2e3e7c18c Fire unclaim event when unclaiming
Claim events fire even with bypass mode enabled, so the same functionality should apply for unclaiming.
2016-07-25 15:07:03 +01:00
Kakifrucht
eb503fdfa8 Fix formatting codes in description 2016-06-29 19:10:07 +02:00
Trent Hensler
9f89010af1 Add /f vault description. 2016-05-30 16:25:27 -07:00
Trent Hensler
0294a60675 Add Faction vaults.
These can be accessed with /f vault <number>
Set a Faction's max vaults with /f setmaxvaults <faction> <number> - can be run from console so Buycraft can execute it.
* This is a not very tested implementation. Should be tested more in depth before being pushed to a release.
2016-05-30 16:22:45 -07:00
Troy Frew
46805200dd Fixed /f unclaim and /f unclaim 1 2016-05-30 13:00:53 -04:00
Trent Hensler
14946cd1b2 Add /f unclaim <radius> per #684. 2016-05-29 17:20:50 -07:00
Gabriele C
bd416059bc Cleanup 2016-05-03 23:05:18 +02:00
gsand
a85728cd21 Additional aliases for common commands 2016-01-01 19:05:02 -08:00
ItsMonkeyyy
8b6cf4fe8c Added a feature to enable or disable broadcasting tag changes 2015-12-10 19:05:42 -08:00
drtshock
1cf2158021 Add option to reset powerboost from #572.
Functionality is now /f powerboost p <name> 0 or reset to set the powerboost to 0 for that player or faction.
2015-12-02 16:26:06 -08:00
cnr
f5432cd227 Add missing forward-slash prefix to clickable commands. Fixes #401 2015-09-11 23:04:53 -05:00
drtshock
c5571ba8ee Add command to forcefully send player to f home from #478.
Functionality: /f ahome <target> - sends a player to their f home as long as they have an f home and are online.
Permission node is  and given to factions.admin and factions.*
2015-09-08 12:18:00 -05:00
drtshock
4414b1589f Remove deprecated isNone usages in favor of isWilderness 2015-09-08 11:46:48 -05:00
vemacs
1fa2abcc88 Resolve NPE on /f warp with cooldown 2015-09-07 08:00:58 -06:00
drtshock
05cbf4cf5d Powerboost now adds to the current powerboost instead of sets it. Adds #501
This will break existing functionality but that existing functionality is stupid.
2015-08-08 21:53:31 -05:00