
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
build tool for typescript based RPG Maker MV plugins
Dicebox is a tool that allows you to program RPG Maker MV plugins. By default, RMMV plugins are plain JS files that are simply loaded as is into your game. Using dicebox you can actually leverage all ES6 + Typescript goodness, with type declarations for the RMMV runtime library and easily manageable editor config.
Create an empty directory, and run the init
command:
npx dicebox init
After asking you a small set of questions, a new plugin project will be created in the current working directory.
Once your project is created, it will contain the following files and directories:
src
- the directory with the source code for your pluginplugin.conf.ts
- the config file for your plugin projectrmmv.d.ts
- type declarations for RMMV runtime libraryYou can start working on src/index.ts
. This is the default entrypoint.
In order to build your project, run npm run build
. This will generate a single .js
file in a new directory called dist
.
Once this file is generated, you can put it in your game's JS/plugins
directory, and then add and configure it using the RMMV editor interface.
One of the perks of RMMV plugins is the fact that you can integrate with the editor, so you can interact with it via the RMMV editor GUI. If you wish to define it, you can use the information in the plugin.conf.ts
file:
If you want to add parameters which you'll be able to set via the editor, head over to your plugin.conf.ts
file. Under the parameters
property, you can list all the parameters that will be interactive via the editor:
import { PluginConf } from 'dicebox/conf';
export const config: PluginConf = {
name: 'My Plugin',
author: 'Me',
pluginFilename: 'MyPlugin',
description: 'This is my Plugin',
parameters: [
+ {
+ name: 'Some Parameter',
+ description: 'This is an example parameter. Try modifying this or adding new ones!',
+ default: 'Hello, World!'
+ }
]
};
Once saved, open the plugin manager in your RMMV editor, and you'll see the parameter right there for you to play with.
The type definitions used for RMMV runtime library are taken from AsterAtwood's rmmv.d.ts project.
FAQs
build tool for typescript based RPG Maker MV plugins
The npm package dicebox receives a total of 1 weekly downloads. As such, dicebox popularity was classified as not popular.
We found that dicebox demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.