FakeMessager
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ðe 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
@brinaq
Sorry for my ignorance, nevermind
It is compatible, but what are the permission nodes?
Hello, will this plugin work with 1.4.5? I will try It myself But I would like to know if its fully compatible.
added yet?
@guitarCraft
This surely is something I should add. Haven't yet thought about it, at first I thought that it simply was enough to give the console a message. Will add this, hopefully today :-)
please add:
Player which can use this Plugin see if someone Fakes a Message example: With Permissions: &6[Fm][name] &aPlayer joint the Game (name is not important) Without: &aPlayer joint the Game
Why? cause Fakemessages like: <Player> Join @ 1.2.3.4.55.6 maybe someone fake that and another admin bans him
I opened the jar and could not find it
<<reply 891403>>
@breezeyboy
Should be in jar. I'd not I will upload tomorrow Edit: Sorry for this taking so long. If you need the source I've posted a link for it.
source code?
Lol, this is awsome! I already trolled my entire server by using this plugin with Disguise Craft to make em think Herobrine is real. I have been looking for a plugin like this for a long time :D
@breezeyboy
Of course! It's included in the jar itself. ;)
may i have the source code?
@Governator123
Sorry for answering late, and sorry for you having problems with my plugin. I am not sure how this may happen though. Only way I could reproduce this was by inserting only spaces as the message. Possibly you could be using an older version or you could have used some characters that bukkit wont support. Any more information could help greatly if this problem still exists.
This may sound stupid, but every time I type /fm <text>. I get a Syntax Error. Am I doing something wrong, or is this a Bug? By the way, I love the concept of this plugin.
@CryLegend
Thank you for your suggestion, although i did not fully understand it. Could you explain a little bit more? Note: This is not a chat plugin... but did you mean that i could add something to always display before the message itself? That may be an idea, because in that way you could use my plugin as a custom broadcaster plugin instead of typing like [Shout] before the message. If this was what you meant I can look into adding configuration of prefix and such. ;)
Can you let us choose chat format throught config ? (I setup my chat plugin to be %PLAYER% : %MESSAGE%
@Trocon9000
I've uploaded a new version, including the command /fmp <player> <text>. Let me know what you think :D
@Trocon9000
Yes i can look into it, maybe I will make a new command "/fmp" which will allow you to specify player and message like so: "/fmp <player> <message>". What do you think about this? PS: Thank you for the great suggestion :D
Hey could you make it so only certain players can see something, such as going "/fm [Cardinal]xxdimond: Im a idiot" and making it only so that player cant see what your doing. Therefor making them not suspect a thing.
Anyone here that has a suggestion to another plugin I can make? :D