public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MV[XDE] xDGameStudios Engine - ItemEvents v1.2 (NEW)

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: [XDE] xDGameStudios Engine - ItemEvents v1.2 (NEW)
  • Original author: xDGameStudios
  • Original date: January 27, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/xde-xdgamestudios-engine-itemevents-v1-2-new.55817/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

XDE_ItemEvents +v1.2 xDGameStudios Introduction  This plugin enables the execution of custom javascript code during the

Archived First Post

XDE_ItemEvents +v1.2
xDGameStudios



Introduction
 This plugin enables the execution of custom javascript code during the
 ITEM action performance. Much similar to what happens in my previous


 plugin BattleEvents.. this one will let you execute code whenever an ITEM
 ARMOR or WEAPON is gained, lost, equipped, removed, dropByEnemy.
 Imagination is your limit.

Features


All the help is provided in the help section of the plug in. Here is a copy of that section:
 

Code:
========================================================================
 Help
 ========================================================================

 This plugin enables the execution of custom javascript code during the
 item action performance. This will enable the creation of more complex
 game mechanics. Game variables and switches can be set and triggered
 upon the execution of a specific event stats can be changed, messages
 triggered, states applied, GabWindow controlled.... There's a whole new
 world of possibilities out there. Remember this plugin is meant for
 developers who have basic javascript knowledge.

 ========================================================================
 Plugin Properties
 ========================================================================

 System Enabled : As a performance tweak this lets the game begin with
 the system disable if you add/equip items automatically in game start,
 this can help improve performance. System can be latter enabled with an
 event through a plugin command.


 Skip Unnamed : ITEM/ARMOR/WEAPONS that don't have a name are skipped and
 their tags are not processed this can improve game startup load speed.

 ========================================================================
 Plugin Commands
 ========================================================================

 This couple of plugin commands will allow to disable or enable the eval
 process that occurs during the specified item action.

 ItemEvents Enable

 ItemEvents Disable

 ========================================================================
 Note Tag Data
 ========================================================================

 The note tag data used within this plugin applies to the ITEM, WEAPON
 and ARMOR tabs of the RPG Maker editor. You can use the following tags
 to execute code during the correct item changing moments.

 <Item Event Gained>
    code
    code
 </Item Event Gained>

 Place here the code to be executed every time the party gains an item or
 weapon or armor may it be by a treasure chest or by item drops or any
 other kind.
 ------------------------------------------------------------------------

 <Item Event Lost>
    code
    code
 </Item Event Lost>

 Place here the code to be executed every time the party loses an item or
 weapon or armor may it be by a treasure chest or by item using or any
 other kind.
 ------------------------------------------------------------------------

 <Item Event Drops>
    code
    code
 </Item Event Drops>

 Place here the code to be executed every time the party gains an item or
 weapon or armor by item drops ONLY.
 ------------------------------------------------------------------------

 <Item Event Equipped>
    code
    code
 </Item Event Equipped>

 Place here the code to be executed every time the player equips an armor
 or weapon.
 ------------------------------------------------------------------------

 <Item Event Removed>
    code
    code
 </Item Event Removed>

 Place here the code to be executed every time the player removes an armor
 or weapon.

 ========================================================================
 Code Builtin Variables
 ========================================================================

 isBattle : boolean to identify if the current scene is a battle.

 amount : the amount gained or lost (GAIN/LOST/YEARNED-ONLY, READ-ONLY).

 dbItem : is either of type dataItems, dataArmors or dataWeapons.

 actor : the Game_Actor equipping or removing the equipment.

 remove : if set to [true] this event is removed and will not run again.

 ========================================================================
 Extra Data
 ========================================================================

 $dataItems, $dataArmors, $dataWeapons are added a new property that is
 an object called [itemEvents] containing the following structure.

 {
    gained: "code",  lost: "code", drops: "code",
    equipped: "code", removed: "code"
 }

 Code evaluations are executed during the corresponding item action.

 ========================================================================
 Updates History
 ========================================================================

 1.0: Initial Release
 1.1: Added access to actor when equipping or removing equipments
 1.2: Corrected bugs related to the plugins' parameters reading.

 ========================================================================


Screenshots
Not a visual plugin!!



How to Use
Put plugin in the plugin folder and add it to your project. The place shouldn't be a problem. (If using Yanfly Item plugins place it below that section).



Script


[Download Plugin Here] ------> NEW v1.2


UPDATES
I'm having problems changing the features!! Please read help in the plugin property window!!v1.1 - Can access actor data when equipping and removing equipment!! Corrected bugs!!


v1.2 - Minor bugs corrected! (sorry for some game crashes)


Terms of Usage
Free to use both on non commercial and commercial games, give credit to author "xDGameStudios" and notify me of your game free or commercial (a demo would be appreciated  ).


Credit and Thanks
xDGameStudios

Features Mentioned

  • All the help is provided in the help section of the plug in. Here is a copy of that section:
  • Spoiler
  • Code:
  • ========================================================================
  • Help
  • This plugin enables the execution of custom javascript code during the
  • item action performance. This will enable the creation of more complex
  • game mechanics. Game variables and switches can be set and triggered
  • upon the execution of a specific event stats can be changed, messages
  • triggered, states applied, GabWindow controlled.... There's a whole new
  • world of possibilities out there. Remember this plugin is meant for
  • developers who have basic javascript knowledge.
  • Plugin Properties
  • System Enabled : As a performance tweak this lets the game begin with
  • the system disable if you add/equip items automatically in game start,

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

License / Terms Note

Free to use both on non commercial and commercial games, give credit to author "xDGameStudios" and notify me of your game free or commercial (a demo would be appreciated  ). Credit and Thanks xDGameStudios

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#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar