Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.72 KB

File metadata and controls

46 lines (30 loc) · 1.72 KB

cheesy.js

cheesy is an NodeJs client for Transformice that allows developers to make bots easily. It need bot role account to connect to the game.

Join the Fifty Shades of Lua discord server to discuss about this API and to receive special support.

Authentication

To use this API and authenticate your account ingame, you will need to apply to this form.

If you get accepted, you will be able to choose an account (except your main account) to get the bot role in game - and thus, being able to use our API.

See below to know the names of Transfromage managers who handles the system.

  • Tocutoeltuco @discord=> Tocutoeltuco#0018 212634414021214209;
  • Blank3495 @discord=> 󠂪󠂪 󠂪󠂪 󠂪󠂪󠂪󠂪 󠂪󠂪 󠂪󠂪󠂪󠂪 󠂪󠂪 󠂪󠂪#8737 436703225140346881;
  • Bolodefchoco @discord=> Lautenschlager#2555 285878295759814656.

Installation

You can install cheesy.js using npm: npm install cheesy.js

/!\ Versions under 2.7.0 may not working due to internal changes of the game.

Example

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();