🚫 Ignored Resources
In some cases, particularly with Escrowed Resources, you may run into situations where event protection may interfere with the functioning of the resource. To ensure smooth operation, we have provided an option to ignore specific resources from event protection.
This feature is primarily intended for Escrowed Resources, but you may use it for any resource where event protection causes issues. However, we strongly recommend thorough testing before you fully ignore a resource to ensure there are no security risks.
🛠️ How to Use Ignored Resources
If you identify that event protection is interfering with a specific resource, you can add the resource name to the Ignored Resources list. This will stop event protection from applying to that resource while still protecting the rest of your server.
📋 Example Configuration:
Here’s an example of how to add a resource to the ignored list:
PrettyPacketAC.IgnoredResources = {
["qb-cityhall"] = true,
}
In this example, qb-cityhall will be ignored from event protection. You can add additional resources by simply adding them to this table in the same format.
⚙️ Important Notes
Escrowed Resources: We have worked hard to ensure compatibility with most Escrowed Resources. We’ve fully tested this feature with LB-Phone, and it works well with no issues. However, if you run into any problems, you can ignore the resource from event protection.
Event Protection Lines: Even if you choose to ignore a resource, you must still include the event protection lines (
server_script
andclient_script
) in the FXMANIFEST file of the resource. If these lines are missing, the ignored script won’t be able to communicate with protected resources.Security Considerations: Be cautious when ignoring resources. Fully ignoring a script means that you're relying entirely on the resource creator’s security measures to protect it from cheaters or exploits. This can expose you to risks, so only ignore resources when absolutely necessary and after thorough testing.
By following these instructions, you can avoid issues while maintaining the necessary level of protection for your server. If you have any further questions or need assistance, feel free to reach out! 😄
Last updated