Custom Admin Batch Commands

    Would you like to be able to create customized admin commands composed of multiple admin commands?

    • No... just ... stop........ ... please.

      Votes: 0 0.0%

    • Total voters
      7
    • Poll closed .
    Joined
    Feb 22, 2014
    Messages
    98
    Reaction score
    33
    • Legacy Citizen
    • Purchased!
    I was recently thinking about how nice it would be if you could create custom admin commands composed of multiple other existing commands on a server.

    It seems like this could be easily arranged through something similar to the ability to set up bulk import/export of sectors. There could be a text file with some simple directions to set up a name for the command followed by the list of commands that would be run.

    Example:
    mybatchcommand{
    /spawn_mobs catalogcapitalship -1 1
    /spawn_mobs catalogdestroyer -1 3
    /spawn_mobs catalogfighter -1 20
    /initiate_wave 5 60
    }

    This could allow an admin to stage a cool event for players on the server by simply typing "/custombatch mybatchcommand". This would then spawn in a capital ship from the server catalog along with 3 destroyers and 20 fighters as escort... to be followed a minute later with an additional wave of enemy ships ;)


    This, of course, could be used to pre-set up any litany of available admin commands for other purposes as well :)


    Let me know what you think.

    - Mr. V
     
    Last edited:

    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
    Already possible, sorta. The no GUI version of starnet(dig around the old site) lets you send commands to the server remotely using a batch file.
     

    Ithirahad

    Arana'Aethi
    Joined
    Nov 14, 2013
    Messages
    4,150
    Reaction score
    1,330
    • Purchased!
    • Top Forum Contributor
    • Legacy Citizen 8
    Already possible, sorta. The no GUI version of starnet(dig around the old site) lets you send commands to the server remotely using a batch file.
    I'd like an ingame command for activation, (not to mention vanilla batch command support, the main point of the suggestion) but yes...
     
    Joined
    Feb 22, 2014
    Messages
    98
    Reaction score
    33
    • Legacy Citizen
    • Purchased!
    I'd like an ingame command for activation, (not to mention vanilla batch command support, the main point of the suggestion) but yes...
    @therimmer96 I had searched around a little while without any luck - I'll have to check out the Starnet software you mentioned

    @Ithirahad I agree - It just seems like it would be useful to have something like this built into the vanilla version of Starmade in general and probably would be fairly easy to addition to the existing code (I'm not a programmer, so I do realize that's a fairly dangerous assumption to make on my part :D )
     

    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
    isn't it called Starmote? At least in the code it is :confused:
    starmote is built into starmade.jar, starnet is its own jar. its what the super admin password is about in the config