-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
111 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# App | ||
|
||
## `App.ActivateUI` | ||
|
||
::: warning | ||
This method is meant for internal use only. No support will be provided if you have issues with it. | ||
::: | ||
|
||
::: code-group | ||
|
||
```lua [Annotation] | ||
ActivateUI(UI: Frame): nil | ||
``` | ||
|
||
```lua [Example] | ||
ActivateUI(script.Parent.NewUI) | ||
``` | ||
|
||
::: | ||
|
||
Activates the specified Application UI, will create the `AdministerApps` folder if it doesn't exist already. | ||
|
||
|
||
## `App.Build` | ||
|
||
::: code-group | ||
|
||
```lua [Annotation] | ||
Build(OnBuild: Function, AppConfig: Table, AppButton: Table): nil | ||
``` | ||
|
||
```lua [Example] | ||
Build( | ||
function (AppConfig, BuiltAPI) | ||
print(AppConfig, BuiltAPI) | ||
end, | ||
{}, -- For future release | ||
{ | ||
Icon = "rbxassetid://0000", | ||
Name = "An Application", | ||
Frame = script.Parent.UI, | ||
Tip = "This application does something.", | ||
HasBG = true, | ||
BGOverride = "rbxassetid://0000" | ||
} | ||
) | ||
``` | ||
|
||
::: | ||
|
||
Build the specified app using the given `AppConfig`, will run `OnBuild` after building as follows: | ||
```lua | ||
local function OnBuild(AppConfig, BuiltAPI) | ||
-- AppConfig will be the same as you specified in `App.Build` | ||
end | ||
``` | ||
|
||
For documentation about `BuiltAPI`, see [BuiltAPI](./builtapi.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# What is Administer? | ||
|
||
## What is it? | ||
|
||
Administer is an admin system which takes modularity to a level never seen before. You only keep what you need. Don't need announcements? Get rid of it. | ||
We also have a modern and consistient admin panel which does everything you'll ever need. | ||
|
||
## Installation | ||
|
||
::: danger | ||
Administer will NOT boot without access to Studio APIs and HTTPService! | ||
**Do NOT report any bugs if you see errors related to API access denied.** | ||
::: | ||
|
||
Administer is ready to go out of the box. Just install it from the Creator Store and place the script in [ServerScriptStorage](https://create.roblox.com/docs/reference/engine/classes/ServerScriptService). | ||
After that, you'll instantly be ready to go and add apps to your heart's content. | ||
|
||
The game's owner account/group will automatically be added as an admin. | ||
You can configure additional admins in the Admins script or in the panel **(recommended)**. | ||
|
||
## Contributions | ||
|
||
Contributions are more than welcome (i'm just one person!) and will be reviewed shortly. We use Rojo so it's an easy sync (given you have the proper setup). | ||
|
||
Feeling nice? Add a feature from [our development priorities](https://trello.com/b/GA5Kc0vB/administer). Want to fix a bug? Just push the fix. | ||
|
||
If you're adding a new feature, you may want to open an issue before coding something. We may deny PRs if it does not contribute to the project in a way an app can't. If you want an app on the main app server please [reach out to me](https://discord.com/users/449950252397494274). | ||
|
||
## Credits | ||
|
||
Administer is mostly developed with :heart: by [@pyxfluff](https://github.com/pyxfluff). Some apps are by other Administer team members. We also use multiple OSS resources, such as: | ||
|
||
- UICons: FlatIcon | ||
- QuickBlur: [@pixe_ated](https://devforum.roblox.com/u/pixe_ated) | ||
- MUI Button Animations: [@Qinrir](https://devforum.roblox.com/u/Qinrir) | ||
- neon: [@fractality](https://devforum.roblox.com/u/fractality) | ||
- Server finder base logic: [@kylerzong](https://devforum.roblox.com/u/kylerzong) |