Bans

The Bans module gives you full control over how you handle rule-breakers on your server. From simple warnings to permanent IP bans, you can customize every aspect of your punishment system to keep your community safe.


Commands

The table below shows default command settings. Please see the Commands Guide on how to toggle and customize SunLight's commands.

Standalone Commands [?]

Command Arguments Description Permission Default State
/kick player reason -s Kick a player. sunlight.bans.command.kick ON
/ban player reason -s Permanently ban a player. sunlight.bans.command.ban ON
/banip address reason -s Permanently ban an IP address. sunlight.bans.command.banip ON
/mute player reason -s Permanently mute a player. sunlight.bans.command.mute ON
/warn player reason -s Permanently warn a player. sunlight.bans.command.warn ON
/tempban player time unit reason -s Temporary ban a player. sunlight.bans.command.tempban ON
/tempmute player time unit reason -s Temporary mute a player. sunlight.bans.command.tempmute ON
/tempwarn player time unit reason -s Temporary warn a player. sunlight.bans.command.tempwarn ON

Standalone Commands [?]

Command Arguments Description Permission Default State
/unban player -s Unban a player. sunlight.bans.command.unban ON
/unbanip address -s Unban an IP address. sunlight.bans.command.unbanip ON
/unmute player -s Unmute a player. sunlight.bans.command.unmute ON
/unwarn player -s Unwarn a player. sunlight.bans.command.unwarn ON

Standalone Commands [?]

Command Arguments Description Permission Default State
/banhistory player -s View ban history of a player. sunlight.bans.command.banhistory ON
/mutehistory player -s View mute history of a player. sunlight.bans.command.mutehistory ON
/warnhistory player -s View warn history of a player. sunlight.bans.command.warnhistory ON

Standalone Commands [?]

Command Arguments Description Permission Default State
/banlist - View all bans. sunlight.bans.command.banlist ON
/mutelist - View all mutes. sunlight.bans.command.mutelist ON
/warnlist - View all warns. sunlight.bans.command.warnlist ON

Standalone Commands [?]

Command Arguments Description Permission Default State
/alts player Show player's alt accounts. sunlight.bans.command.alts ON

Permissions

Here's a list of all module permissions. Top-level wildcard * permissions grants access to all child permissions.

  • sunlight.bans.* - Full access.
    • sunlight.bans.alts.notify - Allows player to receive notifications of detected alt accounts.
    • sunlight.bans.punishment.delete - Allows to remove any punishments from database in the GUI.
    • sunlight.bans.punishment.toggle - Allows to toggle active punishments on/off in the GUI.
    • sunlight.bans.command.* - Full command access.
      • sunlight.bans.command.alts - Grants access to alts command.
      • sunlight.bans.command.kick - Grants access to kick command.
      • sunlight.bans.command.ban - Grants access to ban command.
      • sunlight.bans.command.banip - Grants access to banip command.
      • sunlight.bans.command.banhistory - Grants access to banhistory command.
      • sunlight.bans.command.banlist - Grants access to banlist command.
      • sunlight.bans.command.mute - Grants access to mute command.
      • sunlight.bans.command.mutehistory - Grants access to mutehistory command.
      • sunlight.bans.command.mutelist - Grants access to mutelist command.
      • sunlight.bans.command.warn - Grants access to warn command.
      • sunlight.bans.command.warnhistory - Grants access to warnhistory command.
      • sunlight.bans.command.warnlist - Grants access to warnlist command.
      • sunlight.bans.command.unban - Grants access to unban command.
      • sunlight.bans.command.unbanip - Grants access to unbanip command.
      • sunlight.bans.command.unmute - Grants access to unmute command.
      • sunlight.bans.command.unwarn - Grants access to unwarn command.
    • sunlight.bans.bypass.* - Bypass all restrictions.
      • sunlight.bans.bypass.duration.limit - Bypass all punishment time limits.
      • sunlight.bans.bypass.alts.detection - Bypass the Alt Detection system.