1. my admin spawn isnt hiding anything
     
  2. When i load it 1st time (with a clean install)
    Code:
    (02:51:05) | [Oxide] 02:51 [Error] Failed to load plugin AdminSpawn
    File: AdminSpawn.lua Line: 322 'end' expected (to close 'if' at line 291) near <eof>:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.LoadString (System.String chunk, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.PluginLoader.LoadPlugin (Oxide.Core.Plugins.Plugin plugin, Boolean waitingForAccess) [0x00000] in <filename unknown>:0
    (02:51:05) | [Oxide] 02:51 [Error] Failed to load plugin AdminSpawn
    File: AdminSpawn.lua Line: 322 'end' expected (to close 'if' at line 291) near <eof>:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.LoadString (System.String chunk, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.PluginLoader.LoadPlugin (Oxide.Core.Plugins.Plugin plugin, Boolean waitingForAccess) [0x00000] in <filename unknown>:0
    (02:51:06) | [Oxide] 02:51 [Info] Loaded plugin Administrator Spawn v1.1.0 by InSaNe8472
    (02:51:09) | [RCON][90.28.167.189:50399] status
    I reload him (dunno why i'm must do this)
    Code:
    (02:51:53) | [Oxide] 02:51 [Info] Unloaded plugin Administrator Spawn v1.1.0 by InSaNe8472
    (02:51:53) | [Oxide] 02:51 [Info] Loaded plugin Administrator Spawn v1.1.0 by InSaNe8472
    I do config like this :
    Code:
    "Settings": {
        "Blacklist": "false",
        "Console": "true",
        "Log": "true",
        "MessageSize": "12",
        "OneHundred": "100",
        "OneThousand": "1000",
        "Popup": "false",
        "Prefix": "[<color=#cd422b> Admin Spawn </color>]",
        "WarnChat": "false",
        "WarnGiveTo": "true",
        "WarnUser": "true"
      }
    reload again
    And when i try to give myself
    Code:
    (02:54:26) | [Oxide] 02:54 [Error] Failed to call hook 'OnServerCommand' on plugin 'AdminSpawn v1.1.0'
    File: AdminSpawn.lua Line: 236 invalid arguments to method call:
      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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    (02:54:26) | [admin] giving SeBL4RD 1 x Rock
    And it appear in chat.

    Sorry for my bad english.
     
  3. It was still showing when I spawn stuff in with the edited version I found above
     
  4. I did a oxide update and server restart and still get the
    Code:
    File: AdminSpawn.lua Line: 236 invalid arguments to method call:
      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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  5. If I use the /giveme command in chat it works fine. If I use the F1 console options, it displays it in chat for everyone to see. That new version of Admin Spawn did fix it so the /giveme command is at least invisible.
     
  6. Plugin is broken ;/
     
  7. Oops forgot to remove a 'False' :D

    Working for me, only Prints to chat if you click the BP Button. If this fails, then I guess we wait for Plugin Dev to fix.. lol
     
    Last edited by a moderator: Sep 14, 2016
  8. works now thank you
     
  9. This works fine too except for BP's, which makes sense with the changes. Thanks for the update!
     
  10. insane8472 updated Admin Spawn with a new update entry:

    1.1.2

     
  11. Thanks guy :)
     
  12. I've reloaded the newest file fresh, and if I give myself multiples of an item, it doesn't broadcast in chat. If I give myself one of an item, it still announces it.
     
  13. Scratch that. I just reloaded it again, and it appears working correctly now. Thanks for the work on this!
     
  14. It is fine with rusty too?
     
  15. It is working perfectly, has been updated by the Plugin Dev. Please download the latest file from the Overview
     
  16. I downloaded this and then i cold not use any admin rights this is so stupid
     
  17. NOT stupid, just need to learn to use it properly. >.<

    You must give yourself or your admin group the proper permission to use it.

    grant group admin adminspawn.all
    or
    grant user "YourUserName" adminspawn.all

    All of this information is on the overview
     
  18. (21:07:06) | [Oxide] 21:07 [Error] Failed to call hook 'OnServerCommand' on plugin 'AdminSpawn v1.1.2'

    File: local function index(obj,name)

    ... Line: 7 :

    at (wrapper managed-to-native) UnityEngine.Object:get_name ()

    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
     
  19. is there a way to stop admin announcements, But still show Moderator announcments?
     
  20. does not work