Barricade To Wall

Barricade To Wall 1.1.0

Sign in to download
Turns barricades into high external walls automatically
This plugin replaces barricades with high external walls when placed.









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 option Enable By Default to decide what happens when they place a barricade.

Localization

JSON:
{
  "NoPermission": "You do not have permission to use this command.",
  "BarricadeEnabled": "You have turned Barricade-to-Wall ON! Any barricades you place will turn into walls.",
  "BarricadeDisabled": "You have turned Barricade-to-Wall OFF! Barricades you place will remain normal."
}
Author
VisEntities
Downloads
15
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

Latest updates

  1. 1.1.0

    Players can now use /barricade to decide if their placed barricades automatically turn into...
  2. 1.0.1

    Fixed ownership not applying properly when barricades are turned into walls.
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Make sure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart