βš™οΈ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