About StackMan
Are your players bummed about stack sizes for certain resources? Now they can Pay with Economics or RP to consolidate stacks for a cost.
StackMan Is an NPC you can Dynamically spawn at a monument of your choice, select your monument path and position to have him spawn there on Plugin Load.
You can customize the StackMan's Clothing and style him as you like.
In config you can set what items he can stack and the cost per bundle that he will combine, ultimately bypassing vanilla or other preset stack limits for the determined cost.
Upon players talking to the StackMan, if they have no stackables or they already have combined stacks, the player will be messaged of what items he can stack for them.
If the players do have valid stackables, the UI will break down what items he will stack and for how much RP / Eco.
Permissions
StackMan.Admin - Needed to run commands.
Commands
Dynamic Must Be Disabled for these points to load
/SpawnStackMan - Spawns NPC on your Pos
/RemoveStackMan - Removes the NPC from data
Credits to - @Chill Roleplay for the Initial Idea.
Video Demo
Config
{ "Enable Dynamic Spawning? If disabled, set point via chat command": true, "Dynamic Spawn at this Monument (Requires your Position Input to be set to match Monument if Changing from Default.)": "assets/bundled/prefabs/autospawn/monument/medium/compound.prefab", "Dynamic Spawn Points (Relative to Monument)": [ { "x": -8.34, "y": 1.45, "z": 24.75 } ], "Dynamic Spawn Rotation Correction": 90.0, "Economy Plugin - 1 Economics - 2 Server Rewards": 1, "Allowed Resources": { "stones": { "Cost Per Bundle Stacked?": 100 }, "wood": { "Cost Per Bundle Stacked?": 50 }, "sulfur.ore": { "Cost Per Bundle Stacked?": 200 } }, "NPC Clothing Options": [ { "Shortname": "metal.plate.torso", "Skin": 0 }, { "Shortname": "metal.facemask", "Skin": 0 }, { "Shortname": "shoes.boots", "Skin": 0 }, { "Shortname": "hoodie", "Skin": 0 }, { "Shortname": "pants", "Skin": 0 }, { "Shortname": "gloweyes", "Skin": 0 } ] }
{ "Prefix": "[<color=#FFAA00>StackMan</color>] ", "NotStackable": "Here are the items I can stack for you:\n\n<color=#FFAA00>{0}</color>.", "NothingToStack": "No stackable resources found.", "InsufficientFunds": "You need {0} to stack your <color=#FFAA00>{1}</color> bundles, but you don't have enough.", "StackSuccess": "Your <color=#FFAA00>{0}</color> has been combined for {1}.", "WhatHappened": "What Happened?", "RemovedNPC": "Removed StackMan.", "NotFound": "StackMan not Detected.", "StackUI.Text": "You have <color=#FFAA00>{0}</color> bundles of <color=#FFAA00>{1}</color> totaling <color=#FFAA00>{2}</color> units.\n\nStacking them will cost {3}.", "Button.Stack": "Stack", "Button.Close": "Close" }