Connect/Disconnect Announcer With Sound 玩家连入服务器特色音乐 趣味内容 通用内容

我不当学长 管理员组 2023-7-9 978

插件介绍:

此插件可以在玩家连入服务器的时候,根据vip flag,国家/地区 IP,steamid的不同,播放进服/离开音乐。也可以提供隐藏进服/离开的消息

Convars:

//////////////////////>>  .;[ Connect/Disconnect Announcer ];.

// Print chat mode || 1= by SteamId || 2= by Ip || 3= ip and SteamId || 4= No ip and SteamId only
cnd_mode "1"

// Connect/disconnect print type  || 1 = Show all(connects, and disconnects) || 2 = Show connects only || 3 = Show disconnects only
cnd_type "1"

// Print chat type || 1= shortcountry only || 2= longcountry only || 3= shortcountry with city || 4= longcountry with city
cnd_print_type "3"

// Print country names || 2= country with city || 1= country only || 0= No country
cnd_print_country "2"

// Shows Admins on connect/disconnect || 1= Yes || 0= No (admins join with no sounds and no print)
cnd_showadmins "1"



//////////////////////>>  .;[ Sounds ];. 下面可以根据需要修改sound file文件路径

// Toggles connect sound || 1= Yes || 0= No
cnd_sound_connect "1"

// Sound location When Someone Connect To The Server
cnd_connect_sound_file "gold_kingz/joingame.mp3"

// Toggles disconnect sound || 1= Yes || 0= No
cnd_sound_disconnect "1"

// Sound location When Someone Disonnect To The Server
cnd_disconnect_sound_files "gold_kingz/leftgame.mp3"

// Toggles connect and disconnect sound for custom flag only || 1= Yes || 0= No (everyone)
cnd_enable_only_flag "0"

// If cnd_enable_only_flag 1 which flag is it
cnd_sound_flag "t"



//////////////////////>>  .;[ Logs ];.

// Logging of connects and disconnect to a log file || 0= Off || 1= On || 2= On only log annoucers
cnd_loggin "0"

// Log mode || 1= by SteamId || 2= by Ip || 3= ip and SteamId || 4= No ip and SteamId only
cnd_mode_log "1"

// Location of the log file relative to the sourcemod folder
cnd_logfile "data/cnd_logs.log"



//////////////////////>>  .;[ Misc ];.

// Remove Default Connect Messages || 1= Yes || 0= No
cnd_connect_messages "1"

// Remove Default Disconnect Messages || 1= Yes || 0= No
cnd_disconnect_messages "1"

制作自定义声音步骤:

1.选择一个mp3音乐文件,将它转换为125kpbs(可以利用这个在线网站进行转换)

2.在转换后,可以通过右键mp3文件,查看属性信息,检查是否真正转换ok

3.将转后之后的mp3文件,放到服务器的对应目录,以及FastDL下载站对应目录(sound目录)

4.修改cfg/sourcemod/cnd_announcer.cfg,将其中的[Sounds]参数改成为你的自定义声音文件

5.重启服务器

下载地址:

https://cowtransfer.com/s/24a2601aeb1e44 点击链接查看 [ Sourcemod.1.10.Connect.Disconnect.Announcer.With.Sounds.3.0.2.zip ] ,或访问奶牛快传 cowtransfer.com 输入传输口令 xtmuat 查看;

参考:


CSGO插件分享-申明 1、本网站名称:CSGO插件分享-中文站  网址:https://bbs.csgocn.net
2、本站的宗旨在于为CSGO玩家提供一个插件分享的中文资源平台,多数插件来源于SourceMod论坛,并配以中文介绍和安装教程。
3、欢迎有能力的朋友共享有趣的CSGO插件资源。
4、本站资源大多为百度网盘,如发现链接失效,可以点: 这里进行反馈,我们会第一时间更新。
最新回复 (3)
返回