Run .Bat files, or do a web request from in game

Discussion in 'Plugin Requests' started by MajorLOLGaming, May 23, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    MajorLOLGaming

    As the title says, i need a simple plugin that allows me to either run web requests (like webhooks), or to run a .bat file from a command in game. If anyone can make this reality, i would appreciate it.
    Thanks.
     
  2. Offline

    timtower Moderator Moderator

    @MajorLOLGaming Running .bat files is not very safe.
    How should it work? Commands? Permissions?
     
    Xp10d3 likes this.
  3. Offline

    allstarzplays

    It would be incredibly hard to do this. The dev would have to re-write whatever language .bat files use, so that the plugin could read and understand the file you're trying to run.

    P.S. I'm pretty sure that's how you would have to write it, but I know there are plenty of people who are smarter than me that might know a more efficient way.
     
  4. Offline

    timtower Moderator Moderator

    You can just call the batch script though.
     
  5. Offline

    allstarzplays

    I didn't even realize that was possible.
    Thanks for the heads up!
     
Thread Status:
Not open for further replies.

Share This Page