I've been trying to convert this ruby bootstrap to groovy for someone and so far i'm a bit confused as i'm still a beginner in ruby.
This is basically a plugin system. The bootstrap ruby script allows me to create multiple scripts for my server with hooks onto the button handler so I can handle button clicking inside a ruby script instead. An example of the plugin script is this:
Now i'm trying to do it for Groovy but i don't know how to call the extra parameters[player,slot,param] and handle it like in the example plugin script above
Thanks, i hope u guys understand my problem but i'll provide more details if needed.