Commit Graph

1317 Commits

Author SHA1 Message Date
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
Trent Hensler
56214ad661 Note where we support placeholders 2018-02-17 12:29:30 -06:00
Trent Hensler
ca0991504b Set placeholders in main scoreboard too 2018-02-17 12:21:15 -06: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
ab7f474323 Make mapheight and width configurable 2018-02-13 10:55:03 -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
2262737a3f Throw less shade 2018-02-12 16:45:41 -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
9f8c2e3905 Revert "Don't set perms to undefined by default"
This reverts commit e91fc8f15a.
2018-02-11 17:22:25 -08:00
Trent Hensler
f51de51734 Merge branch '1.6.x' of https://github.com/drtshock/Factions into 1.6.x 2018-02-11 17:14:44 -08:00
Trent Hensler
2dbf466682
Merge pull request #1026 from GrizzsChannel/patch-3
Added FUUID Wiki instead of MassiveCraft's
2018-02-10 20:27:42 -08:00