Releases: gdr1461/GAdmin
Releases · gdr1461/GAdmin
v1.3.0
Main Module
- _G.GAdmin rework.
ClientAPI
- Fixed :CreateHoverInfo method.
Parser
:GetCommand
is now deprecated, useGlobalAPI:GetCommand
instead.
Server API
- Added :SetPlayerServerRank method.
- :GetPlayer is now deprecated, use
GlobalAPI:GetPlayer
instead.
Global API
- Added
:GetSimilarity
method. - Added
:GetPlayer
method. - Added
:GetSide
method. - Added
:GetCommand
method.
Commands
- Slash commands bug fixes.
- Reworked
Undo
system. - Added Revoke
table
to command template. CmdBar
autofill feature fix + new.
Added on hover information about the command.
Settings
- Transfered
Topics
to theData
.
- Bug fixes.
Full Changelog: v1.2.1...v1.3.0
v1.2.1
ClientAPI
- Added :ConvertUdim method.
- Added :GetFrameMousePosition method.
- Added :CreateMarkdown method.
- Added :GetMarkdown method.
- Added :CreateHoverInfo method.
Parser
:Parse
method rework.
Now:Parse
can work without specifyingCaller
.- Added
:FromMessage
method.
Triggers command from server. (You need to specify player for all of the commands.me
won't work.)
Commands
- Made slash commands disappear if user doesn't have high enough rank.
- Added
SendTo
command.
Sends trigger command event to other servers.
- Bug fixes.
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Commands
- Added slash commands.
- Added DisableChat setting.
Settings
- Added
AutoCompleteChatCommands
setting.
Parser
- Added method
:SetChatCommand(Name: string, AutoCorrect: bool)
.
Bug Fix
- Fixed
Tool
argument.
Full Changelog: v1.1.5...v1.2.0
v1.1.5
v1.1.4
Small bug fix
Fixed user rank resetting after rejoin.
API Server
-- [OLD]
129 Data.SessionData[player.UserId].ServerRank = Settings.DefaultRank
-- [NEW]
129 Data.SessionData[player.UserId].ServerRank = Data.SessionData[player.UserId].Rank --Settings.DefaultRank
v1.1.3
Parser
- Added method
:Parse(Caller, Message, IgnoreCustomPrefix)
. - Method
:ParseMessage()
is now deprecated, use methd:Parse()
instead. - Added method
:ParseData()
, mainly used in:Parse()
.
Commands
- Added
;Sit [Player]
.
Forces player to sit.
- Added
;Seat [Player] [SeatObject]
.
Forces player to sit ondescendant
ofworkspace
that is class ofSeat
.
Addons
- Changed
Packs
instance inGAdminLoader/Addons
fromModuleScript
toConfiguration
class.
v1.1.2
CmdBar
- Arguments now show up with the commands.
- Set command autofill text size from
TextScaled
to22
.
GlobalAPI
- Added new methods:
FindValueParent meta
Recursive
Arguments: Data: table
, Value: any
.
Returns table in which value placed at.
FindKey meta
Recursive
Arguments: Data: table
, KeyName: string
.
Returns value of first found key with same name.
v1.1.1
Bug fixes
- Fixed bug where commands like
;about
open blank admin panel. - Fixed ability to use commands without prefix.
Addons
- Added method
:GetParser()
inMainModule
.
Added for addon makers. - Added method
:RunOnCommand(Function, ...)
inMainModule
.
Will run function after initial configuration ofGAdmin
is completed.
See more
v1.1.0
Addons
-
Added brand new way of making addons - Packages.
See more at wiki. -
Added new way of making addons - separate methods.
See more atTemplate
inside of anyGAdminLoader/Addons
's children.
Settings
- Remade setting layout;
- Added new settings:
HTTPWarn
- Determines if warn will appear in the output ifHttpService
isn't enabled.
UseOldVersion
- If loader's version is outdated, you'll still be able to use GAdmin.
NoNotifies
- User wont get any normal notifies.
NoWarns
- User wont get any warn notifies.
NoErrors
- User wont get any error notifies.
IncorrectCommandNotify
- Warn user about trying to call non existing command.
CommandDebounce
- Command per minute limit state.
CommandsPerMinute
- Command per minute limit, after which, minute should pass. CommandDebounce needs to beenabled
.
Wikis
- Added wikis.
more pages will come out soon.
v1.0.0
More addons support
- Added
Calls
module in theGAdminLoader/Addons
. - Added
TopBars
module in theGAdminLoader/Addons
.
Calls:
- Array of functions, which is called whenever player joins the game.
- Server sided.
TopBars:
- Dictionary of functions with names.
- Needs to be used only for
TopBarPlus
module. - Client sided.
TopBarPlus
- Added
TopBarPlus
module support asClientAPI
methods.
ClientAPI
:GetTopBar()
: returns GAdmin'sTopBar
.:GetTopBarPlus()
: returnsrequired
moduleTopBarPlus
.:TopBarEnabled(Enabled)
: Sets GAdmin'sTopBar
visibility.