Skip to content

Latest commit

 

History

History
50 lines (44 loc) · 1.14 KB

README.md

File metadata and controls

50 lines (44 loc) · 1.14 KB

Rust-NoSteam

Discord: sensais

⭐ » Donations

📝️ » Information

  • Check every player for fake steamid or other something(100% protection)
  • Have config file for change AppId
  • Nosteam players are not displayed in server list to avoid ban

🔧 » Supported operating systems

System Status
Windows
Linux

🛠️ » Api and Hooks

IsPlayerNoSteam

Check player

IsSteam(ulong steamid)
IsSteam(Connection connection)
IsSteam(BasePlayer player)
Example
bool IsPlayersSteam(BasePlayer player)
{
    if(Call<bool>("IsSteam", player) == true)
      return true;
    return false;
}

Hooks

OnBeginPlayerSession

Returning a non-null value kick player with reason as value.

object OnBeginPlayerSession(Connection connection, bool isLicense)
{
  string status = isLicense ? "steam" : "nosteam";
  Puts($"{connection.userid} is {status} player c:");
  return null;
}

🧶 » Credits

Harmony patcher used in the project