SA-MP Forums Archive
[FilterScript] [FS] RCON-manager (control your server easier from RCON-console) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] RCON-manager (control your server easier from RCON-console) (/showthread.php?tid=94275)

Pages: 1 2


[FS] RCON-manager (control your server easier from RCON-console) - Correlli - 28.08.2009

What is this?
So this is an RCON based administration filterscript which I've created using the RCMD function.


Console commands:Note: Don't forget to put the prefix in front of the command (prefix is defined with RCMD_PREFIX)


Pictures:
/imageshack/img819/8057/rconmanager.gif


Credits:
- ****** for sscanf-plugin & foreach function,
- DracoBlue for DCMD command processor.


Download:
http://www.solidfiles.com/d/f69739c8cc


How to create your own commands:
pawn Код:
#if !defined RCMD_PREFIX
    #define RCMD_PREFIX "/"
#endif
pawn Код:
#if !defined rcmd
    #define rcmd(%1,%2,%3) if((strcmp((%3), RCMD_PREFIX #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (rcmd_%1(""))) || (((%3)[(%2) + 1] == 32) && (rcmd_%1((%3)[(%2) + 2]))))) return true
#endif
pawn Код:
public OnRconCommand(cmd[])
{
    rcmd(amsg, 4, cmd);
    return false;
}
pawn Код:
rcmd_amsg(command[])
{
    new
            msg[64];
    if(sscanf(command, "s[64]", msg)) return printf("Correct usage: \"%samsg [message]\"", RCMD_PREFIX);
    foreach(Player, u) SendClientMessageEx(u, 0xFF0000AA, "* PM from RCON-CONSOLE: %s", msg);
    printf("RCON-CONSOLE: Message was sent to everyone: %s", msg);
    return true;
}



Re: [FS] RCON-manager (control your server easier from RCON-console) - Infamous - 28.08.2009

Very nice filterscript mate, tidy and useful.


Re: [FS] RCON-manager (control your server easier from RCON-console) - pliva_sb - 28.08.2009

Nice work Emilio


Re: [FS] RCON-manager (control your server easier from RCON-console) - Correlli - 28.08.2009

Thanks guys, i'm glad you like it.


Re: [FS] RCON-manager (control your server easier from RCON-console) - LuxurioN™ - 28.08.2009

very useful filterscript


Re: [FS] RCON-manager (control your server easier from RCON-console) - XtremeChio - 31.08.2009

Awesome, sometimes you just wanna do it all at the RCON window but you cant.

Now you can, great FS


Re: [FS] RCON-manager (control your server easier from RCON-console) - gszyclon - 31.08.2009

oh ye nice! very usefool i hop u can add more good commands .


Re: [FS] RCON-manager (control your server easier from RCON-console) - spike_killa - 31.08.2009

Hehe Cool


Re: [FS] RCON-manager (control your server easier from RCON-console) - Correlli - 18.11.2009

-Updated-
(Check the first post for more information.)


Re: [FS] RCON-manager (control your server easier from RCON-console) - GforceNL - 18.11.2009

Very Good Job!


Re: [FS] RCON-manager (control your server easier from RCON-console) - Calon - 18.11.2009

Pretty useful actually, nice work Don.


Re: [FS] RCON-manager (control your server easier from RCON-console) - Correlli - 18.11.2009

Thank you.


Re: [FS] RCON-manager (control your server easier from RCON-console) - Correlli - 19.11.2009

For everyone who's using this: i have updated it, please re-download.


Re: [FS] RCON-manager (control your server easier from RCON-console) - Anorexia - 19.11.2009

thanks you


Re: [FS] RCON-manager (control your server easier from RCON-console) - Correlli - 03.12.2009

UPDATE.

I have added a few new commands:


Re: [FS] RCON-manager (control your server easier from RCON-console) - [NYRP]Mike. - 03.12.2009

Nice work bud, easy and efficient, keep it up

-©un3o.


Re: [FS] RCON-manager (control your server easier from RCON-console) - Maniek - 03.12.2009

Great and original work! I will use it!


Re: [FS] RCON-manager (control your server easier from RCON-console) - DJDhan - 05.12.2009

Nice work
Keep it up!


Re: [FS] RCON-manager (control your server easier from RCON-console) - Correlli - 05.12.2009

I'm glad you like it.


Re: [FS] RCON-manager (control your server easier from RCON-console) - dpstdd - 07.12.2009

cool, but i don't see whats the point of a couple cmds eg setserverpass, setservername, setservergamemode, does this save to .cfg? i'm too lazy to check for myself. if so good stuff! and ignore this cmt otherwise those cmds already exist by the samp team and aren't rly useful, you jsut renamed them.. password, hostname, changemode?, gamemodetext