[PUT IN BETA] Stop low rank people accessing client

Gang67

|Jump out gang, we jump out those vehicles|
May 5, 2017
303
54
So this will make it so users below a certain rank can no longer access the client. This will come in use if you are in beta and you don't want certain people accessing the client. In this example I have set it to users below the rank 3 are unable to access the client. Not tried on a normal hotel but works on the Flux cms. Any issues then comment.

First you need to go to your client.php and open it up
XAMPP: htdocs/app/tpl/skins/{skin}/client.php
IIS: wwwroot/app/tpl/skins/{skin}/client.php

Then at the top of the file paste the following code
PHP:
<?php
if($_SESSION['user']['rank'] < 3) // Edit the number to change the rank
{
    echo"whatever you want it to show here"; // What the person is shown
    exit;
} ?>
 
Last edited:

Users who are viewing this thread

Top