

Server side only mod
This mod allows for specified lengths of bans for the following systems:
All of these options are by lengths of time either in minutes, hours, or days. As well supplying a 0 for any length will result in perma ban.
If you want to sync your bans across multiple servers
If you want to keep a record of bans
## If this is set to true, the player will never be notified when chat or voice banned.
# Setting type: Boolean
# Default value: false
ShadowBan = false
If you have ShadowBan set to true it will not display any messages to the players banned or notify them when their ban ends.
## The path from root to the banlist.txt file
# Setting type: String
# Default value: save-data/Settings/banlist.txt
BanFilePath = save-data/Settings/banlist.txt
The default setting here for where your banlist.txt file is located should be correct. But if not, please do adjust it. It may be located at VRisingServer_Data/StreamingAssets/Settings/
This config options will only appear if you have CrimsonSQL installed.
## If this is set to true, the plugin will use CrimsonSQL to store bans.
# Setting type: Boolean
# Default value: false
UseSQL = true
If you want your bans synced across multiple servers via SQL set this to true.
## The interval in minutes to sync the database.
# Setting type: Int32
# Default value: 60
SyncInterval = 60
How often in minutes do you want the server to sync with the SQL database. This will retrieve bans that other servers have issued.
CrimsonBanned supports customizing how your command outputs appear such as when using '.banned list (type)' or '.banned check (player)`.
[
{
"Key": "CheckHeader",
"Value": "\n{player}\u0027s ({id}) Bans:"
},
{
"Key": "CheckBanLine",
"Value": "\n{type} Ban\nIssued: {issued}\nRemaining: {remaining}\nReason: {reason}"
},
{
"Key": "ListBan",
"Value": "\n{player} ({id}) - {remaining}"
}
]
CheckHeader is the base player information that will be displayed when you call for a check on a player.
CheckBanLine is generated for each active ban that player has.
ListBan is generated for each ban of that type.
Valid Parameters:
As well you can use any valid Rich Text such as
<color=#FF0000>{player}</color>
CrimsonBanned has a lot of Commands, please refer to the Wiki for each command group.
Each of the following ModTalk methods take a ulong SteamId and return a bool. Other mods can query using the following
CrimsonBanned.IsChatBanned CrimsonBanned.IsServerBanned CrimsonBanned.IsVoiceBanned
bool isServerBanned = false;
bool handled = ModTalk.Invoke("CrimsonBanned.IsServerBanned", [userData.PlatformId], result =>
{
isServerBanned = (bool)result;
});
Join my Modding Discord for help with issues or anything modding related!
Want to support my V Rising Mod development?
Buy / Play My Games!
Donations Accepted
This mod was a paid creation. If you are looking to hire someone to make a mod for any Unity game reach out to me on Discord! (skytech6)
Join The Cursed Collective V Rising servers to play their exclusive CrimsonMods such as Raid Guard, Shard Wars, and more!