Releases: BeamMP/BeamMP-Server
Releases · BeamMP/BeamMP-Server
v3.1.0
After 200+ commits, months of hard work, we're very excited to finally release v3.1.0!
Files included in this release:
BeamMP-Server.exe
is the windows buildBeamMP-Server-linux
is a Ubuntu 22.04 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.BeamMP-Server-debian11
is a Debian 11 build, so you need the dependencies listed in README.md to run it - you will likely need to find the equivalent Debian packages (they might be called differently).
Changelog
- ADDED Tab autocomplete in console, smart tab autocomplete (understands lua tables and types) in the lua console
- ADDED lua debug facilities (type
:help
when attached to lua vialua
) - ADDED Util.JsonEncode() and Util.JsonDecode(), which turn lua tables into json and vice-versa
- ADDED FS.ListFiles and FS.ListDirectories
- ADDED onFileChanged event, triggered when a server plugin file changes
- ADDED MP.GetPositionRaw(), which can be used to retrieve the latest position packet per player, per vehicle
- ADDED error messages to some lua functions
- ADDED HOME and END button working in console
- ADDED
MP.TriggerClientEventJson()
which takes a table as the data argument and sends it as JSON - ADDED identifiers (beammp id, ip) to onPlayerAuth (4th argument)
- ADDED more network debug logging
- CHANGED all networking to be more stable, performant, and safe
- FIXED
ip
in MP.GetPlayerIdentifiers - FIXED issue with client->server events which contain
:
- FIXED a fatal exception on LuaEngine startup if Resources/Server is a symlink
- FIXED onInit not being called on hot-reload
- FIXED incorrect timing calculation of Lua EventTimer loop
- FIXED bug which caused hot-reload not to report syntax errors
- FIXED missing error messages on some event handler calls
- FIXED vehicles not deleting for all players if an edit was cancelled by Lua
- FIXED server not handling binary UDP packets properly
- REMOVED "Backend response failed to parse as valid json" message
Pull Requests Merged
- Ignore backend response if server is Private by @20dka in #96
- Update README.md by @Mack29446 in #113
- Add support to properly parse IPs by @Mack29446 in #114
- Add contributing guide by @lionkor in #118
- Support build on apple silicon by @tsao-chi in #110
- Add MP.GetPositionRaw() with lua fixes and features by @20dka in #123
- Feature: Better autocomplete by @lionkor in #127
- Documents for dependencies on macos by @tsao-chi in #109
- Replace networking with boost::asio (synchronous) by @lionkor in #134
New Contributors
Full Changelog: v3.0.2...v3.1.0
v3.0.2
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.
v3.0.1
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.
Changelog:
- ADDED Backup URLs to UpdateCheck (will fail less often now)
- ADDED console cursor left and right movement (with arrow keys) and working HOME and END key (via github.com/lionkor/commandline)
- FIXED infinite snowmen / infinite unicycle spawning bug
- FIXED a bug where, when run with --working-directory, the Server.log would still be in the original directory
- FIXED a bug which could cause the plugin reload thread to spin at 100% if the reloaded plugin's didn't terminate
- FIXED an issue which would cause servers to crash on mod download via SIGPIPE on POSIX
- FIXED an issue which would cause servers to crash when checking if a vehicle is a unicycle
v3.0.0
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
v2.3.3
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.
v2.3.2
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.
v2.3.1
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.
v2.2.0
This is a mandatory 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.
Changelog:
- Bug fixes
- Security fixes
- Compatibility updates, code improvement
v2.1.4
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.
Changelog:
- fixed rare bug which led to the server crashing fully
- each heartbeat will now print in the console in debug mode
- on graceful server shutdown everyone is kicked instead of being dropped
- fixed minor bugs
v2.1.3
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.