Skip to content

merge(core/layers): layers system into main#1

Merged
fIyingPhoenix merged 4 commits into
mainfrom
World-Layering
May 25, 2026
Merged

merge(core/layers): layers system into main#1
fIyingPhoenix merged 4 commits into
mainfrom
World-Layering

Conversation

@fIyingPhoenix
Copy link
Copy Markdown
Collaborator

Description

Implements a layer system that allows multiple layers to spawn within the same map. By default, each layer supports up to 400 players, but the system is dynamic, meaning a map can handle additional layers depending on the number of active players.

Layers can only be changed while in a group, ensuring that all group members stay in the same layer and preventing abuse of the system.

The layer system has been tested with 2 layers without any issues, though testing was only done with 4 players, so more extensive testing is still needed. Layer switching is almost unnoticeable, and each layer runs on its own thread.

Additional configuration options have been added to worldserver.conf, allowing modification of:

  • Maximum players per layer
  • Layer change cooldown
  • Minimum number of players required before a new layer is created

Type of change

  • C++ fix / feature

Testing

  • Compiles without warnings
  • Server boots successfully
  • Tested in-game

Checklist

  • One fix per PR — not mixed with unrelated changes
  • SQL files follow the YYYY_MM_DD_NN_database.sql naming scheme
  • No debug code or leftover TODOs

@fIyingPhoenix fIyingPhoenix merged commit 0fa5c28 into main May 25, 2026
0 of 5 checks passed
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.

1 participant