Jump to content
View in the app

A better way to browse. Learn more.

RuneSuite RSPS Development

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted
comment_13284

Very simple to do, kind of nice to have an additional currency that many stakers should be familiar with being introduced into the economy.

Modify to your needs.

Anyways. Add this into your Items.json file.

	{
	  "id": 13204,
	  "name": "Platinum Tokens",
	  "examine": "Shiny currency, could be useful to some.",
	  "value": 1000,
	  "stackable": true,
	  "noted": false,
	  "noteId": -1,
	  "tradeable": true,
	  "sellable": false,
	  "dropable": true
	},

In your UseItemPacketListener class, itemOnObject method

		if (itemId == 995 && gameObject.getDefinition().getName().contains("Bank")) {
			final int size = player.getInventory().getAmount(995);
			player.getInventory().delete(new Item(995, size));
			player.getInventory().add(new Item(13204, size / 2));
			player.getPacketSender().sendMessage("You exchange " + Misc.format(size) + " Coins for " + Misc.format(player.getInventory().getAmount(13204)) + " Platinum tokens.");
		}

USrHynk.png

  • 4 years later...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.