Jump to content

Alternative account system


PacMan

Recommended Posts

It would be nice if there were add scripting function for virtual set ACL rights for player at time of current game.

Something like:

setPlayerAclGroup (player thePlayer, string groupName, bool access)

Or:

loginAclGroup( player thePlayer, string groupName )

logoutAclGroup( player thePlayer )

That would be a good alternative use for its own account system.

Link to post

With these functions would be much easier, for example, take your "admin" resource. There are commands to administer the server, but to use them need ACL right, could simply get necessary rights and working with any resources.

You can certainly go the difficult way and write your own system for temporary obtaining of rights, constantly adding and removing user accounts and ACL rights, but agree it is not the best solution.

Link to post

Better still make a function similar to temporary login with obtaining rights as it is now using /login triggered event onPlayerLogin and leaving onPlayerLogout. When player logout ACL rights should automatically disappear.

For example:

playerLogin( player thePlayer, acl theAcl )

playerLogout( player thePlayer )

Link to post
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...