Basic auth

From EventScripts Community Encyclopedia

basic_auth is a very basic AuthorizationService provider that ships with EventScripts. It allows you to add Steam IDs of players you wish to use admin-only and poweruser commands.

Add this to the beginning of your autoexec.cfg (add your own Steam IDs):

es_load examples/auth/basic_auth
BASIC_AUTH_ADMIN_LIST "STEAM_ID_LAN;STEAM_0:0:571273;"
 
//Replace the red part with your normal steamid, or as many STEAMIDs as you want with semicolons.
 
// ...
// ... all your other es_load lines 

See Also

  • Authorization FAQ -- A FAQ about ES authorization providers.
  • ini_tree_auth -- An intermediate authorization provider that relies on an ini-based tree file for permissions. This authorization provider can also import Mani's clients.txt.
  • group_auth -- An advanced authorization provider with user- and group-based access to unique addon permissions.
  • mani_basic_auth -- A simple authorization provider that imports admins and capabilities from Mani's clients.txt.
blog comments powered by Disqus