[PLUGIN] Chat Messages Bot

MPAseco is a server controller for Shootmania, which provides you with a framework and some standard plugins.

Moderator: NADEO

Post Reply
Whiler
Posts: 2
Joined: 21 Nov 2013, 09:46

[PLUGIN] Chat Messages Bot

Post by Whiler »

Hi,

With our TM²S server (maniaplanet://#join=B-U-G@TMStadium), we are using a plugin which automatically sends predefined messages to all connected players...

I tried to find the same for MPAseco without success...
So, I created my first own plugin, which is based on:
You can download it from here

Like I said, this is my first plugin... so, if you see optimizations, issues, ... do not hesitate to let a comment to this thread ;)

Cheers,

  W.


Here is the content of the plugin config file to allow you to btter understand what/how you can setup with it:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<chat_messages_bot>

	<!-- Here you can setup the Name who send the messages, supported are all from config.xml <colors> and colorcodes like $FF0 -->
	<cmb_name>{#server}[ Chat Messages Bot {#server}]</cmb_name>

	<!-- Adjust the color of the below messages, supported are all from config.xml <colors> and colorcodes like $FF0 -->
	<text_formatting>$S$E90</text_formatting>

	<!-- Interval in seconds (>10s or your chat will get spammed!) -->
	<interval>90</interval>
		
	<!-- Use 'linear' or 'random' -->
	<mode>linear</mode>

	<!--
		Setup here as many messages you want.
		This Messages are sent to all connected players.
	//-->
	<!-- Messages. You may use color codes and link formatting -->
	<messages>
		<message>Maecenas ligula magna</message>
		<message>bibendum posuere posuere non</message>
		<message>dictum et ante</message>
		<message>Pellentesque at neque quam</message>
		<message>a accumsan mauris</message>
	</messages>

</chat_messages_bot>
Post Reply

Return to “MPAseco”

Who is online

Users browsing this forum: No registered users and 2 guests