Меню
The , primarily accessed through the in-game Lua system and external community-driven tools, allows players to create custom game modes, automate tribe functions, and track player statistics . Key Capabilities
The heart of Transformice’s longevity is its /room system. In module rooms, the API provides a sandboxed Lua environment. Here is what the API exposes to scripters: transformice api
: Scripts are executed via the /lua command. Access is restricted to players with specific tribe permissions or members of the official Module Team. Core Packages : The , primarily accessed through the in-game Lua
While they don't always have a public REST API, many developers "scrape" or use community-shared database dumps from Atelier 801 Fansites How to Get Started Join a Module Team: Here is what the API exposes to scripters:
| Command | Example | Purpose | |---------|---------|---------| | a[name] | aAlice | Authenticate as guest | | m[msg] | mHello! | Send chat message | | j[roomName] | jRoom1 | Join a specific room | | c | c | Create a new default room | | g | g | Get ready (start game) | | R | R | Respawn as mouse | | B | B | Become shaman (if eligible) | | e[itemId] | e3 | Place shaman item (3 = wooden plank) |
Because Atelier 801 has not released an official public REST API for account data or game state, the community has reverse-engineered several endpoints over the years. These are typically used for: