Raised This Month: $134 Target: $400
 33% 

[Any] Simple Downloader


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: PogChampVille
Plugin ID:
4553
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Allows server operators to create/setup custom files for the server to download & precache.
    Old 03-16-2015 , 05:48   [Any] Simple Downloader
    Reply With Quote #1

    Simple Downloader

    Description:
    Simple Downloader is a plugin I decided to build in order to allow server operators to add files to precache & add to downloads table without having to worry about coding. This plugin only does checks and loads the code whenever a map first starts so it won't do anything right away. If you disable the plugin with the ConVar, it just won't do anything on map starts, you would have to change it back to on then do a map change for it to work again.

    I am aware that 'sm_downloader' is a thing and that's fine as well but this plugin takes advantage of Key value systems plus it allows the server operator to set the path of the config so each map can load a different config.

    ConVars:
    Code:
    simpledownloader_version - Version Control
    sm_simpledownloader_status - 1 - Status of the plugin: (1 = on, 0 = off)
    sm_simpledownloader_config - configs/simpledownloader.cfg - Full path of the configuration file to load: (IE: configs/simpledownloader.cfg)
    Read the example configuration file and download the blank one to edit it and have it do what you need.

    Code Repository | Download | Report Bugs | Donate
    Attached Files
    File Type: sp Get Plugin or Get Source (SimpleDownloader.sp - 443 views - 6.0 KB)
    File Type: cfg simpledownloader.cfg (150 Bytes, 334 views)
    File Type: cfg simpledownloader.example.cfg (2.6 KB, 413 views)
    __________________
    Feel free to request private commissions: Steam Profile

    Last edited by Drixevel; 03-01-2017 at 18:11.
    Drixevel is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: PogChampVille
    Old 03-16-2015 , 05:49   Re: [Any] Simple Downloader
    Reply With Quote #2

    Reserved
    __________________
    Feel free to request private commissions: Steam Profile
    Drixevel is offline
    8guawong
    AlliedModders Donor
    Join Date: Dec 2013
    Location: BlackMarke7
    Old 03-16-2015 , 09:09   Re: [Any] Simple Downloader
    Reply With Quote #3

    any difference from
    https://forums.alliedmods.net/showthread.php?p=602270
    ??
    8guawong is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: PogChampVille
    Old 03-16-2015 , 11:52   Re: [Any] Simple Downloader
    Reply With Quote #4

    Quote:
    Originally Posted by 8guawong View Post
    You clearly didn't read my post.
    __________________
    Feel free to request private commissions: Steam Profile
    Drixevel is offline
    aexi0n
    AlliedModders Donor
    Join Date: Nov 2014
    Location: bhop_deluxe
    Old 03-16-2015 , 13:41   Re: [Any] Simple Downloader
    Reply With Quote #5

    I've been contemplating an SQLlite version of something like this where a table would be created i.e:'content', and the columns would look like so:

    Content Name | Type | Path

    Hatsune Miku | Model | model/player/anime/miku
    Hatsune Miku | Material | materials/model/player/anime/miku

    Then if the type is model for example, it will attempt to download/precache miku.mdl, miku.dx90.vtx, and miku.phy, or if the file is a material it would download/precache miku.vmt, miku.vtf, miku_normal.vtf, etc.

    Not really sure if this would be efficient or not, but just an idea I had been pondering.
    aexi0n is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Location: noitacoL:
    Old 03-16-2015 , 15:45   Re: [Any] Simple Downloader
    Reply With Quote #6

    Quote:
    Originally Posted by aexi0n View Post
    I've been contemplating an SQLlite version of something like this where a table would be created i.e:'content', and the columns would look like so:

    Content Name | Type | Path

    Hatsune Miku | Model | model/player/anime/miku
    Hatsune Miku | Material | materials/model/player/anime/miku

    Then if the type is model for example, it will attempt to download/precache miku.mdl, miku.dx90.vtx, and miku.phy, or if the file is a material it would download/precache miku.vmt, miku.vtf, miku_normal.vtf, etc.

    Not really sure if this would be efficient or not, but just an idea I had been pondering.
    How would you config a sqlite db as a server operator?
    Sounds inefficient.
    __________________
    Mitchell is online now
    ThatKidWhoGames
    AlliedModders Donor
    Join Date: Jun 2013
    Location: My House
    Old 03-17-2015 , 07:09   Re: [Any] Simple Downloader
    Reply With Quote #7

    This is a very awesome looking plugin! Will have to test it.
    ThatKidWhoGames is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 13:18.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode