[INACTIVE][INFO] WelcomeMe v1.3.0 - Fast custom welcome message [953]

Discussion in 'Inactive/Unsupported Plugins' started by maxx001, Mar 19, 2011.

  1. Offline

    maxx001

    WelcomeMe - The fast, custom welcome message plugin!

    This plugin makes it possible to display a welcome message to a player when they log on your server. This message can be customized with text colors and dynamic 'tags' which can be used to display the number of players online, maximum players and a list of players online.

    As i work with embedded device hardware and software development, i'm very focused on speed, which is why i made this plugin instead of using some of the already existing ones. This plugin stores the message in memory for fast retrieval when a player joins the server, causing as little lag as possible.

    How do i install?

    Install is very simple, just extract the zip file to your plugins folder.

    WelcomeMe has only been tested on Craftbukkit build 556, but should work on earlier builds as well as long as they support the new CommandExecutor.

    How do i format message.txt?

    You just write the text you want to display to the user. If you hit enter in your message.txt, it will also give a line break in the chat.

    There are currently 4 dynamic tags that you can use:
    1. %op - displays the numerical amount of players currently online on your server
    2. %mp - displays the numerical maximum number of players your server supports
    3. %pl - displays a comma separated list of online players names
    4. %np - displays the name of the player who logged in or issued the /wm command
    You can also format your text with standard color codes:


    [​IMG]

    To add a color, for example red, type &4 before the text you want to be red.

    Are there any commands?

    There are two commands for this plugin. First one is used to reload the message.txt file into memory if you change it while the server is running while the second one displays the message again.
    • /wm reload (requires that the player has server operator status)
    • /wm
    Does this plugin support permissions, iConomy, x, y, z...?


    No, this plugin was made to be fast and simple to use. It does not support nor depend on any other plugin to work.


    Could you show me an example of message.txt formatting?

    Yes of course!

    Code:
    message.txt:
    
    Welcome to our &4Minecraft &fserver %np!
    Please read the &9/rules.
    
    &fThere are currently &e%op &fout of &e%mp &fplayers online.
    -------------------------------------------------
    %pl
    Which looks like this in minecraft:
    [​IMG]


    Changelog:

    Version 1.3.0:​
    - Fixed the encoding problems with message.txt by replacing § with & (credits to Bone007 for Colorize method)
    Version 1.2.0:​
    - Added %np tag that displays the name of the player who logged in or issued the command.​
    Version 1.1.2:​
    - Updated to support Craftbukkit 766, easier color notations coming later.​
    Version 1.1.1:​
    - Updated plugin due to Bukkit API changes​
    Version 1.1.0:
    - Made it possible to just type /wm to display the welcome message again
    Version 1.0.0:
    - Relase

     
    hammale and Theta Sigma like this.
  2. Offline

    Mangodoo

    Nice plugin but the colours dont show as musicin3d said.

    Here is an example of what I put "Welcome to our §4Minecraft §fserver"

    and this is what i got "Welcome to our 4Minecraft fserver"
     
  3. Offline

    Leemur

    any update? pls??
     
  4. Offline

    e_zach

    i'll be putting in the &'s for colours myself in the next couple days(when i could be bothered to do it), i'll post when im done (if the op doesn't do it before me :))
     
  5. Offline

    musicin3d

    Any luck so far? I saw another plugin make this change recently. Something about previously relying on UTF-8...
     
  6. Offline

    e_zach

    sorry, been lazy. i'll start tonight.

    ok, done :)
    give that a go, uses &'s now. :)
    EDIT: an && gives an &
     

    Attached Files:

    Last edited by a moderator: May 13, 2016
  7. Offline

    Mangodoo

    Thank you e_zach will try it when i get chance been waiting for this update:D

    Good Plugin
     
  8. Offline

    Gsx72clone

    Can't get the jar to load
    Show Spoiler

    2011-07-02 12:19:22 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-896-g394e893-b946jnks (MC: 1.7_01)
    2011-07-02 12:19:22 [SEVERE] Could not load 'plugins\WelcomeMe.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  9. Offline

    e_zach

    have you tried re-downloading? looks like a corrupt download.
    EDIT: also windows or linux?
     
  10. Offline

    musicin3d

    It works! :D
     
  11. Offline

    SystexPro

    On linux, the colors won't show. It only prints message.txt. I tried § and &
     
  12. Offline

    e_zach

    i'll try my version on linux today (don't have a linux machine i can test on at home.) i'll let you know how it goes.
    EDIT: im at work atm.

    tested and working fine on ubuntu server with &'s (this is my version a few posts above. not the one in the OP)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
    SystexPro likes this.
  13. Offline

    SystexPro

    Ok Thanks, i'll try that again
     
  14. Offline

    Mangodoo

    I am afraid the colours dont work still i am using the example you attached and it still fails and ideas?
     
  15. Offline

    e_zach

    kill the message.txt and create a new file. (on the machine you want to host the server.)
    looks like it's still having encoding issues. i'll have to set up a linux box to test on at home.
    UPDATE: grabbed the example back from the attachment and it works fine. (on server hosted at work. ubuntu).
    not sure why it wouldn't be working for you.
     
  16. Offline

    musicin3d

    I've got it running on Ubuntu 11.4 just fine.
     
  17. Offline

    maxx001

    New version 1.3.0 up. This version uses the & char instead of the § char to denote colors. See the included message.txt file. This should fix the encoding problems for linux hosted servers (i hope).
     
    MadManMarkAu likes this.
  18. Offline

    MadManMarkAu

    Thank you so much, I've been waiting for this :D
     
  19. Offline

    vinstic

    I like this mod, and I can say that it works with BC #1000 Please keep it up to date :) (change the title now)
     
  20. Offline

    leiger

    Perfect - thanks maxx001!
     
  21. Offline

    hammale

    Any way to add a user to an 'ignore list'? i dont want players to know when im on! Im using StealthLogin to hide my join/quits but ur message still shows me loged in...
     
  22. Offline

    gamemakertim

    Change then the config file, that nobody can see who is online.
     
  23. Offline

    hammale

    nah i just wanted certain users to be hidden but I wrote my own version from the src :)
     
  24. Offline

    Deleted user

    WHY IS THIS OUTDATED D:.
     
  25. Offline

    waqlerg

    can you show the source code?
     
  26. Offline

    e_zach

  27. Offline

    mamalotas1

    good plugin but could you add html support
     
  28. Offline

    musicin3d

    How would that work?
     
  29. Offline

    mamalotas1

    honestly i do not know how to create my own plugins or client mods i was just wondering if its possible to view the logo or photo in minecraft chat that html codes are used for
     
  30. Offline

    musicin3d

    I'm hoping English is not your native language, and that's why you've used fragments and absolutely no punctuation.

    What I think you're saying is, "Is it possible to send images through chat?" Unless you make an awesome client mod, this is not possible.

    Links may be easier, but I know it's not important enough to me to try it. Any support for <font> would be really limited since there is only one font family and there are only 16 colors. They don't even have official names, just single-digit hexadecimal codes. In order to make this concept worthwhile, it would have to be a whole other plugin with a client mod and possibly an API for other plugins to use.
     
  31. Offline

    ibreaktoucher

    compatible with 1.0.0?
     

Share This Page