mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
208 stars 44 forks source link

Check for blank save message or a way to remove save message in chat. #56

Closed demethan closed 8 years ago

demethan commented 8 years ago

Hi,

We just implemented mark2 for our servers at breakfastcraft.com and I have to say I'm liking mark2 very much coming from mineos before. We have an irc channel that connects all the server's chat.

the save message is quite spammy and we wanted to remove it. there are no settings to remove the message so we tried blanking the messages. that would just spam a blank line in the irc chat. One of my admins does some python and tweaked the save.py (line 20) to check for blankplugin.save.warn-message= and plugin.save.message= in mark2.proprieties.

So I guess this is a enhancement request more than an issue.

 def warn(self, delay):
        if self.warn_message:
            self.send_format(self.warn_command % self.warn_message, delay=delay)

Thanks.

demethan commented 8 years ago

Oh, sorry. turns out I left the ~save 1m from the sample script. blank plugin.save.message with the 1m removed seems to work as intended.