[Tools] SMAdminTools

Moderator: NADEO

Post Reply
JuJuBoSc
Posts: 17
Joined: 27 Jun 2012, 22:39

[Tools] SMAdminTools

Post by JuJuBoSc » 13 Jul 2012, 17:36

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/
Last edited by JuJuBoSc on 14 Jul 2012, 08:31, edited 3 times in total.

User avatar
askuri
Posts: 278
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: [Tools] SMAdminTools

Post by askuri » 13 Jul 2012, 17:50

Hmm, nice! :thumbsup:
Can you make this open soruce?
ManiaCDN.net: the new free hoster for your custom content

Specs: i5 6600K; MSI Z170A Gaming Pro; 2x8GB Crucial DDR4 2133MHz; Intel HD Graphics 530; Windows 10 Home 64 Bit

JuJuBoSc
Posts: 17
Joined: 27 Jun 2012, 22:39

Re: [Tools] SMAdminTools

Post by JuJuBoSc » 13 Jul 2012, 17:53

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.

User avatar
askuri
Posts: 278
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: [Tools] SMAdminTools

Post by askuri » 13 Jul 2012, 17:56

Ok, the plugins will be coded in C# too?
ManiaCDN.net: the new free hoster for your custom content

Specs: i5 6600K; MSI Z170A Gaming Pro; 2x8GB Crucial DDR4 2133MHz; Intel HD Graphics 530; Windows 10 Home 64 Bit

XtremeOmega
Posts: 23
Joined: 10 Jul 2012, 23:13

Re: [Tools] SMAdminTools

Post by XtremeOmega » 13 Jul 2012, 18:20

JuJuBoSc wrote: plugins is written in C# as well.

Yep, plugins are C# aswell

User avatar
askuri
Posts: 278
Joined: 18 Oct 2011, 15:01
Location: Germany

Re: [Tools] SMAdminTools

Post by askuri » 13 Jul 2012, 18:44

Hmm, I have never coded something in C#, only PHP :(
ManiaCDN.net: the new free hoster for your custom content

Specs: i5 6600K; MSI Z170A Gaming Pro; 2x8GB Crucial DDR4 2133MHz; Intel HD Graphics 530; Windows 10 Home 64 Bit

yonben
Posts: 1
Joined: 13 Jul 2012, 18:53

Re: [Tools] SMAdminTools

Post by yonben » 13 Jul 2012, 18:56

Wow thank you, awesome work, I'm sure it'll be useful for a lot of ppl here :)

Mikey
Posts: 212
Joined: 16 Jun 2010, 01:22
Location: Down Under

Re: [Tools] SMAdminTools

Post by Mikey » 14 Jul 2012, 03:55

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

JuJuBoSc
Posts: 17
Joined: 27 Jun 2012, 22:39

Re: [Tools] SMAdminTools

Post by JuJuBoSc » 14 Jul 2012, 08:31

Source code available on google code :)

JuJuBoSc
Posts: 17
Joined: 27 Jun 2012, 22:39

Re: [Tools] SMAdminTools

Post by JuJuBoSc » 14 Jul 2012, 15:29

Added IRCBot plugin, which is awesome !

Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 1 guest