A New Plugin - Team Chat!

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

A New Plugin - Team Chat!

Post by El Fuego » 16 Nov 2006 12:11

I'm pulling together the concept for this. (I presume it doesn't already exist?)

The idea is to piggy-back on Aseco/RASP and the /teamname functionality to add a /tmchat command ... this would send a ChatSendToLogin message to each player that has signed in to a particular teamname. Example ...

Players join a team with /teamname XXX

A member of XXX (e.g. XXX Fuego) types in /tmchat watch out for the sneaky post after the last jump

The server sees this and send out the message only to those players presently on the server who have also used /teamname XXX of

XXX Fuego says watch out for the sneaky post after the last jump

... If anyone has any ideas for tweaks or features then please post here.

Watch this space! 8)
Cheers!
.FUEY.
Diary Of A Mad Man

User avatar
XXX.MAX
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 26 Jun 2006 12:23
Owned TM-games: TMS, TMN, TMU, TMH
Manialink(s): xxx
Location: WALES
Contact:

Post by XXX.MAX » 16 Nov 2006 15:07

sounds good fuego, would also stop the team spamming chat in a game when we bring in subs etc
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 16 Nov 2006 15:45

An alternative option would be use the SendDisplayServerMessageToId output so it showed in the main screen rather than in the chat area, but we'd then have to limit who was able to use it as it blocks your view, and then how do we decide who has this permission? (Could be done as an admin function I suppose).

Remember that anything that appears in the chat area will spam the chat area for affected team members anyway, but not for non team members.
Cheers!
.FUEY.
Diary Of A Mad Man

User avatar
Mistral
Pit Crew
Pit Crew
Posts: 1304
Joined: 02 May 2006 15:13
Owned TM-games: tmuf
Contact:

Post by Mistral » 16 Nov 2006 15:51

you need something like
/team found XXXX
and only the founder of the team is able to add members with
/team allow YYYY
maybe other members can be allowed to add members
/team operator ZZZZ
and player YYYY has to accept with
/team join XXXX

User avatar
XXX.MAX
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 26 Jun 2006 12:23
Owned TM-games: TMS, TMN, TMU, TMH
Manialink(s): xxx
Location: WALES
Contact:

Post by XXX.MAX » 16 Nov 2006 16:55

Remember that anything that appears in the chat area will spam the chat area for affected team members anyway, but not for non team members.
Yeah, but we want to see our spam. Not the other teams I mean.
I dont think having it come up in seperate window would be helpful either.
The worst part of the spam is at end of a race when I try to score, and everyones text pushes score off screen :?
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 16 Nov 2006 16:59

@Mistral -> Thanks for the feedback. I'll have a think about this.

@Max -> You would have to be sure not to be in the team if you're trying to score otherwise you'd see the team chat messages. I'll think about an admin option to allow the team scores to be repeated in the SendDisplayServerMessageToId window, by you using /tmchat scores.
Cheers!
.FUEY.
Diary Of A Mad Man

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 16 Nov 2006 22:48

Team Chat plugin now available. Please check it out and let me know any bugs or improvements.

Get it here

You will need to add <plugin>chat.tmchat.php</plugin> to plugins.xml 8)
Cheers!
.FUEY.
Diary Of A Mad Man

Funnyman
speedy pilot
speedy pilot
Posts: 328
Joined: 31 Mar 2006 06:08
Owned TM-games: TMS, TMU, TMF
Location: Netherlands
Contact:

Post by Funnyman » 17 Nov 2006 07:38

:D I think telling your team on ventrilo/teamspeak would be easier . . . :D
Ð Ξ F u n n y M a n
Image

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 17 Nov 2006 10:06

True - and there's Xfire too.

But teams can comprise people from different nations, and so voice chat is not always easy to understand. ;)

There's no necessity for anyone to use this plugin - it just gives an alternative avenue to achieve team communication. :)

PS - this plugin has a /tmchat players command that allows you to see who is in your team at any given time. This is Admin Only at the moment but I plan to change this.
Cheers!
.FUEY.
Diary Of A Mad Man

User avatar
XXX.MAX
smooth traffic navigator
smooth traffic navigator
Posts: 191
Joined: 26 Jun 2006 12:23
Owned TM-games: TMS, TMN, TMU, TMH
Manialink(s): xxx
Location: WALES
Contact:

Post by XXX.MAX » 17 Nov 2006 10:59

El Fuego wrote:PS - this plugin has a /tmchat players command that allows you to see who is in your team at any given time. This is Admin Only at the moment but I plan to change this.
that command is what is missing from the matchscore plugin. to see who is in your team. that would get rid of people joining wrong team. I think it should be a public command too so u can check yourself. Good thinking fuey
Image
XXX Team Site: http://WALESXXX.awardspace.com
Stats site only on when I remember to fire it up

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 17 Nov 2006 11:12

I'm also making a /tmchat assign loginname teamname command (Admin only) that will let an admin change a player's assigned team. This updates the main players table too, so it will be remembered - so let's hope we don't have any evil admins! :twisted:
Cheers!
.FUEY.
Diary Of A Mad Man

Assembler Maniac
Pit Crew
Pit Crew
Posts: 1493
Joined: 03 Jun 2006 13:24
Owned TM-games: TMU
Contact:

Post by Assembler Maniac » 17 Nov 2006 14:25

XXX.MAX wrote:
El Fuego wrote:PS - this plugin has a /tmchat players command that allows you to see who is in your team at any given time. This is Admin Only at the moment but I plan to change this.
that command is what is missing from the matchscore plugin. to see who is in your team. that would get rid of people joining wrong team. I think it should be a public command too so u can check yourself. Good thinking fuey
As of rasp 1.3, there's a /players plugin that does the same thing, it's chat.players.php.

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 17 Nov 2006 15:43

That shows the list of players ... but it shows all the players and not just the list of players in your team though?

Anyway ... v0.2 is now linked. This adds the /tmchat assign command and moves /tmchat players to public use. Full list of available commands are ...

/tmchat start - (Admin only) starts team chat mode

/tmchat stop - (Admin only) stops team chat mode

/tmchat teams - (Admin only) shows the list of teamnames of players presently on the server

/tmchat players - shows the list of players in your team

/tmchat assign login team - (Admin only) assigns a player on the server to a specific teamname

/tmchat some text - displays the some text message in the chat area but only to your team members

... Functionality still to come ...

/tmchat scores - (Admin only) displays again the team scores from the previous map/round

Others ..... ?
Cheers!
.FUEY.
Diary Of A Mad Man

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 17 Nov 2006 17:34

v0.2a now linked. Small update - the match_details table was not being updated so any changes made via /tmchat were not being assigned to the final scores.
Cheers!
.FUEY.
Diary Of A Mad Man

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 17 Nov 2006 19:30

v0.2b now linked. There was a problem whereby /tmchat assign was not updating the player teamname for the matchsave plugin. Now fixed.
Cheers!
.FUEY.
Diary Of A Mad Man

Post Reply