There's your problem, seems like you or someone has changed how it worked and set it just for 'Admin' group.
addCommandHandler('redo',
function( player, command, value )
if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)),aclGetGroup("Admin")) then
local currentMap = exports.mapmanager:getRunningGamemodeMap()
--if currentMap then
if currentMap then
--if not g_ForcedNextMap then
outputChatBox('Map restarted by ' .. getPlayerName(player), g_Root, 0, 240, 0,true)
if not exports.mapmanager:changeGamemodeMap (currentMap, nil, true) then
problemChangingMap()
--end
end
else
outputRace("You can't restart the map because no map is running", player)
end
else
outputRace("You are not an Admin", player)
end
end
)
Change the line:
if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)),aclGetGroup("Admin")) then
to:
if isPlayerInACLGroup(player, g_GameOptions.admingroup) then