Multiverse / Multiverse-Adventure

Provides Adventure-Support for Multiverse
18 stars 15 forks source link

Customizable broadcast message on reset #31

Closed ghost closed 11 years ago

ghost commented 12 years ago

Hello!

I wish to suggest adding a customizable broadcast message to announce on the server on each world reset

Maybe as a string in the config

dumptruckman commented 12 years ago

Sounds doable.

Moo0 commented 11 years ago

How about being able to run a command, instead of just sending a broadcast. Then you could get a broadcast by running a broadcast command, or get something else using another command. Maybe have some kind of parameter replacement too? (e.g. %worldname%)

dumptruckman commented 11 years ago

What about adding http://dev.bukkit.org/server-mods/buscript/ into the mix? Then you can basically do anything you want.

What do you think @main--

Moo0 commented 11 years ago

I was thinking of CommandHelper for more complex actions, really... :P

dumptruckman commented 11 years ago

Well, I did it my way... Read the documentation @ http://dev.bukkit.org/server-mods/buscript/ for information about scripts, then put scripts for your adventure world in Multiverse-Core/scripts, then edit MVA config and update your worlds with pre or post reload scripts (just the name like "script.txt").

Added in http://ci.onarandombox.com/job/Multiverse-Adventure/562/ which requires http://ci.onarandombox.com/job/Multiverse-Core/558/ or later.

Edit: oh yeah, and %worldname% is available in these particular scripts.