cnaude / PurpleIRC

Minecraft Bukkit plugin that provides an IRC bridge. This repo has been archived. Please see https://github.com/cnaude/PurpleIRC-spigot for the latest and greatest PurpleIRC code for Bukkit servers (Spigot, Paper etc...)
20 stars 9 forks source link

multiple commands from irc? #94

Closed ghost closed 9 years ago

ghost commented 9 years ago

is it possible to run one command in irc ie !stats and have it run multiple commands against the server ie /tps /gc ??

cnaude commented 9 years ago

I have added this to the latest build: http://h.cnaude.org:8081/job/PurpleIRC/177/ See line 312 of the sample bot for an example. https://github.com/cnaude/PurpleIRC/blob/master/src/main/resources/SampleBot.yml

Basically just add the first command to game_command and then any additional commands in yml list format to extra_commands.

ghost commented 9 years ago

noice! thx