That has never been a part of my plugin.
Ultimate Admin [Unmaintained]
Discussion in 'Plugin Support' started by mvrb, Oct 20, 2015.
-
xD ...
first to say. Great plugin. i was looking for long now for a plugin that make the work easyer when you want to switch from play to work .
Great plugin so far !
would be cool when u could add it, when im switching to admin mode my group automaticly change?
from player to admin oxidegroup?
and- i know you cannot switch authlvl just in game- you have to relogg but is it maybe possible to "block" the noclip, specate, and the Admin give from item menu, when u are in playermode? would be also cool -
Wulf Community Admin
-
Thanks for the update and thanks for the speedy work. you're the best
-
Hello ! Great mod !
Have a question : I've setup a Group, added admin.master permission, and i've added myself into that group.
when i do /admin ingame i just get the " No permission".
How should i deal with this ? I do not want to set myself as owner/admin on the server, because i play my also, and don't want the admin powers meanwhile / + admin name
Cheers -
Wulf Community Admin
-
there is no chat mute plugins out there so maybe you could add that feature?
-
Thanks alot :O i have searched for one that worked for ages
-
oxide.grant group adminpower admin.master
oxide.usergroup add MYNAME adminpower
I have even tried to make it single permission by this :
oxide.grant user MYNAME admin.master
I saved data after, tried restart
and i see i have the permission, i just still can't do it.
I know that its possible to add myself as owner/admin, but i'd rather not do that, cause it changes my name color + it would be nice to go undercover. Remember i play on the server also, like a regular player.Last edited by a moderator: Oct 29, 2015 -
I don't think my plugin is loading the config values properly, I'll look into it.
-
Wulf Community Admin
grant user MYNAME admin.master
grant group admin admin.master
This plugin has an odd setup though, where it uses both auth level and permissions by default. I'm not sure why plugins still use auth levels... -
Mathias updated Ultimate Admin with a new update entry:
1.0.2
[DOUBLEPOST=1446152077][/DOUBLEPOST]
Also, if you already have the required AuthLevel and you use that, then you don't have to grant every permission to the admin(s) of the server. -
when im changing back to player mode..i still have godmode?
Edit: sorrry im not in godmode. but.. I get no Cold or other things anymore......
Edit2: This is now Permanent... even when im revoking all permissions thats in thePlugin.
and remove the plugin. and Die . i get no cold. hunger etc...Last edited by a moderator: Oct 30, 2015 -
[DOUBLEPOST=1446209927][/DOUBLEPOST]
Just upload the plugin and run the command: /fixmetaAttached Files:
-
-
How can login as admin what commands are written to the console
-
Wulf Community Admin
-
Code:if info then if info.Initiator then if info.Initiator:ToPlayer() ~= nil then -- Simply checking if it's 'nil' returns an error local attacker = info.Initiator:ToPlayer() if attacker then attackerID = rust.UserIDFromPlayer( attacker ) if StatusData[attackerID] then if StatusData[attackerID]["status"] then if StatusData[attackerID]["status"] == true then if self.Config.Settings.DisableAdmin_vs_EntityDamageIfGodmode then nullify = true end end end end end end end end
Code:[Oxide] 4:08 PM [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Admi n 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 unkn own>: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) [0x000 00] 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[]
Code:if info.Initiator:ToPlayer() ~= nil then
-
Wulf Community Admin
Try the below. You've got a lot of unneeded if statements and nesting. My example can probably be reduced even more.
Code:if not info.Initiator then return end if not info.Initiator:ToPlayer() then return endlocal attacker = info.Initiator:ToPlayer() local attackerID = rust.UserIDFromPlayer(attacker)if StatusData[attackerID]["status"] then if self.Config.Settings.DisableAdmin_vs_EntityDamageIfGodmode then nullify = true end end
-