Custom Store (Tutorial)

Started by RexCerv on

Topic category: User side tutorials

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Store (Tutorial)
Fri, 12/11/2020 - 23:50 (edited)

Since I had some problems with these I wanted to share it (Thank you "Themobgolbler69" for teaching me this).

This tutorial will teach you how to make a "store" (So you can buy things with an item(Not random)).

For the tutorial lets create a diamond store. (You can modify this if you want)

First: Create your own GUI and call it: "Shop", Make a button and lets call it: "Buy diamonds".

Now, lets create the procedure for this button. We will make the player buy 1 diamond with 24 gold ingots. I will leave the procedure here: https://drive.google.com/file/d/1Dbv1nLWRMpeyuXs2GMwkobPgcGTFgrxf/view?…

Customize it any way you want (Remember: to make a custom coin or any other in the game just change where the gold is, and to make it give you something else change it where the diamond is.)

Now on the "Buy diamonds" button select this procedure. And that's it. Hope it works for you!

Extra:

Sell Button Tutorial:

This will make a button sell stuff in your inventory, lets continue with our example (Buy diamonds with gold).

In the procedure just change places, if you want to sell diamonds to give you gold, just change the gold position with the diamond one.

IMPORTANT NOTE: On the second last block where it says remove, the number 24 means the number of materials specified it will take from player's inventory, change that any way you want.

Also in the block: Get Local: Amount_Of_Item_Needed >, you will see a number 23, this is the number of items needed plus the one on the top. Change that any way you want.

For the sell change the 23 to 0. And the 24 to 1

Following the steps for the Buy Procedure this should be your final product:BUY

And for the sell if you followed steps this should be your procedure: SELL

Edited by RexCerv on Fri, 12/11/2020 - 23:50
Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
More clear I couldn't be :)!
Tue, 11/24/2020 - 06:28

More clear I couldn't be :)!

Last seen on 20:01, 26. May 2021
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure download is…
Tue, 11/24/2020 - 09:35

The procedure download is broken.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There? For me is working now.
Tue, 11/24/2020 - 16:43

There? For me is working now.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Really hope there
Tue, 11/24/2020 - 20:39

Really hope there

Last seen on 07:51, 18. Nov 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The pocedure could work if…
Sun, 04/11/2021 - 20:22

The pocedure could work if you'd want to make an xp store? 
Something like sell a coin you get some xp?

Last seen on 07:51, 18. Nov 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you very much!
Mon, 04/12/2021 - 05:01

Thank you very much!

Last seen on 07:51, 18. Nov 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But if I want to use the mod…
Mon, 04/12/2021 - 05:08

But if I want to use the mod on a multiplayer server? It works?

 

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Erm, it should.
Mon, 04/12/2021 - 15:08

Erm, it should.

Last seen on 20:57, 16. Apr 2024
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
bro you're such a life saver…
Fri, 04/29/2022 - 15:53

bro you're such a life saver thanks so much you have no idea how long ive been trying to do this!!

Last seen on 14:35, 13. Nov 2022
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i tried this but it says…
Sun, 10/30/2022 - 12:34

i tried this but it says missing dependencies because it dosent have itemstack

Last seen on 18:53, 12. Jan 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have made a much better…
Sat, 03/18/2023 - 23:09

I have made a much better store with locks and inventories and all the goodies perhaps I can share it later in this post.