Home›Java›Mods›GroovyListeners
GroovyListeners
ModsJava

GroovyListeners

Java mod listed for Minecraft 1.12. Download on the author's site.

⬇ Download on Spigot
Purpouse
Simplify adding new listeners into Bukkit system.

Usage
Write your Groovy script, then put into GroovyListenersPlugin folder in plugins. All of them will be loaded

Example
Code (Text):
import org.bukkit.event.Listener
import org.bukkit.event.EventHandler
import org.bukkit.event.block.BlockPlaceEvent
import org.bukkit.Bukkit;

class TestListener implements Listener {

   @EventHandler
   public void onBlockPlacement(BlockPlaceEvent e) {
            eu.razniewski.groovylisteners.GroovyListenersPlugin.getInstance().getLogger().info("test222");
            Bukkit.getLogger().info("test omg")
   }

}
 
This listener will run when somebody will put block on the world. You have access to whole system, so you can write everything. Save this example as example.groovy and put it on plugins/GroovyListenersPlugin/, then restart your server. That's all!

Donate
Just buy me a coffee! It's very motivating :)
https://www.buymeacoffee.com/razikus

Jenkins
http://dev.razniewski.eu:8080/job/GroovyListeners/

[​IMG]
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

GroovyListeners is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 81 times (via Spigot). Download it and open it directly in the game.

Explore more