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
This commit is contained in:
@@ -244,6 +244,7 @@ show:
|
||||
- '<a>This faction is permanent, remaining even with no members.' # only shows if faction is permanent
|
||||
- '<a>Land value: <i>{land-value} {land-refund}'
|
||||
- '<a>Balance: <i>{balance}'
|
||||
- '<a>Bans: <i>{faction-bancount}'
|
||||
- '<a>Allies(<i>{allies}<a>/<i>{max-allies}<a>): {allies-list} '
|
||||
- '<a>Online: (<i>{online}<a>/<i>{members}<a>): {online-list}'
|
||||
- '<a>Offline: (<i>{offline}<a>/<i>{members}<a>): {offline-list}'
|
||||
@@ -372,6 +373,7 @@ help:
|
||||
# - {world}, {x}, {y}, {z} : Faction home variables. You don't need to use them all.
|
||||
# - {faction-kills} : # of kills the faction has
|
||||
# - {faction-deaths}: # of deaths the faction has
|
||||
# - {faction-bancount} : # of bans the faction has
|
||||
# General variables. Can be used anywhere.
|
||||
# - {total-online} : Total # of players on the server
|
||||
# - {max-warps} : Max # of warps a faction can set
|
||||
|
||||
@@ -101,6 +101,7 @@ permissions:
|
||||
factions.togglealliancechat: true
|
||||
factions.vault: true
|
||||
factions.mapheight: true
|
||||
factions.ban: true
|
||||
factions.admin:
|
||||
description: hand over your admin rights
|
||||
factions.admin.any:
|
||||
@@ -280,3 +281,5 @@ permissions:
|
||||
description: Set a faction's max vaults.
|
||||
factions.mapheight:
|
||||
description: Set your /f map height.
|
||||
factions.ban:
|
||||
description: Ban players from Factions
|
||||
Reference in New Issue
Block a user