/Su - Allows a player to temporarily become a different rank

For all mod-related questions and custom code.
Post Reply
User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

/Su - Allows a player to temporarily become a different rank

Post by Hellenion »

Code: Select all

Usage: /Su [ Player [ Rank [ Time ] ] ]
[/size]

The command respects promote and demote limits, and can only be used by players with either of those. Players can su themselves, for which Permission.Demote is more loosely checked than when suing other players.

To reset a su, let the player log out, let the timer run out or use /Su PlayerName (without the rank). Your old rank info is preserved. Any rank changes during su are reset afterwards, the player who ranked gets informed about this.

Server crashes or incorrect shutdown may cause a players to lose their original rank. The original rank will, however, always be listed in their info as Previous Rank.

Command will still be fully compatible with 0.630 (and beyond).

Patch:
Show
Manual Implementation:
Show
Updated Sun26 Aug2012:
  • Fixed a crash where a player with no existing RankChangeReason was sued on a server where those are required.
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
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: /Su - Allows a player to temporarily become a different

Post by Hellenion »

Updated for 0.631
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

Post Reply