[REJECTED] /Test <Rank>

Fixed bugs, solved problems, and old reports.
Locked
User avatar
OfficerFlake
Offline
Posts: 25
Joined: May 28th, 2012, 12:03 am

[REJECTED] /Test <Rank>

Post 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. :)
=== MeinKraft 24/7 ===
Server Owner & Code Developer

User avatar
boblol0909
SupOP
Offline
Posts: 314
Joined: June 24th, 2011, 10:27 pm

Re: /Test <Rank>

Post 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.

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: /Test <Rank>

Post by fragmer »

So... you want something like a temporary rank change? That would be very tricky to implement, technically. Very tricky indeed.

User avatar
OfficerFlake
Offline
Posts: 25
Joined: May 28th, 2012, 12:03 am

Re: /Test <Rank>

Post 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.
=== MeinKraft 24/7 ===
Server Owner & Code Developer

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: /Test <Rank>

Post 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.
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: /Test <Rank>

Post by fragmer »

I'm not tearing up fCraft's whole permission system to add this.

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: [REJECTED] /Test <Rank>

Post 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
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

Locked