Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Marks Provider

yueyinqiu edited this page Sep 4, 2020 · 4 revisions

We need marks providers to provide the marks.

Each provider should have a unique prefix. This prefix can only include letters or numbers. Method getPrefix() should return this prefix.

Method getMark(String, MarkRelatedValues) should returns a mark has the key. It could be null if the mark not exist, or the related values decide that the provider shouldn't provide such mark. The manager will pass a key without prefix, so the provider needn't judge it again.

Method getAllMarksKey(MarkRelatedValues) should return all the keys without prefix.

Contents

Server Owner Pages

View these pages if you don't know how to use this plugin on your server.

Development Pages

View these pages when you want to develop a plugin with this API.

Clone this wiki locally