Jump to content

Check us out:

Submitter

File Information

  • Submitted: Dec 23 2017 03:29 PM
  • Last Updated: Jan 03 2018 03:55 PM
  • File Size: 2.39KB
  • Views: 519
  • Downloads: 97

Download Auto Ref Lua 0.2.1

- - - - -



-- Module: reyalp_autoref
-- Version: 0.2.1
-- Author: reyalp (at) gmail.com + various bits stolen from bani examples
-- Description:
-- automatically give ref to certain players on connect,
-- by GUID or IP
-- Not only does this save them remembering the password, it also
-- keeps them from sharing it, or accidentally typing it in open chat.
-- They can of course still ref other players or share their etkey file
-- (and thus GUID)
-- Configuration:
-- two files named autorefips and autorefguids
-- each file should contain a whitespace or newline delimited list,
-- and be located in your ET search path (either etmain or your fs_game)
-- autorefguids lists PB guids, as printed by pb_sv_plist or in userinfo cl_guid
-- autorefips lists IPs in dotted decimal notation, e.g. 127.0.0.1
-- if either file is missing a warning is printed and processing continues.
-- Note that autorefing is done in ClientBegin (when a client connects,
-- or on map change/restart), so loading the list does not by itself change
-- anyones ref status.
-- The lists are automatically loaded in initgame. They can also
-- be manually re-loaded from the server console.
-- Server console Commands:
-- autoref <subcmd>
-- where <subcmd> is
-- load - load list files, discarding any in-memory lists
-- list - list autoref IPs and GUIDs
-- clear - clear in memory list, files are not changed
-- help - list these commands
--
-- Changelog
-- 0.2.1
-- support etpro-lua-2 and above, which restart lua modules on each game restart
-- load tables in initgame again
-- 0.2
-- don't try to ref people who are already ref'd
-- load tables on module start
-- many other improvments
-- 0.1
-- initial version




Other files you may be interested in ..





  • 384 Total Files
  • 19 Total Categories
  • 38 Total Authors
  • 73,233 Total Downloads
  • Lays of Schwarzwald B1 Latest File
  • WuTang Latest Submitter