Commit Graph

1829 Commits

Author SHA1 Message Date
Trent Hensler
a4581ac9a0 Allow all faction members to fly if f perm is undefined 2018-03-18 19:37:19 -07:00
Trent Hensler
026b33b427 Don't even load /f fly if its set to false in config. 2018-03-18 14:37:55 -07:00
Trent Hensler
587182478b Add option to delete essentials homes when players are kicked from Factions. Adds #1089.
This option is set to true by default in the config.yml for new users, users that are updating need to add delete-ess-homes: true to their config.yml to get this new option enabled.
2018-03-18 14:11:42 -07:00
Trent Hensler
1e2a6b34b4 Send titles when entering faction territory.
Allows users to pick which, if any, or all, ways of sending faction enter messages from: scoreboard, chat, and titles.
Adds new config.yml options and lang messages.
2018-03-16 10:08:19 -07:00
Trent Hensler
8950be61d1 Option to not always show chat tag.
Fixes the issue of not being able to have groups without a faction tag in their name.
2018-03-13 23:41:15 -07:00
Trent Hensler
d7646516ec Check for perms after checking if it's a server faction 2018-03-12 21:06:53 -07:00
Trent Hensler
3e83916682 Failsafe for door check 2018-03-11 19:52:25 -07:00
Trent Hensler
1ede2b35d6 Color the perm set command 2018-03-11 19:43:30 -07: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
Dariasc
f85d2a0a17 Fix GSON Map Serialization (#1081)
* Add backwards compatibility for permissions that were placed in dev builds.
2018-03-11 18:29:02 -07:00
Trent Hensler
b78ff51e10 Allow console to run /f list 2018-03-11 17:59:11 -07:00
Trent Hensler
4531da8190 Move f perm checks up 2018-03-10 16:26:18 -08:00
Trent Hensler
2291554e1e Faction create event is no longer cancellable, and is called AFTER the faction is made. This allows people to hook into the event and manipulating the Faction without having a delay. And if the event was ever cancelled before, it was silent. 2018-03-09 22:08:17 -08:00
Dariasc
819cb542cd Major f perm fix; Fix sethome permission check (#1079) 2018-03-09 10:22:15 -08:00
Dariasc
693c831327 Add Admin and Permission check to /f perm (#1062)
* Remove perms Action

* Add Permission check to /f perm

* Refactor flight perm

* Add fly perm to GUI

* Remove useless perm check
2018-03-06 11:46:55 -08:00
_ProSavage_
fe464ba750 Added /f chat mod 2018-03-04 19:21:53 -08:00
Trent Hensler
f65fe27c53 Shallow copy of the map.
This is why it was setting one perm for all roles and relations.
2018-03-04 18:53:45 -08:00
Trent Hensler
97784872d2 Try harder to set flags 2018-03-04 18:48:14 -08:00
Trent Hensler
ff37d0c241 More colors 2018-03-04 18:25:26 -08:00
Trent Hensler
dd010333a7 Hide flags in warp gui too 2018-03-04 18:24:09 -08:00
Trent Hensler
dc59609b36 Don't show attributes on GUI items 2018-03-04 17:57:12 -08:00
Dariasc
77f7704ab4 Implement blank wilderness placeholder (#1070) 2018-03-04 17:48:13 -08:00
Trent Hensler
e95ecbd2a9 Respect canSee in online fplayer count 2018-03-04 17:45:01 -08:00
Trent Hensler
07eb3756e4 Don't take fall damage after flying 2018-03-04 17:27:48 -08:00
Trent Hensler
055adf2e9e Don't enable our own f top command if other plugin that handles it is enabled. Resolves #1066 2018-03-04 16:46:17 -08:00
Trent Hensler
47eb14c845 Give factions.fly to kithalfplayer 2018-03-04 14:16:59 -08:00
Trent Hensler
f1905d04a3 factions.fly as the perm node 2018-03-04 14:16:17 -08:00
Dariasc
a90299d32e Implement /f fly (#1023) 2018-03-04 14:13:32 -08:00
Trent Hensler
aacee63255 Delete warp password when warp is deleted 2018-03-04 13:03:21 -08:00
Trent Hensler
fe51837845 Respect hidden players in f show. Resolves #1049 2018-03-04 12:53:52 -08:00
Dariasc
d6b147ef7b Add /f warp GUI (#1069)
* Add /f warp GUI

* Fix typo
2018-03-04 12:53:20 -08:00
Dariasc
a8ce60b457 Add rank check to /f ban (#1068)
* Add rank check to /f ban

* Fix incorrect f perm check at SetHome
2018-03-03 19:12:14 -08:00
Dariasc
fa007e5674 Add Role prefix placeholder (#1067) 2018-03-03 18:48:02 -08:00
Dariasc
6f55243a80 Fix NullPointer at GUI onClick() (#1064) 2018-03-03 18:39:44 -08:00
Trent Hensler
a42d4d1d50 Handle null config section to be more friendly with people upgrading 2018-03-02 19:07:34 -08:00
Trent Hensler
81a33de33a Format and check for null section 2018-03-02 13:57:36 -08:00
Dariasc
d490bb8366 F Perm GUI (#1045) 2018-03-02 13:53:01 -08:00
Trent Hensler
86f69ca304 Define PVX version because maven sucks 2018-03-02 11:40:30 -08:00
Trent Hensler
2f20ef810f Update default faction balance tag in f show. Fixes #1055 2018-03-02 10:58:02 -08:00
Trent Hensler
6af634d4e3 Check for null 2018-03-02 10:55:52 -08:00
Trent Hensler
acc41bf07a Call method, not local, for role. Fixes #1059 2018-03-02 10:54:42 -08:00
Trent Hensler
634917d4c4 Format 2018-03-01 23:32:17 -08:00
Corey Shupe
6eb7e7a558 Fixed top level permission addition.
Bug where only the last known addition to the permission map would actually be added, moved map declaration outside of nested for loop and put the permissible setting outside as well to stop ridiculous amounts of calls to it.
2018-03-01 23:29:13 -08:00
Trent Hensler
f8774bab23 Check for less than 1 2018-03-01 23:12:42 -08:00
Trent Hensler
10f2e4a977 Check for no mapheight for w/e reason 2018-03-01 22:56:42 -08:00
Trent Hensler
6cb02126f4 Check for null role.
Resolves: #1047 #1048 #1041
2018-03-01 22:15:44 -08:00
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
cca207c1a5
Merge pull request #1057 from LaxWasHere/patch-1
Use deprecated API for backwards compability
2018-02-27 19:51:33 -08:00
Lax
34fc475819
Use deprecated API for backwards compability
Fixes #1051
Fixes #1044

Web editor ain't that bad btw.
2018-02-24 18:03:19 -08:00