Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Detect the domain is a player joining #3854

Closed
Aeris1One opened this issue Mar 26, 2021 · 1 comment
Closed

Detect the domain is a player joining #3854

Aeris1One opened this issue Mar 26, 2021 · 1 comment
Labels
completed The issue has been fully resolved and the change will be in the next Skript update. enhancement Feature request, an issue about something that could be improved, or a PR improving something. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.

Comments

@Aeris1One
Copy link

It would be great, after a on join event, to be able to test which domain is a player joining.
Like for example I've minigames.domain.tld and plots.domain.tld and I want them to do specific actions on player on join. So maybe an expression like domain of player to be able to test if domain of player is ... and then do specific actions.

That's possible at least in Java, here is a open source plugin implementing such a check : https://www.spigotmc.org/resources/domainteleport.12723/

@TPGamesNL
Copy link
Member

This would be present in the connect event, not join: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerLoginEvent.html#getHostname()

@TPGamesNL TPGamesNL added enhancement Feature request, an issue about something that could be improved, or a PR improving something. priority: low Issues that are not harmful to the experience but are related to useful changes or additions. labels Mar 26, 2021
@FranKusmiruk FranKusmiruk added the good first issue An issue that would be good for a first-time contributor to make a PR for label Mar 26, 2021
@TPGamesNL TPGamesNL added the PR available Issues which have a yet-to-be merged PR resolving it label Apr 25, 2021
@TPGamesNL TPGamesNL added completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Nov 6, 2021
@TheLimeGlass TheLimeGlass removed the good first issue An issue that would be good for a first-time contributor to make a PR for label Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed The issue has been fully resolved and the change will be in the next Skript update. enhancement Feature request, an issue about something that could be improved, or a PR improving something. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.
Projects
None yet
Development

No branches or pull requests

5 participants