public class NPCObjectivesPlugin extends JavaPlugin
The main plugin class for Npcobjectives. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.
java.lang.Object > JavaPlugin > NPCObjectivesPlugin
Field Summary
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
objectiveDataStore
final
ObjectiveDataStore
objectiveDataStore
Field objectiveDataStore.
objectiveUUIDsForTaskId
final
Set
objectiveUUIDsForTaskId
Field objectiveUUIDsForTaskId.
objective
final
Objective
objective
Field objective.
taskAsset
final
UseEntityObjectiveTaskAsset
taskAsset
Field taskAsset.
world
final
World
world
Field world.
Method Detail
setup
protected
void
setup
()
Method setup.
SpawnBeaconCheckRemovalSystem
public
new
SpawnBeaconCheckRemovalSystem
()
Method SpawnBeaconCheckRemovalSystem.
KillTrackerSystem
public
new
KillTrackerSystem
()
Method KillTrackerSystem.
hasTask
static
boolean
hasTask
(@Nonnull final UUID playerUUID, @Nonnull final UUID npcId, @Nonnull final String taskId)
Method hasTask.
- Parameters:
@Nonnull final UUIDplayerUUID@Nonnull final UUIDnpcId@Nonnull final StringtaskId
updateTaskCompletion
static
String
updateTaskCompletion
(@Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final UUID npcId, @Nonnull final String taskId)
Method updateTaskCompletion.
- Parameters:
@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final UUIDnpcId@Nonnull final StringtaskId
startObjective
static
void
startObjective
(@Nonnull final Ref playerReference, @Nonnull final String taskId, @Nonnull final Store store)
Method startObjective.
- Parameters:
@Nonnull final RefplayerReference@Nonnull final StringtaskId@Nonnull final Storestore
getKillTrackerResourceType
public
KillTrackerResource>
getKillTrackerResourceType
()
Method getKillTrackerResourceType.