You can use Rust's built-in banning to send them a message already as suggested above.

If you really need to make a custom plugin, you can return a string in the CanClientLogin hook.

Click to expand...

so i can use something like
bool CanClientLogin(Network.Connection conn)
{
if 1=true {
Puts("Success");
return true;
}
if 1=false {
Puts("NO");
return "No. No and no.";
}
}
?? or how can i return message OR boolean?

so i can use something like
bool CanClientLogin(Network.Connection conn)
{
if 1=true {
Puts("Success");
return true;
}
if 1=false {
Puts("NO");
return "No. No and no.";
}
}
?? or how can i return message OR boolean?