Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>BetonQuest Questing SnippetsNew to Visual Studio Code? Get it now.
BetonQuest Questing Snippets

BetonQuest Questing Snippets

IrdaCraft

|
220 installs
| (0) | Free
Snippets for questing work to speed up your workflow.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

betonquest-questing-snippets README

BetonQuest Questing Snippets is a collection of snippets that aim to reduce repetitive work when making quests.

Features

Snippets with tab stops to speed up:

Quests

  • Setting up a clean, new quest file (package.yml)

Items

  • Defining a quest item or regular item
  • Giving or taking items to/from the player.

Events

  • 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

Objectives

  • Creating a location objective
  • Creating an action objective
  • Creating a delay objective

Conversations

  • Creating a new conversation
  • Creating a new NPC/player option
  • Creating a new prompt

Conditions

  • 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

Note

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.

Requirements

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!

Known Issues

Release Notes

Users appreciate release notes as you update your extension.

0.0.2

  • Added a reference list of all snippets to the readme file.
  • Removed XCF file for the logotype.

0.0.1

First release of the extension.

Enjoy!

Full snippet reference

Quest setup

  • setupCleanQuest: Setup a new, clean quest without helper comments

Events

  • 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

Items

  • defItem: Create a regular item
  • defQuestItem: Create a quest item

Objectives

  • defObjective: Create a universal objective
  • objectiveLocation: Create a location objective
  • objectiveAction: Create an action objective.
  • objectiveDelay: Create a delay objective

Conversations

  • 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

Conditions

  • 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.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft