FakeMessager

24.6k Downloads

FakeMessager

Video by SeaborgiumMC - Showcase for version 1.2 (a long time ago)

New in version 1.6

  • Variables will be stored like below. Note: variables are not case sensitive.
  • Whenever you create a variable that already exists it will be overwritten.
  • Variables are used by typing the variable name between two percentages (%mymessage%) in any of the FakeMessager commands.
  • If you want FakeMessager to display the percentage, prefix it with a backslash.
  • Like so: /fm I will give you 50\% of the money.
  • Example for using variable: /fm &eNotch%login%, which would result in: Notch has joined the server. Pretty darn cool, eh? XD
  • Also, you do not have to enclose the messages in double quotes, but if the message includes any of the special characters in YAML, you will receive an error on load, or the config will be set back to default.
variables:
  mymessage: "My message here!"

Quick Tip:

  • Enclose variable values in double quotes when using fmsave to store them. Doing so will keep spe spaces like they should be.
  • Example: /fmsave " has joined the game." - /fm &eNotch%login% - Results in: Notch has joined the game. - In yellow.

Note:

Just realized how quickly I could add this :D Added to V1.6 and uploading now. Use this as some sort of help message, even though I wrote it before I coded it ;) I will be working on adding more advanced variables. The newer variable types will be able to accept inner variables, meaning, you could have variables inside the stored messages. An example: /fm %story:variable1,variable2,variable3% <- Notice, there is no space between commas and next variable. This would print the following: The variable1 variable2 fox jumps over the variable3 dog. The config file in this example looks something like this:

variables:
    story: The % % fox jumps over the % dog.

Another example:

variables:
  login: '&e% and &4% &ehas &kjoined &r&ethe game.'

Command: /fm %login:Notch,Whitehooder% Output: Notch and Whitehooder has ^i2!£¤3 the game. - The whole message in yellow, except Whitehooder, and the stars are the randomly changin letters, or, alien letters, if you like.

Features:

  • Print/Write whatever message in chat (without any prefix. Ex: <Whitehooder> "hello")
  • Send whatever message to a player (without any prefix. Ex: <Whitehooder> "hello")
  • Fast ways to fake chat messages as other players.
  • Easy way for viewing all color and formatting codes.
  • All commands available from console
  • Fully Color and Font supported

Commands:

  • fm
    • Usage: /fm <text>
    • Description: Broadcasts a custom message.
    • Aliases: echo, fakemessager, fakemessage
  • fmc
    • Usage: /fmc <as player> <text>
    • Description: Broadcasts a custom chat message as a name.
    • Aliases: echoc, fakemessagechat, fakemessagerchat, fmchat, echochat, fcm, fakechatmessage.
  • fmcc
    • Usage: /fmcc
    • Description: Shows all formatting codes available.
    • Aliases: echocolorcodes, echocolors, echocc, fakemessagercolorcodes, fakemessagercolors, fakemessagecolors.
  • fmp
    • Usage: /fmp <to player> <text>
    • Description: Sends a custom message to a player.
    • Aliases: echoplayer, echop, fakemessagerplayer, fakemessageplayer, fmplayer.
  • fmpc
    • Usage: /fmpc <to player> <as player> <text>
    • Description: Sends a custom chat message as a player to a player.
    • Aliases: echoplayerchat, echocp, echopc, fakemessagerchatplayer, fakemessagechatplayer, fmcp
  • fmreload
    • Usage: /fmreload
    • Description: Reloads FakeMessagers configuration.
    • Aliases: fmr, echoreload, fakemessagerreload
  • fmsave
    • Usage: /fmsave <variable name> <variable value>
    • Description: Stores a new variable.
    • Aliases: echosave, echos, fms, fakemessagersave, fakemessagers
  • fmdelete:
    • Usage: /fmdelete <variable name>
    • Description: Deletes a variable.
    • Aliases: echodelete, echodel, fmdel, fmd, fakemessagerdelete
  • fmdeleteall:
    • Usage: /fmdeleteall
    • Description: Deletes every single variable stored. No way back.
    • Aliases: echodeleteall, echodelall, fmdelall, fmwipe, fakemessagerdelete

Permissions:

  • fm.*: Gives access to everything fakemessager can provide.
  • fm: Gives access to broadcast a fake message.
  • fm.chat: Gives access to broadcast a fake chat message.
  • fm.colorcodes: Gives access to show all available formatting codes.
  • fm.player: Gives access to send a custom message to a player.
  • fm.playerchat: Gives access to send a custom chat message to a player
  • fm.reload: Gives access to reload FakeMessagers configuration.
  • fm.delete: Gives access to delete variables.
  • fm.deleteall: Gives access to delete all variables with a single command.
  • fm.delete.all: Same as above, only one of these are needed for access to the command. A player with the permission fm.delete will need either fm.deleteall og fm.delete.all additionally to be able to use the /fmdeleteall command.

ToDo:

  • Add /fm load command. Quickly load stored messages from a yml file. Probably add /fm save as well. - Done
  • Suggestions are (still) very welcome :D