About XDFriends
Friends Plugin for Rust Server
"Friends" is a robust and flexible plugin designed to enhance the in-game friends system in Rust.
It will help streamline the interaction between friends, simplify the process of authorization,
and access to important game elements, and manage damage between friends.
Key Features:
Damage Control: An integrated feature of damage blocking among friends helps prevent accidental damage.
This feature can be easily enabled or disabled by command.
Enhanced Friends Authorization System: The plugin allows activating friends' authorization for a wide range of elements, including:
- Turrets
- SAM site
- Code locks
- Key locks
- Cupboards
Upon removal from the friends' list, the player will automatically be deauthorized from all the listed elements.
Remote Friend Invitation: With a special command, you can invite a player to be friends, even from afar.
Authorization Settings Flexibility: Choose between two authorization methods for code locks - guest authorization ("guestPlayers") or full authorization ("whitelistPlayers").
Compatibility and Optimization: The "Friends" plugin is optimized for maximum performance and is compatible with many other plugins.
Extensive API: The plugin offers a comprehensive API for developers, providing flexibility and the possibility of further customization.
Detailed Logging System: "Friends" includes a logging system, providing transparency and control over activities.
Optimize your gameplay with the "Friends" plugin for Rust server.
It will help improve your gaming experience, simplify interactions with friends, and make your server safer and more manageable.
Commands:
- /team - Additional info
- /team invite/add <Nickname>
- /team ff - Friendly fire
Default Configuration:
{ "Chat commands": [ "team", "ff", "friend" ], "Maximum number of friends": 3, "Time to accept team invite (in seconds)": 20.0, "Enable friend authorization for turrets?": true, "Enable friend authorization for SAM sites?": true, "Enable friend authorization for code locks?": true, "Enable friend authorization for key locks?": true, "Enable friend authorization for cupboards?": true, "Authorization method for code locks (guestPlayers - guest authorization, whitelistPlayers - full authorization)": "guestPlayers", "Enable logging system ?": false, "Chat prefix (IQChat)": "<color=#5cd6skykey>[Friends]</color>\n" }
API for Developers
HasFriend(ulong playerId, ulong friendId) //Checks if the specified user is a friend of the player. HasFriends(string playerS, string friendS) //Checks if the player has friends by their string identifiers. IsFriend(ulong playerId, ulong friendId) //Checks if the specified user is a friend of the player. AreFriends(ulong playerId, ulong friendId) //Checks if the specified players are friends. AreFriends(string playerS, string friendS) //Checks if the specified players are friends by their string identifiers. IsFriends(string playerS, string friendS) //Checks if the player has friends by their string identifiers. GetFriends(ulong playerId) //Returns the player's friends list. GetFriendList(string playerS) //Returns the player's friends list by the string identifier. GetFriends(string playerS) //Returns the player's friends list by the string identifier. IsFriendOf(ulong playerId) //Returns a list of players who are friends of the specified player. IsFriendOf(string playerS) //Returns a list of players who are friends of the specified player by the string identifier. GetFriendList(ulong playerId) //Returns the friends list of the specified player.