Jump to content

blocking the plugin

Not a Bug 1.3.8

wiress67
wiress67

Posted

the system is blocking the plugin

System access is restricted, you are not allowed to use Harmony.HarmonyInstance

 

Failed to call hook 'Unload' on plugin 'CustomBradley v1.3.8' (UnauthorizedAccessException: System access is restricted, you are not allowed to use Harmony.HarmonyInstance) at Oxide.Plugins.CustomBradley.Unload () [0x00000] in <5aced735619d475f8fc624b67abe569f>:0 at Oxide.Plugins.CustomBradley.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00692] in <5aced735619d475f8fc624b67abe569f>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

shaitobu

Posted

you don't have required Disable-Sandbox Plugin

 

shaitobu

Posted

Changed Status from Pending to Not a Bug

wiress67

Posted

Thank you for helping and thank you for a quick response

  • Like 1
wiress67

Posted

I put Disable-Sandbox Plugin I got2023-02-22_10-04-44.thumb.png.6ad206cd62040ad9bcae4ec05f2a2d10.png to The Bradley  guy that's what it says in the picture what am I doing wrong

shaitobu

Posted

you use default config file where are no prices. you need to grant permissions to be able to spawn one

wiress67

Posted

how do I change the permissions so everybody can use it

shaitobu

Posted

set it to empty in config

wiress67

Posted

could you do it for me I could send you my sever much appreciate if you could do for me

wiress67

Posted

or maybe you could just show me where to put empty in the config show me an image I don't know my brain is just not working

shaitobu

Posted

it's in config. "oxide/config/CustomBradley.json"

image.png.f3147851c3f874c5484365dd9ecdfa34.png

just change "permission" to nothting, save and reload plugin

wiress67

Posted

   I changed this   NO 341    ["NoPermission"] = "",   

   I changed this   NO 359   ["NoPermission"] = "",   

                   public string BuyDescription = "Default Vanilla Bradley";
                    [JsonProperty("Permission")]
                    public string Permission = "";  but which one on this one do I change

 

this is what it looks like so far

 

 

2023-02-22_12-44-47.png

shaitobu

Posted

you are doing changes in plugin itself, but you should only change config it has generated

wiress67

Posted

Sorry I don't have the experience to be able to figure out what to do but if you could just send me an image of what I need to change that;'d be much appreciated the picture you sent previously is different from what I have currently so I'll send you a picture of what I have and just maybe highlight whatever needs to be changed. Thank you. If this is not where I'm supposed to be please let me know image.png.9bbd4656109ddafa2c9003c8c1e71256.png

shaitobu

Posted

because you are in wrong folder...

 

YOU NEED "oxide/config/CustomBradley.json" -> config. NOT plugins Folder

wiress67

Posted

okay I'm in the right file now  so what do I put

2023-02-22_14-33-53.png

wiress67

Posted

so do I take all the permission out

"Permission": "",

wiress67

Posted

can you show me what the line should look like

wiress67

Posted

so do I delete the whole line

2023-02-22_15-34-17.png

wiress67

Posted

Sorry about that I realise that I've wasted your time with the previous question what I meant to ask is that when I open the shop there is nothing that displays for "Vanilla Bradley" at the bottom again sorry for taking your time but if you are able to help me out with just one more issue that'd be great. When I click on that empty box nothing happens and and there is nothing to be displayed. Everything else works so thank you for your help its just Vanilla bradley displays and doesn't spawn when pressed.  image.png.126ed10691165b8ad3824426450e2536.png

wiress67

Posted

I finally figured out what was wrong it's working good now

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.