AccessService
This item only works when running on the server. Server
Server entry point for the access package. Brings up the shared AccessDataService and the
server-only pieces built on it, so a game starts access with one GetService instead of knowing
which half of it lives where.
serviceBag:GetService(require("AccessService"))
Facts and features are still registered in shared code -- both realms have to agree on what exists, and a registration only the server ran is a fact the client can never resolve. This service exists to own the things that genuinely are server-only: overriding a fact, and replicating the result.
Functions
GetAccessPolicyService
The policy registry, for a game registering or enabling its own consequences.
GetAccessDataService
The shared registry, for a game registering its facts and features.