def playername(self, con):
'''
Returns the player name with player or Admin default name color
'''
if PLUGIN['ENABLE PLAYERS DEFAULT COLORS']:
if int(con.authLevel) > 0 and not PLUGIN['HIDE ADMINS']:
return '<#ADFF64>%s<end>' % con.username
else if int(con.authLevel) > 1 and not PLUGIN['HIDE ADMINS']:
return '<#6496E1>%s<end>' % con.username
else: return con.username
================================================================
for only owner can use color chat is it right?
Is it right?
Discussion in 'Rust Development' started by PEPE 2, Oct 5, 2015.
