Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Admin Commands <Core>
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
56.794 KB
29 May @ 7:32am
4 Oct @ 7:51am
5 Change Notes ( view )

Subscribe to download
Admin Commands <Core>

In 2 collections by skysky199
Script List
129 items
Script List <Odds and Ends>
41 items
Description
--僅於區域/專用伺服器生效--
--Works on local/dedicated servers only.--

※部分功能需要 開啟Scripted Mode
※Some functions require enable Scripted Mode.
<God>
<ZSpawn>
<Director>

Sourcemod ver.

※除了<Core> Lib Collections 與 Additional Events Lib 皆為可選
※All scripts are optional, except for <Core>, Lib Collections and Additional Events Lib.

※所有指令支持聊天欄輸入 !cmd args, /cmd args 與 scripted_user_func cmd,arg1,arg2 的方式輸入
※All commands support input via chat with !cmd args, /cmd args and scripted_user_func cmd,arg1,arg2 formats.

Setting file path:
\ems\admincommands\settings.tbl

Description of settings:
設定名
Setting's name
說明
Description
PrintMessage
(Default: 2147483647)
Print message to chat box.

1 = core
2 = kick
4 = ban
8 = god
16 = noclip
32 = convar
64 = kill
128 = give
256 = zspawn
512 = drop
1024 = teleport
2048 = director
4096 = finale
8192 = revive
16384 = health
32768 = entity
65536 = others
Add numbers together.
列印訊息到聊天欄
TargetSelf
(default: true)
If no target is specified, some commands will default to yourself.
部分指令 未輸入目標代表自己
ZSpawnNoLimit
(default: false)
If true, when spawning SI, SI limit will be temporarily set to above max players.
如果為 true 生成特感時會暫時允許超出特感上限
CanKillSelf
CanDropSelf
(default: false/false)
If true, non-admin player can use !kill to commit suicide, !drop to drop their own weapons.
如果為 true 非管理員玩家可以使用 !kill 自殺 !drop 丟自身物品

指令:
Commands:
!add_admin <name> [flag]
!remove_admin <name>
!refresh_admin
!console <cmd>

※合法的flag: "a" 到 "z" 可以是 "asdfgh"
※"z"可以使用所有的指令 "b"可以使用除了add_admin/remove_admin/console以外的所有指令

※Valid flags: "a" to "z", can be "qwertyu".
※"z" grants access to all commands. "b" grants access to all commands except add_admin, remove_admin, and console commands.

指令目標可以是過濾器 舉例:
Command targets can be filters . For example:
!kill @i
!drop @s
!kick @bots
2 Comments
skysky199  [author] 10 Jun @ 10:38pm 
@Red

This provides admin permissions for the commands you have subbed to.
No need to sub to all commands, but:
If you only sub this and 2 libs, you just have admin permissions, no commands can be used. (except for the ones mentioned in the description.)
And if you don't sub to this, all commands will not be loaded.

To add admin, you can either use !add_admin or go to ems/admin commands/admins.tbl
"flag" can be "a", "afh", "kuotcg", etc.
If you are using listen server, the host will be automatically given "z" level permission.
Kopi69 10 Jun @ 7:42pm 
how do use this cause i dont understand all of it:steamhappy: