Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.5 kB
5
Indexable
Never
/* VARIABLES */

/* ROOM */

const roomName = "🔴🔴🔴🔴 matheuso#0947 | Admin Ditador  🔴🔴🔴🔴 ";
const botName = "Bom Senso";
const maxPlayers = 2;
const roomPublic = true;
const scoreLimit = 0;
const timeLimit = 0;
const geo = {"code": "br", "lat": -27.6833, "lon": -48.8};
const Team = { SPECTATORS: 0, RED: 1, BLUE: 2 };

const room = HBInit({ roomName: roomName, maxPlayers: maxPlayers, public: roomPublic, playerName: botName, geo: geo });

room.setScoreLimit(scoreLimit);
room.setTimeLimit(timeLimit);

/* EVENTS */

/* PLAYER MOVEMENT */

room.onPlayerJoin = function(player) {
	{
		room.sendChat(' Matheuso é o administrador mais ditador que o haxball ja viu ')
	}
}

room.onPlayerTeamChange = function(changedPlayer, byPlayer) {
}

room.onPlayerLeave = function(player) {
}

room.onPlayerKicked = function(kickedPlayer, reason, ban, byPlayer) {
}

/* PLAYER ACTIVITY */

room.onPlayerChat = function(player, message) {
}

room.onPlayerActivity = function(player) {
}

room.onPlayerBallKick = function(player) {
}

/* GAME MANAGEMENT */

room.onGameStart = function(byPlayer) {
}

room.onGameStop = function(byPlayer) {
}

room.onGamePause = function(byPlayer) {
}

room.onGameUnpause = function(byPlayer) {
}

room.onTeamGoal = function(team) {
}

room.onPositionsReset = function() {
}

/* MISCELLANEOUS */

room.onRoomLink = function(url) {
}

room.onPlayerAdminChange = function(changedPlayer, byPlayer) {
}

room.onStadiumChange = function(newStadiumName, byPlayer) {
}

room.onGameTick = function() {
}