Nonadmin/VIP commands #726
Dystroyertheguy
started this conversation in
General
Replies: 2 comments 2 replies
-
You need to check your Main Module for that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
A bit late for an answer, but anyways, and for those who may need it: --// ModuleScript named "Server-DonorCommandUnrestrictor" (without quotes)
--// placed under Adonis_Loader > Config > Plugins
server, service = nil, nil
return function()
for cmdName, cmd in pairs(server.Commands) do
if cmd.AdminLevel == "Donors" then
cmd.AdminLevel = "Players"
end
end
end Note: Don't touch the MainModule for this. Loader plugins exist for a reason. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I edit adonis to be allow non-VIP to use !hat/!shirt/!pants commands?
Beta Was this translation helpful? Give feedback.
All reactions