Transformice — Api
function eventChatCommand(name, command) if command == "!kill" then tfm.exec.killPlayer(name) tfm.exec.chatMessage("The API has smited you, " .. name) elseif command == "!tp me" then -- Teleport to the shaman local shaman = tfm.get.room.shaman() local pos = tfm.get.room.playerPosition(shaman) tfm.exec.movePlayer(name, pos.x, pos.y) end end
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: transformice api
The definitive source for global rankings and player history. function eventChatCommand(name, command) if command == "
For years, developers have used URLs like: For years, developers have used URLs like: When
When using the Transformice API, it is crucial to follow the :
: To run a script, you must typically be in your tribe house , have permission to use the /np command, and possess at least 100 cheese.
: Spawn customized physical objects, change gravity, and manipulate wind settings.