Goal:
Provie a simple inventory system so police can search a suspect and their vehicle easily.
this was made for my server it is like the dojrp system but its remade
Installation instructions:
1) Drag then MGCRPInventory folder into your server resources folder. ex (fxserver/resources/)
2) Edit the citmp-server.yml file located in the main folder. ex (fx/)
3) Add the follow code: start MGCRPInventory #MGCRPInventory System to your server.cfg Example below.
server.cfg:
start chat
start spawnmanager
start fivem-map-skater
start baseevents
start â– â– â– â– â– â– â–
start hardcap # prevents too many players from joining
start scoreboard
start MGCRPInventory #MGCRPInventory System
4) All done, restart your server and the mod should automatically start, or use start MGCRPInventory if you dont want to restart your server.
Usage Commands:
Player Inventory commands:
/addItem <item_name> <amount> Amount will default to 1 if nothing is specified, item name can't contain spaces.
Example: /addItem baseball_bat 1
/removeItem <item_name> Removes the item from your inventory, no matter how many are in your inventory.
Example: /removeItem baseball_bat
/clearInventory Completely clears your place inventory.
/inventory Shows your personal inventory.
/search <id> Shows the personal inventory of the player ID
Example: /search 15
Vehicle Inventory commands:
/vaddItem <item_name> <amount> Amount will default to 1 if nothing is specified, item name can't contain spaces.
Example: /vaddItem baseball_bat 1
/vremoveItem <item_name> Removes the item from your inventory, no matter how many are in your inventory.
Example: /vremoveItem baseball_bat
/vclearInventory Completely clears your place inventory.
/vinventory Shows your personal inventory.
/vsearch <id> Shows the personal inventory of the player ID
Example: /vsearch 15
is there a way you could make this menu based where the user could click to add the item to their inventory that way or be searched to make it easier so players are not having to remember any / commands
well i can make a seperate version for it currently i like to use / commands but yes i will try to make a seperate version unless someone else converts it and msgs me the download then i will give them credit for it and upload it here
You didn’t even make this at all, all you did was change a couple of the names, the __resource.lua still literally says “DOJ Inventory System”. The original resource was released on here a while ago before it was removed shortly after.
Edit the citmp-server.yml file located in the main folder
You are so incompetent that you still refer to the server config file as the citmp yml.
This has to be straight up copied from somewhere, seemingly without any expressive permission.
this was a different version for me you have to do restart MGCRPInventory in your console or rcon to get /search to work and second of all it didnt even work because i got it from here which i am currently going t give him credit in a min.
These scripts were removed BY REQUEST from DOJ MANAGMENT after i released them to the public, i originally created them for use purely on that server but they ignored me for two weeks. After I uploaded here they wanted them and I was stupid enough to do so . Once I left i released them (besides that one) to the public again. I didn’t release it because i personally thought it was a crappy inventory system and didn’t want to rename everything.
Your readme is 95% mine and most of this code is mine, and then you license it as GPL AND you credit someone else for the original code?
Given the circumstances and how questionable this is… I’m going to remove it. Nobody should be “releasing” anything if its not even theirs. That is plagiarism. That is illegal. That is a dick move.