ServerInfo

Moved

Total Downloads: 10,608 - First Release: Aug 29, 2015 - Last Update: Oct 27, 2017

5/5, 53 likes
  1. This is not valid config for latest version, It didn't update automatically from 0.1.3. I've posted update process in update to version 0.1.4.
     
  2. Code:
    [Oxide] 2:46 AM [Error] Failed to call hook 'OnPlayerInit' on plugin 'ServerInfo v0.1.7' (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [Oxide] 2:46 AM [Debug]   at System.Collections.Generic.List`1[ServerInfo.HelpTabPage].get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo.CreateTabContent (ServerInfo.HelpTab helpTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName, Int32 pageIndex) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo.ShowInfo (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo_OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    Oxide version: 2.0.1337, Rust Protocol: 1315
     
    Last edited by a moderator: Sep 4, 2015
  3. error
    ошибка
     

    Attached Files:

    • 2.PNG
      2.PNG
      File size:
      24.2 KB
      Views:
      143
  4. Guys please post config and plugin version to resolve issues. You may be running new version of plugin with an old config.
     
  5. Attached Files:

  6. 0.1.7 and my config is {} lol
    [DOUBLEPOST=1441383247][/DOUBLEPOST]
    Code:
    [Oxide] 5:11 PM [Error] Failed to call hook 'ShowInfo' on plugin 'ServerInfo v0.1.7' (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [Oxide] 5:11 PM [Debug]   at System.Collections.Generic.List`1[ServerInfo.HelpTabPage].get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo.CreateTabContent (ServerInfo.HelpTab helpTab, Oxide.Game.Rust.Cui.CuiElementContainer container, System.String mainPanelName, Int32 pageIndex) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo.ShowInfo (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
     
  7. server_info_text.json is empty?
     
  8. ah no lol

    Code:
    {
      "Tabs": [
        {
          "Name": "Rules and Info",
          "TextLines": [
            "Type <color=red>/info</color> to show this GUI",
            "There are many tabs here each giving you information on a plugin or other Important Server Informaion",
            "RULES:",
            "1. No Hacking.",
            "2. No Exploiting.",
            "3. No Cheating.",
            "4. No Advertising.",
            "5. No HardCore Signs (Soft Core Permitted).",
            "6. Do Not Spam Chat.",
            "7. Respect Staff (Problem with staff contact GNSC4).",
            "8. Do Not Impersonate Staff.",
            "9. Do Not Ask Staff For Items or BluePrints."
          ]
        },
        {
          "Name": "Plugin Help",
          "TextLines": [
            "Remover Tool- <color=red>/remove</color> (This only works on blocks you placed or someone on your",
            "friends list no deployables.",
            "Friends List- <color=red>/friend add <name></color> this adds players to your friends list",
            "<color=red>/friend list</color> This shows yo all of your friends.",
            "Friendly Fire- <color=red>/ff <on off></color> on making it to where you can damage your allies.",
            "Home Teleportation- <color=red>/sethome <name></color> This sets a home you can teleport to",
            "<color=red>/home <name></color> This will take you to your home.",
            "Telport to players- <color=red>/tpr <name></color> This requests a teleport to a player",
            "<color=red>/tpa</color> this will accept a teleport request from the player.",
            "Kits Plugin- <color=red>/kit</color> This will give you a list of kits",
            "<color=red>/kit <name of kit></color> This will spawn the kit make sure your inventory is completely empty.",
            ""
          ]
        },
        {
          "Name": "Dontations Tab",
          "TextLines": [
            "tinyurl.com/hiddentreesdonate",
            "Donation leader board:1st Place FuttBucker $75, 2nd Place Brandon $50, 3rd Place N00bwhich $35",
            "Amount needed for next months server rental $50. (updated daily)",
            "Future goals for server reopen all 400 slots then move to a $250 dollar a month dedicated server where we",
            "would have complete 100% control of the server."
          ]
        }
      ],
      "ShowInfoOnPlayerInit": true
    }
     
  9. Dude, it's config for the old version, 0.1.3. Check update text from version 0.1.4 to fix your configuration, and let me know if it is still not working
     
  10. Feature Requests:

    1. Individual Color & Text options for ALL the buttons (Close, next page, prev page)
    2. Gallery template for images ( this can be static placement with configurable image URLs )
    3. Control of the top text that is the same as the tab button
     
  11. Thanks, I'll do it in next update
     
  12. Thanks! Donated ! ;)
     
  13. I'm getting the error code below whenever I try to use the command.

    Here's my config:

    { "Tabs": [ { "Name": "<color=#0099FF>Euphoria</color>", " - Pastebin.com

    JSON Format Valid.

    Code:
    [Oxide] 6:20 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'money-for-gather v1.2.1'
    File: money-for-gather.lua Line: 145 attempt to index field 'Initiator' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, 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
    
     
  14. baton256 updated GUI Help with a new update entry:

    0.2.1


    [DOUBLEPOST=1441473989][/DOUBLEPOST]Beware, update to new version might be tricky!
    [DOUBLEPOST=1441474038][/DOUBLEPOST]
    This is an error for plugin 'money-for-gather v1.2.1'. I've loaded your config and everything is displayed ok.
    Why do you post it here?
     
  15. Because when I type the command /info it comes up with that error
     
  16. Could you give a link to that plugin?
     
  17. Code:
    [Oxide] 6:44 PM [Error] Failed to call hook 'ShowInfo' on plugin 'ServerInfo v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 6:44 PM [Debug]   at Oxide.Core.Libraries.Permission.GroupExists (System.String groupname) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Permission.UserHasGroup (System.String userid, System.String groupname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo+<ShowInfo>c__AnonStorey1.<>m__1 (System.String group) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.Any[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo+<ShowInfo>c__AnonStorey1.<>m__0 (ServerInfo.HelpTab tab, Int32 tabIndex) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1E`1[ServerInfo.HelpTab].MoveNext () [0x00000] in <filename unknown>:0
      at System.Collections.Generic.List`1[ServerInfo.HelpTab].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
      at System.Collections.Generic.List`1[ServerInfo.HelpTab]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.ToList[HelpTab] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ServerInfo.ShowInfo (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
    I removed it, now this comes up.
     
  18. Works great nice update, 1 minor bug, the background image transparency doesn't seem to work for me, 100% or you don't see any image... not a massive deal...
     
  19. Thx, thats weird. Do you have anything in /oxide/data/oxide.groups.json?
    [DOUBLEPOST=1441476169][/DOUBLEPOST]
    Could you post it in plugin's thread? It seems that this hook is called when UI is destroyed.