Page 1 of 1

[PERMISSIONS] LUA - Command ?

Posted: Thu Jul 27, 2017 12:29 pm
by noliVe
how to make a command to regain Access to the /permissions command and manage the groups

http://lua-api.factorio.com/latest/LuaP ... add_player

if you are the map owner and removed rights by mistake!
how to get you back in this group if you are still admin (/promote user)

/permissions is NOT WORKING

groups setup
Default (guest)
ADMIN (all permissions)
Players (reduced permissions)
Banned (talking permissions)

so how to move you to another group with a Lua Command!?

Re: LUA - Commands

Posted: Thu Jul 27, 2017 12:31 pm
by noliVe
i found

add_player(xx)

but how to construct that command via server command

Re: LUA - Commands

Posted: Thu Jul 27, 2017 9:05 pm
by noliVe
how to gain admin Access back when you have removed yourself out of the
/Permissions command but you still have ADMIN Access!? ( /promote username )

Re: [PERMISSIONS] LUA - Command ?

Posted: Fri Jul 28, 2017 3:32 pm
by noliVe
no help aviable for this poor guy?

Re: [PERMISSIONS] LUA - Command ?

Posted: Fri Jul 28, 2017 3:50 pm
by posila
Executing /permissions command in server console should show you help.
I think you need to run

Code: Select all

/permissions add-player group_name player_name
in the server console

Re: [PERMISSIONS] LUA - Command ?

Posted: Fri Jul 28, 2017 4:12 pm
by noliVe
nice!