Skip to content

Installation

Domas edited this page Jan 11, 2020 · 1 revision

Installation

  1. Download this repository in ZIP package, unpack it to your server's resources folder.
  2. Rename unpacked folder to chat.
  3. Add resource as dependence to your main resource's config file. For example:
type: js,
main: server/index.mjs,
client-main: client/index.mjs,
client-files: [
	client/*
],
deps: [
	chat
]
  1. Import resource by adding import * as chat from 'chat' in your resource files (requires .ts or .mjs file extension).

Clone this wiki locally