This Plugin is based on tEasyFtp & tAutoDemoUpload, which are both not longer supported.
Credits to Thrawn, this wouldnt exist without his work.
This is also the reason why the syntax is mixed & weird at times, I mostly fixed compilation erros and minorly changed behaviour in some cases.
One interesting additional feature is the ability to send the download link of every demo to a discord textchannel.
addons/sourcemod/configs/RemoteTargets.cfg
in "demos"
.sm plugins list
)tv_record
and tv_stoprecord
andThe FTP Server options are stored in addons/sourcemod/configs/RemoteTargets.cfg
Add your data in these self-explanatory options:
"RemoteTargets"
{
"demos"
{
"host" ""
"port" "21"
"user" ""
"password" ""
"path" "/demos"
"ssl" "try"
"CreateMissingDirs" "1"
}
}
If you changed demos
to another name (e.g. new_name
), then set sm_tautodemoupload_ftptarget "new_name"
.
Bzip is already included, you just have to set sm_tautodemoupload_bzip2
to a value between 0-9
.
0
-> no compression
9
-> max compression
To delete the demo after upload (and the compressed demo), set sm_tautodemoupload_delete 1
.
sm_teasyftp_discord_webhook <your_discord_webhook>
sm_teasyftp_announce_on_discord 1
sm_teasyftp_announce_format "%map: %dl_url"
use %map
, %dl_url
& %host
You can enable and disable this Plugin with sm_tautodemoupload_enable
.
1
-> enabled
0
-> disabled
The demo path gets parsed from the tv_record
command, e. g. tv_record a/b/c/demoname.dem
.
Make sure the directory exists. When uploading, the demo will be in targetfolder/demoname.dem
,
NOT targetfolder/a/b/c/demoname.dem
.
SSL connect error
?Try setting ssl
to none
in your RemoteTargets.cfg.