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 placeholder #3589

Closed
3 of 4 tasks
chelminski opened this issue Dec 26, 2023 · 4 comments
Closed
3 of 4 tasks

Forced hosts placeholder #3589

chelminski opened this issue Dec 26, 2023 · 4 comments

Comments

@chelminski
Copy link

Feature description

Placeholder which would return the value of the host from which the player joined.

E.g.
Placeholder: %bungeecord_forced_host%
Value: s1.exapmle.com

Goal of the feature

Depending on which host the user connected from, I could apply different actions to him. In my case specifically, it's about the names of the worlds. This feature has a lot of potential and could be used in many ways.

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.
@chelminski chelminski changed the title Forced host placeholder Forced hosts placeholder Dec 26, 2023
@chelminski chelminski mentioned this issue Dec 26, 2023
4 tasks
@Janmm14
Copy link
Contributor

Janmm14 commented Dec 26, 2023

i think this would be better suited in a simple bungee plugin. proxiedplayer.getpendingconnection.getvirtualhost should allow plugins to see what the player typed in to connect to the bungee.

@md-5
Copy link
Member

md-5 commented Dec 26, 2023

What do you mean placeholder? Placeholder for what?

@chelminski
Copy link
Author

What do you mean placeholder? Placeholder for what?

Placeholder showing what host the user connected to when using the forced hosts function.

@md-5
Copy link
Member

md-5 commented Dec 26, 2023

Placeholder for what? PAPI? That's a plugin not bungee issue

@md-5 md-5 closed this as completed Dec 26, 2023
# 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

3 participants