Jump to content

Fails to load addons if any are missing.

Closed 1.4.3

marxy
marxy

Posted

I bought the base plugin and then the halloween pack, however it throws an exception trying to load the jungle pack and never attempts the other packs.

Adem

Posted

2 hours ago, marxy said:

I bought the base plugin and then the halloween pack, however it throws an exception trying to load the jungle pack and never attempts the other packs.

Hi! Please send me the console output you get when you try to install the add-on.

marxy

Posted

On 10/15/2026 at 11:33 AM, Adem said:

Hi! Please send me the console output you get when you try to install the add-on.

Sorry, I no longer have the log handy. Tldr, i insalled just this and the halloween pack, but it tried to load the jungle pack and threw an exception because that file doesnt exist, therefore not importing any other ones. I hot fixed it on my server by checking if the addon file exists before trying to load it and skipping if not as I dont have any addons except the halloween one.

Adem

Posted

Changed Status from Pending to Closed

marxy

Posted

@AdemWas able to dig through my logs

[2026.10.15 05:30:01] [INFO] Loaded plugin DynamicMonuments v1.4.3 by Adem [993ms]
[2026.10.15 05:30:01] [ERRO] Failed to call internal hook 'OnServerInitialized' on plugin 'DynamicMonuments v1.4.3' [352240293] (Access to the path "/home/container/carbon/data/DynamicMonuments/junglePack.json" is denied.)
   at new System.IO.FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool anonymous, FileOptions options) x 2
   at new System.IO.StreamWriter(string path, bool append, Encoding encoding, int bufferSize) x 2
   at void System.IO.File.WriteAllText(string path, string contents)
   at void Oxide.Core.Configuration.DynamicConfigFile.WriteObject<AdditionData>(AdditionData config, bool sync, string filename) in /home/runner/work/Carbon/Carbon/src/Carbon.Components/Carbon.Common/src/Oxide/Configuration/DynamicConfigFile.cs:line 63
   at void Oxide.Core.DataFileSystem.WriteObject<AdditionData>(string name, AdditionData Object, bool sync) in /home/runner/work/Carbon/Carbon/src/Carbon.Components/Carbon.Common/src/Oxide/Configuration/DataFileSystem.cs:line 68
   at AdditionData Oxide.Core.DataFileSystem.ReadObject<AdditionData>(string name) in /home/runner/work/Carbon/Carbon/src/Carbon.Components/Carbon.Common/src/Oxide/Configuration/DataFileSystem.cs:line 60
   at AdditionData Oxide.Plugins.DynamicMonuments.LoadDataFile<AdditionData>(string path) in /home/container/carbon/plugins/DynamicMonuments.cs:line 7752
   at bool Oxide.Plugins.DynamicMonuments.TryLoadData() in /home/container/carbon/plugins/DynamicMonuments.cs:line 7188
   at void Oxide.Plugins.DynamicMonuments.OnServerInitialized() in /home/container/carbon/plugins/DynamicMonuments.cs:line 90
   at object Oxide.Plugins.DynamicMonuments.InternalCallHook(uint hook, object[] args) in DynamicMonuments.cs/Internal:line 620
[2026.10.15 05:30:02] [INFO] Unloaded plugin DynamicMonuments v1.4.3 by Adem

Had to patch the plugin to avoid this and get it to load. Not sure why you changed it to closed

Adem

Posted

Hi, the reason is that your hosting doesn't allow the plugin Read and write files.

To resolve this issue, try following the instructions in this video, or contact your hosting support.

https://youtu.be/scRmTpT9iBw

marxy

Posted

1 minute ago, Adem said:

Hi, the reason is that your hosting doesn't allow the plugin Read and write files.

To resolve this issue, try following the instructions in this video, or contact your hosting support.

https://youtu.be/scRmTpT9iBw

I host it myself on a dedicate.d server. The file does not exist so no amount of read permissions will fix that. As I said, I only have the halloween addon,  not the jungle one that is throwing the error.

marxy

Posted

This is the only plugin out of over 200+ that gives an error while using ReadObject. You need to try/catch it or just use ExistsDatafile first. 

Adem

Posted

I'm checking what I can do

Adem

Posted

Changed Status from Closed to Work in Progress

Adem

Posted

I've sent you a test version in DMs. Please test it

  • Like 1
marxy

Posted

22 minutes ago, Adem said:

I've sent you a test version in DMs. Please test it

Works without error, ty

  • Like 1
Adem

Posted

The plugin update will be released today. I just need to make a few more changes.

  • Like 1
Adem

Posted

Changed Status from Work in Progress to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.2m
Total downloads
Customers
12.3k
Customers served
Files Sold
175.2k
Total sales
Payments
3.8m
Processed total
×
×
  • 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.