Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 133
    • Issues 133
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Guides
  • (Extra) Text Editors

Last edited by Lxlp 5 months ago
Page history
This is an old version of this page. You can view the most recent version or browse the history.

(Extra) Text Editors

When working with MythicMobs, knowing how everything works is only half the battle: the other half is writing it down, and if you are not using a proper text editor, it might prove challenging to manage all of the files and configurations you will need to make. Fortunately, there are a lot of cool options out there! While in this guide we will be focusing only on Visual Studio Code, any text editor will work fine!

Creating a Workspace

One of the most handy features of VSCode is the ability to create a "Workspace", essentially something that will allow you to persistently keep all open files and use custom settings for your project. To make a Workspace, you can start by right clicking the folder you want to start on: for Mythicmobs, this folder can be either the root folder or that of a Pack, depending on what you are using and what you want to do

  • You can select a folder by right clicking it and selecting "Open with Code"
    Selecting a folder
  • After you have opened that, you can navigate to File > Save Workspace As... and select a valid path for the new workspace file to be created
    Creating a Workspace
  • To open the workspace again, you can double click on the generated workspace file
    Workspace file

And that's all! You just created a workspace, that will allow you to more easily keep track of changes and edit things!

Customizing The Workspace

After a workspace has been created, workspace-specific settings can be made, so that only the selected workspace will have them, as to not "mess up" other working areas.
To access them, after having opened the workspace, you can navigate to File > Preferences > Settings > Workspace and set them up! Workspace Settings

Workspace Utilities

Editing Files
  • You can both create, edit and rename files and folder directly in Vscode's Explorer: just right click the relevant folder/file and select what you want to do
Pinning Tabs
  • You can pin important tabs by right clinking then and selecting Pin. This will not only keep them open, but using any "close all" option will not close pinned tabs and they will be fixed at the start of the tab list
Split View
  • In case you need to work both on a skill and mob file at the same time, you can split one of them, so you can see both of them at the same time. For this, simply click on the relevant open tab and select "Split X", where X is the desired location (Up, Down, Left, Right)
Bulk Changes
  • If you want to rename a metaskill or a mob, you can:
    • Use the search and replace function you can find on the right (the magnifying glass icon) to change that across all workspace files
    • Use the Change All Occurrences button (Select the word you want to change and use right click) to change every occurrence of that word inside of its file
  • If you need to edit more than one line at the same time, you can click the middle mouse button and drag it over the relevant lines to create a cursor on each on them, and edit them all at the same time
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Guides
Troubleshooting
Mythic Add-ons
Compatible Plugins
API Information
Packs
  • Pins
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
Examples
Useful Tips