Disable Items To Sell

Name: Disable Items To Sell
Version: 1.0
Author: Mr. Trivel
Created: 2016-04-21

What does it do?
Disables specific items or groups of items from being sold in shops.

Video:


How to use?
Everything is managed using plugin commands:
To disallow specific items from being sold use the following commands group:
ItemLock Disable Item ID (ID)
ItemLock Disable Weapon ID (ID)
ItemLock Disable Armor ID (ID)
For plugin commands above, if you specify 2nd ID, it’ll disable all items in
that range. 2nd ID is optional.
E.g.: ItemLock Disable Item 10 13 will disable items with IDs 10, 11, 12, 13.

To allow specifically disabled items to be sold again use this commands group:
ItemLock Enable Item ID (ID)
ItemLock Enable Weapon ID (ID)
ItemLock Enable Armor ID (ID)
For plugin commands above, if you specify 2nd ID, it’ll enable all items in
that range. 2nd ID is optional.
E.g.: ItemLock Enable Armor 5 9 will disable armors with IDs 5, 6, 7, 8, 9.

To quickly clear all specifically disabled items, use the following group:
ItemLock Clear Items
ItemLock Clear Weapons
ItemLock Clear Armors
ItemLock Clear All

To disable/enable whole groups of items to be sold use the following groups:
ItemLock Disable All Items
ItemLock Disable All Weapons
ItemLock Disable All Armors

ItemLock Enable All Items
ItemLock Enable All Weapons
ItemLock Enable All Armors

How to download Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Limited Inventory

Author: Mr. Trivel
Name: Limited Inventory
Version: 1.0
Created: 2016-04-04

What does it do?
Limits inventory space by item number or item weight.

Screenshot:

How to use?
Change parameters in Plugin Manager as needed.

Plugin has 2 modes – ‘number’ and ‘weight’ mode.
‘number’ mode limits 1 item to 1 slot.
‘weight’ mode limits items to slots depending to their weight, e.g. sword might be heavier than a feather so it’d take 5 slots instead of 1.

If using ‘weight’ mode, use the following tag on items to give them weight:
<Weight: [AMOUNT]>
Example:
<Weight: 100>

Equipment can also be made so it allows to carry more or less items with the following tag:
<InvLimitChange: [AMOUNT]>
Examples:
<InvLimitChange: 50>
<InvLimitChange: -10>

There’s a couple of Plugin Commands to manipulate the limits:
InventoryLimit Add [AMOUNT] – permanently increases inventory limit
InventoryLimit Sub [AMOUNT] – permanently decreases inventory limit
InventoryLimit Ignore – ignores the limit while gaining items until next command is called
InventoryLimit StopIgnore – stops ignoring the inventory limit

And last but not least there’s script calls to make conditional branches or variables easier to use:
$gameParty.getInventorySpaceLeft() – returns amount of space left
$gameParty.getInventorySpaceTotal() – returns total amount of space
$gameParty.getInventorySpaceUsed() – returns used amount of space

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Map Nodes Travel

Author: Mr. Trivel
Name: Map Nodes Travel
Version: 1.0
Created: 2016-03-31

What does it do?
Allows to travel to different maps through node selection.

Video:


How to use?
Setting up nodes
Open up this plugin in your favorite text editor and scroll down to the part
where it says EDIT MAP NODES HERE – follow the structure there.
“keyName”: {
   picture: “pictureName”,
   xMenu: number,
   yMenu: number,
   mapID: number,
   mapX: number,
   mapY: number
},

“keyName” – key name of node that will be used to lock/unlock it – single word.
picture – picture name to show above the node
xMenu – X position in meun
yMenu – Y position in menu
mapID – map ID to teleport to
mapX – map X to teleport to
mapY – map Y to teleport to

Plugin Commands:
MapNode Enter – Enters MapNode scene
MapNode Show [KEYNAME] – Adds node on the map
MapNode Hide [KEYNAME] – Removes node from the map
MapNode Lock [KEYNAME] – Locks node on the map
MapNode Unlock [KEYNAME] – Unlocks node on the map

Examples:
MapNode Enter
MapNode Show Forest
MapNode Hide Forest
MapNode Lock Graveyard
Mapnode Unlock StoneFarm

Pictures:
All pictures go into img\system folder.

Default pictures:
img\system\mapNodeCursor.png
img\system\mapNodeBackground.png
img\system\mapNodeLocked.png
img\system\mapNodeUnlocked.png

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Images for testing:

Max Level Restrictions

Author: Mr. Trivel
Name: Max Level Restrictions
Version: 1.0
Created: 2016-03-31

What does it do?
Allows restricting and lifting actor, class and global max level.

Pics:
Nope.

How to use?
Use these Plugin Commands to set and lift max level restrictions:
MaxLevel GlobalSet [LEVEL] – sets global max level restriction to [LEVEL]
MaxLevel GlobalLift – removes global max level restriction

MaxLevel ActorSet [LEVEL] [ID] – sets max level restriction to [ID] of actor
MaxLevel ActorLift [ID] – removes actor max level restriction

MaxLevel ClassSet [LEVEL] [ID] – sets max level restriction to [ID] of class
MaxLevel ClassLift [ID] – removes class max level restriction

[LEVEL] – what is the new max level
[ID] – actor or class ID

Examples:
MaxLevel GlobalSet 10
MaxLevel GlobalLift
Maxlevel ActorSet 20 5
Maxlevel ActorLift
MaxLevel ClassSet 30 7
Maxlevel ClassLift

Priority:
In case of multiple restrictions (default, global, actor, class) the lowest
value one will be used.

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Global Save Data

Author: Mr. Trivel
Name: Global Save Data
Version: 1.0
Created: 2016-03-31

What does it do?
Allows player to set and change variables that affect all saves.

Video:


How to use?
To set global variables, use the following Plugin Calls:

GlobalVar Set [NAME] [VALUE] – Sets variable to [VALUE]
GlobalVar Add [NAME] [VALUE] – Adds [VALUE] to variable
GlobalVar Sub [NAME] [VALUE] – Subtracts [VALUE] from value

[NAME] – Variable name, case sensitive
[VALUE] – Value of variable a number or true/false

Examples:
GlobalVar Set Glasses true
GlobalVar Set GameCompleted 1
GlobalVar Add GameCompleted 1
GlobalVar Sub GameCompleted 2

To check global variable in a conditional branch or somewhere else, use this code:
DataManager.getGlobalVar(NAME)

Example:
DataManager.getGlobalVar(Glasses)

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Scene Backgrounds

Author: Mr. Trivel
Name: Scene Backgrounds
Version: 1.1

What does it do?
Allows to set specific backgrounds for specific scenes.

Image:

How to use?
Open this plugin in your favorite text editor and scroll down to EDIT LIST HERE.
Then edit it as follows:
SceneName: “BackgroundName”,
All images go to img\system
NOTE: Only works for scenes based on Scene_MenuBase.

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Hide Item Quantities

Author: Mr. Trivel
Name: Hide Item Quantities
Version: 1.0

What does it do?
Allows to hide specific items quantities.

Image:
hidequan.png

How to use?
Add tag <noq> to note fields of items which should not display their quantity.

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Map Selection

Name: Map Selection
Version: 1.1
Author: Mr. Trivel
Created: 2016-03-28

What does it do?
Allows to travel to different maps from a single scene.

Gif:

How to use?
Plugin Commands:
MapSelection Start – Enters Map Selection Scene
MapSelection Add [ID] – Adds selection to the menu
MapSelection Remove [ID] – Removes selection from the menu

Examples:
MapSelection Start
MapSelection Add 4
MapSelection Remove 5

Map List Structure:
mapList in an array of objects.
Each object start with { and ends with }
Each object has ID and Name properties.
{
   ID: 1,
   Name: “Some Name”
}
ID is used for plugin commands listed above.
Name is what will be seen on the command window ingame.

Now, the object may have one of two groups of other properties.
Group 1 – Sublist properties:
Sublist: [],
Background: “BackgroundName”

Group 2 – Map teleport properties:
MapID: 3,
X: 5,
Y: 20

Group 3 – Execute common event properties:
CE_ID: 2

So if Object is Group 1 type, when you click on it, you’ll get it’s list, meanwhile if Object is Group 2 type, when you click on it, you’ll be teleported to it’s map, if Object is Group 3 type, when you click on it, you’ll get Common Event executed defined by CE_ID.


To edit the map list, open up this plugin in your favorite text editor and
scroll down to “EDIT MAP LIST HERE”. Make sure to check the example there, too.

Plugin: <GitHub>
How to download Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Party Manager

Name: Party Manager
Version: 1.1
Author: Mr. Trivel
Created: 2016-03-28

What does it do?
This plugin allows player to change their party and see which members are available to change into. It also allows to set a specific party member amount or specific party members to be used.

Video:


How to use?
Set up plugin parameters if needed and use the following plugin parameters:

PartyManager Open – Opens Party Manager Scene
PartyManager Require [AMOUNT] – Require a specific amount of members in party- 0 for any amount
PartyManager MustUse [ID] – Must use actor of ID in party
PartyManager MustUseRemove [ID] – Remove needing actor of ID
PartyManager MustUseClear – Remove all needed actors
PartyManager Add [ID] – Add a member to party manager
PartyManager Remove [ID] – Remove a member from party manager
PartyMangaer Lock [ID] – Lock a member in party manager (make unselectable)
PartyManager Unlock [ID] – Unlock member in party manager (make selectable)
PartyManager MenuLock – Disable command in menu (grey out)
PartyManager MenuUnlock – Enable command in menu

Examples:

PartyManager Require 3
PartyManager MustUse 2
PartyManager MustUseRemove 5
PartyManager Open
PartyManager MustUseClear
PartyManager Add 7
PartyManager Remove 8
PartyManager Lock 2
PartyManager Lock 3
PartyManager Lock 4
PartyManager Unlock 5
PartyManager MenuLock
PartyManager MenuUnlock

Plugin: <GitHub>
How to download Plugin. Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for commercial and non-commercial projects.

Crafting

Author: Mr. Trivel
Name: Crafting
Created: 2016-03-27
Version: 1.0

What does it do?
Allows players to craft items.

Video:


How to use?
First, you’ll need 2 new files in data folder:
Recipes.json
Disciplines.json
Recipes file will hold all recipe data and Disciplines file will hold data about disciplines. I *highly* recommend checking sample files that are located in the demo of this plugin.

Discipline object looks like this:
{
“ID”: 999,
“Name”: “NAME”,
“IconID”: 1337,
“ExpFormula”: “10000*level”,
“MaxLevel”: 2,
“Categories”: [“1”, “2”, “3”, … , “n”],
“Background”: “FileName”
}

And file structure looks like this:
[
null,
object,
object,
…,
object
]
“ID” – to identify which disciiplice is which and for plugin calls. ID > 0
“Name” – how discipline is called
“IconID” – icon for discipline
“ExpFormula” – leveling formula for discipline, level stands for current discipline level
“MaxLevel” – max possible discipline level
“Categories” – Categories to organize items when crafting
“Background” – Give a background to crafting. Leave it empty – “” to use default background. Images go into img\System

Recipe object looks like this:
{
“ID”: 192312,
“Name”: “Ultimate Sword of Ascension”,
“IconIndex”: 122,
“Result”: [
{
“Type”: “weapon”,
“ID”: 99999,
“Amount”: 1
}
],
“Requires”: [
{
“Type”: “item”,
“ID”: 1337,
“Amount”: 99
}
],
“Discipline”: ID,
“Category”: [“Swords”, “Weapons”],
“XP”: 999999999,
“LevelReq”: 150,
“Learned”: “command”
}

And file structure looks like this:
[
null,
object,
object,
…,
object
]

“ID” – To know which recipe is which. ID > 0
“Name” – How it appears in crafting window
“IconIndex” – Icon for recipe
“Result” – What items and how many of them result by crafting it, can be more than one item.
“Requires” – What items and how many of them are required to craft it.
{
“Type” – item type – “weapon”, “item”, “armor”
“ID” – item ID
“Amount” – how much of the item
}
“Discipline” – which disicipline’s recipe is this
“Category” – under which categories will item be shown, can be multiple
“XP” – XP given for the discipline
“LevelReq” – Discipline level requirement to craft it
“Learned” – how is the recipe learned – “start” – from the start, “command” by plugin command, “levelhit” – unlocks automatically when hits  required level

Plugin Commands:
Crafting Start [DISCIPLINE_ID] – opens scene to craft with discipline
Crafting GainExp [DISCIPLINE_ID] [EXP] – give exp to certain discipline
Crafting Learn [RECIPE_ID] – learn a specific recipe
Examples:
Crafting Start 3
Crafting GainExp 1 100
Crafting Learn 5

Script Calls:
$gameSystem.getDisciplineExp(DISCIPLINE_ID) – returns EXP of a discipline
$gameSystem.getDisciplineLevel(DISCIPLINE_ID) – returns LEVEL of a discipline
$gameSystem.isRecipeKnown(RECIPE_ID) – returns if recipe is learned
$gameSystem.knownRecipesNumber(DISCIPLINE_ID) – returns amount of recipes known

How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free non-commercial projects.
For commercial use contact Mr. Trivel.