Issues with the /server command
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 960
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
Expected Behavior
None
Actual Behavior
When I use a Chinese name and enter the /server command on the server for cross-server use, it prompts: Expected whitespace to end one argument, but found trailing data at position 7: server <--[HERE]
[servers]
"登录大厅" = "127.0.0.1:52020"
"原版生存" = "127.0.0.1:52011"
"空岛生存" = "127.0.0.1:52022"
"荣耀纪元" = "127.0.0.1:52033"
try = [
"登录大厅"
]
[forced-hosts]
"lobby.sakura18.cn" = [
"登录大厅"
]
"factions.sakura18.cn" = [
"原版生存"
]
"skyisland.sakura18.cn" = [
"空岛生存"
]
"mmorpg.sakura18.cn" = [
"荣耀纪元"
]
Steps to Reproduce
None
Plugin List
None
Velocity Version
velocity-3.4.0-SNAPSHOT-535
Additional Information
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the /server command with the Chinese server names shown in the issue on Velocity 3.4.0-SNAPSHOT-535, then trace the command parsing and server-name lookup entry points. Done means /server accepts those names and routes to the configured servers without the trailing-data error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100