RemovePerms

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
that exploding tank
Private First Class
Private First Class
Posts: 149
Joined: Sun Jul 16, 2006 4:38 pm
Location: Georgia, U.S.

RemovePerms

Post by that exploding tank » Mon Aug 27, 2007 10:21 pm

How do I utilize the removePerms permission in bzflag? For that matter, how do I use setPerms? I want to remove a single permission, but not remove that user from the whole usergroup. So, how do I do that?

User avatar
OO7
Private First Class
Private First Class
Posts: 113
Joined: Fri Aug 26, 2005 6:45 pm
Location: <classified>
Contact:

Post by OO7 » Thu Sep 27, 2007 11:01 pm

If I understand correctly, you want to remove certain permissions from one user, but not the whole group?

User avatar
macsforme
General
General
Posts: 2024
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme » Fri Sep 28, 2007 12:32 am

The permission for /setgroup and /removegroup is the same one (SETGROUP I believe). I'm not sure how to remove a certain permissions on a player-to-player basis (although I've heard it can be done), but you can create another group that denies the perm, and use /setgroup to add the user to that group (effectively removing that permission) when desired.

User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite » Fri Sep 28, 2007 12:39 am

Constitution wrote:I'm not sure how to remove a certain permissions on a player-to-player basis (although I've heard it can be done), but you can create another group that denies the perm, and use /setgroup to add the user to that group (effectively removing that permission) when desired.
Just /setgroup the particular permission with a minus sign in front of it. Ie, -say, which will remove the say permission from that user.

Group files do not have any problem with interchanging permissions and groups, so that is why this works.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com

User avatar
macsforme
General
General
Posts: 2024
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme » Fri Sep 28, 2007 5:52 am

A Meteorite wrote: Just /setgroup the particular permission with a minus sign in front of it. Ie, -say, which will remove the say permission from that user.

Group files do not have any problem with interchanging permissions and groups, so that is why this works.
Just tested it, and it doesn't seem to work. /setgroup <callsign> -spawn, and I can still spawn. :?

I'll have to look it up sometime.

User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite » Fri Sep 28, 2007 8:17 pm

Constitution wrote:
A Meteorite wrote:Just /setgroup the particular permission with a minus sign in front of it. Ie, -say, which will remove the say permission from that user.

Group files do not have any problem with interchanging permissions and groups, so that is why this works.
Just tested it, and it doesn't seem to work. /setgroup <callsign> -spawn, and I can still spawn. :?

I'll have to look it up sometime.
This used to work dandy for me back in 2.0.2 days. Maybe it has changed, or my mind has lost capacity (nooo!).
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com

Post Reply