Same problem here also.
I found in the log this error too:
Code:10:50 PM [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Admin v1.0.2' File: Admin.lua Line: 229 attempt to call method 'ToPlayer' (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
Ultimate Admin [Unmaintained]
Discussion in 'Plugin Support' started by mvrb, Oct 20, 2015.
-
Good plugin so far, testing and seems to work really well. I have a few suggestions plucked from other plugins and from personal experience that I hope you'll consider.
Don't add any airdrop support to this plugin, nor helicopter spawning etc. There are other plugins that handle this really well and if an update breaks this plugin, its a lot of functionality to lose.
Similarly I would not add kick/ban to this either, there are good plugins that handle this and having to toggle into admin to kick someone seems counter-productive.
I like the functionality you've already added, such as building perms bypass and door bypass, this is good, I also like the multiple perms, good thinking.
It would be good if you could add a /heal /feed and /cure to this as in other plugins that always seem to break.
Also it would be good if this gave the option to add a prefix to the name when in Admin mode.
Thanks for reading! -
You're most likely right about that. However, if I were to add kick/ban it would still be usable even if you weren't in Admin Mode (as long as you have the permission - maybe even CanKickIfNotInAdminMode for both things).
After fixing the 2 current issues I will look into /heal, /cure and the Admin Tag thing. -
Wulf Community Admin
-
-
-
Code:
[Oxide] 11:44 PM [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Admin v1.0.2' File: Admin.lua Line: 229 attempt to call method 'ToPlayer' (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
Last edited by a moderator: Nov 2, 2015 -
-
Wulf Community Admin
-
How would I go about adding myself to the admin list so I can use the /admin command ingame?
-
It uses AuthLevel 2 permissions by default
Granting users authlevels by running console commands
Authlevel 2: ownerid <steamid> "player name" "reason"
Authlevel 1: moderatorid <steamid> "player name" "reason"
Oxide's permission system
To assign a permission use the console command oxide.grant user username/steamid permission
Ex. oxide.grant user YourSteamID admin.use -
I'm trying to wipe the master set, but even with admin.master on my admin group and my person, it won't let me, So I try to do a fresh install;
Disable admin mode,
Unload plugin,
Delete plugin file, config file and UltimateAdmin folder from data
Upload fresh version of plugin,
Load it.
It then somehow restores all previous settings? -
Doesn't keep godmode after logging out, going back to my old god plugin until this is taken care of.
-
I haven't forgotten about the plugin, I am just busy these days as I am moving.
You can expect an update soon. -
Are you able to change your alias to another name when switching between admin and player? If not i think this would be a fantastic feature to add.
-
this seems to need updated with the new rust..the owner/admin ids arent staying saved anymore.
-
Wulf Community Admin
-
so i guess just injecting your old mod datas back into the folders (data, config,plugin) isnt all that great then...half my mods are no longer working. Suppose I should just wipe and reload them all?
-
ok this seems to have just spam-killed my server....The configuration is the default given
[Oxide] 7:24 PM [Error] Failed to call hook 'OnEntityEnter' on plugin 'Admin v1. - Pastebin.com -
any idea on why my ownerid and moderator id's arent saving when I add them through the Rusty recon? I go to use /admin and it says I dont have permission, I then have to re-add myself everytime I join back. I've did a complete wipe of the server, reinstalled the mod, set my owner id/moderators ids, even changed the config file of the admin mod to permission level 1...reloaded the mod. The owner id is showing up on the owners list in the data folder. Not too sure what broke it, or why I cant get it to work correctly and save myself as the owner without having to re-add myself everytime I join.