Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Extension support #884

Open
KindCoder-no opened this issue Nov 24, 2023 · 5 comments
Open

[FEATURE]: Extension support #884

KindCoder-no opened this issue Nov 24, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@KindCoder-no
Copy link

Scope

Web, Developer API

Feature Description

I would like an opportunity for developers to add extensions to the web panel. So users can integrate other systems directly into their txAdmin panel.

Use Case

Im developing a system that different roleplay servers can share their experience about users.
Example (Of my system):
When a user is banned on server 1, it gets saved to my system.
Then when the same user wants to play on server 2, the staff checks (Or server automatically declines with our fivem resource) if the user is banned on another server (server 1 in this example).

It would be nice to add a custom page/extension to txAdmin to show banned users, logs etc... from my system. And if txAdmin would open up for extensions to their panel, it would be easier for the users to maintenance everything on one panel.

Proposed Solution

Add possibility to create extensions for txAdmin web ui. Extension could be made in for example React or another javascript framework, to easily do maintenance and development.

Additional Info

No response

@KindCoder-no KindCoder-no added the enhancement New feature or request label Nov 24, 2023
@Flambaa
Copy link

Flambaa commented Nov 24, 2023

Being able to make addons for txAdmin is an awesome idea,. However your use case is pretty sketchy. Global ban systems are generally very frowned upon in the community.

Have a read of dot point 3 in https://docs.fivem.net/docs/support/resource-faq/#what-are-disallowed-resources

@KindCoder-no
Copy link
Author

I see your point. We have made the system so that the server owner chooses if players banned on another server is automatically banned. Also we have an option to only ban players that has been banned on 3 different servers or more

@tabarra
Copy link
Owner

tabarra commented Nov 24, 2023

Indeed Flamba is correct.
But i'll say that an extension system is actually planned, based on adaptive cards.

@KindCoder-no KindCoder-no reopened this Nov 26, 2023
@KindCoder-no
Copy link
Author

That is cool. I think extensions could be cool for many different integrations. But it should maybe have some permission config integrated

@S4CKY585
Copy link

I have no extra input on this subject, just wanna say what an amazing idea to have extensions, hope to see this in the works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants