Custom Store (Tutorial)

Started by RexCerv on

Topic category: User side tutorials

Active 1 year ago
Joined Oct 2020
Points:
1616

User statistics:

  • Modifications: 0
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1874
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
Active 1 year ago
Joined Oct 2020
Points:
1616

User statistics:

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

More clear I couldn't be :)!

Active 4 years ago
Joined Dec 2018
Points:
704

User statistics:

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

The procedure download is broken.

Active 1 year ago
Joined Oct 2020
Points:
1616

User statistics:

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

There? For me is working now.

Active 1 year ago
Joined Oct 2020
Points:
1616

User statistics:

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

Really hope there

Active 1 year ago
Joined Jun 2019
Points:
665

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

Active 1 year ago
Joined Jun 2019
Points:
665

User statistics:

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

Thank you very much!

Active 1 year ago
Joined Jun 2019
Points:
665

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

 

Active 1 year ago
Joined Oct 2020
Points:
1616

User statistics:

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

Erm, it should.

Active 2 weeks ago
Joined Jul 2021
Points:
692

User statistics:

  • Modifications: 2
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 32
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!!

Active 2 years ago
Joined Oct 2022
Points:
334

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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

Active 3 days ago
Joined Mar 2023
Points:
492

User statistics:

  • Modifications: 0
  • Forum topics: 38
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 82
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.