cheesy is an NodeJs client for Transformice that allows developers to make bots easily. It uses an API endpoint to get the keys needed to connect to the game.
Join the Fifty Shades of Lua discord server to discuss about this API and to receive special support.
This API depends on an endpoint that gives you access to the Transformice encryption keys.
To use it you will need a token which you can get by applying through this form. See below to know the names of Transfromage managers who handle the token system.
- Tocutoeltuco @discord=>
Tocutoeltuco#0018
212634414021214209
; - Blank3495 @discord=>
#8737
436703225140346881
; - Bolodefchoco @discord=>
Lautenschlager#2555
285878295759814656
.
You can install cheesy.js using npm:
npm install cheesy.js
Versions under 2.0.6 are no longer working due to internal changes of the game.
const cheesyjs = require('cheesy.js');
const client = new cheesyjs();
client.on('loginReady', () => {
client.setLanguage(cheesyjs.enums.language.en);
client.login('nickname', 'password', "roomName");
});
client.on('roomMessage', (message) => {
if (client.nickname == message.author.nickname)
return;
client.sendRoomMessage(message.author.look);
});
client.start("api_tfmid", "api_token");