Page 1 of 8

[Tools] SMAdminTools

Posted: 13 Jul 2012, 17:36
by JuJuBoSc
Hello,


Here is my big project for ShootMania server, it's a plugins based controller, that can be used to do ... everything ?

It's written in C# using MonoDevelop, and run perfectly on Windows and Linux, plugins is written in C# as well.

Image

I made a plugin called IGAdmin, which allow user to control the server easily in game.

IGAdmin commands :
!admins -> Write the admins list.
!players -> Write players list with the PlayerId and Nickname.
!kick PLAYERID -> Kick player.
!ban PLAYERID -> Ban player.
!addadmin LOGIN -> Add admin with the specified maniaplanet login.
!deladmin LOGIN -> Delete admin.
!map MAPPATTERN -> Change map to specified map pattern (IE: !map Arch, will change the map the ArchWays).
!nextmap -> Go to next map.
!restartmap -> Restart the current map.
!password PASSWORD -> Change the server password to PASSWORD.


Edit IGAdmin__Admins.cfg to modify admins list.
All these commands is to type in the game chat.

SMAdminTools usage :


Windows : Edit Config.ini and run StartWindows.bat.

Linux : Install Mono, edit Config.ini and StartLinux.sh.

Installing Mono on Debian : apt-get install mono-complete


Download on google code : http://code.google.com/p/smadmintools/downloads/list
Source on google code : http://code.google.com/p/smadmintools/source/

Re: [Tools] SMAdminTools

Posted: 13 Jul 2012, 17:50
by askuri
Hmm, nice! :thumbsup:
Can you make this open soruce?

Re: [Tools] SMAdminTools

Posted: 13 Jul 2012, 17:53
by JuJuBoSc
I'll first release the IGAdmin plugin code so everyone will have great sample to make plugins, and once the core will be more advanced, I'll make a googlecode page for it.

Re: [Tools] SMAdminTools

Posted: 13 Jul 2012, 17:56
by askuri
Ok, the plugins will be coded in C# too?

Re: [Tools] SMAdminTools

Posted: 13 Jul 2012, 18:20
by XtremeOmega
JuJuBoSc wrote: plugins is written in C# as well.

Yep, plugins are C# aswell

Re: [Tools] SMAdminTools

Posted: 13 Jul 2012, 18:44
by askuri
Hmm, I have never coded something in C#, only PHP :(

Re: [Tools] SMAdminTools

Posted: 13 Jul 2012, 18:56
by yonben
Wow thank you, awesome work, I'm sure it'll be useful for a lot of ppl here :)

Re: [Tools] SMAdminTools

Posted: 14 Jul 2012, 03:55
by Mikey
Good work ! This is a very tidy tool.

Suggestions
use / instead of, or aswell as ! for commands
add a help command that lists the commands
add a list command to list the maps
add a save and load matchsettings commands

Re: [Tools] SMAdminTools

Posted: 14 Jul 2012, 08:31
by JuJuBoSc
Source code available on google code :)

Re: [Tools] SMAdminTools

Posted: 14 Jul 2012, 15:29
by JuJuBoSc
Added IRCBot plugin, which is awesome !