Skip to content

Feature Request: Add POST endpoints for inputting player actions #2

Open

Description

@RimoChan

This is a fantastic project! Thank you for your great work.

I was wondering if you would consider adding POST endpoints to allow sending player actions (like placing a wall blueprint) into the game.

My goal is to use Python and LLMs to call these APIs and attempt to automate RimWorld gameplay. Having a way to input commands via POST would be incredibly powerful for this kind of project.

Thank you for your consideration!

Activity

  1. MasterPNJ commented on Aug 27, 2025

    @MasterPNJ
    Owner

    Thank you @RimoChan for your comment. Yes, other people have asked me about this too. I will complete the GET and also add POST endpoints. I am also open to any additions to the mod.
    I study artificial intelligence, and it's true that the possibility of automating Rimworld gameplay seems very interesting.

    This is a fantastic project! Thank you for your great work.

    I was wondering if you would consider adding POST endpoints to allow sending player actions (like placing a wall blueprint) into the game.

    My goal is to use Python and LLMs to call these APIs and attempt to automate RimWorld gameplay. Having a way to input commands via POST would be incredibly powerful for this kind of project.

    Thank you for your consideration!

  2. RimoChan commented on Aug 27, 2025

    @RimoChan
    Author

    Awesome! I've actually forked your repository in the last few days and added many input_xxx endpoints on my branch: https://github.com/RimoChan/Rimworld-API/blob/main/Source/ARROM/Server.cs.
    Please feel free to take a look and use any of my code.

  3. MasterPNJ commented on Aug 27, 2025

    @MasterPNJ
    Owner

    Thanks for that. If one day you feel like it, you can create a pull request so I can take a closer look. Then, afterwards, I’ll update the mod on the Steam Workshop as well as the main branch of the GitHub with your additions. I will, of course, also add your username in the mod credits, since from what I’ve seen, you’ve added quite a few interesting new features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions