1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

API Mod auto-updates

Discussion in 'Community Dev Corner' started by Shadlington, May 3, 2014.

Mods: Downburst, Mazey
  1. Mazey

    Mazey Haxor Global Moderator Forum Moderator Staff Alumni Donator Official Server Admin

    Messages:
    1,914
    @LucasTT to save you effort, line 13.
    Code:
            for (var i = 0; i < listSrc.length; i++) {
    
    ->
    
            for (var i = 1; i < listSrc.length; i++) {
     
  2. LucasTT

    LucasTT Haxor Tester

    Messages:
    455
    Shadlington likes this.
  3. Shadlington

    Shadlington THD Team THD Team Administrator Global Moderator

    Messages:
    1,562
    Okay, slightly more substantial alteration:

    Ideally this will help server owners setup their mods, right? Well, that'll only work if the mod devs have set their mods up correctly, including a) uploading a mod package and b) making the full download unrestricted.

    So could you add a tick box that, when ticked, filters the list down to just those mods that have downloadAvailable == true and fullRestricted = false? Could also have an extra column that gives that info.

    Servers meeting that criteria are the only ones that the server can download itself.
     
  4. LucasTT

    LucasTT Haxor Tester

    Messages:
    455
  5. Shadlington

    Shadlington THD Team THD Team Administrator Global Moderator

    Messages:
    1,562
    Awwwwww yisss.

    Okay so this is pretty much ideal for the purposes of informing folks about what they can setup their servers to download. Thanks Lucas :D
     
  6. LucasTT

    LucasTT Haxor Tester

    Messages:
    455
    Np. Tell me if you need anything else or if something is buggy.
     
Mods: Downburst, Mazey