Skip to content

v3.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Dec 16:42
179b33a

Files included in this release:

  • BeamMP-Server.exe is the windows build
  • BeamMP-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, or status!)
  • 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 and package.cpath before onInit
  • 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 in PluginConfig.toml
  • ADDED ability to see name-to-thread-ID association in debug mode
  • ADDED dumping tables with print() (try it with print(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 of MP.Set() easier
  • ADDED FS.* table with common filesystem operations (do print(FS) to see them!)
  • FIXED i/o thread spin when stdout is /dev/null on linux
  • FIXED removed extra whitespace infront of onChatMessage message