🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

bondage-club-mod-sdk

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bondage-club-mod-sdk

An extension/mod development kit for the Bondage Club online game ([https://www.bondageprojects.com/club_game/](https://www.bondageprojects.com/club_game/)) by Jomshir98, one of the club's coders.

latest
npmnpm
Version
1.2.0
Version published
Weekly downloads
74
-20.43%
Maintainers
1
Weekly downloads
 
Created
Source

Bondage Club Mod Development Kit

An extension/mod development kit for the Bondage Club online game (https://www.bondageprojects.com/club_game/) by Jomshir98, one of the club's coders.

Bondage Club Mod Development Kit is an experimental library aiming to improve compatibility between multiple mods by providing a common interface that mods can use to modify Bondage Club's functions without overwriting one another's changes, if those mods use this library.

Usage

This package can be used either by copying the code into your script or by including it as dependency using a build system.

Using the code by copying it

Simply take the code from JS file in the latest Release and put it on the very top of your script, using the result bcModSdk variable.

Using the code by importing it

The file is a CommonJS module that exports a default export you can use:

import bcModSDK from 'bondage-club-mod-sdk';

Example usage

const modApi = bcModSDK.registerMod({
	name: 'MyExMod',
	fullName: 'My example mod',
	version: '1.0.0',
	// Optional - Link to the source code of the mod
	repository: 'https://github.com/Jomshir98/bondage-club-mod-sdk',
});

// Example: Add original text to the end of any garble text
// For more details see `SpeechGarble` function in BC code
modApi.hookFunction('SpeechGarble', 4, (args, next) => {
	// Copy original, which is second argument
	const originalText = args[1];
	// Call the original function, saving result
	const garbledText = next(args);
	// Return modified result by adding original text after the garbled text
	return garbledText + ' <> ' + originalText;
});

For full API documentation see .d.ts file in latest release.

Made by Jomshir98 - Jomshir98#0022

Associated Discord server:

Discord image

THIS PAGE WAS LAST EDITED ON 1-2-2022

FAQs

Package last updated on 31 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts