On('myframework:jobRegistered', (job) => "`) Ever since the built-in ACL system exists ( add_ace and similar), it has somehow not seen people use it to its full potential, often adding dependencies on ‘frameworks’ to resources solely in order to check if a player is currently on a particular ‘job’ in said ‘framework’.Ī lesser-known feature of the ACL system is the ability to have its configuration defined at runtime (in fact, there’s no persistence layer at all – the expectation has been for the community to build one), allowing you to do stuff as follows for example: # server.cfg, required for access to ExecuteCommandĪdd_ace resource.myframework command.add_principal allowĪdd_ace resource.myframework command.remove_principal allowĪdd_ace resource.myframework command.add_ace allow // server-side code in myframework
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |