Armoury - The Open Source, FiveM Roleplay Gamemode (Typescript/Non-ESX/Own framework)

Armoury - The Open Source, FiveM Roleplay Gamemode (Typescript/Non-ESX/Own framework)

WARNING: This project is in an ALPHA phase. You are more than likely to encounter bugs on the server. If you do find such bugs, feel free to let us know or even create a pull request for it!

Github Repository | Patreon | Documentation | Discord

1. What is this?

Armoury started off as an independent project for the sole reason of honing our programming skills by creating something entirely from scratch, without the use of any existing framework, and based (almost) entirely on a Typescript codebase.

2. Is this ESX-friendly?

No, it is not. However, the framework we have created is incredibly easy to dive into.
Also, if you have used Angular before, it might be even easier to use our in-house framework, due to the inspiration we have taken from the popular web app development platform. Our project also synergizes with Angular-made UIs.

3. Is this finished?

This project is currently in an ALPHA phase. This means that even though it’s in a playable state, you might encounter bugs here and there. Also, there are still features needed to be done in order for it to be complete.
Because it’s an open source project, everyone is welcome to propose modifications by creating pull requests on our repository.



– Features –


Housing System

A player can purchase a house by simply accessing the house menu in front of the house. The player can own an unlimited amount of houses, but their daily taxes increase with each house owned.

House menu

A house owner has access to a menu (press M inside a house) which lets them visualize several pieces of information about their house. They can also set their house for sale (another player will then be able to buy the house even while the owner is offline), sell the house to the bank immediately (they receive only 50% of its value!), set the rent price, buy a pet and more.


Businesses

Players can also own businesses (convenience stores, the CNN, the Electricity Company, the Phone Company, etc). In the video below, the player buys the Electricity Company. The Electricity Company’s income comes from electricity bills.


Pets

A house owner can buy a pet which permanently resides in their house. Be careful! Your pet could be taken away if you don’t feed them or don’t provide them drinking water permanently.

Extra spaces for depositing stuff

For example, here’s a fridge.

Factions

Armoury provides base classes which help you create your own faction in seconds. Additionally, Armoury includes an example faction inside the repository (more to come!), which is the Taxi Cab Company.

Taxi Cab Company

The job of a Taxi Cab Company member is simple: Get in your vehicle, find a client, deliver them to their desired location, and then repeat.
The Taxi Cab Company’s vehicles (and all other faction vehicles in general) can normally be driven by anybody as long as they have a key. That’s why every faction has 2 keys for every vehicle inside their HQ’s key locker (one original and one backup). Whenever a Taxi Cab Company member wants to begin working, they need to grab a key from the locker in order to drive the vehicle assigned to it.

After grabbing the faction’s vehicle key, the player gains the ability to lock/unlock it (F3 key). Any player who somehow manages to receive that vehicle key (robbing the driver/simply having the key given to them) can also lock/unlock the vehicle. The faction member gains full responsibility over the vehicle!

A Taxi Cab Company member can go on duty and activate the taximeter in order to tax clients.


Jobs

At the moment, the Armoury gamemode provides two basic jobs for players to make money.

Trucker Job

The player can get employed as a Trucker, which does long routes in order to provide products to the city dock.

Carrier Job

The player can also get employed as a Carrier, which does shorter routes from the dock to each business in the city, delivering them the products from the city dock that Truckers had provided. Businesses eventually run out of products, which means that Truckers and Carriers need to constantly be working. If this doesn’t happen, business owners need to find a way to incentivize Truckers and Carriers!


Phones

Players can use their phones in order to make calls, send messages, call for services, do mobile banking transactions and more.


Personal Vehicles

Players can buy vehicles either from other players or from the dealership.

Vehicle Trunks

A player can deposit money, weapons, snacks, drinks and other items inside their vehicle’s trunk. Always lock your vehicle! Elseway, other players would be able to grab items from your trunk!


Inventory

The inventory system does… well… everything any other inventory system does. You can see your assets (house keys, business keys, vehicles, weapons), use (usable) items (food, water, alcohol), check your cash and more. Also, it’s implemented on a drag ‘n’ drop logic.


Convenience stores

Convenience stores (these are player-owned businesses!) provide unlimited products such as snacks, drinks, alcohol products and more.


Thirst & Hunger

thirsthunger

Armoury includes a Hunger & Thirst system. The process is as simple as it can be: Hunger and Thirst values decrease over time. In order to satisfy these stats, the player can use food and drinks from their inventory.


Context menus


Authentication

Armoury provides a clean and simple UI for registering and logging in. Video preview here


A clean and organized codebase, powered by an in-house framework

controllers

exports

eventlisteners

Developing stuff with our in-house framework works as a breeze. Open up either your server or client controller and make use of our shortcuts in order to create your systems in no time.


Minimalistic, beautiful UIs made in Angular

This project’s whole UI was done with high design standards in our mind. Also, we have used Angular in combination with Angular Material for every piece of UI in the gamemode, which enhance User Experience and Responsiveness while also remaining optimized.

32 Likes

clean clean clean and nice thx for sharing with us and for free and open source

1 Like

I would recommend that you check what is really yours. I already see 1-2 folders that are definitely not yours.

2 Likes

this is incredible, where is the .sql? i do not see

1 Like

Sorry for that - I have uploaded the sql file to the repository.

1 Like

nice work dude! good framework

1 Like

Very cool and great release. Big up to every single person that has worked on this.

1 Like

Always that one person :rofl: maybe that have permission?

1 Like

nice framework bro

1 Like

Amazing work! Looks amazing :smile:

1 Like

Cool and good looking. xd

1 Like

how do you create a character?

A resource for the character creation is in the works, but because it is not yet in a testable phase it is not currently part of the repository. We are trying to constantly evolve Armoury, but can only do this in our spare time, which is scarce. However, if someone decides to create something similar and compatible with Armoury, using our framework, we would be more than happy to include it.

Okay, Ill try to do something.

1 Like

Good day. I downloaded and installed “Armoury - The Open Source, FiveM Roleplay Gamemode”.
I have a small problem and I get the following errors.
I also have All resources Enabled as described in The Server.cfg.
When I connect I get awaiting scripts ingame

Resource loading for .github failed:
Could not open resource metadata file - no such file.
Resource loading for docs failed:
Could not open resource metadata file - no such file.
Resource loading for .vscode failed:
Could not open resource metadata file - no such file.
Resource loading for jail failed:
Could not open resource metadata file - no such file.
Resource loading for client failed:
Could not open resource metadata file - no such file.
Resource loading for server failed:
Could not open resource metadata file - no such file.
Resource loading for decorators failed:
Could not open resource metadata file - no such file.
Resource loading for models failed:
Could not open resource metadata file - no such file.
Resource loading for defaults failed:
Could not open resource metadata file - no such file

These warnings appear because the FiveM server treats the folders inside the ‘[utils]’ folder (the framework) as separate resources.

They won’t impact the server. If you’re blocked on ‘awaiting scripts’, it’s most likely because you are using an outdated server artifact.

Many thanks for the answer.
How can I update the server artifact?

Best regards

https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/

If you’re on windows, grab the latest recommended version from here and simply overwrite the existing server files with these ones.

1 Like

I can register and log in.
But I still get awaiting scripts.
Here is my server log, maybe you can tell if I’ve set something wrong.
EDIT also used the last recommended server artifact

Best regards

Armoury has received a massive update today! We’re happy to announce that both our gamemode and framework have now been updated to version 0.0.2, which brings the following updates:

Character Creation (Beta)

Bring character customizability to a whole other level with Armoury’s brand new Character Creation Resource!

Faction menus (Beta)

Offer your players a better faction-management experience with Armoury’s brand-new faction management menu:

  • Add/remove sanctions
  • View faction activity and individual* member activity
  • Kick players out of the faction
  • … and more!

A new faction: The Tow Car Company (Beta)

The Armoury gamemode now features a brand new faction: The Tow Car Company. This faction is responsible with keeping the streets of Los Santos clean of irregular parking - and also, retrieving faction vehicles back to their headquarters.

Faction Clothing Lockers (Beta)

The Police Department and Tow Car Company now have lockers clothing inside their headquarters - easily define faction clothing and separate them based on faction rank. Clothings are basically inventory items, and you can switch back to your usual outfit at any time.

Performance improvements

All the resources of the Armoury gamemode are now optimized for up to 5 times better performance!

Framework upgrades

Spice up your development by making use of the Armoury framework’s latest features:

  • Localization functionality - use one of the predefined languages (English/Romanian) or easily create your own language definition file inside resources
  • Enhanced blip creation (now supports blip opacity, ‘3d’ blips and 2 other blip types, createable with a single line of code)
  • Enhanced action points creation - easily create onfoot-only or invehicle-only action points with a single line of code
  • Enhanced action point debugging - the framework automatically adds commands to individually debug action point data
  • Numerous new functions related to action points and more