Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums:

[TUT]Setting up IRC Control for Pyspades

Problem getting your server up? Ask in here.

[TUT]Setting up IRC Control for Pyspades

Postby PXYC » Mon Feb 06, 2012 2:34 am

So, you've played in a popular server and you have seen people talking that aren't actually ingame? This is because of the IRC (Internet Relay Chat) that pyspades can use. You can use almost every command from there (ban, kick, mute, etc.) and you can also chat with the server, given that you are OP in the channel.

Step 1) Get the latest pyspades version (For help with this, look here).
Step 2) Go into config.txt and customize it to your likings. Then, find the section of it that looks like this:
Code: Select all
    "irc" : {
        "enabled" : false,
        "nickname" : "pyspades",
        "username" : "pyspades",
        "realname" : "pyspades server bot",
        "server" : "",
        "port" : 6667,
        "channel" : "#pyspades.bots",
        "password" : "",
        "commandprefix" : ".",
        "chatprefix" : ""

I will explain what each thing means and what you should change it to.
Code: Select all
    "irc" : {
        "enabled" : true,  <---Set this to true, obviously.
        "nickname" : "pyspades", <---The name/nick of the bot
        "username" : "pyspades", <---What the bot should be authed as.
        "realname" : "pyspades server bot", <---Realname, only shows when you type /whois <nick>
        "server" : "", <---Server for the IRC, only change if you are advanced.
        "port" : 6667, <---Don't change
        "channel" : "#pyspades.bots", <---Channel that the bot should join (Example would be #AoS, don't do that, make it something like #Thisisachannel)
        "password" : "", <---If there is a password to your channel, put it there.
        "commandprefix" : "!", <---Prefix that you will put before each command from the IRC (!ban PXYC Epicness)
        "chatprefix" : "." <---Prefix that you put if you want to broadcast a message to the server (.Hello everyone!)

Step 3)Now, go to and type in the channel that you put in the config.txt for channel, and make your nick whatever you want. It is what people will see when you broadcast to the server, though, so make it something people know you by. (Join before the bot)
Step 4) Save the config and run the server. Make sure everything format wise is good and untouched. If you get any weird errors, just check your formatting. If you can't figure it out, come here.
Step 5) Once the bot joins the channel, go ahead and try out the commands. Make sure you remember the command prefix and chat prefix.
Step 6) If you want to be automatically OPd in the channel, check out QuakeNet's guide on how to get Q, auth, and use the commands. If your server is just temporary, or you are the only one that is going to be in the channel, don't bother.

Thanks for reading, hope I helped,


<+laserlamp> lil b is my fav
User avatar
Local Mod
Posts: 1068
Joined: Wed Dec 14, 2011 2:52 am
Location: Near Philadelphia, PA

Re: [TUT]Setting up IRC Control for Pyspades

Postby SLoW » Mon Feb 06, 2012 3:39 pm

Great post PXYC! Stickying.
User avatar
Global Moderator
Posts: 560
Joined: Sat Dec 10, 2011 4:35 pm

Re: [TUT]Setting up IRC Control for Pyspades

Postby Lult » Mon May 07, 2012 9:47 pm

Nice post PXYC helped me a lot
User avatar
Posts: 22
Joined: Mon May 07, 2012 8:51 pm

Return to Server Help

Who is online

Users browsing this forum: No registered users and 1 guest