Skip to content

[REQ] Add css_updateadmin command #38

@crashzk

Description

@crashzk

If we want to update an admin that we have already added, use the css_updateadmin command to do so.

Example, we added the admin crashzk.

  • css_addadmin "crashzk" "STEAM_0:1" "50" "abcdemnoz" "850"

However, I would like to edit his permissions, immunity or even time. One by one or all at once.

  • css_updateadmin "STEAM_0:1" "99" "abcdefghijklmnoz" "0"

Note: I believe that the username should be something that the plugin automatically detects and updates whenever the player changes their nickname in the game. In other words, use it as if it were his nickname.

First time we put one, but whenever the player connects to the server it checks its steamid, if the nickname is different in the database, it updates it to the new nickname.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions