Skip to content

Lua client refactoring#216

Merged
Vlad118 merged 24 commits into
TheHellBox:masterfrom
DaddelZeit:centralized-management
Apr 28, 2026
Merged

Lua client refactoring#216
Vlad118 merged 24 commits into
TheHellBox:masterfrom
DaddelZeit:centralized-management

Conversation

@DaddelZeit
Copy link
Copy Markdown
Contributor

@DaddelZeit DaddelZeit commented Apr 12, 2026

This reorganizes the KissMP Lua client.

Notable changes:

  • modScript Lua now loads a main extension which loads everything else
  • Init now runs with a global extension hook after the main extension has fully loaded everything, for GE and VLua
  • The above change also fixes unpacked installs. To accommodate this, the detection for an invalid install was updated.
  • All KissMP related Lua files are now inside kissmp subdirectories.
  • All player info is now stored in kissmp_players as opposed to network
  • Extensions that are only required for multiplayer are no longer always loaded
  • Level handling was moved to levelmanager
  • Multiple globals/shared variables were moved to places that make more sense to store them in

@DaddelZeit DaddelZeit marked this pull request as ready for review April 18, 2026 23:41
@DaddelZeit DaddelZeit changed the title Centralized management Lua client refactoring Apr 22, 2026
@Vlad118
Copy link
Copy Markdown
Collaborator

Vlad118 commented Apr 28, 2026

I've not had the time to test this myself; but it's important and should be simple enough as a refactoring change, so merged.

@Vlad118 Vlad118 merged commit 1ccad56 into TheHellBox:master Apr 28, 2026
7 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.

2 participants