Would basically log every wallet add, remove etc through any method in a logging channel.
How it'd look
If the add was through a !service command it'd say using the !service command so on so forth.
grianguy32 changed 4 years agoView mode Like Bookmark
Uploading an accountt
Basically, you'd run !accounts add <account type> <runescape name> <price> <stock> <worker> <pictures>
account type = ironman | hardcore ironman | ultimate ironman | pure | main
runescape name = whatever the accounts name is, can be a string
price = a price in either gp or $, can parse this the same way you do for wallet amounts
stock = a int, how many of that account we have
worker = worker who created it, a member with the worker role
pictures = relevant pictures, stored as pngs locally(or on site when thats up) or can be stored in db as base64 or something; this is optional
grianguy32 changed 4 years agoView mode Like Bookmark
This is basically a summary for a bot that would link accounts to tickets and on logout/when requested send progress
Linking the account
This would be done through a !link <username> command or something similar in the ticket. Would basically just link the account name and the ticket id in whatver db you're using.
Checking for the worker logging in and out
Hiscores update everytime someone logs out of the account, could run a request every 15 minutes or something along those lines to check if the account's xp has changed, if you wanna do this through crystal math labs api or hiscores is up to you. If you want to do this through hiscores api theres this: https://pypi.org/project/OSRS-Hiscores/ which is pretty nice.
Once the check is done and the worker has logged out send a message in a logging channel with an embed or something:
grianguy32 changed 4 years agoView mode Like Bookmark
First, download the jar.
Find your .runelite folder, which is located at one of the locations(see below), depending on your OS.
Find the externalmanager folder
Put the jar inside the externalmanager folder
Talk to any NPC, it will generate a JSON with the dialogues for every NPC.
The JSON containing the dialogues is found in a folder, at one of the locations(see below) based on your OS. The locations below are the default locations, but you can change it in the plugin's settings.
.runelite Locations
Windows:
grianguy32 changed 4 years agoView mode Like Bookmark