BetonQuest Questing Snippets is a collection of snippets that aim to reduce repetitive work when making quests.
Snippets with tab stops to speed up:
Setting up a clean, new quest file (package.yml)
Defining a quest item or regular item
Giving or taking items to/from the player.
Quest start folder event (add tag "questStarted", add objectives, run first events)
Creating a new, line-separated folder event (run several events at once)
Adding and removing objectives
Adding and deleting tags
Adding, subtracting or setting points
Displaying text in chat/actionbar (e. g. for narration or first person dialogue)
Defining a new objective (universal or location, delay, action type)
Teleporting the player
Giving an effect to the player
Showing a prompt (conversation not bound to an NPC, like a confirmation/selection menu)
Starting a conversation
Playing a sound notification
Creating a location objective
Creating an action objective
Creating a delay objective
Creating a new conversation
Creating a new NPC/player option
Creating a new prompt
Checking if the player is holding a specific item
Checking if the player has a specific item or a list of items in their inventory
Checking if the player is in a specific area/location
Checking if the player has a specific tag
This extension is aimed more towards users who have some experience with BetonQuest. Although beginners who are eager to learn the plugin should not be discouraged! Use this extension together with the excellent documentation and the "BetonQuest Code Snippets" extension for complete aid in your work.
No requirements for this extension, but Snippets Manager extension can help you with an overview of all added snippets, customize them and even add your own!
Users appreciate release notes as you update your extension.
Added a reference list of all snippets to the readme file.
Removed XCF file for the logotype.
First release of the extension.
Full snippet reference
setupCleanQuest: Setup a new, clean quest without helper comments
questInit: First events to run at the start of the quest
addObjective: Add an objective to the player
delObjective: Remove an objective from the player
addelObjective: Create the add and delete objective events at once
addItem: Give one or more items to the player
delItem: Take one or more items from the player
addTag: Add a tag to the player
delTag: Remove a tag from the player
addelTag: Create the add and delete tag events at once
addPoint: Add point(s) to a category
subPoint: Subtract point(s) from a category
setPoint: Set points in category to a number
defFolder: Create a folder event with line separation for readability
teleport: Teleport the player
giveEffect: Give a potion effect to the player
startConversation: Start a conversation
showPrompt: Show prompt to the player)
hideFakeblock: Hide fakeblock region from player
showFakeblock: Show fakeblock region to player
playSound: Play a sound
narrate: Print text in chat
inspect: Show text in actionbar
defItem: Create a regular item
defQuestItem: Create a quest item
defObjective: Create a universal objective
objectiveLocation: Create a location objective
objectiveAction: Create an action objective.
objectiveDelay: Create a delay objective
defConversation: Create a new conversation bound to an NPC
conversationPlayerOption: Create a player conversation option
conversationNPCOption: Create an NPC conversation option
defPrompt: Create a conversation prompt
conditionTag: Check for a tag on the player
conditionHand: Check for an item in main/off-/any hand
conditionItem: Check for one or more items in player inventory
conditionItemList: Check for all listed items in player inventory
conditionLocation: Check if the player is within the specified area/location.