Quickly change map and/or ark server name, warn players in game, and restart after 2 minute timer with new settings.

Usage no npm install needed!

<script type="module">
  import arkServiceEdit from '';



This script will allow the admin to change the server map and/or name of an Ark linux server in the following steps:

  • ask the admin what they are changing
  • broadcast to the players in game that the server will restart
  • shut down the server currently running
  • change the settings in the ark service file
  • turn the server back on

This script only works for Ark linux servers.

You MUST run this script as sudo.

The maps.txt and ark.service file must be in the same path as the script.