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.