• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Final Warning + Ban Gesior

xLosT

Member
Joined
Jan 11, 2010
Messages
1,021
Reaction score
13
Location
Brasil, Rio Grande do Sul
when a banned player and speaks in character [Banished]
when a player deletes the site if speaks in character [DELETED]

but when a player takes another final warning and then ban the character does not say anything, need add in character [FW + Deleted]


PHP:
if($account->isBanned())
                                        //if($account->getBanTime() > 0)
                                                //$main_content .= '<font color="red"> [Banished until '.date("j F Y, G:i", $account->getBanTime()).']</font>';
                                        //else
                                                $main_content .= '<font color="red"> [Banished]</font>';
                        if($player->isDeleted())
                                $main_content .= '<font color="red"> [DELETED]</font>';
                        if($player->isNameLocked())
                                $main_content .= '<font color="red"> [NAMELOCK]</font>';
 

I have no idea but try

PHP:
if($account->isBanned())
                                        //if($account->getBanTime() > 0)
                                                //$main_content .= '<font color="red"> [Banished until '.date("j F Y, G:i", $account->getBanTime()).']</font>';
                                        //else
                                                $main_content .= '<font color="red"> [Banished]</font>';
                        if($player->isDeleted())
                                $main_content .= '<font color="red"> [DELETED]</font>';
                        elseif($player->isNameLocked())
                                $main_content .= '<font color="red"> [NAMELOCK]</font>';
 
I need a script to add in characters
when the player is ban type 5 show next to the name [Final Ban]

Exemple
Name: Lost [Final Ban]


and a column talking about how many warnings and notation he has

Exemple:
Notation: 1
Warnings: 2
 
Last edited:
Back
Top