PaperMC / PaperMC/Velocity

When `forced-hosts` section in config is gone, errors appear

Open
#1,375 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
Java
Stars
2.3k
Forks
960
Avg merge
5d 10h
Merged PRs (30d)
2

Description

Expected Behavior

The server should start.

Actual Behavior

The server crashes with this error:

[10:30:15 ERROR]: Server 'factions' for forced host 'factions.example.com' does not exist
[10:30:15 ERROR]: Server 'minigames' for forced host 'minigames.example.com' does not exist
[10:30:15 ERROR]: Your configuration is invalid. Velocity will not start up until the errors are resolved.
Steps to Reproduce

Just remove that section.
If it matters, my servers section was:

[servers]
	lobby = "1.2.3.4:25576"
	try = ["lobby"]
Plugin List

None

Velocity Version

3.3.0

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on Velocity 3.3.0 with the forced-hosts section removed and the shown servers configuration. Trace the configuration handling for forced hosts and determine why the removed section still produces references to factions and minigames. Done means the server starts without those errors when forced-hosts is absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.