This Rust plugin automatically replaces barricades with high external walls when placed. Useful on servers where players need quick cover without deploy delays, such as combat training servers.
Permissions
barricadetowall.use- Allows a player to place barricades that automatically turn into walls.
Commands
/barricade- Lets players choose whether the barricades they place get automatically turned into high external walls or stay as normal barricades.
Configuration
JSON:
{
"Version": "1.1.0",
"Enable By Default": false,
"Chat Command": "barricade",
"Barricade Replacements": {
"assets/prefabs/deployable/barricades/barricade.cover.wood_double.prefab": "assets/prefabs/building/wall.external.high.wood/wall.external.high.wood.prefab",
"assets/prefabs/deployable/barricades/barricade.stone.prefab": "assets/prefabs/building/wall.external.high.stone/wall.external.high.stone.prefab"
}
}
Barricade Replacements- A list of barricade prefabs and their corresponding high wall replacements.Enable By Default- If true, players' barricades will automatically turn into walls unless they turn it off with/barricade; if false, players place normal barricades unless they enable it manually.Chat Command- The command players use to toggle whether their barricades get replaced with walls or stay as barricades.
Stored Data
JSON:
{
"Barricade Enabled": {
"76561198000000001": true,
"76561198000000002": false
}
}
Barricade Enabled- A list of Steam Ids and whether each player has barricades being turned into walls (true) or not (false). If a player isn't listed here, the plugin uses the config optionEnable By Defaultto decide what happens when they place a barricade.
Localization
JSON:
{
{
"Error.NoPermission": "You do not have permission to use this command.",
"Toggle.Enabled": "You have turned Barricade-to-Wall ON! Any barricades you place will turn into walls.",
"Toggle.Disabled": "You have turned Barricade-to-Wall OFF! Barricades you place will remain normal."
}
}