Security and Webhoks
Whenever a player rents a vehicle, all financial actions such as the deposit fee, rental charges, refund upon return, and payments made for completed jobs are automatically logged to Discord via webhook.
Additionally, a system designed for server managers (bosses) provides detailed Discord Webhook logs for the following actions: player payments, deposit collection, cash withdrawals from the company account, and grain or bale sales.
๐งพ Rental Validation System
To ensure security during vehicle rental and return operations, various validation checks are performed.
When renting a vehicle, the server verifies:
Whether the vehicle is available for rental
Whether the player is close enough to the rental point
Similarly, when returning a vehicle, the server checks:
If the player has actually rented that specific vehicle before
If the player is near the designated return coordinates
If any of the following conditions are detected:
The player is too far from the required location
The client sends incorrect or manipulated data
The vehicle is not eligible for rental
The player attempts to return a vehicle they never rented
The action is blocked, and a detailed alert is sent to server admins via Discord Webhook.
This system helps prevent abuse of the rental system and ensures maximum server security.
โ
Task Validation System
During the planting, harvesting, and baling stages, several validation checks are performed both when players begin a row and when they complete it.
Before a player begins working on a row, the server performs the following validations:
Checks whether the player is close enough to the first parcel of the selected row
Verifies the accuracy of the client-side arguments sent by the player
Confirms that the selected row is suitable for the intended farming stage (planting, harvesting, or baling)
Before completing a row, the server performs the following checks:
Verifies that the player is at the correct coordinates
Confirms the accuracy of the client-side arguments
Checks whether the player has previously started that specific row
During the bale collection stage (with a trailer), the following additional checks are performed:
Verifies that the player is close to the correct parcel of the selected row
Checks whether a bale actually exists on that parcel
During the forklift transport phase to the storage area, the following checks are performed:
Verifies that there is actually a bale at the trailer spot the player is trying to pick from
Checks whether the player is in the correct position to pick up the bale with the forklift
During delivery, confirms whether the player has previously picked up a bale using the forklift
If any inconsistency is detected during these validations, the action is canceled and the event is reported in detail to server admins via Discord Webhook. This system ensures that row entry and completion processes are securely managed and helps prevent potential abuse.
Last updated