Yo,
I'm trying to make a plugin that targets specific SteamID's of the connected players and give them priviligies. Sort of like admin or something similar.
How would I target their SteamID's directly?
Granting privileges to players by SteamID?
Discussion in 'Rust Development' started by ItsAnderson, Jan 27, 2016.
-
player.userID is their "64bit" Steam ID i think.
So you could do:
If you wanted to convert it back to a STEAM:1_blahblah you would have to reverse the 64bit methodCode:if ( player.userID == AUserIDHere ) { //Do stuff }
Here is some PHP that does it which you could re-create in the plugin:
xPaw/SteamID.php - PHP - GitHub
However, why dont you just use the Permission Groups, they already use Steam ID's?
