So... I see that Oxide got new hooks and maybe now we can block SHIFT+P and SHIFT+L (also immediantly demoslish) from authlevel1?![]()
Solved Block certain admin abilities
Discussion in 'Plugin Requests' started by SannyOK, Mar 21, 2015.
-
Wulf Community Admin
Block the commands behind them with Command Block. "spectator" is the command I believe for SHIFT+P.
-
Code:
function PLUGIN:OnBuildingBlockDoImmediateDemolish( block, msg ) if( msg.player.net.connection.authLevel == 1 ) then return false end end
[DOUBLEPOST=1426951013][/DOUBLEPOST]spectator is something else it's not SHIFT + L -
Just never got to uploading it -
Is there something we can use to block mods from spawning items yet?
-
Any plugin of this?
Oxide 2.0
NOT IS COMMAND BLOCK! -
Don't have any plugin for this, what you can do is, create a group at oxide and put the permissions that you want for yours admins and mods after put they there
-
-
oxide.grant user/group "username" "permission"
-
oxide.grant user "name" can'command'
-
Wulf Community Admin
-
I think drab meant oxide.grant user "user" "can.faillikedrab"
Never know tho -
-
Wulf Community Admin
-
i tried, but i could not block commands with arguments included, but I wrote this in the description of the plugin!
-
Wulf Community Admin
This is how I handled it with Oxide 1.18:
Code:if (arg.Class and arg.Class ~= "global") then command = arg.Class .. "." .. arg.Function else command = arg.Function end
-
[DOUBLEPOST=1458752003][/DOUBLEPOST]Plugin already updated! -
Hi,
Is there a plugin available which stops OWNERID's from kicking and banning?
Can someone make one?
Thanks -
Wulf Community Admin
You can use the CommandBlock plugin if you want to prevent usage of those commands by admin.
-
@Wulf Perfect!
Does this continue to allow RustAdmin/Rusty RCON commands to be sent?