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

Display Join Code (for crossplay) along with IP when server is started. #269

Open
saccogf opened this issue Jun 4, 2024 · 2 comments
Open
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@saccogf
Copy link

saccogf commented Jun 4, 2024

Is your feature request related to a problem? Please describe.
My friends and I play on a crossplay server, so to connect we rely on the Playfab join code instead of IP. I can see the join code in the server in a message like this: "Session "Server name" with join code XXXXXX and IP XXX.XXX.XXX.XX:2456 is active with 0 player(s)"

Describe the solution you'd like
I would like to be able to display the join code along with the IP, preferably using a variable %JOINCODE% or similar

@vavavr00m
Copy link

vavavr00m commented Jun 4, 2024

Super useful because after the 1000th server restart, it gets tedious. There is already an existing mod that does this and still works with the Ashlands update - JoinCodeSender, however, it doesn't have the option to share the IP/port. Since IP/port is not displayed if crossplay is disabled, having either the Join Code and/or the IP/port share automatically to Discord would be great.

@nwesterhausen nwesterhausen added enhancement New feature or request good first issue Good for newcomers labels Jun 4, 2024
nwesterhausen added a commit that referenced this issue Jun 7, 2024
This will only show the join code if there is one -- if the server is not crossplay it will be blank.
@nwesterhausen nwesterhausen self-assigned this Jun 7, 2024
@nwesterhausen
Copy link
Owner

available in 2.2.2

may need to revisit to add another type of message that sends if the join code changes -- I'm not totally familiar with how the join codes work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants