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

HOWTO: Cheat4All

For all your hosting needs.

HOWTO: Cheat4All

Postby Dom » Thu Sep 27, 2012 9:49 am

Hi,

As you may have noticed, I recently setup the server "Dom's Experiments - Cheats4All" which enables everyone to fly, teleport and heal themselves (like cheating)

I've had a few people ask how I set it up. It's actually extremely easy using existing features in pyspades. All you need to do is tweak the config.txt. Below is the relevent section of my config.txt

Code: Select all
"passwords" : {
        "admin" : ["<REMOVED!!!>"],
        "trusted" : [],
        "builder" : [],
        "a cheater" : ["cheater"]
    },
"rights" : {
        "builder" : ["god", "goto"],
        "a cheater" : ["tp", "fly", "heal", "teleport"]
    },


The important 2 lines are the ones that start with "a cheater"

Code: Select all
 "a cheater" : ["cheater"]

This line creates a user called "a cheater" and sets the password to "cheater".

Code: Select all
"a cheater" : ["tp", "fly", "heal", "teleport"]

This line specifies the commands that anyone logged in as a cheater can use. You can also add things like god, godbuild, teleportsilent etc.

Since only users logged in as a cheater can use those commands, users MUST type "/login cheater" before the cheats will work.

Simples:)


Dom.
Dom
Member
 
Posts: 18
Joined: Wed Mar 14, 2012 9:32 pm

Re: HOWTO: Cheat4All

Postby Varun » Thu Sep 27, 2012 11:41 am

So, what kind of experiment is this?
User avatar
Varun
{RS} Leader
 
Posts: 2472
Joined: Mon Feb 20, 2012 6:46 am
Location: Burnie, Tasmania, Australia, where I will be in my bed from 0000 to 1300.


Return to Server



Who is online

Users browsing this forum: No registered users and 4 guests

cron