[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, f*ckfish, Assembler Maniac, TM-Patrol

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 » 18 Jun 2008 18:17

I'm working on a new plugin lately. It's an big update for the Player Join Message plugin.

Normally this plugin was hardcoded, but the new plugin will be fully configuarable.
Here you can see some configurations:

(see some posts under this one)

It will be possible to display:
  • Login
  • Nickname (with or without formatting) (admin or not)
  • Rank
  • Server rank (if avaidable)
  • Country (full or zone-code)
You can configure the text color and formatting.

This is the config file so far.

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<settings>
	<LineColor>f00$i</LineColor> <!-- TM color code for the text, example: f00  -->
	<LineItemColor>fff</LineItemColor> <!-- TM color code for all parameters, example: f00  -->
	<ShowUserIsAdmin>false</ShowUserIsAdmin> <!-- TRUE or FALSE  -->
	<ShowUserWithFormatting>false</ShowUserWithFormatting> <!-- TRUE or FALSE  -->
	<ShowNationShort>false</ShowNationShort> <!-- TRUE or FALSE, Example: When true NED will be displayed, when false Netherlands will be displayed   -->
	<LineToDisplay>{nick} from {country} joined the server </LineToDisplay> <!-- The line itself with the avaidable variables  -->
</settings>
It is not finished yet, so no download yet.
If you have ideas about this, please post :)
Last edited by Basti504 on 19 Jun 2008 10:27, edited 1 time in total.
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

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

Re: Basti Admin bar and other plugins

Post by s!em » 18 Jun 2008 18:39

Looking great :)
an alternative plugin that is (maybe) better, great :)

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 » 18 Jun 2008 19:51

That's nice..... Love to see it 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 » 19 Jun 2008 10:47

Finished the first version :)

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
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

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

Re: [Aseco2] Plugin collection by Basti504

Post by s!em » 19 Jun 2008 17:07

Sorry basti, I rather stick to the previous plugin. I like it more :)

.Pr3t0z
highway camper
highway camper
Posts: 4
Joined: 19 Jun 2008 12:10
Owned TM-games: TMF

Re: [Aseco2] Plugin collection by Basti504

Post by .Pr3t0z » 19 Jun 2008 22:39

thanks man ;), a question about the bad words, what i have to modify to insert the unsayable words? :)

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

Re: [Aseco2] Plugin collection by Basti504

Post by Basti504 » 20 Jun 2008 14:04

.Pr3t0z wrote:thanks man ;), a question about the bad words, what i have to modify to insert the unsayable words? :)
Open the plugin file (plugin.bad.words.php) in Notepad or another editor (like Notepad++), then you see this section:

Code: Select all

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//array with dirty words :O
$badwords = array( "**"
             ,"**"
             ,"**"
             ,"**"
             ,"**"
             ,"**"
             ,"**"
             ,"**"
            );

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Just edit the words in the quotes and if you want to add more, just copy place an extra (see below) above );

Code: Select all

,"**"
Hope this helps :)
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

.Pr3t0z
highway camper
highway camper
Posts: 4
Joined: 19 Jun 2008 12:10
Owned TM-games: TMF

Re: [Aseco2] Plugin collection by Basti504

Post by .Pr3t0z » 23 Jun 2008 20:32

ok thanks ;)

User avatar
FoxShadow
smooth traffic navigator
smooth traffic navigator
Posts: 247
Joined: 03 Nov 2006 20:37
Owned TM-games: TMNF, TMUF
Location: Puerto Esperanza, Misiones, Argentina
Contact:

Re: [Aseco2] Plugin collection by Basti504

Post by FoxShadow » 24 Jun 2008 16:05

Please, can you "convert" your Show Ranks/Records at end plugin, in order to run on XAseco ?
Thank you in advance.
Image
Image
Image

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

Re: [Aseco2] Plugin collection by Basti504

Post by Basti504 » 24 Jun 2008 18:54

FoxShadow wrote:Please, can you "convert" your Show Ranks/Records at end plugin, in order to run on XAseco ?
Thank you in advance.
I haven't used XAseco yet, I dont know if there is much difference between them? But I'll take a look at it :)
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

User avatar
FoxShadow
smooth traffic navigator
smooth traffic navigator
Posts: 247
Joined: 03 Nov 2006 20:37
Owned TM-games: TMNF, TMUF
Location: Puerto Esperanza, Misiones, Argentina
Contact:

Re: [Aseco2] Plugin collection by Basti504

Post by FoxShadow » 25 Jun 2008 19:43

Basti504 wrote:I haven't used XAseco yet, I dont know if there is much difference between them? But I'll take a look at it :)
Great! :D
Image
Image
Image

User avatar
FoxShadow
smooth traffic navigator
smooth traffic navigator
Posts: 247
Joined: 03 Nov 2006 20:37
Owned TM-games: TMNF, TMUF
Location: Puerto Esperanza, Misiones, Argentina
Contact:

Re: [Aseco2] Plugin collection by Basti504

Post by FoxShadow » 01 Jul 2008 14:24

Basti504 wrote:I haven't used XAseco yet, I dont know if there is much difference between them? But I'll take a look at it :)
Sorry for ask, but when ? :(
I'm tried modify it several times, but without success :cry:
Image
Image
Image

User avatar
Cherimoya
pedestrian
pedestrian
Posts: 13
Joined: 18 May 2008 22:39
Owned TM-games: TMN:F TMU:F
Location: Netherlands
Contact:

Re: [Aseco2] Plugin collection by Basti504

Post by Cherimoya » 05 Aug 2008 22:28

The links en mod change plugin are great for our servers. The mod change plugin has some great potential for another idea i have. Thanks for the effort.

In dutch: echt gave mod plugin, Harm. Werkt perfect. Dank je wel. FSR is je nu al dankbaar :wink:
FSR Shorties 0-60000 -> join , FSR Dinky 0-60000-> join

User avatar
blooper
happy cruiser
happy cruiser
Posts: 144
Joined: 11 Oct 2007 23:47
Owned TM-games: TMUF
Location: Minnesota, USA

Re: [Aseco2] Plugin collection by Basti504

Post by blooper » 24 Aug 2008 15:01

Can the player join/leave message plugins be ported to Xaseco? I know Xaseco already has this functionality (via the Jfreu plugin), but I am not satisfied with the amount of customization (or lack thereof) it has.

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

Re: [Aseco2] Plugin collection by Basti504

Post by Basti504 » 28 Aug 2008 19:31

Recently I stated using the dedimania plugin, great work for that. But I wanted to intergrate it more in my server, as I love statistics I needed a dedimania thingy at the end of the track, so here it is :D

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've also been working on another plugin lately, people in my server wanted to know other people's avarage. I coudn't find a simple list that lists all the averages for the top players, so I'm working on that one. Here a screenie for the progress:

Image

And the config part as it is now, its just in the file itself, no fancy XML thing.

Code: Select all

   /////////////////////////////////////////////////////////////////////////////////////////////
		//////////////////////// CONFIGURATION ///////////////////////////////////////////////////
		
		//Number of ranks displayed (Integer)
		//More means slower, Less means faster (Default : 100)
		$NumberRanks = 100;
		
		//Display players own rank {Boolean - TRUE or FALSE) (Default: True)
		$DisplayPlayer = true;
		
		//Name formatting (Boolean - TRUE or FALSE) (Default: True)
		$Formatting = True;
		
		//Records per page (Integer)
		//The number of ranks per page, if you set $DisplayPlayer to  TRUE, there will be 2 lines used extra (Default: 20)
		$NumberRanksPerPage = 20;
		
		//Add Ranks button in statusbar (Boolean - TRUE or FALSE) (Default: False)
		$InStatusbar = True;
		
		
		//////////////////////// END OF CONFIGURATION /////////////////////////////////////////////
		/////////////////////////////////////////////////////////////////////////////////////////////
  
Hope some people find this usefull :)
blooper wrote:Can the player join/leave message plugins be ported to Xaseco? I know Xaseco already has this functionality (via the Jfreu plugin), but I am not satisfied with the amount of customization (or lack thereof) it has.
I think that is a lot of work, I never used Xaseco, and I dont know how its build. Maybe I'll take a look at it when I have more time
Visit my dev server, All Nadeo Tracks - TimeAttack in The Netherlands

Post Reply