Random Position
Random Positioning of Items to Farm
You can enable random positioning for action points to make the job more dynamic and prevent players from camping the same location.
Enable Random Positioning
In the general job configuration in bit-jobs/config.lua, activate the following option for the desired job:
["randomActionLocations"] = true
Configure Multiple Action Points
In the job configuration file (bit-jobs/jobs/yourjob.lua), make sure you have several different locations in the ActionPoints table:
ActionPoints = {
[1] = vector3(244.4, 6448.75, 31.53),
[2] = vector3(240.4, 6459.88, 31.34),
[3] = vector3(228.09, 6467.59, 31.39),
[4] = vector3(251.19, 6477.8, 30.88),
[5] = vector3(275.86, 6479.45, 30.34),
[6] = vector3(285.36, 6459.96, 31.15),
[7] = vector3(269.33, 6467.71, 30.86),
[8] = vector3(255.12, 6463.76, 31.27),
[9] = vector3(261.3, 6450.77, 31.54)
}
How It Works
When randomActionLocations is enabled:
- The script will randomly select one of the coordinates from the
ActionPointstable - Each time a player completes an action, a new random location will be chosen
- This prevents exploitation and makes the job more engaging
- The more action points you configure, the more variety players will experience
Recommendations
- Add at least 5-10 different action points for good variety
- Spread the action points across a realistic area
- Ensure all action points are accessible and safe
- Test each action point to verify it works correctly