• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Easy Debug Terminal

v21.1 Easy Debug Terminal 1.3

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
v21.1 ✅

Easy Debug Terminal

A quick, easy-to-use terminal you can use to execute script commands within the game.

Overview:​

This plugin adds a small input window which can be used to execute any script commands that you previously would have to create debug events in order to test. This can be used for pretty much anything, and can be a HUGE time-saver during development, especially if you're working with a lot of custom scripts.

As an example, you can simply type $player.party into the terminal, and it will print an array of your party into the Debug Console window.

If you make a spelling error or there's something wrong with the script you execute, the error message will be printed to the debug console instead of crashing the game.

NOTE: You can press Arrow Up while in the terminal to scroll back through previously executed commands.




Installation & Configuration:​

Installation:​

Step 1: Download the plugin from the button in the top right corner of the page.
Step 2: Extract the contents of the ZIP file into your game's root folder. (The folder with Game.exe in it)
Step 3: Run the game, and make sure to compile your plugins. (Hold CTRL while starting)
You should now be able to open the debug terminal by clicking F3.

Opening the Debug Terminal:​

You can open the Debug Terminal by pressing F3. This can be changed to whatever key you want.
(See "Changing the Button to Open the Terminal")

Disable or Enable the Debug Terminal:​

Step 1: Open the 000_Easy Debug Terminal.rb file in the Plugins/Easy Debug Terminal/ folder. (.rb files can be opened with any text editor)
Step 2: Look for TERMINAL_ENABLED = true and change it to false if you want to disable it, or leave it as true if you want it to be enabled.

Toggle Terminal always printing returned values:​

Step 1: Open the 000_Easy Debug Terminal.rb file in the Plugins/Easy Debug Terminal/ folder. (.rb files can be opened with any text editor)
Step 2: Look for TERMINAL_ECHO = true and change it to false if you want to disable it, or leave it as true if you want it to keep printing the values returned from ran scripts.

Changing the Button to Open the Terminal:​

Step 1: Open the 000_Easy Debug Terminal.rb file in the Plugins/Easy Debug Terminal/ folder. (.rb files can be opened with any text editor)
Step 2: Look for TERMINAL_KEYBIND = :F3 and change the F3 to whichever button you want. The possible inputs are SDL scancodes without the SDL_SCANCODE_ prefix. You can check out a list of SDL scancodes here.
Credits
ENLS
Author
ENLS
Downloads
877
Views
5,135
First release
Last update
Rating
5.00 star(s) 5 ratings

More resources from ENLS

Latest updates

  1. Version 1.3

    Easy Debug Terminal has been updated to 1.3 I forgot to include a feature I made 💀 The terminal...
  2. Version 1.2

    Easy Debug Terminal has been updated to 1.2 You can now hold CTRL to more quickly move the...
  3. Version 1.1 - Updated to Essentials v21

    Easy Debug Terminal has been updated to 1.1 The plugin is now compatible with Essentials v21...

Latest reviews

Definitively of the most useful ressource for Essentials (also the clipboard was quite needed, thanks!)
1000x easier than putting a random testing npc in the game that I somehow forget to take out later
Super easy to use and saves a ton of time. This should be in default essentials honestly.
Back
Top