Skip to content
Platform status
Servergilde
Calendar from Basic · actions from Plus

Events and maintenance

You plan events in the calendar, announce maintenance in advance and restart single services in the panel. The agent only runs actions that are approved on your server. Every action is in the log.

Choose Plus Allow list
Miniature: a herald with a banner on the village square, players listening

Features

The event calendar is included from the Basic plan. Actions such as restarts, maintenance, messages into the game and closing gaps belong to the Plus plan. Every job is signed with Ed25519, is valid for 10 minutes and for one server only.

FeatureWhat it doesPlan
Event calendarPlan events with start, end and repetition. The agent starts and ends them at the set time.from Basic
Event flagset an event value of the game right away, for example the EXP ratefrom Plus
Message into the gamesend a notice to all playersfrom Plus
Maintenancecountdown with notices in the game, stop the services in order, bring them up again afterwardsfrom Plus
Restart, stop, start a servicecontrol a single service, in Metin2 for example a channelfrom Plus
Close gapsfix five selected findings from the server check with one click, with a backup, and undo it in the panel at any timefrom Plus
Logevery action with time, trigger and result, in the panel and on your serverall plans

Event calendar

In the calendar you set when an event starts, when it ends and whether it repeats. At the start and at the end the agent sets the configured values and writes the change to the log.

Which events exist depends on the game. In Metin2 these are, for example, the rates for EXP and drops.

From Plus you send a message to the players as a separate action, shown as text in the game.

Example of a week in the event calendar
Example weekTimeEvent
Wednesday19:00 to 21:00Drop +50%
Friday20:00 to 23:00EXP +100%
Saturday18:00 to 22:00EXP +50%, Drop +50%
Sunday14:00 to 16:00Drop +100%

Example for a Metin2 server, repeated every week.

Maintenance mode

You start maintenance in the panel with a countdown from 0 to 60 minutes and a message. The agent works through it in this order:

  1. Announcement in the game: your message and "Maintenance in N minutes.", with notices at 30, 15, 10, 5, 3, 2 and 1 minute before the end of the countdown.
  2. Stop the services in order: all cores first, then auth, the DB core last, so that the game data is saved.
  3. Alerts are paused during maintenance and for 5 minutes after a service action.
  4. End of maintenance at the push of a button. The agent starts the DB core, auth and cores again. If a countdown is still running, it cancels it.

Control single services

You pick a service, in Metin2 for example a single channel, and can restart, stop or start it. When stopping, the agent waits up to 120 seconds, for the DB core up to 300 seconds. It never ends a service with KILL: if it hangs, the agent reports an error.

The agent never touches the database of the server (mysql). The DB core is only stopped when no core and no auth is running anymore.

After a service action, alerts are paused for 5 minutes.

Close gaps from the check

There is a button for exactly five findings from the server check. Beforehand the panel shows the change, the agent makes a copy of the file, checks the result and undoes everything at once if something fails. You can revert every change in the panel. The agent never touches SSH or the firewall.

FindingChangeNeeded afterwards
Database reachable from outsideset bind-address = 127.0.0.1, but only if all services connect locallyrestart of the database
Admin interface of the cores without ADMINPAGE_IPset ADMINPAGE_IP to 127.0.0.1restart of the cores
Configuration files readable by everyoneremove read rights for othersnothing
Database user without a nameremove the usernothing
Default accounts in the GM listdelete rows such as admin, test or gm from the GM listrestart of the cores

You fix all other findings by hand, for example internal ports reachable from the internet, logs that fill the disk or the firewall. The report has instructions for them.

Allow list on the server

Which actions the agent may run is set in a file on your server. After installation nothing is approved there, and the agent only reads. The file must belong to root and must not be writable by group or others, otherwise everything counts as off. The panel has no access to it.

If the panel sends an action that is not in the file, the agent refuses it and writes that to the log. In the panel you see which actions are approved right now.

Structure of the file in detail

On FreeBSD the file is /usr/local/etc/serverwerk/freigaben.conf, on Linux /etc/serverwerk/freigaben.conf:

[freigaben] dienst_neustart = an sicherung_jetzt = an sicherung_zurueck = aus luecke_schliessen = an modul_einspielen = aus

The keys and values are German (an is on, aus is off). Change them with serverwerk_agent.py freigabe <aktion> an or aus. The change applies at once, no reload is needed.

Log

Every action is in the panel with time, trigger and result. The agent writes a copy to /var/log/serverwerk/aktionen.log on your server.

Example of the action log
TimeActionTriggered byResult
2026-11-10 22:00:01Event ended: EXP +50%Calendardone
2026-11-10 18:00:02Event started: EXP +50%Calendardone
2026-11-10 14:31:45Restart channel2User annadone, 38 s
2026-11-10 03:12:09Restore backupUser annarefused, not approved

Questions about events and maintenance

Do I need a module for events?
Not for values the game itself knows. In Metin2 these are, for example, the EXP and drop rates. If you also want your players to see the events in the game, there is the module Event calendar in game.
Can members of my team start actions?
Yes. In the panel you decide who may plan events and who may restart services. The log shows who triggered an action. What the agent may run at all is decided by the allow list on your server.
What happens if a restart fails?
The result is in the log, an error with the reason. If a service hangs while stopping, the agent aborts with an error and does not kill it. It does not try a second time without a new job.
Can I block actions without the panel?
Yes. With serverwerk_agent.py freigabe <aktion> aus you block an action on your server. It applies at once without a reload, and the panel can no longer trigger it, even though the button is there.

Actions from the Plus plan

The event calendar is available from Basic for 3.99 € a month. Maintenance and restarts with one click from Plus for 7.99 €.