[Aseco2] Plugin collection by Basti504

This forum is dedicated to the Aseco/Rasp 2 server records and control script by Flo and Assembler Maniac. Announcements and issues can be discussed in this forum.

Moderators: Flo, Assembler Maniac, f*ckfish, TM-Patrol

User avatar
Basti504
cyclist
cyclist
Posts: 47
Joined: 29 Aug 2006 17:09
Owned TM-games: TMN,TMU, TMF
Location: Netherlands
Contact:

[Aseco2] Plugin collection by Basti504

Post by Basti504 » 27 May 2008 08:44

In this topic you can find all my plugins, some are ported, some are self made. If you have problems with my plugins, please post them in THIS topic, so it does not polute the ASECO forum, and it is easy for me to check just one topic. I'll keep the start post updated whith the latest versions of my plugins, so no searching in the topic.

Plugins listed here. I'll keep all the plugins in this post, also updated versions, just look at the date under the name of the plugin :)
  • Admin bar
  • Chat Logger (log to .txt file)
  • Bad Words Kicker
  • Show top25 ranks at end of round
  • Player join message, UPDATED!
  • Player leave message
  • Automatic Links Paser
  • Force mod to clients
  • Force music to clients
  • Dedimania Records at end of trackNEW!

Please use this if you know some PHP, you may need to reposition/change some simple things.
_______________________________________________________________________________________________________

Adminbar
18-5-2008

Installation:

-Put all the plugins in the plugin map
-Add the plugins to plugins.xml, but make sure you add plugin.adminbar.php first, then add the sub-plugins.

Image
(With red circle are included in package)

http://basti768.kicks-ass.net/1/TMNF/Adminbar.zip

Chatlogger
18-5-2008

It logs the chat to a txt file in the Logs directory. I ported this plugin from aseco TMN, Who made it I dont know, I only made it work in aseco tmnf. I use this plugin to show the last 15 chat lines on my website.

http://basti768.kicks-ass.net/1/TMNF/Chatlog.zip

Bad Words
18-5-2008

It kicks people when they say a bad word, edit the array in the plugin to add words. Very simple. Also it explaines to the user why he got kicked.

Image

http://basti768.kicks-ass.net/1/TMNF/Badwords.zip

Show Ranks/Records at end
31-5-2008

This plugin shows the top25 ranks, records or ranks/records at the end of the game. You can configure hou many recs or ranks you want to see. Open plugin.showranks.php in an editor and edit the numbers :)

Image

http://basti768.kicks-ass.net/1/TMNF/Showranks.zip

Player join message
19-6-2008

With this plugin you can easy make a personal join message for your server. You can configure lots of things to make the message more personal. Here under you can find a example configuration file:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<settings>
	<LineColor>$ff0</LineColor> <!-- TM color code for the text, example: $f00 ,$f00$i -->
	<LineItemColor>$fff</LineItemColor> <!-- TM color code for all parameters, example: $f00, $f00$i  -->
	<ShowUserIsAdmin>false</ShowUserIsAdmin> <!-- TRUE or FALSE  -->
	<ShowUserWithFormatting>false</ShowUserWithFormatting> <!-- TRUE or FALSE  -->
	<ShowNationShort>true</ShowNationShort> <!-- TRUE or FALSE, Example: When true NED will be displayed, when false Netherlands will be displayed   -->
	<ShowServerRankShort>true</ShowServerRankShort> <!-- TRUE or FALSE, Example: When true 2 will be displayed, when false 2/35 will be displayed   -->
	
	<!--
	LineToDisplay, the line that will be displayed, the following parameters are avaidable:
	
	{login} -> Login name
	{nick} -> Nickname
	{rank} -> World rank
	{serverrank} -> ServerRank if avaidable
	{country} -> Country of the user
	-->
	<LineToDisplay>Player {nick} joined the game, Rank {rank}, Country {country}</LineToDisplay> <!-- The line itself with the avaidable variables  -->
	
	<!-- DEBUG SETTINGS -->
	<MessageTimeOut>0</MessageTimeOut> <!-- INTEGER, The time in seconds that the plugin will not send messages after aseco started, stops flooding when it restarts, example: 20  -->
</settings>
A screenshot of some possibilties with this plugin.
Image

Installation:

-Place PlayerJoin.xml in de aseco root directory
-Place plugin.playerjoin.php in the plugin directory and add it to plugins.xml
-Edit Playerjoin.xml to your wishes :P

Download
http://basti768.kicks-ass.net/1/TMNF/Playerjoin.zip

Player leave message
18-5-2008

Simple, see the screenshots 2 message's above this...

http://basti768.kicks-ass.net/1/TMNF/Pl ... nLeave.zip

Automatic links parser
18-5-2008

Because my server usually end up in a chatbox, I made a plugin that can easily translate a URL to a clickable thing.
Usage: /link <your URL>

If there is a HTTP:// given it will use that, if there isn't it will add it.

Image

http://basti768.kicks-ass.net/1/TMNF/Links.zip

Force mod to clients
5-6-2008

THIS ONE IS NATIONS ONLY!!!

With this plugin, you can force a mod to all clients, it wil overrule tracks with a mod, this way you can make a theme server. It is very fast coded, so the code is not pretty, but it works.

Image

Installation! :

-Put the plugin.settings.forcemods.ini in the root directory of aseco.
-Put plugin.forcemods.php in the plugins directory and add it to the plugins.xml

After that you can edit plugin.settings.forcemods.ini to use your mods, in default there are two mods, they are downloaded from my webspace, but thats no problem with me. (but dont ask me to host your mods ;) )
The notation is <Link To Mod>|<Mod Name>|<Mod Author
The seperator is an | (left from your Enter key)

http://basti768.kicks-ass.net/1/TMNF/Forcemods.zip

Force music to clients
11-6-2008

With this plugin, you can force a song to all clients, it wil overrule tracks with a song, this way you can make a song server, the song will repeat itself endless until somebody sets another song, it is very simple

Image

Installation! :

-Put the plugin.settings.forcemusic.ini in the root directory of aseco.
-Put plugin.forcemods.php in the plugins directory and add it to the plugins.xml

After that you can edit plugin.settings.forcmusic.ini to use your mods, in default there are no songs in the config file, just a example item.
The notation is <Link To Music>|<Music Name>|<Music Author>
The seperator is an | (left from your Enter key)

ONLY .MUX and .OGG ARE ALLOWED, MP3 DOES NOT WORK!

http://basti768.kicks-ass.net/1/TMNF/Forcemusic.zip

Dedimania Records at end of track
18-5-2008

This plugins shows the top5 dedimania records at the end of the track, just like the local top5 records.
Requires dedimania plugin 0.5b

Image

http://basti768.kicks-ass.net/1/TMNF/Showdedirecs.zip


_______________________________________________________________________________________________________

I got some more, but those are not very usefull, or are to hardcoded. I hope the ones I posted will help somebody :)
Last edited by Basti504 on 28 Aug 2008 19:38, edited 13 times in total.
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

User avatar
kama
happy cruiser
happy cruiser
Posts: 135
Joined: 27 Mar 2008 22:13
Owned TM-games: TMO, TMS, TMU, TMN

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by kama » 27 May 2008 11:14

Great Work Basti, very useful stuff you've designed. Will most likely add the admin bar to our server, and possibly the 25 ranks display at the end of race.
Thanks to all the people that participate in elaborating this thread and ressources, our servers really look and feel cool tx 2U.
Keep up da Good Work! :thumbsup:
Co Leader of Spanish/German TMN Fanatics! Team (http://fanatics.sytes.net)
Spain:
F MiniKarting Rounds 42 pts.
F Rec Attack TA
Germany:
F HCR Rounds 36 pts
F Dirty Hamburg Rounds 36 points

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

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by Assembler Maniac » 27 May 2008 12:58

Basti:

What's wrong with the admin panel? (The Admin button on the main toolbar)

What's wrong with the chatbot plugin bad words list?

User avatar
s!em
speedy pilot
speedy pilot
Posts: 573
Joined: 06 Dec 2005 12:53
Owned TM-games: ALL
Location: Belgium

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by s!em » 27 May 2008 14:05

IDK AM,

But he has made some cool (but maybe sometimes unusefull) plugins :thumbsup:

User avatar
Basti504
cyclist
cyclist
Posts: 47
Joined: 29 Aug 2006 17:09
Owned TM-games: TMN,TMU, TMF
Location: Netherlands
Contact:

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by Basti504 » 27 May 2008 14:57

Assembler Maniac wrote:Basti:

What's wrong with the admin panel? (The Admin button on the main toolbar)

What's wrong with the chatbot plugin bad words list?
Well, it looked to me this is the easiest way. If I dont want to type commands, the admin panel costs me 3 click (maxmize bar -> Admin -> Nextmap), with the bar I added it is 2 (maximize bar -> Nextmap). Also, when the round ends, all windows are minimized (the admin panel to), the extra/admin bar not, so I still dont have to type command, just 2 clicks.

It also did not take to much code/time to make this. So it seems a nice addition to me. But it is true, there are not much differences between the two methodes :)

The badwords kicker is just a port from tmn aseco, back then I did not use rasp, so I scripted a plugin for it. Porting is took 5 min and it works good for me, also I did not know there was a badwords kicker in the chatbot plugin, since I disabled it from the start.
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

User avatar
kama
happy cruiser
happy cruiser
Posts: 135
Joined: 27 Mar 2008 22:13
Owned TM-games: TMO, TMS, TMU, TMN

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by kama » 28 May 2008 00:33

True that the admin bar comes in duplicate. But you gotta admit that the 25 records display at the end of race is nice. I personally never use the chatbot so like basti I did not even know there was a built-in badword kikcker......
Anyway, this came as an answer to a noobish question of mine (should have thought of the admin menu in the asecobar), but I appreciate that we all share ressources and ideas. The admin bar is not a bad idea per se. If you take out the admin menu of the mainbar, it can be nice to have your little personalised admin bar for faster command (true that the bar stays available even during score, unlike the menus) :twisted:
I guess that by having more choice we will have more differenciated servers, and everybody will find the appropriate tool for him to master the trackmaniacs' that are out there :lol:
Keep up da good work! :thumbsup:
Co Leader of Spanish/German TMN Fanatics! Team (http://fanatics.sytes.net)
Spain:
F MiniKarting Rounds 42 pts.
F Rec Attack TA
Germany:
F HCR Rounds 36 pts
F Dirty Hamburg Rounds 36 points

User avatar
s!em
speedy pilot
speedy pilot
Posts: 573
Joined: 06 Dec 2005 12:53
Owned TM-games: ALL
Location: Belgium

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by s!em » 28 May 2008 05:45

maybe make a topic: basti's plugins?

Xymph
Pit Crew
Pit Crew
Posts: 5654
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by Xymph » 28 May 2008 09:23

s!em wrote:maybe make a topic: basti's plugins?
Yeah, that post shouldn't be buried within this long thread, it (and replies to it) deserves its own thread.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

User avatar
s!em
speedy pilot
speedy pilot
Posts: 573
Joined: 06 Dec 2005 12:53
Owned TM-games: ALL
Location: Belgium

Re: ASECO/RASP TMF 2.1.5 [08-5-22]

Post by s!em » 28 May 2008 10:42

And then you got a clear sight what plugins you have for aseco
maybe it is good to make a new topic if the new aseco came out
This topic is getting long .. ^^

User avatar
kama
happy cruiser
happy cruiser
Posts: 135
Joined: 27 Mar 2008 22:13
Owned TM-games: TMO, TMS, TMU, TMN

Re: Basti Admin bar and other plugins

Post by kama » 30 May 2008 11:43

HI Basti....

very nice plugins, Im glad they end up in a thread of their own ;)
A question: would it be possible to have a plugin that displays 25 top records during score screen (i/o 25 first ranks?) or maybe 10 first recs and 10 firts ranks ( a mix of both)
I like a lot your top ranks widgets, truth is I sometimes have records but a bad overall rank.... that way I could see my name displayed from time to time ;)
Tx for Ur answer.
keep up da good work.
:thumbsup:
Co Leader of Spanish/German TMN Fanatics! Team (http://fanatics.sytes.net)
Spain:
F MiniKarting Rounds 42 pts.
F Rec Attack TA
Germany:
F HCR Rounds 36 pts
F Dirty Hamburg Rounds 36 points

User avatar
Basti504
cyclist
cyclist
Posts: 47
Joined: 29 Aug 2006 17:09
Owned TM-games: TMN,TMU, TMF
Location: Netherlands
Contact:

Re: Basti Admin bar and other plugins

Post by Basti504 » 30 May 2008 15:18

Nice thinking :)

I will add those feature's to that plugin.

- Variabel display count
- A choice about what to see (ranks,records, ranks and records)
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

User avatar
kama
happy cruiser
happy cruiser
Posts: 135
Joined: 27 Mar 2008 22:13
Owned TM-games: TMO, TMS, TMU, TMN

Re: Basti Admin bar and other plugins

Post by kama » 30 May 2008 17:11

Greats!!!!! Ur the man Basti! Lokking forward for those features :thumbsup:
Keep up da Good Work!!
Co Leader of Spanish/German TMN Fanatics! Team (http://fanatics.sytes.net)
Spain:
F MiniKarting Rounds 42 pts.
F Rec Attack TA
Germany:
F HCR Rounds 36 pts
F Dirty Hamburg Rounds 36 points

User avatar
Basti504
cyclist
cyclist
Posts: 47
Joined: 29 Aug 2006 17:09
Owned TM-games: TMN,TMU, TMF
Location: Netherlands
Contact:

Re: Basti Admin bar and other plugins

Post by Basti504 » 31 May 2008 17:38

kama wrote:Greats!!!!! Ur the man Basti! Lokking forward for those features :thumbsup:
Keep up da Good Work!!
Download here the new version :)

http://basti768.kicks-ass.net/1/TMNF/Showranks.zip

Just open the file in an editor and edit the numbers in the configuration section.
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

User avatar
kama
happy cruiser
happy cruiser
Posts: 135
Joined: 27 Mar 2008 22:13
Owned TM-games: TMO, TMS, TMU, TMN

Re: Basti Admin bar and other plugins

Post by kama » 01 Jun 2008 11:05

Tx a lot mate!!! Great Work. I'll pay U a visit to Ur server, feel free to drop by ours at any time ;)
Tx again!
Co Leader of Spanish/German TMN Fanatics! Team (http://fanatics.sytes.net)
Spain:
F MiniKarting Rounds 42 pts.
F Rec Attack TA
Germany:
F HCR Rounds 36 pts
F Dirty Hamburg Rounds 36 points

User avatar
Fisch.666
happy cruiser
happy cruiser
Posts: 136
Joined: 18 May 2006 01:13
Owned TM-games: TMU, TMN, TMUF, TMNF
Location: Germany
Contact:

Re: Basti Admin bar and other plugins

Post by Fisch.666 » 04 Jun 2008 23:26

Hi!

First thanks for this plugin!

But there is no readme or installation hint for the adminbar plugin, where should i put the files and which plugins should be enabled in the plugins.xml?

Thanks in advance for an reply.

Post Reply