[INACTIVE][CHAT] FakeMessage 0.5.2 - Notch has joined the game! [1000]

Discussion in 'Inactive/Unsupported Plugins' started by niccholaspage, Feb 12, 2011.

  1. Offline

    niccholaspage

    FakeMessage - Faking messages in the chat
    Version: v0.5.2
    Tested on Craftbukkit 1000
    This plugin can fake chat messages. For example:
    Notch has joined the game.
    <Notch> Hello!
    Notch has left the game.

    Features:
    • Supports different message formats.
    • Has join and leave messages.
    • Private messaging
    • Supports Permissions.
    • Console & players can use the commands
    • Supports prefixes, suffixes, group names, and worlds!
    UPGRADE NOTICE 0.3 and lower to 0.4+
    The config file is now in plugins/FakeMessage/config.yml and has been changed. FakeMessage 0.4+ will automatically generate it for you.

    Commands:

    The commands are:
    /fsay name message
    /fj or /fjoin name
    /fl or /fleave name
    /fmsg toplayer name message
    /fswitch name

    Permissions:
    /fsay - fakemessage.say
    /fjoin or /fj - fakemessage.join
    /fleave or /fl - fakemessage.leave
    /fmsg - fakemessage.message
    If you would like to give these all to a group, use fakemessage.*

    Custom messages:
    If you run the plugin without creating a configuration file, the message format will be the following:
    <namehere> messagehere

    The join format will be:
    name has joined the game.

    The leave format will be:
    name has left the game.

    If you would like to change this, modify the plugins/FakeMessage/config.yml file.
    Code:
    FakeMessage:
        messageformat: '[Default] +name: +message'
        privatemessageformat: '(MSG) <+name> +message'
        joingame: '&e+name has logged on.'
        leavegame: '&e+name has logged out.'
    
    +prefix - The player's group prefix
    +suffix - The player's group suffix
    +group - The players group
    +name - The players display name
    +world - The world the player is in
    +message - The message the player sent

    If you would like to add colors, add & and then the color you want. For example:
    Code:
    FakeMessage:
        messageformat: '[&6+group&f] +name: +message'
    This will make the group name a gold color. If your prefix is &6, FakeMessage will color wherever the prefix is in your message format. For a list of colors, go to:
    minepedia.net/colorguide.php

    Remember to replace the ยง character with &.

    Download FakeMessage

    Source

    Todo:
    • New line character for join/leave messages
    • nChat and iChat support (Should be pretty easy)
    Changelog:
    Version 0.5.2
    • Fix for 1.6
    • Using /fj and /fl without any arguments will fake you as joining/leaving.
    Version 0.5.1
    • Fix for 1.5
    Version 0.5
    • /fswitch
    • Prefix, suffixes, worlds, and group support.
    Version 0.4
    • Uses onCommand, no more OP unknown command messages
    • Cleaned up code
    • Fixed Permissions bug
    • Messaging support
    • Use commands from console
    Version 0.3
    • Updated to newer CB builds
    • New commands (Look above)
    • If permissions is not found, plugin will default to OP.
    • If a user doesn't enter all the arguments, FakeMessage will send how to use the command back.
    Version 0.21

    • Changed namespace from com.bukkit.niccholaspage.FakeMessage to com.niccholaspage.FakeMessage.
    Version 0.2

    • Color support is added.
    • Custom join and leave messages added.
    Version 0.1

    • First Release
     
    Hankscorpiouk, NikkyyyHD and JWhy like this.
  2. Offline

    DDRKhat

    Anyone know if this is still compatible with the new stable bukkit (Version #733? )
     
  3. Offline

    MeinerHosen

    I will be downloading it, since it is 709 compatible, which is one of if not the first 1.5 compatible builds.

    I'll come back if I notice any bugs ;)
     
  4. Offline

    niccholaspage

    Probably is. Will test in a few minutes to see myself.
    I have no idea if the +group got fixed, I hope so!
     
  5. Offline

    xGhOsTkiLLeRx

    Any progress of integration with/for iChat?

    Greetings
     
  6. Offline

    niccholaspage

    Explain how.. All you need to do is move your message format from iChat into the FakeMessage config file.
     
  7. Offline

    xGhOsTkiLLeRx

    For example the time stamp or the life or the healthbar

    My iChat message-format:

    Code:
    '&4+prefix&f[&2+world&f;&6+group&f] +name +healthbar (+health), &e+time&f : +message'
     
  8. Offline

    niccholaspage

    After thinking, Wouldn't it be better if I just made the player send a chat message? This will still work when the player is offline since I make a fake player and format the message from there. I think I'll start working on this. It will remove the need for the message format.
     
  9. Offline

    Mineaccount

    Can you make it so that there is a commands when you such as:

    /opjoin
    /opleave

    So next time you come on or off other players will not be notified other than ops.

    And an option to put more than one name would be great.
     
  10. Offline

    MeinerHosen

    Sounds amazing :p
     
  11. Offline

    Prime

    Will this be updated for 818 soon?
     
  12. Offline

    niccholaspage

    It probably already works for 818, I'll test when I have time. I also will start working on 0.6 soon.
     
  13. Offline

    Geniks

    Good configuration for Multiverse & Permissions : (open)

    Code:
    FakeMessage:
        messageformat: '[+world][+prefix+group+suffix&f] +name: +message'
        privatemessageformat: '(MSG) <+name> +message'
        joingame: '&e+name joined the game.'
        leavegame: '&e+name left the game.'
    
    • World + Group color now displayed.
    • Correction for join & left :
    Geniks has joined the game with the /fj
    Geniks joined game in reality
    and it was the same thing for left the game.



    In the next version will you add the commandbook /who support ? It will be very nice for the /fj and /fl. A TP Support will be good too, maybe it can make an error when a player is trying to tp a fake person ?

    The /fmsg returns me an error : "That user doesn't exist!"


    THX,
    Geniks
     
  14. Offline

    MeinerHosen

    Looking forward to 0.6 :D

    I'm updating soon, so I might be able to point out errors with 818 if you don't.
     
  15. Offline

    Tim Andersen

    getting alot of alot of errors on 818.
    An internal error has acured.
    and when doing fmsg . user does not exist.
    looks like you can only fmsg from people that are on the server at the moment. everything else makes a internal error. fakejoin, fakequit works though.,
     
  16. Offline

    freefish

    Similar, except I'm getting errors with fjoin as well. Example:

    error (open)
    org.bukkit.command.CommandException: Unhandled exception executing command 'fjoin' in plugin FakeMessage v0.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoSuchMethodError: net.minecraft.server.ItemInWorldManager.<init>(Lnet/minecraft/server/World;)V
    at com.niccholaspage.FakeMessage.FakeMessage.formatMessage(FakeMessage.java:100)
    at com.niccholaspage.FakeMessage.CommandHandler.onCommand(CommandHandler.java:33)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  17. Offline

    Nelo

    Is the plugin with CB 818 ?

    The plugin works only with name that members in the server already have. For example "Nelo" (my name in my server) works. But not with Notch, Test, ...

    (Sorry for my english, I'm french)
     
  18. Offline

    niccholaspage

    An update is coming today or tomorrow to fix this.
     
  19. Offline

    Nelo

    Ok, thanks ;)
     
  20. Offline

    kkreato

    wheres the update?
     
  21. Offline

    niccholaspage

    Coming today. I was kind of late :p
     
  22. Offline

    Allio567

    Nice plugin ;) Can't wait for the new update :p
     
  23. Offline

    kkreato

    It is now Saturday I thought Thursday?
     
  24. Offline

    Persioncool

    Can't wait till it gets uploaded! I really need it :p
     
  25. Offline

    niccholaspage

    I've already coded it, but I need to test it. It will for sure come out today, sorry for the wait.
     
  26. Offline

    theMagus

    I'm really looking forward to the update tonight, I need it as well
     
  27. Offline

    niccholaspage

    Almost done testing! :)

    0.5.2 is out.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
  28. Offline

    Persioncool

    It works! Oh, thanks man! Gotta catch those griefers now!
     
  29. Offline

    Allio567

    How do you catch griefers with it? :confused: I use it to trick people that Herobrine is real :D
     
  30. Offline

    Persioncool

    When I'm gone for like 15 min, they always grief houses. This time I just did leave and it sort of worked.
     
  31. Offline

    Allio567

    That is epic :D You should get BigBrother too, a great anti-grief plugin
     

Share This Page