For the complete documentation index, see llms.txt. This page is also available as Markdown.

⚙️Miscellaneous

This will explain the most important and features related configs of the script.

⛺cfg.allowPlayerCustomTent

Allow players to place they own tents. False if you want to deactivate.

cfg.allowPlayerCustomTent = true

💬 cfg.getTentCommand

Set the command you want to use to place a tent.

cfg.getTentCommand = "getTent"

🛣️ cfg.allowWaypointToTent

This config allow the player to set a waypoint to their placed tent when trying to place one.

cfg.allowWaypointToTent = true

⏲️ cfg.tentLifeTime

Sets the number of hours a placed tent should stay on the server. (Tents are Persistent through reboots)

cfg.tentLifeTime = 72 * (60 * 60)

Here, 72 are the number of hours the tent will stay on the server before being deleted.

(Tents are deleted upon the next reboot, not directly during uptime)


🏕️ cfg.modelSpawnedByServer

This config is useful if you use a custom prop for the tent. Its the name of the prop you want to spawn as a tent.


⬇️ cfg.spawnOffset

This sets an offset for the z axis when spawning a tent. Change this if you change the base model of the tent.


↔️ cfg.scanRange

This is the range in meters for a tent to be seen by the script (Marker visible).


🔖 cfg.drawMarker

This config sets if the script should display a marker on the ground in front of the tent or not


📃 cfg.tentModel

These are the props recognised as tents for the script, the player can interact with.


🕺 cfg.animCycle

This is the table containing all the animations you can do in the tent, you can add or delete from the list.

The format should always be : {DICTIONNARY, ANIM}

A list of anims can be found on this site


🗨️ hintToDisplay(text)

This is the function creating the notification at the top left of the screen.

You can change its core to modify it and integrate as you need.

Last updated