[INFO] SpoutMOTD v1.5 - A fully customisable popup MOTD [1185]

Discussion in 'Inactive/Unsupported Plugins' started by jonas_747, Sep 25, 2011.

  1. Offline

    jonas_747

    Abandoned!

    SpoutMOTD - A popup MOTD for servers!
    Introducing Images in 1.4!
    If the config dosent generate, Here is the config for you!
    Older versions: v1.4.4 v1.4.3 v1.31 v1.2 v1.1

    This plugin allows you to have popup MOTD screen, with text on. You WILL need the spoutcraft client to see this!
    Show Spoiler

    [​IMG]

    [​IMG]

    Usage guide:
    People that want to see this need SPOUTCRAFT!
    It will automaticly popup when you log in or when you press "h" (or teh button the server admin configured it to)
    That easy!

    Commands and Permissions
    Currently everyone can view the MOTD, but will make that permission based too
    This plugin is using the standbard bukkit permission system

    /smotd - Opens the MOTD Permission: spoutmotd.smotd
    /smotdreload - Reloads the config Permission: spoutmotd.reload

    Config Guide:
    Show Spoiler

    The Config thats generated looks like this:​
    Code:
    Texts:
        text1:
            text: This is a demo text
            color:
                red: 1
                blue: 1
                green: 1
            posy: 100
            posx: 100
            size: 2
    text1 - text1 is the name of that text, 2 texts cant have the same name
    text - This is the text that will be displayed
    Color red, blue, green - This is the color of the tex, in RGB format, maximum number for the is 255, if you go past that the color will just be black
    posy - Y position of the text
    posx - X position of the text
    size - The size of the text, you cannot make decimals at the moment. You can in 1.2!
    like this: 1.13 is one size.
    Multiple texts:

    you can add more texts easily, just simply do like this:
    Code:
        text1:
            text: This is text 1
            color:
                red: 1
                blue: 1
                green: 1
            posy: 100
            posx: 100
            size: 2
        text2:
            text: this is text 2, both of us will be displayed!
            color:
                red: 1
                blue: 1
                green: 1
            posy: 100
            posx: 100
            size: 2
    Just remember that 2 texts cant have the same name, then only one text will be displayed :)
    i have no idea what the maximum number is but i guess you could go over 1000's of texts if you want.


    Images:
    introduced in 1.4 is images!
    Image formats: png or jpg only!
    Image height cant be bigger than 239! If it is, your image wont be displayed :(
    its very simple how to add them just add this to your config:
    Code:
    Images:
        Image1:
            url: http://forums.bukkit.org/data/avatars/l/3/3659.jpg?1316978098
            posx: 100
            posy: 10
    Heres a example with a text that wont be displayed:
    Code:
    Texts:
        text1:
            text: ignorethisword
            color:
                red: 100
                blue: 1
                green: 1
            posy: 150
            posx: 150
            size: 1.5
    Images:
        Image1:
            url: http://forums.bukkit.org/data/avatars/l/3/3659.jpg?1316978098
            posx: 100
            posy: 10
    Very easy!
    You can also add as many images as you wish :)

    General config settings:
    Hotkey - This is the hotkey to open the MOTD Simply put in KEY_yourpreferedkeyhere list over possible keys: here
    Closebuttontext - This is the text that is on the close button
    hometab - Does nothing, ignore this
    hotkey_is_enabled - true or false, you want the hotkey to be enabled or not?
    only_display_on_first_time_joined - Only display the popup on player join if the player has never joined the server before.

    Variables:
    Introduced to 1.2 is variables, please come with more suggestions to variables!
    • ignorethisword - This will not be displayed!
    • %date% - Server date
    • %realservertime% - Server realtime
    • %player% - the name of the player that sees the MOTD
    • %IP% - ip adress of the player that is seeing the MOTD
    • %world% - The world the player is on
    • %level% - The player's experience level
    • %xptonextlvl% - displays the xperience points to next level, (i think it does that atleast)
    • %totalxp% - Displays the total experience points
    • %foodlevel% - Your current food level
    • %playertime% - The players realtime(or total playtime, need to doublecheck)
    • %playercount% - Displays the amount of users online!

    Todo List:

    • Redo the size setting
    • Add images Resize image fucntion
    • Layers
    • Add configurable buttons? - will kinda be in with the tab release!
    • different tabs - my task after 1.5!
    • "links"
    • Various variables, like player, time, IP address etc... MORE variables!
    • Add "ignorethismessage" as a variable to be ignored, (you cant start with %, so adding that wich wont be displayed solves the problem)
    Known issues:


    • none, for now...
    Changelog:

    Version 1.5
    • Made the "close" button text configurable
    • Added a reload command
    • Added a command for opening the MOTD
    • Added a option for only opening the MOTD the first time a player joins teh server
    • Added a option to enable or disable the hotkey
    Version 1.4.4

    • Rewrote many parts of the code
    • Fixed the only one player can read the MOTD at a time bug
    Version 1.4.3


    • removed a debug message i forgot :p
    Version 1.4.2


    • Made the hotkey fro the MOTD configurable
    • Hotkey does nothign while in inventory, chat etc...
    Show Spoiler


    Version 1.4.1

    • Fixed a bug where people disconnecting from the server while in the MOTD would crash the plugin.
    • Also theres a trail of my started tab development in the config, deos nothign yet :)
    Version 1.4


    • You can now add images!
    • Players clicking close will no longer close the MOTD for others!
    Version 1.31

    • Fixed players pressing "h" will open the MOTD for the person last joined
    Version 1.3


    • Added hotkey "H" to open the MOTD
    • Added the following variables:
    • ignorethisword
    • %foodlevel%
    • %playertime%
    • %playercount%
    Version 1.2

    • Added the folowing variables:
    • %date%
    • %realservertime%
    • %player%
    • %IP%
    • %world%
    • %level%
    • %xptonextlvl%
    • %totalxp%
    • Redid the size, you can now have decimals in the size setting of your text!
    Version 1.1


    • Fixed Nullpointerexception that was caused by players without spoutcraft client
    Version 1.0



    • Initial release
     
    WimFris, olimoli123 and efstajas like this.
  2. Offline

    jonas_747

    Can you be more specific?
     
  3. Yeah, it's me for sure x)
     
  4. Offline

    alanine

    Hey there; Sorry at the time of posting the error had just occured, and I really was hoping it was something on one of your guy's ends regarding an automatic update. This wasn't the case.

    For some reason; in all versions of towny that I've been able to locate/had on my HD:
    if I enable some settings, an example of one would be enabled town spawning (upon death). If this is set to true, certain spout features will not run as anticipated.

    Your plugin is one of the ones mentioned above. It does not appear, nor does U or /Smotd . Also other spout related features such as mmoTarget, and mmoParty are also disabled when this towny setting is changed. Aswell, the press P to continue looking around, or J to join screen does not appear also. When that mentioned setting is disabled once more, everything works as they should.

    I can live with having that feature disabled, but I am sure you wouldn't mind knowing that the conflict exists.
    Really appreciate the use of your plugin; and I do really hope you get some headway in regards to the multiple tabs. That would really be phenomal.

    Keep up the good work buddy,
    alanine
     
  5. You should add simple color settings with &1 &2 &3 ...etc.
     
  6. Offline

    alanine

    Personally disagree with that.

    The ability to have many variations is great...
    Any information regarding when the tabs may be available? Cannot overrate how amazing those would be.

    Thanks
     
  7. Offline

    jonas_747

    Just got home from a short vecation, working on tabs now! not all tab features will be aviable at the start tough
    and i wont make simple colorcoding, its simple enough if you ask me, you want hex codes instead? :p
     
  8. I didn't said "change to" I said "add".
    I like choices you have with RGB, but sometimes I want to change MOTD fast and I easily remember classic minecraft color codes.
     
  9. Offline

    jonas_747

    Okay, Releasing 1.6 tomorrow, the changes will be:
    • Tabs/Pages: you have difeerent tabs/pages with different things on!(note that there is still many features to this tahts going to be adde)
    • Economy variables
    • Updated to latest RB
    • Updated to latest Spout RB
    • *maybe* color codes, just maybe.
    And yeah! (would be nice to have some bugtesters, PM me!)
    Im feeling for making a GUI editor, that will later convert it into a config file, or something like that. I dont realy know the performance of the config file yet, so i dont realy know how fast lets say 50 texts and some images will load on 20 players at the same time... might change the format when im doing a complete rewrite in 2.0
    Anyways, thanks for the feedback!

    now off to watch MLG soon :p
     
  10. Offline

    nicquehen

  11. Offline

    nicquehen

    Do you plan to release it today?
     
  12. Offline

    jonas_747

    hurr, config changes to the bukkit api, and MLG is not done so... might be tomorrow or the day after that XD sorry...
     
  13. Offline

    nicquehen

    No prob take your times :)
     
  14. Offline

    KraaZe

    Will this cause lag, or more ram usage? I will take interest in using it on mine, although im new to Spot, nor do I know much about it.
     
  15. Offline

    Bhikku

    Abandoned?
     
  16. Offline

    alanine

    Its still working great..
    That update would be phenominal however - any idea when that may be available?
    Thanks
     
  17. Offline

    Bhikku

    Wtf you talking about, abondoned means for me: no more intention to spend any free time to this crap
    Why should he do any kind of update?
     
  18. Offline

    jonas_747

    I have started on another big project and dont have time for this plugin :(
     
  19. Offline

    nicquehen


    Very bad news :'(
     
  20. Abandoned ??
    But what about 1.6 !!
    I feel like i made an useless donation ... Anyway someone could continue this plugin ?
    Please ... add sourcecode :'(
     
  21. Offline

    alanine

    +1

    Tabs would be really great.
     
  22. Please, release Source code ...
     
  23. Offline

    TheVnChecker

    Can you add PermissionsEX compatibility? I can't use the command "/smotd"
    I'm the Admin with "*" Permission in my Server =o
     
  24. Offline

    thehutch

    Damn you I thought of making this the second I saw spout :( well its abandoned now time to claim victory :p
     
  25. Offline

    Deleted user

    Spoiler bug.
    Try removing the
    Code:
    [spoiler]
    , saving your changes, then re-adding it back in.
     
  26. Offline

    dapezboy

    Please release source code? Would like to continue development.
     
  27. Offline

    Samg381

    How do you edit the MOTD, I know Im an idiot
     
  28. Offline

    austensible

    I would very much like to see someone pick this plugin up. It would be very nice to see.
     
  29. Offline

    austensible

    very sad to see this abandoned
     

Share This Page