tabarra / txAdmin

The official FiveM server management platform used by over 23k servers!
https://txadmin.gg/
MIT License
818 stars 549 forks source link

[FEATURE]: Extension support #884

Open KindCoder-no opened 1 year ago

KindCoder-no commented 1 year ago

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

Flambaa commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

KindCoder-no commented 1 year ago

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

S4CKY585 commented 1 week ago

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 👍