Require a verification password for some members only

Most members should verify in one click. A firewall rule lets you ask for a code only where it adds protection: certain regions, networks or domains.

Short answer

Create a RestoreCord firewall rule with a condition such as continent, IP range, ASN or email domain, set its decision to require password and select the code. Visitors who match must enter it; everyone else verifies normally.

Enforcing a password for everyone is the strongest setting, but it adds a step for every honest member. The firewall offers a middle ground. You describe the visitors who make you nervous, and only they meet the password prompt. Real people in that group can still get in by asking your staff for the code, which is friendlier than a hard block.

How a rule is built

Each rule has a name, one condition and one decision. The condition combines a field, an operator and a value.

FieldExample value
Country or continentVisitors outside the regions you serve
IP address or IP rangeA single address, or a whole range
ASNA hosting or datacenter network number
Email domainYour school or company domain
UsernameAn exact name or a pattern
Discord role or user IDA specific role or person
Server membershipPeople who are in another server, by its ID

The decision can be block, allow through the firewall, require password or bypass all checks. Choose require password and the builder asks which of your saved codes to use.

Patterns that work well

Regional gate

Condition: continent is not your home region. Decision: require password. Members from your core audience verify instantly, and the occasional visitor from elsewhere gets a prompt instead of a ban. Raiders who rent servers abroad hit a wall.

School or company server

Pair two rules. Allow verifications where the email domain matches your organisation, and require a password for everyone else. Guests and alumni ask for the code; staff and students walk straight in.

Partner communities

Allow people whose server membership matches a partner guild, and require a code from the rest. Your partners' members are trusted by default, newcomers need an invitation.

Hosting networks

Many automated accounts come from datacenter ASNs. Instead of blocking them outright, ask them for a code. A real person behind a work VPN can still get in.

Roles on the way through

A rule can also give roles. Combine require password with a give role action and everyone who passes the prompt lands with the right role. Block rules are the exception: they can't include role actions, which keeps the logic unambiguous.

Name rules after the situation they handle, for example "Outside Europe needs code". Six months from now you will want to know why a rule exists.

Mistakes to avoid

  • Pointing a rule at a password you later disable. Check the rule still references an active code.
  • Writing one huge rule that tries to cover everything. Several small, well-named rules are easier to reason about.
  • Using require password where you really want a block. If nobody in that group should get in, block them.
  • Forgetting to tell the matched group where to get the code. A prompt with no way to get the code feels like a ban.

Check your rules

  1. Verify with an account that should not match the rule and confirm there is no prompt.
  2. Verify from a connection that does match and confirm the password prompt appears.
  3. Read the activity log to see which rule and which password were applied.

New to codes? Start with creating your first password, then return here. More on all RestoreCord passwords is on the home page.

Before a password rule goes live

Run through these once per rule. They catch the mistakes that turn a gentle prompt into a locked door.

The code it points at is active

A require password rule needs a saved password that is switched on. Check the Passwords tab after every rotation.

The condition is narrow

One field, one operator, one value. Split broad ideas into several rules with clear names.

The matched group knows where to ask

Post where a code can be requested, so a prompted visitor doesn't read it as a ban.

Roles are attached where useful

Add give role effects so people who pass the prompt arrive with the right access.

A non-matching account was tested

Verify from a connection outside the rule and confirm no prompt appears.

The log shows the right rule

After a test, the activity log should name the rule and the password that applied.

Conditional password questions

A code only where you need one

Write your first require-password rule in the RestoreCord firewall and keep verification instant for everyone else.