If it knows someone or has managed to add the recycler to the shop, then please answer once how to do it.
thanks
I use Extended Recycler with GUIShop and players can buy recyclers to place in their base.
"Personal Recycler": {
"buy": "50000",
"cmd": [
"recycler.give $player.id"
],
"cooldown": "0",
"img": "https://i.imgur.com/ZT4lnij.png",
"sell": "0"
},
but after your solution you would have to be in the consoleenter oxide.grant group admin / default extendedrecycler.use
You don't need to give that permission at all.
GUIShop can run the command as it is not a player but the server itself, and the recycler is then given as a normal deployable entity.
You're welcome :o)
Anyone know if this works with ServerRewars / RP?
Viezevis
Anyone know if this works with ServerRewars / RP?
It works with any plugin that allows to add reward as command
Is it possible to actually give this item in your inventory? So for example; a repair bench with an template ID.Orange
It works with any plugin that allows to add reward as command
Viezevis
Is it possible to actually give this item in your inventory? So for example; a repair bench with an template ID.
I have no clue how your plugin works. Give a try?
Well yes I tried the following (I know its not your plugin, but you might be able to help). This is a part of the Server Reward plugin where you're able to buy something from store. However, with GUIshop you'll use commands but with ServerRewards you actually use shortnames (or combined with SKIN IDs). Do you know the shortname for the item you're giving with your plugin via the command?
Ive tried recycler_static and recycler but none work.
<code>
"recycler_01": {
"shortname": "recycler",
"customIcon": "https://static.wikia.nocookie.net/play-rust/images/e/ef/Recycler_icon.png",
"amount": 1,
"skinId": 0,
"isBp": false,
"category": 7,
"displayName": "Recycler",
"cost": 1,
"cooldown": 0
}
</code>
Viezevis
Well yes I tried the following (I know its not your plugin, but you might be able to help). This is a part of the Server Reward plugin where you're able to buy something from store. However, with GUIshop you'll use commands but with ServerRewards you actually use shortnames (or combined with SKIN IDs). Do you know the shortname for the item you're giving with your plugin via the command?
Ive tried recycler_static and recycler but none work.
<code>
"recycler_01": {
"shortname": "recycler",
"customIcon": "https://static.wikia.nocookie.net/play-rust/images/e/ef/Recycler_icon.png",
"amount": 1,
"skinId": 0,
"isBp": false,
"category": 7,
"displayName": "Recycler",
"cost": 1,
"cooldown": 0
}
</code>
Because you adding shortname that not exists in game. You need to read how your plugin works and what "shortname" means at first
Orange
Because you adding shortname that not exists in game. You need to read how your plugin works and what "shortname" means at first
I do know how it works. But if your plugin gives me an item without a shortname or any I dont think its gonna work, but it is able to spawn so thats the weird part I dont understand from your plugin. Ill dive in the code to see whats happening.
Is there a way to limit how many times players can place a recycler like if I just want to allow players to only be able to place two recyclers twice per wipe ?
Need help on command in shop
"Type": "Command",
"ID": 1047265672,
"Image": "https://vignette2.wikia.nocookie.net/play-rust/images/e/ef/Recycler_icon.png/revision/latest?cb=20161105162407",
"Title": "Recycler",
"Command (%steamid%)": "recycler.give $player.id",
"Plugin": {
"Hook": "",
"Plugin Name": "ExtendedRecycler",
"Amount": 1
},
"DisplayName (empty - default)": "Recycler",
"ShortName": "recycler_static",
"Skin": 1321253094,
"Amount": 1,
"Price": 5.0,
"Sell Price": 0.0,
"Buy Cooldown (0 - disable)": 0.0,
"Sell Cooldown (0 - disable)": 0.0,
"Discount (%)": {}
Not giving the recycler any ideas what have incorrect