Yes it's an error i get sometimes, it's when you disconnect as admin and reconnect.
1/2 it Will give you the admin inventory and 1/2 it Will bug and not give you
No idea why sometimes it works and sometimes it doesnt.
So i'll fix the error in the console ^^
Admin <-> Player (God Mode) [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, May 20, 2014.
-
Reneb updated Admin <-> Player with a new update entry:
fix
-
How do I make myself admin? I got a server with this plugin and when I write /admin I only get "You don't have permission... etc" I also got Oxmin installed, maybe thats the problem? I need help. ty[DOUBLEPOST=1407901603][/DOUBLEPOST]Nvm, it works fine now!
-
Reneb updated Admin <-> Player with a new update entry:
fixed bug that happens sometimes
-
Reneb updated Admin <-> Player with a new update entry:
fixed the fix XD
-
Don't work with Essentials (http://oxidemod.org/resources/essentials.425/).
Server couldn't start. -
what error does it tell you?
-
mscorlib: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> NLua.Exceptions.LuaScriptException: [string "admin-player.lua"]:38: attempt to index field 'oxminPlugin' (a nil value)
--- End of inner exception stack trace ---
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
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Oxide.Plugin.CallFunction (NLua.LuaFunction func, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugin.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.PluginManager.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Main.Load () [0x00000] in <filename unknown>:0
at Oxide.Main..ctor () [0x00000] in <filename unknown>:0
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
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Oxide.Plugin.CallFunction (NLua.LuaFunction func, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugin.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.PluginManager.Call (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Main.Load () [0x00000] in <filename unknown>:0
at Oxide.Main..ctor () [0x00000] in <filename unknown>:0
: NLua.Exceptions.LuaScriptException: [string "admin-player.lua"]:38: attempt to index field 'oxminPlugin' (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 (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 -
Reneb updated Admin <-> Player with a new update entry:
bug fix
while you dont have oxmin. -
Thanks fpr updating, but everyone can find me, because the name over my head is not invissible!
It is not possible the change the steamplayer name in " "! steam want a character in the name.
Do you have an idea to solve that invissible problem? -
you have to SET YOUR STEAMNAME, THEN (and just AFTER THEN) connect on your server.
you will join as a blank name and will not be able to change it ingame. -
ok, but when i try to set my STEAMNAME to " ", steam answer that I need a character in my name?! Therefor I cannt be invisible, also I join after namesetting
, because steam allows no name like " ".
-
copy paste the name in my overview, you can't just write it yourself.
-
Hey, i changed my "Admin Name" - but it does not change, when i am writhing.
/admin name Admin Hanes --> Your new name ist Admin Hanes ..... but when im writing nothing changes -
/admin hide, to activate/deactivate the hidden name.
-
... thx Reneb - my bad![DOUBLEPOST=1409619751][/DOUBLEPOST]but Reneb ... if im login out, do i type my admin name every session?
Last edited by a moderator: Sep 2, 2014 -
Thanks for this! Works like a charm.
I was wondering if this plugins functionality could be ported to UberArena to save a players inventory before joining an arena and restoring it upon leaving. That is the only thing I've been struggling to do with since I switched from Magma to Oxide.
Would you perhaps have any tips to make this happen? -
Mainly copying and pasting part of the code should do the trick
-
thanks, will try it out asap.
-
Reneb updated Admin <-> Player with a new update entry:
no more you dont have permission ^^ code is simpler