Closed Synkstar closed 5 years ago
Hmm, this should already be a feature. Can you check if you can bypass ALL restrictions, or just restrictions on certain things?
I tried expression 2. If I get the time I will try other things.
It doesnt allow restricted props to be duped
But it does allow sents like balls for example
That is odd, I'll have closer look. Can you link me a list of any addons you are using? It will help me recreate your issue.
I mean it doesnt allow restricted props to be duped but it does allow restricted sents and restricted wire things for example
What kind of restriction are you using to restrict these? Because entities that are spawned with tools are often not listed in the "Entities" list. Wire expression2 for example, the tool spawns an entity called "gmod_wire_expression2", that must be restricted in order to prevent it from beeing spawned by the duplicator.
I'll see if I can do something to make those entities easier to find.
Oh that makes sense I was using the tool restriction for expression and the sent restrictions for the ball
I just pushed an update (https://github.com/Weol/wuma/commit/10ffb694a77a3934b4a59c43dce69571361932b3) that adds some entities that were missing to the entity restriction list. I can't promise that all items for all addons will be there, but hopefully they will. I tested it with wiremod and darkrp atleast.
If you have trouble finding which entity corresponds to which tool, you can set the "Log level" setting to "Debug", then every restriction check will be printed to the server console, and you can see the entity names that are checked.
Right now people can bypass restrictions using duplicator if you don't have it restricted. I want it so I can allow dupe without people bypassing restrictions. Thank you for your time.