About Scrap Vending Exchange
Plugin gives players the ability to exchange scrap for currency at npc vending machines, with the ability to set exchange rates via the config.
By default the plugin runs a command set in the config for Economics on Umod.
Permission:
scrapvendingexchange.use
scrapvendingexchange.admin
Commands:
/sve add|del <prefab-path>, full vending machine prefab path /sve min|max <number>, sets min and max amount to exchange per transaction /sve percent <number>, sets the exchange percentage
Deposit Example commands:
Economics:
deposit {userid} {amount}
Server Rewards:
sr add {userid} {amount}
Configuration:
{ "deposit command (default Economics arguments {userid} {amount})": "deposit {userid} {amount}", "setup command name": "sve", "exchange item id": -932201673, "exchange item skinid": 0, "min amount to exchange per transaction": 1, "max amount to exchange per transaction": 1000, "exchange percent (default 80% percent ex: 1000 = 800)": 80, "user interface": { "success button color": "0.337 0.424 0.196 0.85", "success button font color": "0.607 0.705 0.431", "clear button color": "0.75 0.75 0.75 0.3", "clear button font color": "0.75 0.75 0.75 1", "panel color": "0.65 0.65 0.65 0.25", "PanelFontColor": "0.75 0.75 0.75 0.9", "panel input color": "0 0 0 0.42", "panel input font color": "1 1 1 0.58", "panel input placeholder color": "0.7 0.7 0.7 0.25", "panel offset position": { "position": { "x": -10.0, "y": 470.0 }, "size": { "x": 310.0, "y": 118.0 } }, "popup font color": "1 1 1 0.89", "popup error color": "0.631 0.282 0.22 0.98", "popup success color": "0.337 0.424 0.196 0.98", "popup offset position": { "position": { "x": -10.0, "y": 390.0 }, "size": { "x": 310.0, "y": 28.0 } } }, "allowed prefabs (leave empty to allow all vending machines)": [] }