REDNODE / DOCS

Task Manager

Example apps / taskmanager / v0.1.0

Overlay appadmin permissionfront permissionneeds rednode

Every running package and what it costs: CPU, memory, its thread's load and heap, game calls and service calls. End task stops one that misbehaves; Restart starts it again.

Simulated game
Mod log

    The packages on this page are made up: in the game the table lists what really runs.

    How it works

    The host measures each package from outside: its Node mod's process and its own thread (so a mod stuck in an endless loop still shows, at about 100 % Thread), and its windows' renderers. Calls are counted over the last 5 seconds.

    End task stops a mod at once; one that does not stop within 2 s has its process ended. A mod in the shared process is stopped alone, and the others in it run on.

    Managing other packages needs the admin permission, which the player allows in the Mod Manager after a warning. front keeps the window above other packages' windows. Without the grant, every call is refused and the details pane says why.

    Write your own admin tool with admin from the rednode package, in a page: admin.tasks(), admin.endTask(id), admin.restartTask(id).

    Part of REDnode Admin Tools.

    What it uses

    "admin" permission window.rednode.tasks admin.tasks admin.endTask "front" permission

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/taskmanager/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.