# FAQ

This page covers common questions, troubleshooting steps, and configuration tweaks for issues often encountered by users.


# 1. The Anti-Xray/Vision Module doesn't hide ores in mountains (high Y-levels). How do I fix this?

The anti-Xray feature works by hiding blocks within a defined vertical range, called "sections". If ores are visible in high mountains, you need to increase the maximum number of sections the Vision module hides.

# Solution: Increase the Hide Section Limit

  1. Locate the Nemesis Vision module configuration file (typically in /plugins/Nemesis/modules/vision/config.yml).
  2. Find the setting hide-max-sections (or similar).
  3. Default Value: The default is often set to 10.
  4. Calculation: Each section is 16 blocks tall (16x16x16). The default 10 sections covers 16 \times 10 = 160 blocks of height, typically from Y=-64 to Y=96.
  5. Fix: To cover higher mountains, increase this value (e.g., to 16 or higher) to extend the hidden area up to Y=156 or more.

# 2. How does Nemesis prevent unauthorized players from getting OP/Admin access?

Nemesis uses the Suspicious Module to continuously check the list of active server operators against a hardcoded whitelist in the configuration. This ensures that if a malicious player gains OP, they are immediately detected and punished.

# Configuration: Operator Checking

This configuration is typically found in a security-focused YAML file (or within the general module settings) and enforces the checks:

whitelist-operators:
  enabled: true
  # Immediately remove OP status from unauthorized players
  force-de-op: true
  commands:
  # Ban command executed if an unauthorized OP is detected
  - ban %player% Having OP without being whitelisted in config!
  whitelist:
  # List of legitimate operators who are allowed to be OP
  - Steve
checking-operators:
  enabled: true
  force-de-op: true
  # How often the check runs (20 ticks = 1 second)
  schedule: 20
  commands:
  # Ban command for players getting OP through unconventional means
  - ban %player% You have not obtained OP from console.
webhook: ''

whitelist-operators: The primary security feature. Only players listed under whitelist are permitted to have OP status.

checking-operators: Runs a check every schedule time interval to ensure no one is OP illegally.

force-de-op: true: Automatically removes OP status if a player is not on the whitelist.