Jump to content

Failed to call hook 'OnServerInitialized' on plugin 'Barges v1.0.3' (UnauthorizedAccessException: Access to the path "/home/tcagame/oxide/data/Barges/save.json" is denied.) at System.IO.FileStream..ctor (System.String path, System.IO.FileMod

Closed 1.0.3

Covfefe
Covfefe

Posted (edited)

not sure what this means, i just installed this

Quote

Failed to call hook 'OnServerInitialized' on plugin 'Barges v1.0.3' (UnauthorizedAccessException: Access to the path "/home/tcagame/oxide/data/Barges/save.json" is denied.) at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions) at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in :0 at System.IO.StreamWriter..ctor (System.String path) [0x00008] in :0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string) at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in :0 at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x0003f] in :0 at Oxide.Core.DataFileSystem.WriteObject[T] (System.String name, T Object, System.Boolean sync) [0x00007] in :0 at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x0000f] in :0 at Oxide.Plugins.Barges.LoadDataFile[Type] (System.String path) [0x00020] in <4a376bb05caf46e3b3b6e71c1c16f61b>:0 at Oxide.Plugins.Barges.TryLoadData () [0x0008c] in <4a376bb05caf46e3b3b6e71c1c16f61b>:0 at Oxide.Plugins.Barges.OnServerInitialized () [0x0000c] in <4a376bb05caf46e3b3b6e71c1c16f61b>:0 at Oxide.Plugins.Barges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00123] in <4a376bb05caf46e3b3b6e71c1c16f61b>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

Edited by Covfefe
Adem

Posted

Hi. save the server with the save command and send me the file oxide/data/Barges/save

Covfefe

Posted

3 minutes ago, Adem said:

Hi. save the server with the save command and send me the file oxide/data/Barges/save

Quote

Failed to call hook 'OnServerSave' on plugin 'Barges v1.0.3' (UnauthorizedAccessException: Access to the path "/home/tcagame/36264/33273/oxide/data/Barges/save.json" is denied.) at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in :0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions) at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in :0 at System.IO.StreamWriter..ctor (System.String path) [0x00008] in :0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string) at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in :0 at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x0003f] in :0 at Oxide.Core.DataFileSystem.WriteObject[T] (System.String name, T Object, System.Boolean sync) [0x00007] in :0 at Oxide.Plugins.Barges.SaveDataFile[Type] (Type objectForSaving, System.String path) [0x00020] in :0 at Oxide.Plugins.Barges+Barge.SaveBarges (System.Boolean isUnloading) [0x000c7] in :0 at Oxide.Plugins.Barges.OnServerSave () [0x00000] in :0 at Oxide.Plugins.Barges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00149] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

Saved 18,077 ents, cache(0.26), write(0.01), disk(0.00).

Saving complete

 

Adem

Posted

8 minutes ago, Covfefe said:

 

An empty message. I don't see the file.

Covfefe

Posted

I manually created a save.json and it saved, everything else works now besides the driver's cabin

Adem

Posted

Yes, this happens on some hosting sites. It prevents plugin developers from creating a file. OK, let's move to that ticket

Adem

Posted

Changed Status from Pending 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
2.5m
Total downloads
Customers
11k
Customers served
Files Sold
158.5k
Marketplace sales
Payments
3.4m
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.