BeamMP / BeamMP-Server

Server for the multiplayer mod BeamMP for BeamNG.drive
https://beammp.com
GNU Affero General Public License v3.0
127 stars 53 forks source link

`MP.Get` and `MP.Set` improvements #258

Open lionkor opened 8 months ago

lionkor commented 8 months ago

New Lua API features:

Set settings should not be persisted, that is a different problem to tackle.

The following should work, for example:

MP.Set("General", "Name", "Hello, World!")
local name = MP.Get("General", "Name")

and name, of course, is "Hello, World!".

Acceptance Criteria

jimkoen commented 7 months ago

I think the described behavior is not achievable with current primitives in the server. Extensive filtering of categories like this sounds like a perfect use case for a database imo.