Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
/ master-api Public archive

The backend API system for the Dawson RP Discord Game

Notifications You must be signed in to change notification settings

mingleton-rpg/master-api

Repository files navigation

Master API

This is the primary API system for the Mingleton RPG Discord game. All bots that need access to the Mingleton RPG database should do so through these endpoints.

The API docs are available here.

High-level breakdown

Rarities

  • Rarities (as stored in the rarities.json) file are ordered from -5 to 14, with the higher numbers equating to better rarities. 0 is the baseline rarity - items generated with this rarity should have their exact regular stats, with anything below reducing the stats, above increasing.
  • Each rarity also has a custom emoji, this will support an UTF-8 emoji or a Discord emoji identifier.
  • Attributes refer to how this rarity modifies an item's attributes.

Types

  • Type numbering is not too important, but note that some bots will use comparative operators for item groups such as armour and weapons
  • maxStackamount tells the game how many of a particular item can be stacked at once
  • isEquippable refers to whether the user can "equip" that item type, showing it in their inventory
  • Functions are what that item can do when shown in the inventory, generally shown in the form of message Buttons. Some bots will choose to show only some of a particular item's functions, depending on their purpose. What a bot decides to with each function is up to them.

About

The backend API system for the Dawson RP Discord Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages