Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
import * as sptaki from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Classes

Store a mapping between weapons, their slots and the items that fit those slots

Handle actions surrounding Fence e.g. generating or refreshing assorts / get next refresh time

Cache the baseids for each item in the tiems db inside a dictionary

Centralise the handling of blacklisting items, uses blacklist found in config/item.json, stores items that should not be used by players / broken items

Handles getting locales from config or users machine

Handles translating server text into different langauges

Cache bots in a dictionary, keyed by the bots name, keying by name isnt ideal as its not unique but this is used by the post-raid system which doesnt have any bot ids, only name

Service for adding new zones to a maps OpenZones property

Stores flea prices for items as well as methods to interact with them

Help with storing limited item purchases from traders in profile to persist them over server restarts