APPs Config
Last updated
Last updated
All APPs comes enabled by default, is important that if you want to restrict the access to an APP you add your own check by using your own exports or one of the ones provided here.
This is how the config for an APP looks like by default, you can find this code in every config.lua.
The following snippets are just examples for most common cases, add your own checks or use other scripts exports for this.
If you want to restrict an APP so only players with X item(s) can access it, you can use the following export:
The export hasItem also support a table of items for situations where you want to verify if the player owns more than 1 item at the same time: