wasvendel_admin
wasvendel scripts
wasvendel_admin
wasvendel scripts
wasvendel_admin.wasvendel_admin folder into your server's resources directory.server.cfg after your framework core.Edit shared/config.lua to configure roles, commands, ban settings, and Discord webhooks.
| Setting | Default | Description |
|---|---|---|
Config.OpenCommand | admin | Command used to open the admin panel. |
Config.Commands | Configurable | Additional admin commands and their required permissions. |
| Command | Usage | Description |
|---|---|---|
/admin | /admin | Opens the admin panel. |
The command name can be changed with Config.OpenCommand.
Each entry in Config.Commands inside shared/config.lua registers an additional chat command mapped to a server event.
Examples:
| Command ID | Event |
|---|---|
kill | wasvendel_admin:cmd_kill |
revive | wasvendel_admin:cmd_revive |
goto | wasvendel_admin:cmd_goto |
bring | wasvendel_admin:cmd_bring |
addmoney | wasvendel_admin:cmd_addmoney |
giveitem | wasvendel_admin:cmd_giveitem |
setjob | wasvendel_admin:cmd_setjob |
noclip | wasvendel_admin:cmd_noclip |
See shared/config.lua for the complete command list and role permissions.
| Event | Payload | Description |
|---|---|---|
wasvendel_admin:open | None | Opens the admin panel. |
wasvendel_admin:pageData | page, payload | Sends page data to the panel. |
wasvendel_admin:playerDetail | payload | Sends player detail data. |
wasvendel_admin:notify | text, nType | Sends a notification. |
wasvendel_admin:tp | x, y, z | Teleports the player. |
wasvendel_admin:announcement | title, message, durationMs, senderName | Shows the server announcement overlay. |
wasvendel_admin:spectatePlayer | targetServerId, targetCoords | Starts spectating a player. |
These events are triggered internally when an administrator runs a command from the panel.
You can hook them for logging or custom overrides.
| Event | Payload | Description |
|---|---|---|
wasvendel_admin:cmd_goto | src, data | Teleports an administrator to a player. |
wasvendel_admin:cmd_bring | src, data | Brings a player to the administrator. |
wasvendel_admin:cmd_kill | src, data | Kills a player. |
wasvendel_admin:cmd_revive | src, data | Revives a player. |
wasvendel_admin:cmd_heal | src, data | Heals a player. |
wasvendel_admin:cmd_addmoney | src, data | Adds money to a player. |
wasvendel_admin:cmd_giveitem | src, data | Gives an item to a player. |
wasvendel_admin:cmd_setjob | src, data | Sets a player's job. |
wasvendel_admin:cmd_spectate | src, data | Starts spectating a player. |
The full command list is defined in shared/config.lua under Config.Commands.
| Event | Payload | Description |
|---|---|---|
wasvendel_admin:execCommand | eventName, data | Executes an admin command by event name. |
wasvendel_admin:createBan | targetId, minutes, reason | Bans a player. |
wasvendel_admin:unban | banId, unbanReason | Unbans a player. |
wasvendel_admin:sendAnnouncement | message, showSender | Sends a server announcement. |