Marks Manager
Everything goes around the class top.nololiyt.yueyinqiu.bukkitplugins.marksapi.MarksManager
, a singleton class, whose static method getInstance()
will return the instance.
To Get Marks:
You can invoke MarksManager
's method getMark(String, MarkRelatedValues)
to get a location by a key with its provider prefix, and getAllMarksKey(MarkRelatedValues)
to get all keys with prefix.
Although we don't know how to get the key and the prefix separately, but the method getMark(String, String, MarkRelatedValues)
is provided, so you can separately pass the key and the prefix.
To Provide Marks:
If you can provide marks, please implement a top.nololiyt.yueyinqiu.bukkitplugins.marksapi.MarksProvider
, and invoke marksProviders()
to get a list of providers.
Then you can invoke add(MarksProvider)
, a method of the list, to add your provider. And if your provider is disabled, please invoke remove(MarksProvider)
.
This list is an instance of a custom class, to which all the operations are thread-safe.
Contact us in the following ways:
- Join the QQ Group 574298353 (Nololiyt).
- Join the Skype Group Nololiyt.
- Join the Discord Server Nololiyt.
- Submit a new issue.
pls in Chinese/English
View these pages if you don't know how to use this plugin on your server.
View these pages when you want to develop a plugin with this API.