Note
- Usage
DataStoreService
, so it is recommended to setEnable Studio Access to API Services
totrue
. - Optional usage of
HttpService
to let you know if your GAdmin needs an update.
Settings is located at: GAdminLoader/Settings
.
Some of the settings can be outdated.
With GAdmin
you can:
- Change GAdmin's TopBar using
TopBar.Reference
ofClient/Modules/Framework/TopBar
; - Create your own
Commands
; - Make
Calls
; - Use three of GAdmin's
APIs
. - Much more.
API
has many useful methods. As an example, API:GetBanlist()
.
To get API
, you first need to get GAdmin MainModule
:
local GAdmin = require(_G.GAdmin)
And then, get the API
from it:
local API = GAdmin:GetAPI()
You can make either client
or server
custom commands.
Read GAdminLoader/Addons/ServerCommands/INFO
and GAdminLoader/Addons/ClientCommands/INFO
first.
{
Command = "Explode",
RequiredRank = 3,
Alias = {"Explosion"},
UppercaseMatters = false,
Client = false,
ClientOnly = false,
Loop = false,
Arguments = {"Player@"},
References = {"Player"},
ArgPermissions = {},
Function = function(Caller, Arguments)
local player = Arguments[1]
local Explosion = Instance.new("Explosion")
Explosion.Parent = player.Character.HumanoidRootPart
Explosion.CFrame = player.Character:GetPivot()
end,
},
{
Command = "View",
RequiredRank = 3,
Alias = {"SeePlayer"},
UppercaseMatters = false,
Client = true,
ClientOnly = true,
CallerClient = true,
Loop = false,
Arguments = {"Player@"},
References = {"Player"},
ArgPermissions = {},
},
ClientCommands.View = function(Caller, Arguments)
local Player = Arguments[1]
workspace.CurrentCamera.CameraSubject = Player.Character.Humanoid
end