Skip to content

Minecraft Forge Mod for providing Spigot developers with more information of the game. (1.8.9)

License

Notifications You must be signed in to change notification settings

iHDeveloper/spigot-dev-tools

Repository files navigation

Spigot Dev Tools

Lightweight spigot library to provide developer tools to monitor/debug the Minecraft game world.

Note: This project is in the alpha state. If you found any bug/glitch, open an issue in the issue tracker.

Minecraft Version Plugin Minecraft Mod
1.8.x (Legacy)
1.16.x ✓ (not tested) Not Supported

Example

/* Pin a global info about the maximum number of players */
DevTools.pin("Max Players", "20");

/* Profile a selected region of your code */
DevTools.profileStart("Regions");
/* Regions calculation/processing */
DevTools.profileEnd("Regions");

/* Log information about certain events in the server */
DevTools.logger().info("Example of info log message!");
DevTools.logger().warn("Example of warn log message!");
DevTools.logger().err("Example of error log message!");
DevTools.logger().debug("Example of debug log message!");

/* Watch a temporary information for everyone or certain player */
DevTools.watch("Winner", winnerName);
DevTools.watch(player, "Region", regionName);

🌃⠀Screenshots

Logger More screenshots? click here

(Old) Youtube Video? click here

📦⠀Modules

  • ~ (aka root) is Spigot plugin to host the custom plugin messaging channel
  • ~/legacy-mod is forge mod (1.8.9) for providing graphical developer tools

🗓⠀Protocol

You can view the protocol structure and design here.

🗄⠀Download

Plugin

You can download the main plugin from here

API

  • Maven
<repositories>
  <repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
  </repository>
</repositories>

<dependency>
<groupId>me.ihdeveloper</groupId>
<artifactId>spigot-dev-tools</artifactId>
<version>v0.3-alpha</version>
<scope>provided</scope> <!-- The API is already included with the plugin -->
</dependency>
  • Groovy
repositories {
  maven { url 'https://jitpack.io' }
}

dependencies {
  compileOnly 'me.ihdeveloper:spigot-dev-tools:v0.3-alpha';
}
  • Kotlin DSL
repositories {
  maven { url = uri("https://jitpack.io") }
}

dependencies {
  compileOnly("me.ihdeveloper:spigot-dev-tools:v0.3-alpha")
}
  • Scratch If you don't want to use the options above, then you can download the API from here

Dependency

Add this to your plugin.yml to load the plugin before your plugin.

depend:
  - SpigotDevTools

👨‍💻⠀Credits

This project is made by @iHDeveloper

About

Minecraft Forge Mod for providing Spigot developers with more information of the game. (1.8.9)

Resources

License

Stars

Watchers

Forks

Packages

No packages published