Index
All Classes and Interfaces|All Packages|Constant Field Values
S
- SAKURADAY - Enum constant in enum class com.jackdaw.chatwithnpc.SettingManager.TextBackgroundColor
- SAKURANIGHT - Enum constant in enum class com.jackdaw.chatwithnpc.SettingManager.TextBackgroundColor
- save() - Method in class com.jackdaw.chatwithnpc.group.GroupDataManager
-
Write the group's content to the file.
- save() - Method in class com.jackdaw.chatwithnpc.npc.NPCDataManager
-
Save the data from the NPC to the file.
- save() - Static method in class com.jackdaw.chatwithnpc.SettingManager
-
Write the setting to the config file.
- saveAll() - Static method in class com.jackdaw.chatwithnpc.LiveCycleManager
-
Save all conversations, NPC entities, and environments
- sendRequest(String, String, Map<String, String>, Request.Action) - Static method in class com.jackdaw.chatwithnpc.openaiapi.Request
-
Send a request to the OpenAI API
- setAPIKey(CommandContext<ServerCommandSource>) - Static method in class com.jackdaw.chatwithnpc.CommandSet
- setAssistantId(String) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the NPC's assistant ID.
- setCareer(String) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the career of the NPC, which should be one of the characteristics of the NPC.
- setEnabled(CommandContext<ServerCommandSource>, boolean) - Static method in class com.jackdaw.chatwithnpc.CommandSet
- setFunctions(ArrayList<String>) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the functions of the NPC.
- setGroup(String) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the local group of the NPC, which should be one of the characteristics of the NPC.
- setGroupParent(String, String) - Static method in class com.jackdaw.chatwithnpc.group.GroupManager
-
Set the parent group of the group.
- setInstruction(String) - Method in class com.jackdaw.chatwithnpc.group.Group
-
Set the instruction of the group
- setInstructions(String) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the basic instructions of the NPC, which should be one of the characteristics of the NPC.
- setModel(CommandContext<ServerCommandSource>) - Static method in class com.jackdaw.chatwithnpc.CommandSet
- setNeedMemory(boolean) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set if the NPC needs memory.
- setParentGroup(String) - Method in class com.jackdaw.chatwithnpc.group.Group
-
Set the name of the parent group
- setTalking(boolean) - Method in class com.jackdaw.chatwithnpc.conversation.ConversationHandler
-
Set the NPC's current conversation.
- setThreadId(String) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the NPC's thread ID.
- SettingManager - Class in com.jackdaw.chatwithnpc
-
Manages the config files for the modules provided by this plugin.
- SettingManager() - Constructor for class com.jackdaw.chatwithnpc.SettingManager
- SettingManager.TextBackgroundColor - Enum Class in com.jackdaw.chatwithnpc
- setupCommand(CommandDispatcher<ServerCommandSource>, CommandRegistryAccess, CommandManager.RegistrationEnvironment) - Static method in class com.jackdaw.chatwithnpc.CommandSet
- setUpdateTime() - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the update time of the NPC to the current time.
- setUpdateTime(long) - Method in class com.jackdaw.chatwithnpc.npc.NPCEntity
-
Set the update time of the NPC.
- shutdown() - Static method in class com.jackdaw.chatwithnpc.LiveCycleManager
-
Shutdown the live cycle manager
- start(long) - Static method in class com.jackdaw.chatwithnpc.LiveCycleManager
-
Start the live cycle manager
- startConversation(NPCEntity) - Static method in class com.jackdaw.chatwithnpc.conversation.ConversationManager
-
Start a conversation for an NPC
- sync() - Method in class com.jackdaw.chatwithnpc.group.GroupDataManager
-
Read the data from the file and set the group's content.
- sync() - Method in class com.jackdaw.chatwithnpc.npc.NPCDataManager
-
Synchronize the data from the file to the NPC.
- sync() - Static method in class com.jackdaw.chatwithnpc.openaiapi.function.FunctionManager
-
Get the list of the functions, and register them.
- sync() - Static method in class com.jackdaw.chatwithnpc.SettingManager
-
Load the setting from the config file.
All Classes and Interfaces|All Packages|Constant Field Values