Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Forced hosts alias #3590

Open
3 of 4 tasks
chelminski opened this issue Dec 26, 2023 · 1 comment
Open
3 of 4 tasks

Forced hosts alias #3590

chelminski opened this issue Dec 26, 2023 · 1 comment

Comments

@chelminski
Copy link

Feature description

Allow you to add an alias to forced hosts.

E.g. In the configuration we enter:

 forced_hosts:
    *.priv.example.com: exampleserv

And then all players who enter anything consistent, e.g. patrick4.priv.example.com, mineuser.priv.example.com, etc. will be connected to a server called exampleserv. This would allow you to customize the domain from which the player wants to connect and it would have a real impact if #3589 were implemented.

Currently, it works like this: if I put in config

 forced_hosts:
    *.priv.example.com: exampleserv

This causes a fatal error and the bungee does not start.

However, if I put something like this in the config

 forced_hosts:
    priv.example.com: exampleserv

This is by connecting to wildcard e.g patrick4.priv.example.com, or mineuser.priv.example.com I am connected to the default server :(

Goal of the feature

It's true that this is quite a specific request, but it opens up huge possibilities. I hope that introducing this change is not difficult and invasive. [but I have no programming knowledge, so sorry 😅]

Unfitting alternatives

none

Checking

  • This is not a question or plugin creation help request.
  • This is a feature or improvement request.
  • I have not read these checkboxes and therefore I just ticked them all.
  • I did not use this form to report a bug.
@Janmm14
Copy link
Contributor

Janmm14 commented Dec 26, 2023

see my reply to #3589
this seems too specific for me for a need to put advanced logic into this for all

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants