[PERMISSIONS] LUA - Command ?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

[PERMISSIONS] LUA - Command ?

Post 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!?
Last edited by noliVe on Thu Jul 27, 2017 9:10 pm, edited 1 time in total.

noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: LUA - Commands

Post by noliVe »

i found

add_player(xx)

but how to construct that command via server command

noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: LUA - Commands

Post 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 )

noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: [PERMISSIONS] LUA - Command ?

Post by noliVe »

no help aviable for this poor guy?

posila
Factorio Staff
Factorio Staff
Posts: 5202
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [PERMISSIONS] LUA - Command ?

Post 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

noliVe
Filter Inserter
Filter Inserter
Posts: 327
Joined: Tue May 24, 2016 7:46 am
Contact:

Re: [PERMISSIONS] LUA - Command ?

Post by noliVe »

nice!

Post Reply

Return to “Gameplay Help”