question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature]: Option to suppress txAdmin announcements and utilize own system

See original GitHub issue

Scope

Developer API

Feature Description

Some servers would like to disable txAdmin notifications and instead utilize their own system bridged by the txAdmin:events:announcement event. At the moment, although you can hook into event, there is no way to purely disable txAdmin’s standalone handling.

Use Case

Server can utilize their own notification system instead of the txAdmin system.

Proposed Solution

We can solve this by implementing a ConVar that would disable internal handling.

Additional Info

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
tabarracommented, Mar 3, 2022

I would like this convar to be generic, where you would be able to specify more than one event handler to be bypassed.
For example:

+set txAdmin-bypassEventHandler "playerWarned, announcement"

Due to the complexity of the convar (csv is so hard isn’t it) would be nice to have a custom inbox for it in the settings that would do some validating (input.trim().split(/,\s*/) and check individual parts).

1reaction
araynimaxcommented, Nov 8, 2022

Alright I wait for the merge and will then implement the customDirectMessage on my end

Read more comments on GitHub >

github_iconTop Results From Across the Web

txAdmin Interface · ZAP-Hosting Docs
The option "Wipe Pending Whitelist On txAdmin Start" determines whether the whitelisting requests that are created when connecting should be deleted when ...
Read more >
txAdmin - FiveM/RedM Server Management
txAdmin is a full featured web panel to Manage & Monitor your FiveM/RedM Server remotely, in use by over 18585 thousand servers worldwide...
Read more >
txAdmin
Some servers would like to disable txAdmin notifications and instead utilize their own system bridged by the txAdmin:events:announcement event. At the moment, ...
Read more >
txAdmin - Cfx.re Docs
Main Features. Recipe-based Server Deployer: create a server in under 60 seconds! Start/Stop/Restart your server instance or resources; Server Performance ...
Read more >
FiveM QBCoreFramework Server Creation (txAdmin Easy ...
txAdmin #QBCore #ServerCreation #FiveMServer Artifacts: https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/FiveM Forums: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found