Jump to content

Add Command "reloadACL"


Quited

Recommended Posts

Posted (edited)

Hi All

it is nice to add simple command reloadacl to reload acl.xml.

* Don't Reply for use runcode resource or Execute command in admin panel to do this , It's mostly used for hacking and cheat.

Edited by Guest
Posted (edited)
How would it be used for "hacking"?

start runcode Resource , type into console "F8"

srun setTimer(outputChatBox,1000,0,"Type Anything",root,0,0,0,true) 

And

srun setTimer(function () 
fadeCamera ( root, false, 1.0, math.random(255), math.random(255), math.random(255)) 
    end,500,0) 

or type

srun addEventHandler("onPlayerJoin",root,         function()             redirectPlayer(source,'Your server ip','Your server port')         end     ) 

After that

and you will see whats doing

Edited by Guest
Posted

This happen only with "stupids" and sorry to tell that but what you was expect when you give everyone admin rights like giving chocolate to everyone whom you don't know or you can't trust him.

Posted
This happen only with stupids and sorry to tell that but what you was expect when you give everyone admin rights like giving chocolate to everyone whom you don't know or you can't trust him.

I know, but I give him an answer to his question

Posted
Or when you don't restrict the runcode to admin only.

Even if made ​​runcode resource restrict to admins , I do not trust admins.

Posted

'' runcode commands wont work with any player except admins and this resource is really useful ''

anyways about the reload command you can make it yourself :)

addCommandHandler("reloadacl", 
function (player) 
    local accountname = getAccountName(getPlayerAccount(player)) 
    if isObjectInACLGroup("user."..accountname.."",aclGetGroup("admin")) then 
    aclReload() 
    outputChatBox("* ACL Reloaded.",player,255,255,255,true) 
    end 
end) 

add it to admin resource or another resource that have admin rights

Posted
Even if made ​​runcode resource restrict to admins , I do not trust admins.

If you do not trust in your team, perhaps they shouldn't be in? I mean, this is common sense..

  • 2 weeks later...
Posted
'' runcode commands wont work with any player except admins and this resource is really useful ''

anyways about the reload command you can make it yourself :)

addCommandHandler("reloadacl", 
function (player) 
    local accountname = getAccountName(getPlayerAccount(player)) 
    if isObjectInACLGroup("user."..accountname.."",aclGetGroup("admin")) then 
    aclReload() 
    outputChatBox("* ACL Reloaded.",player,255,255,255,true) 
    end 
end) 

add it to admin resource or another resource that have admin rights

Thanks Sora

  • 2 weeks later...
Posted
Add runcode to admin acl.

do /run aclReload() or /srun aclReload()

if you have debug like access Denied restart runcode.

PS : TAPL, i love chocolate :3.

i said :

* Don't Reply for use runcode resource or Execute command in admin panel to do this , It's mostly used for hacking and cheat.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...