Jump to content
  • 0
Sign in to follow this  
guilhermedj9

Stamps

Question

1 answer to this question

Recommended Posts

  • 1

I'd imagine you'd not only have to create your own stamp file (e.g. like this), but you'd also have to create an entry for it in stamps.json (located in play/web_service/game_configs/stamps.json on your media server). Afterwards you'd have to create a trigger in the client that tells the server when to give the user the stamp. You can probably do this by creating a dependency.

For example, if you'd like to give the user a stamp for joining a particular room, you'd create a dependency (in dependencies.json) that would listen for the joinRoom (jr) packet and then have it send the stamp packet if the user joined that room. You can read more about creating dependencies here.

You'd probably want to edit Kitsune's crumbs as well - both the URL in World.php and the file in the crumbs folder if it exists.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×