Jump to content

Personal Marketplace 1.2.4

$12.99
   (4 reviews)
Message added by ZEODE,

Thank you for looking at my plugin, if you have any questions or if you need help, please open a Support Thread or reach out to me on my Discord at https://discord.gg/pJCtT4KWdt

4 Screenshots

Recommended Comments



Fusion 3.64

Posted

Would it be possible to add a check for distance on deployables and building blocks?
This will clip through and place right over anything near it or hang right off the end of a building.
Blocking placement and adding a chat response along the lines of "this thing is too big. go someplace else" Or "you don't have enough room" would be a nice addition.

  • Like 1
Fusion 3.64

Posted (edited)

Also if you rotate it and place from behind you get stuck inside of it.

Edited by thepiercedweirdo
ZEODE

Posted

1 hour ago, thepiercedweirdo said:

Would it be possible to add a check for distance on deployables and building blocks?
This will clip through and place right over anything near it or hang right off the end of a building.
Blocking placement and adding a chat response along the lines of "this thing is too big. go someplace else" Or "you don't have enough room" would be a nice addition.

Yes, I am working on this for the next update coming soon.

1 hour ago, thepiercedweirdo said:

Also if you rotate it and place from behind you get stuck inside of it.

Ahh yes, I think there is a way to stop rotating. I will look at that now. Thanks for the heads up.

ZEODE

Posted

@thepiercedweirdo updated to fix the issues you raised. Let me know in the Support section if you have any issues. Thanks.

Fusion 3.64

Posted

Will do. Already uploaded. I'll make a note to check it out tomorrow. I've reached my peak for Rust today.

  • Like 1
Jaws

Posted

Could we get a video demo on how it works? I'm interested to see how it works with ServerRewards. I use an NPC on my server to open the ServerRewards UI. Will this plugin work with said NPC and players can purchase the items from that?

Fusion 3.64

Posted (edited)

6 minutes ago, Jaws said:

Could we get a video demo on how it works? I'm interested to see how it works with ServerRewards. I use an NPC on my server to open the ServerRewards UI. Will this plugin work with said NPC and players can purchase the items from that?

I have it set up with Mevent's Shop plugin. It's just like any other item you buy through a command. And it's a deployable, so it goes right into your inventory.

Edit: Here's my image link. I'll eventually convert it to a PNG with clear background. This was just an on the fly quick n dirty.
qkiU1Rn.jpg

Edited by thepiercedweirdo
  • Like 1
Fusion 3.64

Posted (edited)

@Jaws Sorry I should have clarified.
The plugin I use now is similar in some ways to SereverRewards (which was the plugin I used before). So the command option or if you want to go as far as setting it to be a custom large box with skin and alt name will work as well. Having the NPC open the UI won't change anything.

So 

    "Personal Marketplace": {
      "description": "<color=#ffa500>some words here</color>",
      "iconName": "https://i.imgur.com/qkiU1Rn.jpg",
      "commands": [
        "marketplace.give $player.id"
      ],
      "displayName": "Personal Marketplace",
      "cost": 1000,
      "cooldown": 0
    },

or 
 

    "box.wooden.large_0": {
      "shortname": "box.wooden.large",
      "customIcon": null,
      "amount": 1,
      "skinId": 2618923347,
      "isBp": false,
      "category": 3,
      "displayName": "Personal MArketplace",
      "cost": 1000,
      "cooldown": 0
    },

I think that's the right category

Edited by thepiercedweirdo
  • Like 1
ZEODE

Posted (edited)

1 hour ago, Jaws said:

Could we get a video demo on how it works? I'm interested to see how it works with ServerRewards. I use an NPC on my server to open the ServerRewards UI. Will this plugin work with said NPC and players can purchase the items from that?

I am going to make a video later on placement etc, but you can definitely use it with ServerRewards, I do on my servers. You can add it in game while holding the marketplace item in your hand and it will automatically be given the same icon in the reward shop as the item itself, simply using the "/reward add item cost" command. You will then need to edit the ServerRewards data file because it will by default call it a Large Wooden Box. So edit it similar to how @thepiercedweirdo showed you below, changing it to suit your needs. As another example, I have it set like this:

    "box.wooden.large_2618923347": {
      "shortname": "box.wooden.large",
      "customIcon": null,
      "amount": 1,
      "skinId": 2618923347,
      "isBp": false,
      "category": 3,
      "displayName": "Personal Marketplace",
      "cost": 2500,
      "cooldown": 0
    }

 

Note when you used skinned items in Server Rewards it will name it the original item and append the Skin ID, in this case 2618923347.

If you don't add the item using the in-game command, then you can just add the above to your SR data file, making your changes to suit your needs and use the full URL to the custom image. You can use the url https://rustynuts.gg/pmicon.png or download and use as you wish:

 

pmicon.png.784c99f306ad276081a7648032eed6e8.png

Edited by ZEODE
Fusion 3.64

Posted

*facepalm*
Shows how well my memory works if I stop using something. Totally forgot about the chat command.

  • Like 1
Fusion 3.64

Posted

Calling hook CanPickupEntity resulted in a conflict between the following plugins: PersonalMarketplace - True (Boolean), CNewItemManager (False (Boolean))

Just now noticing this. But it's only showing on my test server and not the main.

ZEODE

Posted

1 hour ago, thepiercedweirdo said:

Calling hook CanPickupEntity resulted in a conflict between the following plugins: PersonalMarketplace - True (Boolean), CNewItemManager (False (Boolean))

Just now noticing this. But it's only showing on my test server and not the main.

I couldn't recreate this issue on my test server. but I have added an extra check on that hook which should stop any potential conflict with other plugins in the future including the one you mentioned. For further support requests please use the Support section so I can properly mark it fixed etc. Let me know if it did the trick or if any other issues 🙂

ZEODE

Posted

3 hours ago, rocco said:

Would be nice If the plugin could scale It down with Entity Scale Manager. 😀

 

I took a look at it, but I think I wanna keep it as it is. But thanks for the suggestion. 🙂

Fusion 3.64

Posted (edited)

@ZEODE
(20:07:07) | Calling hook CanPickupEntity resulted in a conflict between the following plugins: CNewItemManager - False (Boolean), PersonalMarketplace (True (Boolean))
(20:07:07) | NullReferenceException: Object reference not set to an instance of an object
(20:07:07) | [Tipster] Ask_Geebus left the server (Reason: Kicked: RPC Error in RPC_PickupStart)

Had to pull the plugin.
Pretty sure CNewItemManager is a dead plugin but I need it at the moment to give out most of my custom items.

Edited by thepiercedweirdo
ZEODE

Posted

On 1/7/2022 at 1:31 AM, thepiercedweirdo said:

@ZEODE
(20:07:07) | Calling hook CanPickupEntity resulted in a conflict between the following plugins: CNewItemManager - False (Boolean), PersonalMarketplace (True (Boolean))
(20:07:07) | NullReferenceException: Object reference not set to an instance of an object
(20:07:07) | [Tipster] Ask_Geebus left the server (Reason: Kicked: RPC Error in RPC_PickupStart)

Had to pull the plugin.
Pretty sure CNewItemManager is a dead plugin but I need it at the moment to give out most of my custom items.

Have you added Marketplaces within the config of CNewItemManager ? My plugin has a check within CanPickupEntity to make sure it is only dealing with a marketplace before it returns any value for CanPickupEntity.

It's strange that CNewItemManager calls a method within CanPickupEntity which if it returns true, it then returns false in the oxide CanPickupEntity hook. Doesn't seem logical to me. I wonder if the author of that plugin made a simple typo, or maybe I am missing something. I cannot control how another dev handles this hook. I have reached out to them.

For now, if you check your PM I will send you a simple fix which will work for you until the issue is resolved properly.

 

  • Like 1
Darien

Posted

I can't seem to put it on the water foundation plug-in

  • Like 1
ZEODE

Posted (edited)

On 1/10/2022 at 10:04 AM, CM1234 said:

I can't seem to put it on the water foundation plug-in

Foundations on Water Bases aren’t actually foundations. Have you set "Force deploy on foundation" to false in the config?

It should work if you set it to false.

Edited by ZEODE
Covfefe

Posted

Will this work with kits?

Can you also add this in the config?


  "Enable spawn in crates": true,
  "Spawn setting": [
    {
      "Prefab": "assets/bundled/prefabs/radtown/crate_elite.prefab",
      "Chance": 35.0
    }

ZEODE

Posted (edited)

Yes it will work with Kits, either via the UI or edit the json in the data folder. If you use the Kits UI it should get all the relevant info. If editing manually, the item is "box.wooden.large" and the SkinID is "2618923347".

I have no plans to add loot options right now, but that might be good for a future update for sure. For now though, I recommend ExtraLoot. Its a lightweight plugin which can add extra items to whatever crates/boxes you configure and can handle custom skinned items.

For example in ExtraLoot config you would put something like this to add them to elite crates:

    "crate_elite": [
      {
        "1. Shortname": "box.wooden.large",
        "2. Chance": 10.0,
        "3. Minimal amount": 1,
        "4. Maximal amount": 1,
        "5. Skin ID": 2618923347,
        "6. Display name": "Personal Marketplace",
        "7. Blueprint": false
      }
    ]

Hope this helps.

Edited by ZEODE
  • Like 1
Darien

Posted

On 2022/1/10 at PM11点36分, ZEODE said:

水基上的基金会实际上并不是基金会。您是否在配置中将“在基础上强制部署”设置为 false?

如果您将其设置为 false,它应该可以工作。

No, I put more than a dozen foundations, but there is still insufficient real space. "Force deploy on foundation": false,

ZEODE

Posted

3 hours ago, CM1234 said:

No, I put more than a dozen foundations, but there is still insufficient real space. "Force deploy on foundation": false,

I have the water bases plug-in, I will do some tests later and release a fix if I have time before work. 👍🏻

ZEODE

Posted

Going forward, can I ask all if they have a problem to please open a thread in support instead of in the discussion section, so any issue can be properly managed. Thanks.

ZEODE

Posted (edited)

On 1/15/2022 at 7:52 AM, CM1234 said:

No, I put more than a dozen foundations, but there is still insufficient real space. "Force deploy on foundation": false,

Sorry I have only just got around to this. Now working with Water Bases in the latest update. Make sure Force on foundation is set to false.

Edited by ZEODE
Jbird

Posted

Just for the record make sure there is nothing above you when trying to place.

Did some experimentation on my server and realized that the drones need clear air space above where you are trying to place the market.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 2
  • Love 1

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.