@COndor said in [Release] Object Loader (loads map .xml files):
@Boss Cool! Good for you then. Was it sooo obvious that you won’t share a little insight on how it just “works like a charm”? Since you are one of the moderators in here, I thought you could maybe actually help the 4 others people here who can’t get it to work. At least give a bit more then just a “Yep it works”.
It litterly states how to do it… I will break it down for you.
This is a resource for FiveReborn that loads object files from Map Editor.
That word means that it’s used server-sided.
It also comes with a teleport handler (use /mtp in the chat to view teleports) and has some API calls.
Some example maps are included in the [examples] folder.
Nice to know, but totally irrelevant to installation.
To use, start the object-loader
resource, an object resource (like stunt-chiliad
) and optionally the object-teleports
resource.
Once you download the .ZIP from the github link which is stated on top of the post you would/should find this inside;

And look, it’s exactly like described above.
object-teleports
object-loader
and EXAMPLES.
To use, start the object-loader
resource, an object resource (like stunt-chiliad
) and optionally the object-teleports
resource.
Let’s look at this line again. Notice the bold part, it tells you to first off start that resource. How to we start resources? You add the resource to your resources folder. By now, you should know that resources are started by the citmp-server.yml in your server folder. So it should look like this;
AutoStartResources:
- chat
- spawnmanager
- fivem-map-skater
- baseevents
- rconlog
- hardcap # prevents too many players from joining
- scoreboard
- object-loader
k, done! Next part!
To use, start the object-loader
resource, an object resource (like stunt-chiliad
) and optionally the object-teleports
resource.
Now that’s where [examples] come in. This map contains 28 examples with diffrent locations. We all know vespucci, which by coincidence happens to be an example! Let’s add that aswell to our citmp-server.yml cause that’s what it tell us to do right?!
AutoStartResources:
- chat
- spawnmanager
- fivem-map-skater
- baseevents
- rconlog
- hardcap # prevents too many players from joining
- scoreboard
- object-loader
- stunt-vespucci
There we go! Now for the last line… I think you get the point.
Fire up your server and enjoy!