Search Faction ID

    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    I would like to have a "/search_faction_id" command. Something that can be used to find the faction ID of a faction using it's name.

    For instance: there is a faction on a server called "Borg" and it's faction id is 1


    "/search_faction_id Borg" would print something that indicates that the faction ID is "1".
     
    • Like
    Reactions: Lecic and Comr4de

    Nauvran

    Cake Build Server Official Button Presser
    Joined
    Jun 30, 2013
    Messages
    2,346
    Reaction score
    1,195
    • Master Builder Bronze
    • Competition Winner - Small Fleets
    • Legacy Citizen 10
    These are not the numbers you are looking for. *waves with one hand*

     
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    These are not the numbers you are looking for. *waves with one hand*

    That would work... if my factions list was as small as that one. Opening mine takes a few moments. Trying to do it in StarMote results in an instant crash.

    This also does not help with automation/scripting I, and many other servers, need to do.
     

    Nauvran

    Cake Build Server Official Button Presser
    Joined
    Jun 30, 2013
    Messages
    2,346
    Reaction score
    1,195
    • Master Builder Bronze
    • Competition Winner - Small Fleets
    • Legacy Citizen 10
    That would work... if my factions list was as small as that one. Opening mine takes a few moments. Trying to do it in StarMote results in an instant crash.

    This also does not help with automation/scripting I, and many other servers, need to do.
    I just thought you had missed that part of the faction hub and at least it's something.
     
    Joined
    Jul 21, 2013
    Messages
    2,932
    Reaction score
    460
    • Hardware Store
    You do know you could technically attempt to parse the factions.fac file, even if that may not be the best way.
     
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    You do know you could technically attempt to parse the factions.fac file, even if that may not be the best way.
    It do know that, and that is what I currently tried to do. Stuff doesnt work too well on new factions. Server restart is required.
     
    Joined
    Aug 5, 2013
    Messages
    405
    Reaction score
    140
    • Community Content - Bronze 1
    *cough* first time i think running a small server is not a bad idea. No need to think about those APIs or whatever:rolleyes:
     

    therimmer96

    The Cake Network Staff Senior button unpusher
    Joined
    Jun 21, 2013
    Messages
    3,603
    Reaction score
    1,053
    • Legacy Citizen 10
    • Top Forum Contributor
    You do know you could technically attempt to parse the factions.fac file, even if that may not be the best way.
    Might mean something to you, schema once told me the faction file is stored in a TAG format.