graywolf336 / CasinoSlots

Animated, customizable, block-based slot machines, including audio, inside of Minecraft!
http://dev.bukkit.org/server-mods/casino-slots/
GNU General Public License v2.0
23 stars 22 forks source link

action: command? #14

Closed fultrim closed 12 years ago

fultrim commented 12 years ago

Is there anyway to do a console command as an action? I want to tie in some custom plugins as rewards and the easiest way to do this is with a console command.

possible example:?

action: command

or maybe straight line example: command: plugincommand subcommand 1

the 2 things that need to happen is that we need the ability to use console command and call the players name that was using the slot machine.

graywolf336 commented 12 years ago

Interesting, will look into adding this

graywolf336 commented 12 years ago

It's been added! The syntax is:

        action:
        - command give [player] 50 15

Where you put in whatever you want after the - command, pretty straight forward. Let me know if any new bugs come up.