Package | Description |
---|---|
net.tridentsdk.concurrent |
Miscellaneous concurrency tools and utilities, especially those that a plugin can use
|
net.tridentsdk.config |
Configuration wrappers over JSON/facilities provided by GSON
|
net.tridentsdk.event |
The event framework, used to call events extremely quickly and efficiently
|
net.tridentsdk.plugin |
Plugin handlers, and related API
|
net.tridentsdk.plugin.cmd |
The Plugin command API, when players execute
/ commands |
net.tridentsdk.server.concurrent |
Contains most of the code to handle the concurrent of the server
|
net.tridentsdk.server.event |
Implementation specific classes relating to
net.tridentsdk.event .* |
net.tridentsdk.server.plugin |
Contains the implementation of classes in the
net.tridentsdk.plugin .* package |
net.tridentsdk.server.service |
Contains implementations of classes in the
net.tridentsdk.registry and net.tridentsdk.service
packages |
net.tridentsdk.service |
Provides management services, which include conflicting handling utilities concerning chat, permissions, and
transactions (economy).
|
Modifier and Type | Method and Description |
---|---|
Plugin |
ScheduledTask.owner()
The plugin that scheduled the task, or passed in when scheduled
|
Modifier and Type | Method and Description |
---|---|
ScheduledTask |
Scheduler.asyncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay)
Asynchronously run a task after a specified time has passed
|
ScheduledTask |
Scheduler.asyncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval)
Asynchronously run a task repeatedly
|
ScheduledTask |
Scheduler.asyncRun(Plugin plugin,
ScheduledRunnable runnable)
Asynchronously run a task after the next tick
|
ScheduledTask |
Scheduler.syncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay)
Asynchronously run a task after a specified time has passed
|
ScheduledTask |
Scheduler.syncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval)
Synchronously run a task repeatedly
|
ScheduledTask |
Scheduler.syncRun(Plugin plugin,
ScheduledRunnable runnable)
Synchronously run a task after the next tick
|
Constructor and Description |
---|
Config(Plugin plugin,
String fileName)
Creates a new configuration using the plugin's config direction
|
Modifier and Type | Method and Description |
---|---|
Plugin |
EventNotifier.plugin()
Obtains the plugin that contains the event listener
|
Modifier and Type | Method and Description |
---|---|
void |
Events.registerListener(Plugin plugin,
Listener listener)
Normally not needed to be used.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Plugin> |
Plugin.instance(Class<T> c)
Obtains the instance of the plugin which has the specified class
|
Modifier and Type | Method and Description |
---|---|
static Plugin |
Plugin.instance()
Obtains the instance of the plugin which the caller class is in
|
Plugin |
Plugins.load(File pluginFile)
Loads the plugin file
|
Modifier and Type | Method and Description |
---|---|
void |
Plugins.disable(Plugin plugin)
Disables the plugin unloading the classes and removing the subprocess
|
void |
Plugins.enable(Plugin plugin)
Enables the given plugin
|
Modifier and Type | Method and Description |
---|---|
int |
Commands.register(Plugin plugin,
Command command)
Registers the command for the plugin
|
Modifier and Type | Method and Description |
---|---|
ScheduledTask |
TridentTaskScheduler.asyncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay) |
ScheduledTask |
TridentTaskScheduler.asyncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval) |
ScheduledTask |
TridentTaskScheduler.asyncRun(Plugin plugin,
ScheduledRunnable runnable) |
ScheduledTask |
TridentTaskScheduler.syncLater(Plugin plugin,
ScheduledRunnable runnable,
long delay) |
ScheduledTask |
TridentTaskScheduler.syncRepeat(Plugin plugin,
ScheduledRunnable runnable,
long delay,
long initialInterval) |
ScheduledTask |
TridentTaskScheduler.syncRun(Plugin plugin,
ScheduledRunnable runnable) |
Modifier and Type | Method and Description |
---|---|
Plugin |
ReflectNotifier.plugin() |
Modifier and Type | Method and Description |
---|---|
void |
EventHandler.registerListener(Plugin plugin,
Listener listener) |
Modifier and Type | Method and Description |
---|---|
Plugin |
PluginHandler.load(File pluginFile) |
Modifier and Type | Method and Description |
---|---|
protected List<Plugin> |
PluginHandler.delegate() |
Modifier and Type | Method and Description |
---|---|
void |
PluginHandler.disable(Plugin plugin) |
void |
PluginHandler.enable(Plugin plugin) |
int |
CommandHandler.register(Plugin plugin,
Command command) |
Modifier and Type | Method and Description |
---|---|
void |
ChatHandler.setFormatter(ChatIdentityFormatter provider,
Plugin plugin) |
Modifier and Type | Method and Description |
---|---|
default void |
ChatIdentityFormatter.overriden(ChatIdentityFormatter other,
Plugin overrider)
A callback indicating the overriding of this provider
|
void |
ChatFormatter.setFormatter(ChatIdentityFormatter provider,
Plugin plugin)
Sets the provider of the chat format, performing the default overriding logic of the original provider
|
Copyright © 2016. All rights reserved.