Skip to content

[COTLMP] Improve the Server class#26

Merged
GeoB99 merged 5 commits into
masterfrom
server-class
Jun 29, 2026
Merged

[COTLMP] Improve the Server class#26
GeoB99 merged 5 commits into
masterfrom
server-class

Conversation

@GeoB99

@GeoB99 GeoB99 commented Jun 14, 2026

Copy link
Copy Markdown
Owner

This is a split from #25 as requested.

Proposed changes

  • Add the missing argument fields (server name and game mode) to the Server class
  • Display more info about the started LAN server
  • All data classes will now be put in a Data folder in COTLMPServer
  • Turn the game mode into an enum and make the whole mode use it

GeoB99 added 2 commits June 14, 2026 17:43
… folder

Player is a data class, so move it to its appropriate place.
Since the util methods can be used outside of the messages scope, just move it to the main directory of the server.
@GeoB99 GeoB99 added this to the Beta Release milestone Jun 14, 2026
@GeoB99 GeoB99 self-assigned this Jun 14, 2026
@GeoB99 GeoB99 added UI For the UI/UX aspect of the mod Network For netcode related stuff of the mod (Server/Client APIs and multiplayer code) labels Jun 14, 2026
GeoB99 added 3 commits June 29, 2026 10:51
Fields like game mode and server name weren't taken into account so one had no idea what kind of server it was
apart from its assigned port. The newly added arguments are necessary to have a full detail info of the server
as one browses the servers list...
@GeoB99 GeoB99 merged commit b7f6095 into master Jun 29, 2026
1 check passed
@GeoB99 GeoB99 deleted the server-class branch June 29, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Network For netcode related stuff of the mod (Server/Client APIs and multiplayer code) UI For the UI/UX aspect of the mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant