v3.0.0
Pre-release
Pre-release
Files included in this release:
BeamMP-Server.exe
is the windows buildBeamMP-Server-linux
is a ubuntu build, so you need the dependencies listed in README.md to run it. For any other distros please build from source as described in README.md.
Server pre-release v3.0.0
New Lua reference & tutorial: https://wiki.beammp.com/en/Scripting/new-lua-scripting
- CHANGED entire plugin Lua implementation (rewrite)
- CHANGED moved almost all Lua functions into MP.*
- CHANGED console to use a custom language (type
help
,list
, orstatus
!) - CHANGED all files of a Lua plugin to share a Lua state (no more state-per-file)
- ADDED many new Lua API functions, which can be found at https://wiki.beammp.com/en/Scripting/functions
- ADDED Commandline options. Run with
--help
to see all options. - ADDED HTTP(S) Server (OpenAPI spec coming soon!)
- ADDED plugin directories to
package.path
andpackage.cpath
beforeonInit
- ADDED ability to add
PluginConfig.toml
to your plugin folder to change some settings - ADDED ability to share a lua state with other plugins via
StateId
setting inPluginConfig.toml
- ADDED ability to see name-to-thread-ID association in debug mode
- ADDED dumping tables with
print()
(try it withprint(MP)
) - ADDED
MP.GetOSName()
,MP.CreateTimer()
,MP.GetLuaMemoryUsage()
and many more (see https://wiki.beammp.com/en/Scripting/functions) - ADDED
MP.Settings
table to make usage ofMP.Set()
easier - ADDED
FS.*
table with common filesystem operations (doprint(FS)
to see them!) - FIXED i/o thread spin when stdout is /dev/null on linux
- FIXED removed extra whitespace infront of onChatMessage message