Plugin len pre určitých adminov
-
- Příspěvky: 28
- Registrován: 11 pro 2011, 01:55
- Reputation: 0
Plugin len pre určitých adminov
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?
- 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
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 

Výběr z vlastních projektů: MinecraftServerList.cz ✔ Minecraft Extended Punishment List ✔ Killing Floor2 servery ✔








Spoiler: zobrazit
-
- Příspěvky: 28
- Registrován: 11 pro 2011, 01:55
- Reputation: 0
Re: Plugin len pre určitých adminov
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)
...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"
}
Kdo je online
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 1 host