Events and delegates within plugins?
Discussion in 'Rust Development' started by Rakeki, Mar 27, 2016.
-
The System.Threading namespace is blacklisted. I think SignArtist has a delegate.
-
That's a negative on SignArtist! oh well, any other black listed namespaces I should know about!
-
Here are the blacklisted namespaces. Oxide/CompiledAssembly.cs at 610d57d5e4d53fb62feb89e51b9f9c67e241cb96 · OxideMod/Oxide · GitHub
-
Maybe this sounds a bit stupid, but why are there blacklisted features
-
Wulf Community Admin
Select namespaces are blacklisted for security. You can cause a lot of damage on shared hosts with a malicious plugin and the right access. Some hosts will not allow mods on their servers if they have security holes. -
Thought so would these namespaces help plugins at all if used in a non malicious matter (i don't fully understand c# still learning)
-
Wulf Community Admin
There is rarely a need for them. If something is needed, it is generally wrapped in a safe manner. Regardless if your own personal intentions are malicious or not, they are limited to protect everyone. If you run a private dedicated server, you could always make an extension if you really need access. -
They might. Though Oxide provides some functions, like webrequests for example.
