Plugin len pre určitých adminov

Technická podpora k herním serverům Team Fortress 2
Message
Autor
casper10
Příspěvky: 28
Registrován: 11 pro 2011, 01:55
Reputation: 0

Plugin len pre určitých adminov

#1 Příspěvekod casper10 » 14 led 2012, 02:32

Vie mi niekto poradiť, ako obmedziť fungovanie pluginu v TF2 (konkrétne teamswitch) tak, aby ho mohol využívať len niektorý admin (nie všetci)? Ešte dodatočná info - vie niekto poradiť, ako logovať úplne všetok text, ktorý hráči napíšu počas hry?

Uživatelský avatar
Mysteria
Příspěvky: 9122
Registrován: 26 pro 2009, 15:40
Reputation: 7
Bydliště: Česká republika
Kontaktovat uživatele:

Re: Plugin len pre určitých adminov

#2 Příspěvekod Mysteria » 14 led 2012, 13:21

Nějaké pluginy to mají zabudované v sobě, že se u nich může nastavit přístupové právo admina (a, b, c, d, ...) a ten je pak bude moci používat. Bohužel TeamSwitch k nim nepatří, takže by jsi si to tam musel dodělat sám ;)

casper10
Příspěvky: 28
Registrován: 11 pro 2011, 01:55
Reputation: 0

Re: Plugin len pre určitých adminov

#3 Příspěvekod casper10 » 16 led 2012, 01:02

Našiel som jedneho čo sa s tým pohral, pre flag "o" to môže byť takto v súbore
...addons/sourcemodconfigs/admin_overrides.cfg

(ak by ste to niekto potrebovali)

Kód: Vybrat vše

{
    /**
     * By default, commands are registered with three pieces of information:
     * 1)Command Name         (for example, "csdm_enable")
     * 2)Command Group Name    (for example, "CSDM")
     * 3)Command Level        (for example, "changemap")
     *
     * You can override the default flags assigned to individual commands or command groups in this way.
     * To override a group, use the "@" character before the name.  Example:
     * Examples:
     *        "@CSDM"            "b"                // Override the CSDM group to 'b' flag
     *         "csdm_enable"    "bgi"            // Override the csdm_enable command to 'bgi' flags
     *
     * Note that for overrides, order is important.  In the above example, csdm_enable overwrites
     * any setting that csdm_enable previously had.
     *
     * You can make a command completely public by using an empty flag string.
     */
    "teamswitch"            "o"
    "teamswitch_death"      "o"
    "teamswitch_roundend"    "o"
    "teamswitch_spec"       "o"
    "ts_immed"                "o"
    "ts_death"                "o"
    "ts_rend"                "o"
    "ts_spec"                "o"
}


Zpět na „Team Fortress 2“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 1 host