Z-Rcon — a hardened RCON toolbox for admins
Demo
Admin commands over RCON for a live server: items and XP given to a player are capped and logged, and the commands that destroy or move things in bulk show a preview first and only act when you add
go. Z-Rcon installs no game hook: it only executes admin orders, one at a time.Built as a replacement for ExtendedRcon, whose tribe-log command can crash a server. An optional compatibility switch registers the exact
GiveItemToEOSId command name, so tools built for ExtendedRcon keep working.Upgrading from 1.0.x — read this first
- Back up your current
config.jsonbefore you update. config.jsonnow holds the settings only. The six texts players can receive are in thelangfolder (en.json,fr.json,de.json,es.json) and your own changes go inlang\custom.json(never shipped, never overwritten).- Texts you customised in the
Textsblock of your oldconfig.jsonare no longer read by the plugin. Copy them intolang\custom.json(format shown under "Configuration and texts"), under their language, or players will see the shipped texts. With Z-ARK, this is done for you at install. - The plugin no longer rewrites
config.jsonwhen it starts or reloads, and no longer converts the old structure by itself. One exception, on purpose:ZRcon.GpsCalstill saves the GPS calibration of the map in theGpsblock ofconfig.json(see "External connections and data"). - Messages sent to a player now follow that player's language when it is known (see "Configuration and texts"), not only the server language.
- No setting was renamed. The shipped
config.jsonis now complete: it also lists theUnclaimedblock and an emptyGpsblock. If your file does not have them, the plugin uses the same defaults as before. - List commands now give one entry per line, and long answers end with
reste=N suite=M: send the same command again withdepart:Mfor the next part (see "RCON commands"). The JSON output is unchanged, so tools that read it keep working. ZRcon.Tribes allno longer makes an engine call (the exception is gone); see "RCON commands".- Keep your own values for
Compat.GiveItemToEOSId,General.Language,AliasesandUnclaimed: the update does not touch them. - Step by step, with and without Z-ARK: see "Updates" at the end.
Install
Drop the
Z-Rcon folder into ShooterGame/Binaries/Win64/ArkApi/Plugins/. Requires AsaApi 2.11 or newer. Loads at server start.RCON commands
<eosid> is the player's EOS id. Most player commands need the player online. The replies of these commands stay in English (see "Configuration and texts").Players
ZRcon.Players— every online player: name, EOS id, tribe, position.ZRcon.Pos <eosid>— exact position of a player.ZRcon.Id <eosid>— the player's implant number (Sample #), the one mod commands ask for.ZRcon.Tp <eosid> <x> <y> <z>— teleport a player (unstuck, rescue).ZRcon.TpTo <eosWho> <eosTo>— teleport the first player onto the second.ZRcon.Msg <eosid> <text>— private server message to that player only.ZRcon.Warn <eosid> <text>— a warning panel the player has to close (the panel needs Z-Messages; without it, a coloured chat message).ZRcon.Inv <eosid> [filter]— inventory scan (read-only), to check loss claims.ZRcon.Buffs <eosid>— buffs currently on the player.ZRcon.GiveBuff <eosid> <Blueprint'/Path.Name'>— apply a buff to the player.
Giving
ZRcon.Give <eosid> <blueprintPath|alias> <qty> <quality> <forceBP 0|1>— give an item; quantity capped byGive.MaxQuantity, aliases inAliases.ZRcon.Exp <eosid> <amount>— compensation XP, capped byExp.MaxAmount.ZRcon.DinoXp <eosid> <radiusFoundations<=50> <xp>— XP to every tamed dino of the player's tribe around them (the radius is capped; the XP amount is not capped by a setting).- Every
GiveandExp, every player or dino teleport and every tribe change is appended togives.login the plugin folder (who, what, when).DinoXpis written in the server log.
Tribes
ZRcon.Tribes [all]— tribes of the online players: team id, tribe name, who is connected, one player per line. Withall, every tribe found in the world data, one per line: names come from the world data (no engine call), a nameless team is shown as "Tribe <id>", and the text is plain ASCII (accents transliterated).ZRcon.TribeAdmin <eosid>— makes an online player admin of his own tribe.ZRcon.TribeOwner <eosid> go— transfers tribe ownership to that online player (gois mandatory).ZRcon.ForceTribe <eosid> <teamId> [go]— puts an online player into an existing tribe; if he already is in a real tribe, preview unlessgo. The preview falls back on the player's own tribe name and warns that his rank is lost.TribeAdminandTribeOwneranswer "engine error" if the tribe cannot be read.
Dinos and world
ZRcon.Dinos <eosid>— the tamed dinos of the player's tribe, with names and positions.ZRcon.TpDino <eosid> [id:N | classFilter] [count] [remontee] [go]— bring one dino (id fromZRcon.Dinos) or a batch onto the player. Preview unlessgo; aquatic creatures are left out unlessremonteeis given.ZRcon.TpDinoAt <eosid> <x> <y> <z> [id:N | classFilter] [count] [remontee] [go]— same, to a point.ZRcon.SlayWild <x> <y> <radius<=15000> [classFilter] [go]— removes (destroys) WILD creatures in an area (the wyvern stuck in a base). Preview unlessgo, 50 at most per command, never a tribe dino.ZRcon.Unclaimed— read-only: how many unclaimed dinos, which species, since when.ZRcon.Unclaimed purge <days> [go] [depart:N]— preview, then destroy those seen unclaimed for at least<days>; the preview pages withdepart:N.ZRcon.Census [filter] [depart:N]— count actors by class (wild and tamed apart).ZRcon.Around <x> <y> <z> <radius>— what is around a point, and whose.ZRcon.Inspect <x> <y> <z> <radius> <class name part> [max]— Blueprint variables of matching structures/creatures. The answer is cut at a line end and ends with "truncated: N more line(s)" if it is long.ZRcon.SaveCheck <slot> [resave slot]— loads a mod save (SaveGames/<slot>.sav) the way a mod does, reports its class and array sizes, one per line, with the load time. With a second slot it also writes the save again and times it. Test server only: it can write a file.
GPS (map coordinates in replies)
ZRcon.GpsCal <eosid> <lat> <lon>— calibrates the conversion for this map from what a player reads on his in-game GPS. The result is saved in theGpsblock ofconfig.json.ZRcon.GpsDiag— where the GPS calibration of this map can come from.
Plugin
ZRcon.Status— version, command list, GPS state. It ends with the texts loaded, for exampletexts: lang EN FR DE ES, plus, custom FR:2whencustom.jsonholds texts (language:number).ZRcon.Reload— re-readsconfig.jsonand thelangfolder without restarting the server: settings and texts apply immediately. It answers "settings reloaded", or "reload failed, previous settings still in place" ifconfig.jsoncannot be read. TheCompat.GiveItemToEOSIdswitch is read at server start only.
Every list command gives one entry per line (
Players, Dinos, Census, Unclaimed, Inv, Buffs, SlayWild, SaveCheck, Tribes, TpDino, TpDinoAt, GpsDiag). Long answers are split mechanically (reste=N suite=M) and never cut silently: send the same command again with depart:M to get the next part. The previews of TpDino, TpDinoAt, SlayWild, Unclaimed purge, Buffs and online Tribes page the same way. The JSON output is unchanged.Configure (config.json)
config.json holds the settings only; it never contains a sentence read by players. Every setting is explained in config.commented.json, which comes with the plugin: read it before you change anything. The shipped config.json has seven blocks: General, Give, Exp, Aliases, Compat, Unclaimed and Gps.General.Enabled—falseputs the plugin to sleep (Status and Reload stay awake).General.Language— language of the messages sent TO A PLAYER when the player's own language is not known: EN, FR, DE or ES, or a language you add yourself (see below). Shipped:EN.Give.MaxQuantity(shipped: 500),Exp.MaxAmount(shipped: 1000000) — upper bounds; a larger request is refused.Aliases— short names forZRcon.Give(lowercase); extend freely.Compat.GiveItemToEOSId—falseby default. Turn it on ONLY once ExtendedRcon is removed: two plugins on the same command name would deliver twice. Read at server start.Unclaimed.ScanEveryHours(shipped: 6) /Unclaimed.AutoPurgeDays—AutoPurgeDaysis0(never) by default; owned dinos are never touched.Gps— empty at first. Filled byZRcon.GpsCal, one entry per map. Do not edit by hand.
Configuration and texts
What lives where
config.json— the settings. You edit it. The plugin does not write to it, with one exception:ZRcon.GpsCalsaves the GPS calibration in itsGpsblock.config.commented.json— the same settings with an explanation for each one. Shipped with the plugin, replaced at each update. Read it, do not edit it, do not rename it toconfig.json(it contains comments).lang\en.json,fr.json,de.json,es.json— the texts players read, shipped with the plugin and replaced at each update: do not edit them.lang\custom.json— YOUR texts. Never shipped, never overwritten by an update.
The six texts a player can receive. Almost everything Z-Rcon says goes out over RCON, to the console or to a tool, and stays in English: those replies are not translated, are not in
lang, and tools may read them. Only six short texts go to the player in game:GiveReceived— "You received {n} x {objet}." afterZRcon.Give(GiveReceivedBlueprintwhen a blueprint was given).ExpReceived— "You received {n} experience points." afterZRcon.Exp.PrivateMessage— the frame ofZRcon.Msg. By default it is just{texte}, the admin's message and nothing else.WarnTitleandWarnText— the title ("Warning") and the body ({texte}) of theZRcon.Warnpanel.
Change a text. Create
lang\custom.json. Example, to put a prefix on private messages and reword the item confirmation:
JSON:
{
"EN": {
"PrivateMessage": "Admin: {texte}",
"GiveReceived": "An admin gave you {n} x {objet}."
},
"FR": {
"PrivateMessage": "Admin : {texte}"
}
}
{placeholders} ({n} the number, {objet} the item name, {texte} the admin's message) spelled exactly as in en.json.Which language does a player get? A message meant for one player is sent in that player's own language (the flag chosen in the ZMenu mod, carried by Z-Bridge) when it is known and the plugin has texts for it. Otherwise it uses
General.Language. For a sentence, the plugin looks in this order: custom.json in the language, the shipped file of that language, custom.json in English, en.json, then the English text built into the plugin. A player never gets an empty message.Add a language (for example Dutch): create
lang\nl.json (a code of 2 or 3 letters) with the same keys as en.json, or write an "NL" block in custom.json. Players who pick that language from the menu get it; write the code in General.Language if you want it as the server default.A file that cannot be read (invalid JSON) is ignored with a warning in the log.
Compatibility
ARK: Survival Ascended dedicated servers on Windows. Requires AsaApi 2.11 or newer.
External connections and data
- No network connection of its own. Z-Rcon answers commands that reach the server through ARK's own RCON (which you enable and protect in the server settings). No web request, no telemetry, no licence check, no update check.
- Files written, all in its own folder:
gives.log(everyGive,Exp, player or dino teleport and tribe change: time, EOS id, what was done; appended, never trimmed by the plugin),unclaimed-seen.json(ids of unclaimed dinos and when they were first seen unclaimed),around-<date>.txtandinspect-<date>.txt(a copy of eachZRcon.AroundandZRcon.Inspectanswer, not cleaned up automatically), a save file inSaveGames, only whenZRcon.SaveCheckis given a second slot, andconfig.json, but only whenZRcon.GpsCalsaves a map calibration. That is the only time the plugin writes it: the whole file is saved again from the settings the plugin has loaded, so after editingconfig.jsonby hand, runZRcon.ReloadbeforeZRcon.GpsCal. The plugin never writes the files inlang. - Files read: its own
config.json, the files inlang(texts), and AsaApi's own offset cache (to check that a game field exists before reading it). - When Z-Messages or Z-Bridge is loaded, Z-Rcon calls their exported functions (styled messages, the warning panel, the player's menu language), inside the server process.
- No game hook, no registry access, no external program started, no other data collected.
Dependencies and limitations
- No required dependency. Optional: Z-Messages (the
ZRcon.Warnpanel; without it, a coloured chat message) and the ZMenu client mod with Z-Bridge (the player's own language for the six texts). - RCON must be enabled on the server. Most player commands need the player online.
- RCON replies are in English only.
- Bulk and destructive commands show a preview and act only when you add
go. ZRcon.SaveCheckis for a test server only: with a second slot it writes a file.Compat.GiveItemToEOSId: turn it on only once ExtendedRcon is removed, or items would be delivered twice.
Updates
Z-ARK (server manager, https://z-ark.fr/en/) checks for new versions of this plugin and installs them from its dashboard. With Z-ARK 0.285.0 or newer, install the update from Z-ARK: it keeps your settings, moves the texts you had changed in the old
config.json into lang\custom.json, removes the old keys that are no longer used after a safety copy, and lists everything in the update report.Without Z-ARK: click Watch at the top of this page to be notified of every new version; what changed is listed in the Updates tab. Coming from 1.0.x, step by step:
1. Back up the
Z-Rcon plugin folder.2. Stop the server.
3. Replace the plugin's
.dll, PluginInfo.json and config.commented.json, and the lang folder except lang\custom.json (if you have one).4. Keep your
config.json. The plugin starts with it, reads the settings, and ignores the old Texts block that is still in it (players see the shipped texts). Those old keys have no effect and can be deleted. Keep the Gps block if you have one: it holds your map calibration.5. Copy the texts you had changed in the old
Texts block into lang\custom.json, under their language (format above).6. Compare your
config.json with the one shipped, to see if a setting is new. (From 1.0.x, none is: the Unclaimed and Gps blocks are only now listed in the shipped file; when missing, the plugin uses its defaults.)7. Start the server and run
ZRcon.Status: it should end with texts: lang EN FR DE ES (and custom with your languages if you wrote texts).Support
A question, a bug, an idea? Post it in the Discussion tab of this page, or use the form at https://z-ark.fr/en/plugin-support/ (no account needed). Please give the plugin version, your AsaApi version and what you saw. Z-ARK users can also write to us from Settings > Support in Z-ARK.
Built with AI, knowingly
This plugin was written with an artificial intelligence, and we would rather say it plainly. It is not code thrown together at random: behind it is someone from the trade (software development, server operations, community management) who decides every feature, reviews it and puts it to the test on a real cluster, with real players, before it reaches you. The same goes for the ZMenu client mod. Bugs reported in the Discussion tab get fixed.