Reneb submitted a new resource:
Admin - Player - Easily switch between admin and player mod, with this inventory saver/restorer plugin
Read more about this resource...
Admin <-> Player (God Mode) [Unmaintained]
Discussion in 'Plugin Support' started by Reneb, May 20, 2014.
-
Nice idea.
Would be usefull to have a built in god mode that triggers automaticly on admin mode. Also a location save on activating admin mode and teleporting back to it on switching back to player mode would be nice. -
Reneb updated Admin <-> Player with a new update entry:
Small fix and Added Optional Chat Name hide as admin
as for location saver, maybe i need more people to give me their point of view on it.
cause i was thinking about it, but scared that in some situations it would just fuck the admin when tping back (falldamage / over water / bugged in ceilings / etc)[DOUBLEPOST=1400671066][/DOUBLEPOST] -
This error is popping up every time I run /admin.
It also deleted stuff from our inventory. This plugin would be great if it worked correctly; I will keep an eye out for an update if you plan on fixing this.
Code:[Oxide] 'WOTbuzzbomber' (STEAM_0:0:59579566) ran command '/admin ' [Oxide] Error in timer (admin-player) : NLua.Exceptions.LuaScriptException: [string "admin-player.lua"]:104: attempt to index local 'invitem' (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.Main+<>c__DisplayClass6.<lua_NewTimer>b__4 () [0x00000] in <filename unknown>:0
Last edited by a moderator: May 21, 2014 -
Reneb updated Admin <-> Player with a new update entry:
fix error
-
Reneb updated Admin <-> Player with a new update entry:
small fix
-
Well, there are no more errors, however I still lose my items occasionally. Any item I had as a player will be replaced with one of that item instead of the correct number of items when I switch back from admin to player. Also, thanks for the quick updates!
-
-
@Reneb
Is the 1 item issue due to you putting GetItem / SetUses etc inside a timer ? the values of each of these will get overwritten before the first timer executes.
Why did you put it in a timer ?, I'm not seeing any issues with the code in inventory library. -
well i placed it in a timer, cause sometimes it would just say that the item i'm trying to edit doesn't exist.
so i have to do a little waiting time for it to recognize the item.[DOUBLEPOST=1400872785][/DOUBLEPOST]i'll look inside the inventory library to see how u did it. -
Reneb updated Admin <-> Player with a new update entry:
fixed the items that were not given back correcly
-
can't run any command with / after i've turning "admin hide", and being in admin mode. Can't use /admin to return into player mode, can't change everything, can't use /help, /who, whatever. idk why
btw how to return my state without restart?Last edited by a moderator: May 25, 2014 -
yes /admin hide doesn't work, don't use it. Sorry i forgot to tell.
so just deactivate /admin hide. everything should work.
i need to work on admin hide. next update ^^ -
Reneb updated Admin <-> Player with a new update entry:
fixed /admin hide
-
Thanks for the awesome plugin! I am not having any problems since the most recent update, however I do have a suggestion. It would be cool if we could configure what items we got when we go into admin mode, like a config file where we can set what items we get.
-
it say that I don't have permission when trying to use /admin command, and I'm already logged in via rcon
-
Oxmin flag! Read the description
-
yes I have installed oxmin but when trying to give flag it say unknown chat command
-
It's on the console that you need to put: oxmin.giveflag Player all
-
ok, works.... so much for being a noob to this, but thanks a million....