Custom Store (Tutorial)

Started by RexCerv on Tue, 11/24/2020 - 06:26

Topic category: User side tutorials

Last seen on 20:12, 6. May 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 20:12, 6. May 2021
Joined Oct 2020
Points:

User statistics:

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

More clear I couldn't be :)!

Last seen on 17:11, 25. Apr 2021
Joined Dec 2018
Points:

User statistics:

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

The procedure download is broken.

Last seen on 20:12, 6. May 2021
Joined Oct 2020
Points:

User statistics:

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

There? For me is working now.

You probably need to enable…
Tue, 11/24/2020 - 20:14

You probably need to enable permissions for others to download.

Last seen on 20:12, 6. May 2021
Joined Oct 2020
Points:

User statistics:

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

Really hope there

Last seen on 23:48, 16. Apr 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 23:48, 16. Apr 2021
Joined Jun 2019
Points:

User statistics:

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

Thank you very much!

Last seen on 23:48, 16. Apr 2021
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 20:12, 6. May 2021
Joined Oct 2020
Points:

User statistics:

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

Erm, it should.