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.

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.
| Feature | What it does | Plan |
|---|---|---|
| Event calendar | Plan events with start, end and repetition. The agent starts and ends them at the set time. | from Basic |
| Event flag | set an event value of the game right away, for example the EXP rate | from Plus |
| Message into the game | send a notice to all players | from Plus |
| Maintenance | countdown with notices in the game, stop the services in order, bring them up again afterwards | from Plus |
| Restart, stop, start a service | control a single service, in Metin2 for example a channel | from Plus |
| Close gaps | fix five selected findings from the server check with one click, with a backup, and undo it in the panel at any time | from Plus |
| Log | every action with time, trigger and result, in the panel and on your server | all 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 week | Time | Event |
|---|---|---|
| Wednesday | 19:00 to 21:00 | Drop +50% |
| Friday | 20:00 to 23:00 | EXP +100% |
| Saturday | 18:00 to 22:00 | EXP +50%, Drop +50% |
| Sunday | 14:00 to 16:00 | Drop +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:
- 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.
- Stop the services in order: all cores first, then auth, the DB core last, so that the game data is saved.
- Alerts are paused during maintenance and for 5 minutes after a service action.
- 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.
| Finding | Change | Needed afterwards |
|---|---|---|
| Database reachable from outside | set bind-address = 127.0.0.1, but only if all services connect locally | restart of the database |
Admin interface of the cores without ADMINPAGE_IP | set ADMINPAGE_IP to 127.0.0.1 | restart of the cores |
| Configuration files readable by everyone | remove read rights for others | nothing |
| Database user without a name | remove the user | nothing |
| Default accounts in the GM list | delete rows such as admin, test or gm from the GM list | restart 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.
On FreeBSD the file is /usr/local/etc/serverwerk/freigaben.conf, on Linux /etc/serverwerk/freigaben.conf:
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.
| Time | Action | Triggered by | Result |
|---|---|---|---|
| 2026-11-10 22:00:01 | Event ended: EXP +50% | Calendar | done |
| 2026-11-10 18:00:02 | Event started: EXP +50% | Calendar | done |
| 2026-11-10 14:31:45 | Restart channel2 | User anna | done, 38 s |
| 2026-11-10 03:12:09 | Restore backup | User anna | refused, not approved |
Questions about events and maintenance
Do I need a module for events?
Can members of my team start actions?
What happens if a restart fails?
Can I block actions without the panel?
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 €.