Configuration
Configuration of the SI: Essentials Remover submodule
Cnfg Location
The main configuration of the Remover submodule is located in /mcRoot/config/si/es/remover.cnfg.
Cnfg Updating
While most of the settings are applied as soon as you save the cnfg file, you need to restart the server / reload your world for some changes to fully apply (e.g. Recipes).
Raw remover.cnfg
# remover.cnfg
# Generated by the SI: Essentials Configuration System
# Cnfg Type: COMMON
# _____ _____ _____
# / ____|_ _|_ | __ \
# | (___ | | (_) | |__) |___ _ __ ___ _____ _____ _ __
# \___ \ | | | _ // _ \ '_ ` _ \ / _ \ \ / / _ \ '__|
# ____) |_| |_ _ | | \ \ __/ | | | | | (_) \ V / __/ |
# |_____/|_____(_) |_| \_\___|_| |_| |_|\___/ \_/ \___|_|
#
# ------------------------------------------------------------
# SI: Remover is a submodule of SI: Essentials.
# It allows you to remove specific items from the game
# entirely or restrict specific actions such as attacks,
# interactions and recipes.
# Please keep in mind that a server restart / world reload is
# required for some changes in the config to work correctly.
# ------------------------------------------------------------
# Do not touch this!
cnfg_ver = 1
# Items here will be completely removed from the game.
#
# Regular expressions are supported using the ! prefix:
# - Exact match: minecraft:diamond_sword
# - Regex: !minecraft:.*_sword (removes all swords)
# - Regex: !.*:diamond.* (removes anything with 'diamond')
#
# Comments can be added using // prefix for easier management:
# - "// This is a comment"
blacklisted_items = [
"examplemod:example_item"
]
# Items with matching component data will be removed.
#
# Example: "minecraft:strong_strength" (removes all potions that provide Strength 2)
#
# Use debug_print_components to see component data.
# Regular expressions and comments (// prefix) are supported.
blacklisted_component_data = []
# If true, components of your held item will be logged every second.
# Useful for finding component data to blacklist.
#
# Only enable when needed - this is for debugging only!
debug_print_components = false
# Items here cannot be used (right-click disabled).
#
# Regular expressions and comments (// prefix) are supported.
only_disable_interactions = []
# Items here cannot attack entities.
#
# Regular expressions and comments (// prefix) are supported.
only_disable_attacks = []
# Recipes that output these items will be disabled.
#
# Regular expressions and comments (// prefix) are supported.
only_disable_recipes = []Cnfg Version
cnfg_ver won't be documented.
Configuration
blacklisted_items
Items that are specified here will be completely removed from the game.
This includes: Creative inventory, recipes, inventories & chest loot.
Regex
Regular expressions are supported. You may also add comments with the // prefix as a separate string to organize your values.
You can generate and test regular expressions here.
- Type:
List<String> - Default Value:
["examplemod:example_item"]
blacklisted_component_data
Items with matching component data will be completely removed from the game.
This includes: Creative inventory, recipes, inventories & chest loot.
Regex
Regular expressions are supported. You may also add comments with the // prefix as a separate string to organize your values.
You can generate and test regular expressions here.
Getting component data
To get the component data of items, refer to debug_print_components.
- Type:
List<String> - Default Value:
[""]
debug_print_components
If set to true, component data of the item that you are currently holding will be printed in the logs.
Use case
Only use this for figuring out the component data of items for blacklisted_component_data!
- Type:
Boolean - Default Value:
false
only_disable_interactions
Interactions of items that are specified here will be disabled. (right-clicking)
Regex
Regular expressions are supported. You may also add comments with the // prefix as a separate string to organize your values.
You can generate and test regular expressions here.
- Type:
List<String> - Default Value:
[""]
only_disable_attacks
Attacking with items that are specified here will be disabled. (Attacking entities)
Regex
Regular expressions are supported. You may also add comments with the // prefix as a separate string to organize your values.
You can generate and test regular expressions here.
- Type:
List<String> - Default Value:
[""]
only_disable_recipes
Recipes of items that are specified here will be disabled.
Restart required
You need to restart your server / reload your world when changing this value!
Regex
Regular expressions are supported. You may also add comments with the // prefix as a separate string to organize your values.
You can generate and test regular expressions here.
- Type:
List<String> - Default Value:
[""]