InfoPanel

Moved

Total Downloads: 55,749 - First Release: Sep 25, 2015 - Last Update: Mar 13, 2018

5/5, 160 likes
  1. Yes, here is the default json file that auto populates when you install the plugin.

    This is the only portion I try to edit:

    Code:
     "Messages": [
        "Welcome!",
        "Beware! You Are Not Alone!",
        "Leeeeeeeeeeeroy Jenkins"
      ],
    [DOUBLEPOST=1458590984][/DOUBLEPOST]
    No. Should I? Wouldn't that overwrite the config file with default values/messages?
     

    Attached Files:

  2. You need to reload plugin once you make changes to the config so it can show the new changes it will not cause the config to go back to default
     
  3. Winner winner, chicken dinner. This did the trick. Thanks for the help, Wulf also - thanks!
     
  4. Whats the possibility of adding in client ping module on the infopanel?
     
  5. Hi, how can I put the compass on the center top of screen please?
     
  6. Hey, i tried to change the message box text by opening it up with notepad and i even restarted the server but it still wont change. Whats going on?
     
  7. oxide.reload InfoPanel
     
  8. My panel is not working the newest version when i try to load it says

    InfoPanel.cs(2675,143): error CS1061: Type `Network.Server' does not contain a definition for `maxConnections' and no extension method `maxConnections' of type `Network.Server' could be found. Are you missing an assembly reference?


    anyone know why, please help
     
  9. Wulf

    Wulf Community Admin

    You're using an old version. Please update to the latest.
     
  10. Code:
    20:37 [Error] Failed to call hook 'OnServerSave' on plugin 'InfoPanel v0.9.3' (IOException: Sharing violation on path /home/rustserver/serverfiles/server/rust-server/oxide/data/InfoPanel_db.json)
    20:37 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[StoredData] (Oxide.Plugins.StoredData config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.WriteObject[StoredData] (System.String name, Oxide.Plugins.StoredData Object, Boolean sync) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.SaveData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.OnServerSave () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.InfoPanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    Help I'm getting these errors
     
    Last edited by a moderator: Apr 1, 2016
  11. how can i install this plugin ? its in my server/plugins folder, and it dosent extract the configuration file
     
  12. You are using the wrong path
    Find
    server\my_server_identity\oxide\plugins
    something like this
     
  13. {
    "ExtensionDirectory": "RustDedicated_Data\\Managed",
    "PluginDirectory": "plugins",
    "ConfigDirectory": "config",
    "DataDirectory": "data",
    "LogDirectory": "logs",
    "TempDirectory": "temp",
    "InstanceCommandLines":
    [
    "{oxide.directory}",
    "server"
    ]
    }
     
  14. If you find the oxide folder in there is the plugin folder
     
  15. Wulf

    Wulf Community Admin

    It looks like that was edited, so the plugins folder for your setup would be server/plugins. I'd highly recommend not editing that file and restoring it to default.
    [DOUBLEPOST=1459524659][/DOUBLEPOST]
    Sharing violations generally happen when another program or server is trying to access the same file and locking it from use by others.
     
  16. Open the config file, and search for the text areas, and change what is in the quotes, to your text.
     
  17. Maybe add?

    Ping panel.png

    best first :)