Skip to content

Make textdraw pool limits runtime configurable - #1250

Open
itsneufox wants to merge 6 commits into
openmultiplayer:masterfrom
itsneufox:textdraw-limits
Open

Make textdraw pool limits runtime configurable#1250
itsneufox wants to merge 6 commits into
openmultiplayer:masterfrom
itsneufox:textdraw-limits

Conversation

@itsneufox

Copy link
Copy Markdown
Contributor

Kept the SDK defaults unchanged. Nothing changes unless the user explicitly sets:

      "textdraw": {
          "global_limit": 256,
          "player_limit": 2048
      }

Legacy server.cfg options are also supported:

max_global_textdraws 256
max_player_textdraws 2048

Custom limits are reported during startup. If an invalid value is provided, the default is used instead.

@itsneufox
itsneufox marked this pull request as draft August 2, 2026 18:37
@itsneufox
itsneufox marked this pull request as ready for review August 2, 2026 18:57
@Pato-Pastor

Copy link
Copy Markdown

rare neufox W

Comment thread Server/Components/TextDraws/textdraws_main.cpp
@devbluen

Copy link
Copy Markdown

Man, that's awesome; it's definitely going to be a big help, since most people use player-textdraws a lot.
I hope your PR gets approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants