Jump to content

I have an idea for a mod but have no idea how to start.


 Share

Recommended Posts

Hi! so my idea is to create a tool that lets hosts ban specific units/structures. my idea of how it's gonna work is that when the user initiates building/training something, the piece of code that's responsible for that specific action also calls a function which sends a public message in the chat to notify the host. I just need someone who's familiar with the game's code help me write the syntax. thank you!

  • Like 1
Link to comment
Share on other sites

Good news is that it doesn't even need to be installed on all clients. It can be a mod without compatibility check. Since everyone has a simulation state, you as a host or as a NON host can write a chat message that "player X is training/building (SOMETHING)".

If you want to start fast, ask Claude. If you want to rather make it by hand - look at GUI JS code and also how other mods are structured.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...