Source-checkedTechnology & automation

CNPC: Dangerous Script Extension

by xiaobiniaox · for Minecraft

This mod adds some dangerous but map-appropriate script methods to CNPC.

7.6KDownloads
6 mo agoLast updated
LicenseRef-All-Rights-ReservedLicense
ForgeLoaders

About CNPC: Dangerous Script Extension

From Modrinth

This mod adds some dangerous but map-appropriate script methods to CNPC.

Description

_This mod provides system-level window manipulation features. Improper or malicious use may negatively affect user experience. Use responsibly._

This is a script extension mod based on CustomNPCs Unofficial (1.20.1), designed to provide system-level operations that would otherwise require extensive use of Java.type. While this mod does not involve any form of malware, some features are potentially risky. It is strongly recommended that you only grant scripting permissions in CustomNPCs Unofficial to people you trust.

Script Methods

moveWindow(String, int, player) First parameter: direction (left, right, up, down) Second parameter: pixel offset Moves the player's game window in the specified direction.

shakeWindow(float, int, int, player) First parameter: frequency Second parameter: duration (seconds) Third parameter: maximum offset (pixels) Applies a shaking effect to the player's game window.

hideShowWindow(int, int, player) First parameter: interval (milliseconds) Second parameter: duration (seconds) Rapidly hides and shows the game window, creating a flashing effect.

resizeWindow(int, int, player) Parameters: width and height Resizes the game window.

crashGame(player) Immediately crashes the game. _(Warning: When used on a server, this may also crash the server.)_

Current Status

If you are creating a Minecraft map with “fourth wall breaking” effects similar to Doki Doki Literature Club!, this mod may be a good fit for your project.

The original purpose of this mod is to prevent the misuse of importing system classes via CNPC to create external shell scripts, which may pose security risks. This mod does not execute or rely on shell operations. All provided functions can be used directly within the native CNPC scripting environment after installation.

Highlights

From source data

Game versions

Supports 6 Minecraft versions, the newest being 1.20.6.

Loaders

Runs on Forge.

Footprint

Rated a light load on a server.

CNPC: Dangerous Script Extension on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Forge
Server load
light
Smallest plan we suggest
Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.0.5, released 2026-05-23

Game versions by loader

LoaderGame versionsNewest
Forge1.20.1 to 1.20.6 (6 versions)1.20.6

From 5 recorded builds of CNPC: Dangerous Script Extension.

Recent builds

BuildReleasedGame versionsLoaders
1.0.52026-05-231.20.1Forge
1.0.42026-04-251.20.1Forge
1.0.3 alpha2026-04-031.20.1 to 1.20.6 (6 versions)Forge
1.0.12026-04-031.20.1Forge
1.0.0 alpha2026-03-291.20.1Forge

Dependencies

  • Required: modrinth project vFAmwl6B (modrinth, not in our catalogue)

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run CNPC: Dangerous Script Extension on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Technology & automation

Machines, power, logistics and automation.

Runs on your server

From source side support

Modrinth lists CNPC: Dangerous Script Extension as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Forge
Runs on
Serverrequired on the server
Game versions
1.20.6 and 5 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-02Open ↗
  • ✓Authorxiaobiniaox, as published on Modrinth
  • ✓LicenseLicenseRef-All-Rights-ReservedFree

CNPC: Dangerous Script Extension, answered

Generated from the mod’s own source data.

Do my players need to install CNPC: Dangerous Script Extension?

Modrinth lists CNPC: Dangerous Script Extension as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Forge.

Is it free?

Yes. CNPC: Dangerous Script Extension is free to download from Modrinth. Its license is LicenseRef-All-Rights-Reserved.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run CNPC: Dangerous Script Extension on a Minecraft server.

Deploy in about a minute from $4.99 a month, then add CNPC: Dangerous Script Extension in one click.