mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
Dependenices
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
--- This is a very simple config file which adds a admin only auth function
|
||||
-- not much to change here its more so it can be enabled and disabled from ./config/file_loader.lua
|
||||
-- either way you can change the requirements to be "admin" if you wanted to
|
||||
local Commands = require 'expcore.commands'
|
||||
local Commands = require 'expcore.commands' --- @dep expcore.commands
|
||||
|
||||
Commands.add_authenticator(function(player,command,tags,reject)
|
||||
if tags.admin_only then
|
||||
|
||||
Reference in New Issue
Block a user