public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MV How can I use npm in RPG Maker MV? (Changing desktop wallpaper)

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: MV How can I use npm in RPG Maker MV? (Changing desktop wallpaper)
  • Original author: Karlie
  • Original date: May 14, 2023
  • Source thread: https://forums.rpgmakerweb.com/threads/how-can-i-use-npm-in-rpg-maker-mv-changing-desktop-wallpaper.157520/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

First, I'm sorry for my bad English. I don't know much about JavaScript. I read it. I installed Node.js on my computer.

Archived First Post

First, I'm sorry for my bad English.

I don't know much about JavaScript.

https://forums.rpgmakerweb.com/index.php?threads/read-player-username-script.91546/
I read it.

I installed Node.js on my computer.

I typed into the Command Prompt and pressed enter:
npm install --save user-info
(source: https://github.com/sindresorhus/user-info)

When I used a script call, it worked.
var userInfo = require('./js/node_modules/user-info/index.js');

However, following the same process,

I typed into the Command Prompt and pressed enter:
npm install wallpaper
(source: https://www.npmjs.com/package/wallpaper)

When I used a script call, It didn't work.
var wallpaper = require('./js/node_modules/wallpaper/index.js');

(SyntaxError: Unexpected identifier)

What's the problem? How can I solve it?

I'll just play my game with friends. Please don't point out security issues or user experiences.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar