Skip to content

ivenuss/flag-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Flag Manager

GitHub All Releases GitHub last commit GitHub repo size

Description

Adds user to database with admin flag to specific duration & whenever user joins to server he obtains admin flag

Database preview

ddisp

Installation

connect to your mysql in databases.cfg

"flag_manager"
{
    "driver"                        "mysql"
    "host"                          "localhost"
    "database"                      ""
    "user"                          ""
    "pass"                          ""
}

ConVars

sm_fm_adminflag "b" //Admin flags with access to admin commands.

Commands

  • sm_addflag <steamid64> <flag> <duration> <unit>
  • sm_extendflag <steamid64> <duration> <unit>
  • sm_deleteflag <steamid64>

Usage

Allowed units: second, minute, hour, day, week, month, year

  • sm_addflag 45228196148486128 abo 5 day
  • sm_extendflag 45228196148486128 1 month
  • sm_deleteflag 45228196148486128

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published