Skip to content

Repository files navigation

SourceBans

Plugin for SevenMod that integrates with SourceBans. This plugin is in early development and is not ready for use in a live environment. Use at your own risk.

Configuration

File: SourceBans.xml

PropertyDefaultDescription
SBAddbanTrueAllow or disallow admins access to addban command
SBBackupConfigsTrueEnable backing up config files after getting admins from database (not implemented)
SBDatabasePrefix"sb"The Table prefix you set while installing the webpanel
SBEnableAdminsTrueEnable admin part of the plugin
SBProcessQueueTime5How often should we process the failed ban queue in minutes
SBRequireSiteLoginFalseRequire the admin to login once into website
SBRetryTime45.0How many seconds to wait before retrying when a players ban fails to be checked
SBServerId0This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
SBUnbanTrueAllow or disallow admins access to unban command
SBWebsite""Website address to tell the player where to go for unban, etc

Admin Commands

CommandArguments (<required> [optional])AccessDescription
sm addban<minutes|0> <playerId> [reason]RCONAdds a player to the SourceBans ban list
sm ban<target> <minutes|0> [reason]BanBans a player from the server
sm banip<ip|target> <minutes|0> [reason]BanBans a player from the server by their IP address
sm rehashRCONReloads SourceBans admins
sm unban<playerId|ip> [reason]UnbanUnbans a player from the server

License

The source code for SevenMod is available under the terms of the MIT License. See the LICENSE.txt in the project root for details.

About

Plugin for SevenMod that integrates with SourceBans

Topics

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages