[PREVIEW ONLY] Stax Framework

DISCLAIMER

Nothing in this is completely set in stone. I am a solo developer on this project and still working on this project on my free time. Just wanted to setup more of a preview and have a place to put updates to get eyes on and get some opinions etc.

What is STAX?

I have been working on STAX for a long long time. Through multiple iterations of designs and structures and even overall end goals for what it could be used for. I have went through iterations of direct “Roleplay Framework” to “Zombie Framework” etc etc etc… until I finally came to the conclusion why couldn’t it be used for any of those through a plugin based framework that can handle any of those types of servers.

I have been working on a lot of different things built into the core framework specifically to honestly just make working with the game itself and the framework a lot easier.

Features

STAX is still in a pretty early development aside from the fact its been in development a long time mainly because of it being reiterated and rebuilt many times due to massive design flaws on my part.

Some of its core features will include

  • Component System
  • Global config system built with stax lib
  • Global localization system built with stax lib
  • Uses a managers / singletons / class design
  • Uses Lua Language Server for code intellisense as well with a FiveM LLS package that implements CFX natives and some custom packages to support everything to have code intellisense

Future Features

I plan to keep the core framework as core as I possibly can and create resources and components that will at the end be able to be used to create the servers everyone enjoys.

Honestly any component that could make up a gamemode style server!

I recommend if you would like to see everything as far as base features, I am going for check out the github repository as STAX will be completely open source and open to any eyes that would like to check it out.

The organization github
Organization

I would love to answer any questions yall have because honestly, I plan for this to support so much. Basically, plan to wrap a lot of core systems to make things easier (such as discord and mumble) and a lot of other systems that could help make development just overall easier and quicker.

an example of that would be instead of writing discord webhook http requests to send webhooks you could use STAX’s API to handle the http request and all you have to do is call the methods

I did start working on the documentation, however. Not a whole lot is on here at the moment, but a couple pages have been documented (such as Input’s and Cameras) but you can check those pages out to see kind of how the documentation is going to be and can even see all the pages of systems and classes I have NOT even documented yet…

Documentation

Honestly, I could go on and on and on this post demonstrating more usage and all of that but its honestly just best to leave links to code and future documentation cause as a solo dev there is just too much to talk about at the moment.

Just wanted to kind of put out my current project and see if anyone had any comments or questions. I will do my best to answer anything the best I can. I do work a fulltime job outside of this project so it’s a slow process but :man_shrugging: I do my best :joy:

3 Likes

I know I posted this back in 2023, and I haven’t ever pushed an update, but I have a fulltime job, and it has been slowing down my progress exponentially on this project.

I am still working on this project just when I can and when I can get to the desk.

The project is still open source if anyone was interested in seeing how the code is being written and how it’s being used to construct systems and how it could translate to other resources.

I apologize for not ever updating this topic. If you want me to send some code examples or have any questions about the source code, just let me know!

Also, if you are interested in helping with the project let me know as well. I plan to keep this free for everyone because I like the idea of providing free resources for people to make cool projects and want to eventually provide a really nice base for developers to scale and built upon.

It’s just taking a load longer to actually work on this due to the lack of time at the desk. Hope everyone had a good new year, and I plan to be pushing this project hard this year.

1 Like

I have tried this before, in fact I have a whole repo on a framework I was working on (i’d say it’s developed like 60% already) and gave up after GTA 6 announcement, it makes no sense to put such amount of work into a framework when there’s a whole new game around the corner :')

1 Like

GTA Being around the corner wouldn’t change anything. I highly doubt CFX will change much from their base systems if they end up making a GTA 6 version of FiveM.

I am not working on a game specific “Roleplay” framework.

I am building a core framework to make any gamemode on FiveM or RedM that you’d want and hopefully in the future SixM.

All STAX does is wraps and makes building those things easier.

When GTA 6 drops I assume I would be able to drop this in and just create new resources for GTA 6 native syntax.

If they changed the way event handlers / exports / etc etc then that would be a huge bummer.

GTA 6 will have their own “playground” version of FiveM if I remember correctly they’re partnered, and since it’s a new game you can’t rely on CFX to “not change much”, it’s a whole new game with new directives and natives, not forgetting the fact if it wasn’t incorporated directly in the game it would take years to reverse engineer to the point we are currently.

All that said, good luck :slight_smile:

1 Like

Yeah I do expect natives to be completely different. I would hope that since they are partnered now that the process would actually be quicker. Who knows :man_shrugging:

Thanks you for the discussion and the luck.