Search the Community
Showing results for tags 'exchange'.
-
Version 1.0.3
24 downloads
Custom Currency plugin for Rust lets you create your own virtual currency and seamlessly exchange it for items or custom items through a user-friendly interface. You can choose in config whether you will use your new custom currency or use those well-known economy and server rewards. For both of those plugins, you will be able to exchange it for an item/custom item true UI. The plugin comes with IconUI, your custom image URL, and the balance of custom currency, eco, or SR. You can turn it on and off in the config, and you have a command to turn it on/off. There is a UI for exchange and the command for exchange, and you can press on the icon (if you have a visible icon) to open the exchange UI. Admin Commands: /addcurrency <playerID/name> <amount>: Add currency to a player's balance. /subcurrency <playerID/name> <amount>: Subtract currency from a player's balance. /givecurrencyitem <playerID/name> <amount>: Give a currency item to a player. /wipecurrency <playerID/name|all>: Wipe the currency balance for a player or all players. All those commands work with custom currency and also with economics and server rewards, so with these commands, you can also control eco and SR . Player Commands /toggleui: Toggle the visibility of the currency UI. /exchange: Open the currency exchange UI to convert the virtual currency to items and vice versa. Exchange works with custom currency and also with economic and server rewards so that you can change eco, rp to custom item. Suitable for trade or VIP or shops. Console Commands: addcurrency <playerID/name> <amount>: Add currency to a player's balance. subcurrency <playerID/name> <amount>: Subtract currency from a player's balance. givecurrencyitem <playerID/name> <amount>: Give a currency item to a player. wipecurrency <playerID/name|all>: Wipe the currency balance for a player or all players. All those commands work with custom currency and with eco and SR. Permissions: customcurrency.admin: Allows use of admin commands. customcurrency.exchange: Allows use of the exchange command Config: { "Currency Type [0-CustomCurrency, 1-Economics, 2-ServerRewards]": 0, "Currency Name": "RealBlood", "Currency UI Visible": true, "Icon Image URL": "https://www.dropbox.com/scl/fi/apo1ukopeuavdln77a70b/512x512.png?rlkey=vujn178mozhm5o93wq5cgd771&st=96xo0sf5&dl=1", "Currency Item": { "Short Name": "scrap", "Skin ID": 0, "Display Name": "Scrap" }, "Version": { "Major": 1, "Minor": 0, "Patch": 0 } } API: [HookMethod("AddCustomCurrency")] public void API_AddCustomCurrency(string playerID, int amount) { AddCustomCurrency(playerID, amount); } [HookMethod("SubtractCustomCurrency")] public void API_SubtractCustomCurrency(string playerID, int amount) { SubtractCustomCurrency(playerID, amount); } [HookMethod("GetCustomCurrencyBalance")] public int API_GetCustomCurrencyBalance(string playerID) { return GetCustomCurrencyBalance(playerID); }$5.00- 9 comments
-
- 1
-
Version 1.2.7
22 downloads
Trade with other players using shopfront interface Features: Smooth rust interface (shopfront) Moving items with right-click Rust trade logic (that means no bugs) Permission support (size, cooldown, etc) Items blacklist Config: { "Command": [ "trade", "t" ], "Extra accept command": [ "ta", "taccept" ], "Extra decline command": [ "td", "tcancel" ], "Effect on completing trade": "assets/prefabs/building/wall.frame.shopfront/effects/metal_transaction_complete.prefab", "Effect on pending request": "assets/bundled/prefabs/fx/invite_notice.prefab", "Log trades": false, "Block trade in raidblock": true, "Block in building privilege": true, "Start cooldown after accepting trade": false, "Effects volume": 1.0, "Chat sender id": 0, "Permissions": [ { "Permission": "trade.default", "Priority": 1, "Size": 2, "Cooldown": 600 }, { "Permission": "trade.vip", "Priority": 2, "Size": 6, "Cooldown": 300 }, { "Permission": "trade.top", "Priority": 3, "Size": 12, "Cooldown": 60 } ], "Items black list": [ "rifle.ak", "stones" ] } Language: { "Usage": "Usage:\n/trade playerName\n/trade yes\n/trade no", "NoPending": "There are no pending trades!", "RequestAlreadyPending": "That player already have pending requests!", "TradeBegins": "Trade between {name1} and {name2} begins!", "RequestSent": "You sent trade request to {name}", "RequestReceived": "You received trade request from {name}", "TradeCancelled": "Trade was cancelled", "CantRightNow": "You can't do that right now", "Cooldown": "Cooldown for {seconds}", "Permission": "You don't have permission to do that!", "NoPlayers": "There are no players with that 'Name' or 'Steam ID' ({name})", "MultiplePlayers": "There are multiple players with that 'Name' :\n{list}" } Commands: trade <name or steamID> - request trade trade accept/+/yes/y/a - accept trade from player trade cancel/-/no/n/c - decline trade from player Contacts: Need help or custom plugin for your server? Contact me using Discord: metangerine ----------------------------------------------------------------------$20.00 -
Version 1.0.11
250 downloads
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)": [] }$3.00