It is currently June 20th, 2019, 4:05 am


All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: [REJECTED] /Test <Rank>
PostPosted: May 28th, 2012, 12:08 am 
User avatar

Joined: May 28th, 2012, 12:03 am
Posts: 25
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: /Test <Rank>
PostPosted: May 28th, 2012, 2:11 am 
SupOP

Joined: June 24th, 2011, 10:27 pm
Posts: 314
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: /Test <Rank>
PostPosted: May 28th, 2012, 9:11 am 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
So... you want something like a temporary rank change? That would be very tricky to implement, technically. Very tricky indeed.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: /Test <Rank>
PostPosted: August 9th, 2012, 2:44 am 
User avatar

Joined: May 28th, 2012, 12:03 am
Posts: 25
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: /Test <Rank>
PostPosted: August 11th, 2012, 3:12 pm 
User avatar

Joined: October 20th, 2011, 9:20 am
Posts: 220
Location: Subnet
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}

Show
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: /Test <Rank>
PostPosted: August 12th, 2012, 6:14 am 
fCraft Developer
User avatar

Joined: May 21st, 2011, 10:53 pm
Posts: 1386
I'm not tearing up fCraft's whole permission system to add this.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: [REJECTED] /Test <Rank>
PostPosted: August 22nd, 2012, 2:18 pm 
User avatar

Joined: October 20th, 2011, 9:20 am
Posts: 220
Location: Subnet
Rejected? Have a mod!

I used a slightly riskier approach to accomplish it: viewtopic.php?f=40&t=3796&p=30175

_________________
A = {x ∈ P(U) | x ∉ x}

Show
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


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net