After the good information coming from our neighborhood builders, we’re lastly in a position to make a revenue out of our laborious work (Announcing Tebex Partnership – Server Monetization / Commerce ‘2.0’)

However now you is perhaps questioning how do you begin doing that!? It’s fairly easy! comply with the steps:

  1. Register an account at tebex.io
  2. After registering your account, it’s best to see this:
    so choose “Fivem” and click on on “proceed” then “CREATE MY WEBSTORE”. After studying all the knowledge and the foundations click on on “settle for & proceed”
  3. Choose a reputation to your retailer then choose a foreign money (the chosen foreign money would be the foreign money that your gamers pays with)
    then click on “proceed”.
  4. After following all of the steps above you ought to be seeing this: Choose ” GAME SERVER” and click on on “proceed”
  5. Now click on on “COPY COMMAND” to repeat your retailer’s secret code (this code shouldn’t be shared with anybody, I’m exhibiting it as a result of it’s a faux account which might be deleted afterwards) and paste it in your server.cfg then restart your server and just remember to are operating model #2609 or above.

When you restart your server it ought to say “Authenticated with tebex … and your retailer title…” in inexperienced in your console. image

If you see this message it is possible for you to to click on on “proceed setup course of” on tebex.io.

  1. Now you ought to be seeing this:

all what you see shouldn’t be essentially wanted (logos/designs/and so on…) I’ll undergo the necessary stuff solely like organising a bundle which can do an motion ingame:

in “Create a bundle” click on on full this merchandise. You need to see this:

Now click on on “Add new” then “bundle”, select “Sport Package deal” and click on on CREATE. Now set all of the required description like value, title, and so on… and click on on “create”.

Now you’ve gotten your bundle prepared! However there isn’t any automated command linked with it, folks can purchase now however they received’t get something in return, what do you have to do then? Easy! click on on the three dots image subsequent to your bundle then click on on “edit”. Now go to the underside the place you see

And click on “ADD COMMAND”

Now you’ll be able to select between a number of occasions, for instance select “When a participant purchases this bundle”. Subsequent to this you will notice an edit field the place you’ll be able to set a command to be executed when the occasion occurs. On this case, when a participant purchases this bundle. So for instance you’ll be able to set testingCommand {username} {packageName} {value}

(all particular tags may be discovered at https://docs.tebex.io/store/command-management/an-introduction-to-commands)

and create a server aspect script and put this in:

operate testing(_, arg)
	native username = arg[1]
	native packageName = arg[2]
	native value = arg[3]
	print(username…" has simply bought “…packageName…” for "…tostring(value))
RegisterCommand(“testingCommand”, testing, true)

Now when a participant purchases a bundle it would print their title, the bundle they purchased and its value in your ingame console. Congratulations, your retailer is up and operating! You’ll be able to take it from that time and proceed to make unbelievable stuff!

Looking for a FiveM Server host? Click here