Skip to content

Add Server QuickConnect#2

Merged
MichaelHillcox merged 4 commits into
forgecraft:mainfrom
ApexModder:main
Aug 13, 2024
Merged

Add Server QuickConnect#2
MichaelHillcox merged 4 commits into
forgecraft:mainfrom
ApexModder:main

Conversation

@ApexModder
Copy link
Copy Markdown

@ApexModder ApexModder commented Aug 5, 2024

This PR adds a new config option to client configs, allowing users to auto connect to a server after initial game launch.
System will be ignored if user specifies an empty string or invalid ip.
Example config: client = {quickPlayServer = "<server ip>"}

The vanilla quick play system takes priority over this config, meaning that if a user uses the vanilla launcher to launch via quick play, the config option will be ignored and client will be connected to the vanilla quick play option instead.

NeoForge version has been bumped to latest, this was mainly to test auto connecting to the forgecraft server.
mods required newer neo version than was currently being setup.

Copy link
Copy Markdown

@MichaelHillcox MichaelHillcox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one question, other than that, this looks good. I'd like to see a readme update if you have time, otherwise, not too concerned :D

@MichaelHillcox MichaelHillcox merged commit 87dbd49 into forgecraft:main Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants