HelpChat Wiki
  • Welcome
  • HelpChat Plugins
    • ChatChat
      • Commands
      • Permissions
      • Formats
      • Channels
      • Mentions
      • Placeholders
      • API
        • Getting Started
        • ChatChatAPI
        • Events
      • Files
    • DeluxeMenus
      • Commands & Permissions
      • Options & Configurations
        • GUI
        • Item
        • Requirements
        • Command Registration
      • Meta (Metadata)
      • External menus
      • Example GUI menus
      • Plugin's files
    • DeluxeTags
      • Commands & Permissions
      • Placeholders
      • Plugin's files
    • PlaceholderAPI
  • Clip's Plugins
    • AutoSell
      • Commands & Permissions
      • Placeholders
      • Plugin's files
    • ActionAnnouncer
      • Commands & Permissions
      • Plugin's files
      • API
    • ChatReaction
      • Commands & Permissions
      • Plugin's files
    • DeluxeChat
      • Installation
      • Commands & Permissions
      • Placeholders
      • Config options
      • Plugin's files
    • DeluxeCommands
      • Commands & Permissions
      • Plugin's files
    • DeluxeJoin
      • Commands & Permissions
      • Plugin's files
    • EzRanksPro
      • Commands & Permissions
      • Configuration
    • EzPrestige
      • Commands & Permissions
      • Configuration
    • InventoryFull
      • Commands & Permissions
      • Configuration
    • MessageAnnouncer
      • Commands & Permissions
      • Configuration
    • MineCrates
      • Commands & Permissions
      • Configuration
    • NoFlyZone
      • Commands & Permissions
      • Configuration
  • Funnycube's Plugins
    • CowPunch
      • Commands & Permissions
    • Firework Chests
      • Commands & Permissions
      • Configuration
    • Fish Slapper
      • Commands & Permissions
      • Configuration
    • RawMsg
      • Commands & Permissions
    • Spit
      • Commands & Permissions
    • Temp MOTD
      • Commands & Permissions
      • Configuration
  • Glare's Plugins
    • Guilds [W.I.P Migration]
      • Installation
      • Configuration
        • Buffs
        • Config
        • Roles
        • Tiers
      • Commands & Permissions
      • Placeholders
      • Developer API
    • VoteParty
      • Commands & Permissions
      • Placeholders
      • Configuration
      • API
      • Changelogs
        • v2.30
        • v2.29
        • v2.28
        • v2.27
        • v2.26
        • v2.25
        • v2.24
        • v2.23
        • v2.22
        • v2.21
        • v2.20
        • v2.19
        • v2.18
        • v2.17
        • v2.16
        • v2.15
        • v2.14
        • v2.13
        • v2.12
        • v2.11
        • v2.10
        • v2.9
        • v2.8
        • v2.7
        • v2.6
        • v2.5
        • v2.4
        • v2.3
        • v2.2
        • v2.1
  • piggy's barn
    • Java
      • Gradle
        • Argument
        • Tutorial
      • How to run your minecraft server(s) in IntelliJ
      • How to run your program in IntelliJ
      • Hot Swapping
      • Cheat Sheet
  • ADDITIONAL RESOURCES
    • Discord
    • Paste
    • YAML Parser
    • Java Docs
Powered by GitBook
On this page
  • Gradle Jar Directory
  • Run Configuration Keybinds
Edit on GitHub
  1. piggy's barn
  2. Java

Cheat Sheet

PreviousHot Swapping

Last updated 4 years ago

Gradle Jar Directory

One of the most common requests I got with my hotswapping/productivity guide was how to configure the build tool to automatically output the plugin jar into the plugins folder. This is actually ridiculously simple to do. Simply copy the following:

jar {
    destinationDirectory.set(file("server/plugins"))
}

If using shadowJar, replace jar with shadowJar.

This can also be used in regular, non-minecraft projects, however I usually don't use it in those, as I simply run the jar in build/libs.

Run Configuration Keybinds

It's extremely practical to bind your run configurations to keys, as it can be quite a hassle to manually select the individual run configurations every time you need them. To add keybinds for these, you'll need to install the plugin by Turbanov Andrey.

With this plugin installed, you'll then want to make your run configurations. Once made, go to the keymap in settings (file > settings, ctrl + alt + s). Open the plugins drop down, then scroll down to the Run Configuration as Action drop down, and also open that. Alternatively, you can search for your configuration name in the search bar.

There you'll be able to add keybinds for your run configurations by simply double clicking on one of the list items, and adding either a mouse or keyboard bind. As you can see, I've already assigned a keybind to my gradle jar run configuration.

Run Configuration as Action
This menu can be accessed via File > Settings (ctrl + alt + s)