aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hax's version of Minetest Server 5.6.0Test_User2024-06-281-8/+35
|
* Deprecate loading a world with unresolved dependencies (#12541)rubenwardy2022-07-171-0/+5
| | | Co-authored-by: sfan5 <sfan5@live.de>
* Animated particlespawners and more (#11545)Lexi Hale2022-07-131-8/+67
| | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
* Sounds: Various little improvements (#12486)SmallJoker2022-07-091-15/+21
| | | | | Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
* Enforce limits of settings that could cause buggy behaviour (#12450)SmallJoker2022-07-091-2/+2
| | | Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
* Allow to set maximum star opacity at daytime (#11663)Wuzzy2022-07-021-1/+2
|
* Re-order sound-related code (#12382)SmallJoker2022-06-201-66/+32
| | | | | | | | Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
* No damage effects on hp_max change (#11846)Lars Müller2022-06-111-7/+7
|
* Optimize Server::sendMetadataChanged a bitsfan52022-05-291-19/+20
| | | | The distance check also never worked as intended, now fixed.
* Add API function to invoke player respawnsfan52022-05-291-2/+3
| | | | closes #12272
* Deprecate game.conf name, use title instead (#12030)rubenwardy2022-05-211-1/+2
|
* Use native packer to transfer globals into async env(s)sfan52022-05-101-1/+0
|
* Add more Prometheus metrics (#12274)sfan52022-05-091-13/+27
|
* Cache serialized mapblocks during sendingsfan52022-05-081-12/+32
| | | | | | | This reduces the (absolute) time spent in Server::SendBlocks() from 700ms to 300ms (relative) share of MapBlock::serialize() from 80% to 60% in a test setup with 10 players and many block changes
* Make logging cost free when there is no output target (#12247)paradust72022-05-041-1/+1
| | | | | The logging streams now do almost no work when there is no output target for them. For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-021-0/+4
|
* Refactor some Lua API functions in preparation for async envsfan52022-05-021-5/+0
|
* Clean up some auth packet handling related codesfan52022-04-281-45/+14
|
* Disentangle map implementations (#12148)Jude Melton-Houghton2022-04-071-1/+1
| | | | Fixes violation of Liskov substitution principle Fixes #12144
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-261-0/+17
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Move the codebase to C++14sfan52022-02-261-3/+3
|
* Clean up ClientReady packet handlingsfan52022-02-171-9/+10
| | | | fixes #12073
* Send HUD flags only if changedLars Müller2022-02-081-2/+5
|
* Clean up ClientInterface lockingJude Melton-Houghton2022-02-031-136/+119
|
* Add game name to server status stringsfan52022-01-281-0/+2
|
* Give the ASCII console splash a faceliftAlex2022-01-151-6/+6
|
* Improve situation around race condition with dynamic_add_media during client ↵sfan52022-01-151-1/+15
| | | | join
* Don't call on_dieplayer callback two times (#11874)savilli2022-01-151-33/+18
|
* Use a database for mod storage (#11763)Jude Melton-Houghton2022-01-071-20/+120
|
* Socket-related cleanupssfan52021-12-291-2/+3
| | | Improve error handling on Windows and reduce the size of the `Address` class
* Fix various code & correctness issues (#11815)sfan52021-12-051-7/+5
|
* Make /status message easier to readWuzzy2021-10-151-5/+5
|
* Readd TGA to the list of valid texture formats. (#11598)ROllerozxa2021-09-151-1/+1
|
* Clean up/improve some scriptapi error handling codesfan52021-09-101-3/+8
|
* Send to clients node metadata that changed to become empty (#11597)Jude Melton-Houghton2021-09-101-1/+1
|
* Dynamic_Add_Media v2 (#11550)sfan52021-09-091-57/+136
|
* Remove redundant on_dieplayer callssavilli2021-08-281-2/+1
|
* Remove unsupported formats from the media enumeratorhecks2021-07-291-3/+2
|
* Add bold, italic and monospace font styling for HUD text elements (#11478)sfan52021-07-271-5/+2
| | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
* Server: Ignore whitespace-only chat messagesSmallJoker2021-06-221-0/+3
|
* Translate builtin (#10693)Wuzzy2021-03-051-1/+3
| | | | | This PR is the second attempt to translate builtin. Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext.
* Send attachments instantly before set_pos (#10235)SmallJoker2021-02-121-0/+3
|
* Server: properly delete ServerMap on interrupted startupsSmallJoker2021-02-051-0/+3
| | | | A static mod error (e.g. typo) would abort the initialization but never free ServerMap
* Encode high codepoints as surrogates to safely transport wchar_t over networksfan52021-02-021-1/+2
| | | | fixes #7643
* Drop wide/narrow conversion functionssfan52021-02-021-38/+23
| | | | | | | | | The only valid usecase for these is interfacing with OS APIs that want a locale/OS-specific multibyte encoding. But they weren't used for that anywhere, instead UTF-8 is pretty much assumed when it comes to that. Since these are only a potential source of bugs and do not fulfil their purpose at all, drop them entirely.
* Revise dynamic_add_media API to better accomodate future changessfan52021-02-011-5/+15
|
* Preserve immortal group for players when damage is disabledsfan52021-01-311-1/+1
|
* Cache client IP in RemoteClient so it can always be retrieved (#10887)sfan52021-01-311-23/+15
| | | specifically: after the peer has already disappeared
* Settings: Proper priority hierarchySmallJoker2021-01-291-0/+3
| | | | | | | | | | | Remove old defaults system Introduce priority-based fallback list Use new functions for map_meta special functions Change groups to use end tags Unittest changes: * Adapt unittest to the new code * Compare Settings objects
* Allow configuring block disk and net compression. Change default disk level.Lars2020-12-151-2/+2
|