-
Notifications
You must be signed in to change notification settings - Fork 2
Home
You will find all of the documentation on the E2, StarfallEx functions added in this addon, all of the sub-addons and all of the clientside and serverside convars.
Documentation for Misc functions is below.
Yes, printGlobal is perfectly safe. Unlike the chatPrint expression2 extension, it has burst print limits, character max limits and argument limits that can all be customized with the following convars to prevent net message spam and potentially client crashers.
printglobal_charmax_sv
printglobal_argmax_sv
printglobal_burst_sv -- Going to be deprecated in 0.3.0 for now
CoroutineCore is safe. In current nightly / future VExtensions 0.3.0, Coroutines have been reworked to be much safer and faster. There's also hard limits on how many coroutines you can have at once to avoid people trying to drain your server's memory.
You might be wondering whether something that allows people to paste images from the web to props or egp is safe, considering unsafe things like streamcore and PAC3 exist... well, partially. As of now, there is a hard (serverside only) whitelist to make sure people can't grab your ip or make you search for bad links. Even still, people could request bad things that they posted on something like discord, and servers could potentially remove the whitelist. This is why there's a convar to disable webmaterials. vex_webmaterials_enabled_cl 0
. See https://github.com/Vurv78/VExtensions/issues/16 for a tracking issue on adding a clientside whitelist to URLs.
Check out our Discussions for some show-and-tell demos of things created with VExtensions, and feel free to post more there. https://github.com/Vurv78/VExtensions/discussions
E2 was always a pretty cool language and doing Starfall felt like cheating, so why not give some power to E2 to make it feel almost as if it could somewhat stand near SF?
If you feel that you want something to be added to VExtensions, feel free to make a Discussion, Issue or Pull Request to suggest for something to be added, or to add it yourself. I currently don't really have any styling rules, but please don't use the C syntax that Garry added to GMod. (e.g. /*, !=)
Manually does a ranger trace, without using the ranger filter system.
Returns the ranger.
Sets the filter that will be used by future E2 rangers in the chip.
Returns 1 or 0 for whether it successfully set the ranger filter.
Returns 1 or 0 for whether this player has their convars set to allow you to hide their chat.
By default everyone has it set to be able to hide their chat.
Note that they can see that you hid their chat.
Like hideChat(), however it allows you to hide a certain players chat, assuming you have permission to, See canHideChatPly.
Note that they can see that you hid their chat, so don't try and abuse this.
This is a SHARED function that allows you to set the eye angles of any player.
On the SERVERside, you can only set your own eye angles (chip owner's eye angles)
On the CLIENT, it depends on the entities.setEyeAngles permission.
Note that this function is not the same as the one that was added to StarfallEx recently, as that one is only allowed on the SERVER realm.
See https://thegrb93.github.io/StarfallEx/#Types.Player.setEyeAngles