Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/programmernb-ctrl/rebar-adminpanel
rebar-adminpanel for the Rebar Framework
https://github.com/programmernb-ctrl/rebar-adminpanel
altv altv-resource altv-server altvmp
Last synced: about 2 months ago
JSON representation
rebar-adminpanel for the Rebar Framework
- Host: GitHub
- URL: https://github.com/programmernb-ctrl/rebar-adminpanel
- Owner: programmernb-ctrl
- Created: 2024-10-31T17:45:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T15:03:10.000Z (2 months ago)
- Last Synced: 2024-12-05T15:40:17.335Z (2 months ago)
- Topics: altv, altv-resource, altv-server, altvmp
- Language: Vue
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rebar-adminpanel
> [!IMPORTANT]
> Please read all installation steps to prevent unwanted behaviour[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/S6S3171498)
## Installation
1. Go to your Rebar `main` server's directory.
2. Now clone this repository in to your Rebar `main` directory using git commands.
```bash
cd path/to/your/rebar-altv/
git clone https://github.com/programmernb-ctrl/rebar-adminpanel.git src/plugins/rebar-adminpanel
```3. If your character doesn't already have the admin group, you'll need to customize the config in `./shared/config.ts`
```typescript
export const adminpanelConfig = {
adminMode: true, // true to see webview even if you don't got the admin group. mostly required to setup the plugin
};
```4. Start the server once by using one of the below commands. The plugin will load __automatically.__
```
pnpm start
pnpm dev
```5. Execute the `Give Admin` function.
6. After you've executed the __Give Admin__ function in the __webview__ make sure you set `adminMode: false,` in the config `./shared/config.ts````typescript
export const adminpanelConfig = {
adminMode: false, // this needs to be set so member who dont got the admin group simply cant see the adminpanel.
}
```7. Simply stop and start the server again to be sure __adminMode__ is set to __false__
## Update
- If you cloned this repo and wanna update it, you can simply do it like this.
```bash
cd path/to/your/rebar-altv/src/plugins/rebar-adminpanel
git pull
```- If you forked this repo and wanna update it, simply search for `merge from upstream` on [Google](https://www.google.com)
## Dependencies
- [Rebar Framework](https://github.com/stuyk/rebar-altv)