Disable Block Break Guard on a Stratum Server
In this article
This guide shows server administrators how to turn off the block break guard on a Vintage Story server running the Stratum mod. The block break guard is a protection feature that prevents players from breaking blocks in areas they do not own. Disabling it allows players to break blocks anywhere on the server, which is useful for creative servers, anarchy-style gameplay, or when you want to test builds without land claim restrictions. You will need access to the server's configuration files, either through the hosting panel or directly on the server machine.
What You'll Need
- Access to the server's file system (via FTP, SSH, or a hosting control panel).
- A text editor (like Notepad++ or VS Code) to modify configuration files.
- Permission to restart the server (usually via the control panel or command line).
- Basic familiarity with JSON or TOML syntax, depending on your server version.
Step-by-Step
- Locate the Stratum configuration file. The file is typically named
stratum.jsonorstratum.tomland is stored in the server'sMods/Configfolder. If you are using a hosting provider, use their file manager to navigate to this directory. - Open the configuration file with your text editor. Look for a section related to protection or land claiming. In most versions, this is a top-level key named
protectionorlandClaim. - Find the block break guard setting. Within the protection section, look for a key named
blockBreakGuardorbreakGuard. It is usually a boolean (trueorfalse). If you cannot find it, search the file for "break" or "guard" to locate the relevant line. - Change the value to
false. Set the key tofalseto disable the guard. For example, in JSON it would look like:"blockBreakGuard": false. In TOML:blockBreakGuard = false. - Save the file. Ensure you save the changes before closing the editor. Double-check that the file format is still valid (correct brackets, commas, etc.).
- Restart the server. The change will not take effect until the server is restarted. Use your hosting panel's restart button or run the appropriate command (e.g.,
stopand thenstartin the console). - Verify the change. After the server comes back up, log in as a player and try to break a block in an area you do not own. If the guard is disabled, the block should break normally.
Common Mistakes
- Editing the wrong file: Some servers have multiple config files (e.g., for different mods). Make sure you are editing the Stratum config, not the base game's or another mod's.
- Using the wrong syntax: JSON requires double quotes around keys and string values; TOML uses
key = value. Mixing them up can cause the file to fail to load. - Forgetting to restart: The server caches configuration on startup. If you do not restart, the old settings remain active.
- Not backing up: Before making changes, copy the original config file. If something goes wrong, you can restore it quickly.
- Overlooking other guards: Disabling the block break guard does not affect other protections like block placement or interaction. If you want to disable all, you may need to adjust multiple settings.
Tips
- Make a backup of the configuration file before editing. This allows you to revert if needed.
- If you are running a public server, consider the implications: disabling the guard removes protection for all players, which could lead to griefing. Communicate the change to your player base.
- Test the change on a private or test server first to ensure it works as expected.
- Keep the configuration file tidy. Use comments (if supported) to note what each setting does, especially for future reference.
- If you are using a hosting panel, check if it offers a built-in config editor. This can reduce syntax errors.
Troubleshooting
- Server fails to start after the change: This usually indicates a syntax error in the config file. Open the file and check for missing commas, brackets, or quotes. If you have a backup, restore it and try again.
- The guard still works after restart: Ensure you edited the correct file. Some servers may have a separate config for world-specific settings. Also, verify that the server actually restarted (check uptime).
- Players cannot break blocks even with the guard off: The issue may be caused by other mods or server permissions. Check if a permissions mod (like VSHUD or RolePlay) is blocking block breaking. Also, ensure the player has the correct game mode (survival vs. creative).
- Config file resets on restart: Some hosting providers overwrite config files on restart. Check if there is a "server config" template or if you need to edit the file after the server is fully stopped.
- Cannot find the setting: If the key is not present, your version of Stratum may have a different name. Look for a section called
protectionand search for any key that mentions "break" or "guard". If still missing, consult the mod's documentation or forum.
Frequently Asked Questions
Does disabling the block break guard affect all players?
Yes, it disables the guard globally, meaning any player can break blocks anywhere, regardless of land claims.
Will this also disable block placement protection?
No, the block break guard only affects breaking. Block placement and interaction protections are separate settings.
Can I re-enable the guard without editing files again?
You will need to edit the config file again and restart the server. There is no in-game command to toggle it in most versions.
Is this setting available in the server console?
No, it is only available in the configuration file. The console does not have a command to change it.
What if I'm using a modpack that includes Stratum?
The config file location may be in the modpack's folder. Look for config/stratum.json or similar. The steps remain the same.
Does this affect single-player worlds?
No, this guide is for dedicated servers. Single-player worlds have separate settings in the world's mod config.