SayWhat

SayWhat

SayWhat (pronounced: "Say whaaaaaaaaat!") saves typing time. Store abbreviations for your commonly used admin messages and retrieve them with just a few keystrokes.

Some examples of SayWhat in action:

On a server with the name "A Freebuild Server" with message of the day "Have fun building":

  • "swr w Welcome to %servername. %motd!" - creates a new abbreviation, w.
  • "sw w" - Sends the message "Welcome to A Freebuild Server. Have fun building!", as if you typed it yourself.
  • "swm w SomePlayer" - Sends the welcome message as a private message to the player, "SomePlayer".
  • "swl" - Lists all stored abbreviations.
  • "swl w" - Lists the message stored against the "w" abbreviation.

It's early days and comments / suggestions / bug reports are most welcome, especially if you could take the time to create a ticket. Thanks!

Commands

  • sw [abbreviation] - Plays back a stored abbreviation.
  • swl - Lists all stored abbreviations.
  • swl [abbreviation] - Lists a stored abbreviation and its message.
  • swm [abbreviation] [Player1] [Player2] [Player n] - Sends an abbreviated message to all named players.
  • swr [abbreviation] [message sent in place of abbreviation] - Stores an abbreviation and corresponding message.
  • swdel [abbreviation] - Deletes a stored abbreviation.
  • swload - Reloads previously saved messages from config.yml. Useful if edits/deletions have gone bad.
  • swsave - Saves all messages to config.yml. Save is called automatically on plugin reload or server shutdown. You can also save edits using this command.

Variables

Put one of these variables in a SayWhat abbreviation and it'll get replaced with corresponding player or server information. All variable names begin with '%%' and they are case sensitive. More are to follow, but so far there are variables for player location, current item held, server name and motd. Be sure to let us know if you've got ideas for any more.

Player variables

  • %%inmyhand - replaced with the name of whatever item you're holding.
  • %%myloc - replaced with your current location

Server variables

  • %%motd - replaced with the server's message of the day
  • %%servername - replaced with the server's name

Permissions nodes:

  • saywhat.sw - Can playback stored abbreviations
  • saywhat.swl - Can list stored abbreviations
  • saywhat.swm - Can send abbreviations as private messages
  • saywhat.swr - Can record new abbreviations
  • saywhat.swdel - Can delete stored abbreviations
  • saywhat.swload - Can reload abbreviations from config.yml
  • saywhat.swsave - Can save abbreviations to config.yml

You must login to post a comment. Don't have an account? Register to get one!

  • 5 comments
  • Avatar of CodeFoo CodeFoo Jan 20, 2013 at 21:06 UTC - 0 likes

    @Chaeris: Go

    Thanks for the suggestions. Both ideas sound easy enough. I'll see what I can do.

  • Avatar of CodeFoo CodeFoo Jan 20, 2013 at 21:04 UTC - 0 likes

    @Coasterfan312: Go

    Thanks for posting. This is a great idea and I'll get to work on it.

  • Avatar of Coasterfan312 Coasterfan312 Jan 20, 2013 at 10:10 UTC - 1 like

    This looks like a really useful plugin. Variables would be nice, but it sounds like it could get awkward and/or confusing to use them. Please release this soon! :D

  • Avatar of seatsea seatsea Jan 20, 2013 at 09:30 UTC - 1 like

    I probably would use this plugin for my server but as the comment, i think you should a variables.

  • Avatar of Chaeris Chaeris Jan 20, 2013 at 08:51 UTC - 1 like

    When the plugin will get released, you should add little variables: For exemple, "Welcome $name to my lovely server" would automatically replace $name by the last connected person...

    "Do you need any $item" would replace $item with the item you have in hand...

  • 5 comments

Facts

Date created
Jan 19, 2013
Categories
Last update
May 18, 2013
Development stage
Beta
License
GNU General Public License version 3 (GPLv3)
Curse link
SayWhat
Downloads
129
Recent files

Authors