Page 1 of 1

[REJECTED] /Test <Rank>

Posted: May 28th, 2012, 12:08 am
by OfficerFlake
I would like to see a command that can test the permissions of any rank below yours. Sure, demote/promote would do it just fine, but consider this scenario:

I'm not the owner of a server, and I can't demote myself (no console access), and if i did, i couldn't repromote again.

The reason for this is so I can wipe a world easily via /c air, and have it drawing at a specific rank power, so I don't get to place the air blocks in the zones I don't want to (eg: spawn)

I was thinking something like /bind for this:

/test Moderator -> gives the drawing rights of moderator rank, says "/test" to reset.
/c air -> cuboids with the power level above
/test -> resets back to the Admin rank.

Cheers if you could implement this! would save a decent ammount of time. :)

Re: /Test <Rank>

Posted: May 28th, 2012, 2:11 am
by boblol0909
I'm not understanding this at all...you want a command that would give you command limits above your rank? Then what would be the point of having ranks? Sorry if it's just me not understanding.

Re: /Test <Rank>

Posted: May 28th, 2012, 9:11 am
by fragmer
So... you want something like a temporary rank change? That would be very tricky to implement, technically. Very tricky indeed.

Re: /Test <Rank>

Posted: August 9th, 2012, 2:44 am
by OfficerFlake
boblol, only equal or below. This would avoid power issues.

I've got a work around, but it requires /wsave and /wload.

Make the fully cleaned world template
Save to a file
when the world is dirty, /wload the template to the appropriate world.

To clear part of the world, /wrestore.

Using this, The spawn is set to be for those with /wload or up to edit. Solves this problem reasonably well.

Re: /Test <Rank>

Posted: August 11th, 2012, 3:12 pm
by Hellenion
You should totally call it /Su or /SuDo!

What if you, like with displayednames, let all commands check for a "CurrentRank", and have the true rank stored somewhere else?

It's not that you really switch ranks, just when a command preforms a check it sees a different rank.

Re: /Test <Rank>

Posted: August 12th, 2012, 6:14 am
by fragmer
I'm not tearing up fCraft's whole permission system to add this.

Re: [REJECTED] /Test <Rank>

Posted: August 22nd, 2012, 2:18 pm
by Hellenion
Rejected? Have a mod!

I used a slightly riskier approach to accomplish it: http://forum.fcraft.net/viewtopic.php?f ... 96&p=30175