-
Notifications
You must be signed in to change notification settings - Fork 4
Buddy Block System
The ConVar wire_vgui_permissionDefault decides whether the buddy list or the block list will be used.
See Serverside ConVars for more info.
When set to 0, 1, 2 or 3 the buddy list will be used. The target client needs to add the E2 owner here to allow him to create vgui elements on his own client. This means if you want your friends to see your vgui creations, make sure they've added you as a buddy.
When set to 4, the buddy list will be ignored completely and every player can create vgui elements on every client by default. However, when this mode is used, the block list will get activated which allows the target client to block individual e2 owners from creating vgui elements on their client.
The control always lies on the receiving client, if he does not want to see e2 vgui element from other players he can just not add them as a buddy or block them respectively.
Also note that the vguiDefaultPlayers(R), :addPlayer(E) and :removePlayer(E) need to be used for the vgui elements to be created for other players, see the beginning of E2Helper Entries for more info on that.
NOTE: Only the tab for the relevant ConVar configuration will be visible. I've just listed both here for demo purposes.