Inactive [ADMN] SimpleTips v1.2 - Display Periodic Messages via Chat [1938/1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by keithlawless, May 14, 2011.

  1. Offline


    SimpleTips - Display Periodic Message (Tips) via Chat:
    Version: v1.2

    This is a simple plug-in that allows a server administrator to display periodic/recurring messages via chat. These messages can be hints, announcements or server rules.

    • Post messages to the server via chat
    • Rotate messages (as many or few as needed)
    • Set the delay between messages
    • Now supports color text!
    • Manage the list of tips using in-game commands
    • Permissions support
    • Optionally send a different set of messages to different groups of users.
    Download SimpleTips v1.2
    Source Code

    • Unzip into your plugins directory.
    • Edit file SimpleTips/config.yml to set the message list and delay between messages. That's it!
    Commands and Permissions:
    • /tip
      • Display a random tip.
    • /tip list
      • List all tips.
      • Permission: tip.list
    • /tip add [text]
      • Add a tip.
      • Permission: tip.add
    • /tip del [num]
      • Delete a tip. The number can found using the list command.
      • Permission: tip.del
    • /tip replace [num] [text]
      • Replace a tip with new text.
      • Permission: tip.replace

    Version 1.2
    • Rebuild and test against Recommended Build 1938/1.1-R4

    Version 1.1
    • Rebuild and test against Recommended Build 1818.
    • Bug fixes.
    Version 1.0
    • Rebuild and test against Recommended Build 1597.
    • Switched permissions to use "built it" Bukkit permissions API.
    • Added optional support for message groups. Use permission[groupname] to allow a Permissions group to see a message group.
    Version 0.6
    • Rebuild and test against Recommended Build 1000.
    Version 0.5
    • Rebuild and test against Recommended Build 935.
    Version 0.4
    • Restored ability to use without Permissions. Op's have access to all commands. Players can only use the /tip command.
    • Tested using Permissions 3.x. Still compiled against Permissions 2.x. Seems to work fine with both.
    • Tested against Recommended Build 818.
    Version 0.3
    • Added in-game commands
    • Adding configuration parameter to allow messages to be displayed in random order
    Version 0.2
    • Changed name to avoid confusion with a similar plug-in (my bad)
    • Color text support for messages
    Version 0.1

    • Initial release. Currently used on two public servers.

    • Support color text.
    • Maintain message list from within game (/tips command).
    • Randomize the display of messages (good for a large list of tips)
    • Maintain separate lists of messages for different permissions groups.
    SuperNyanNyan and Habbo4Life like this.
  2. Offline


    um it says on my serv that
    - '%5[Tip] #fMembers will be able to %4/tpa %Fto people.
    line 12 on colum 3 is a problem and line12 colum 56 is a problem.
    Cen you help me what it is
  3. Offline

    Jonny Dennis

    Any chance you could add an in game command to change the time between tips. Thanks :)
  4. Offline

    Ross Gosling


    How would i configure the plugin so that the 'Tip' or 'Rule' part is coloured without millions of console errors?

        - Rule:%C Flying and Hacking will result in a permanant ban
        - Tip:%B To buy a residence type /res market buy <id>
        - Tip:%B To join a Spleef game type /Spleef Join Game
        - Info:%2 Please don't ask for help if it's in the help castle
        - Tip:%B FishFoodLake is a great place to go fishing
        - Rule:%C Flying and Hacking will result in a permanant ban
        - Tip:%B To sell a residence type /res market sell <id> <price>
        - Tip:%B The Miningworld is the best and only place to go mining
        - Info:%2 Jukeboxes and tnt has been disabled so you can't actually craft them
        - Tip:%B Be sure to check out the market as stocks change and theres always a special offer
        - Tip:%B Be sure to check out the local shops to search for good deals
        - Rule:%C Flying and Hacking will result in a permanant ban
        - Tip:%B To join a job type /Jobs Join <job>
        - Tip:%B To browse the available jobs type /Jobs Browse
        - Tip:%B Remember, jobs can earn you alot of money in the higher levels so try to stick with one and level up lots
        - Tip:%B x3DGosling and Lewis123456 are the two owners so if you need help their the people to ask
        - Info:%2 In the future a dedicated server will most likely be purchased
        - Rule:%C Flying and Hacking will result in a permanant ban
        - Tip:%B The LumberMill is a great place to cut trees
        - Tip:%B To check your balance type /money
        - Tip:%B To buy/sell from a shop just right and left click the signs
  5. Console errors? I have none o.o
    Mabye try to use "[Text]" instead just [Text]

    Nice plugin, thx! :)
  6. Offline


    Hey there! I've tested your plugin in Bukkit for 1.8 (all builds up to 1122) and it doesn't work: the text is output to the console instead of the player's screens. Probably an API change since I have at least one other plugin that does the same. Just letting you know to save you time if you plan to update it. ;)
  7. Offline


    LEOcab is smoking crack cocaine or his chat plugin is screwed up. Your plugin works fine @CB1167. I rather like this plugin, and would love to see some updates.
  8. Offline


    Hey please update the plugin so that the console isnt spammed by all the tipps coming around.
  9. Offline


    Seems to only work sometimes. Only works when I restart instead of reload if the server has been up for a while.
    Does it loop through the tips if they are finished?

    Seems to only be logging the tips in console until I restart it. Then it works for a bit, then after about 10 minutes it gives out again.
  10. Offline


    Is working with Bukkit 1214 well :)
  11. Offline


    It seems that only my default group can see the tips. Anything above default cannot see them.
  12. Offline


    I decided to not reply to this when I first read it and instead try to fix it by moving around plugins (which I still haven't done; blargh) but now I read it again, and... How do you smoke crack cocaine? :D
  13. Offline



    is there any command to change the message delays? If i edit the yml manually, it doesn't work anymore, so i have to type everything ingame ... Oo
  14. Offline


    Hey just wanted to say your plugin works great on R1-1.0.0 :D Thanks so much for this, helps us alot.
    Oh and maybe in the future a autoenter is possible to notice when a word doesnt fit on the first line to
    put it on the next line instead of splitting them in the middle ;) or so.
  15. Offline


    Version 1.0 of SimpleTips is now available. Thanks to all for the kinds words and patience.

    This version supports message groups, for those admins that want to show a separate list of messages to different player groups. Message groups are defined in the config.yml for the plug-in. To show a set of messages to a player group, assign that group the permission[groupname] using your Permissions plug-in of choice.

    For those admins that are not interested in this, you may continue to use your existing config.yml file - the plugin will continue to recognize the version 0.x config file format.

    Next steps for the plugin are to move over to DevBukkit, then I'll start looking at the many suggestions in this thread to decide what to tackle next.

  16. Offline


    Still honourably using your plugin, thanks again for this thing. Great work.
  17. Offline

    The Wizard

    Make /tip to display the tips in order. The random thing is not that great. I get the same tip 2-3 times.
    Also add a cmd to add group messages in game.
    And it would be nice to add multiple lines in a message.
  18. Offline


    SEVERE NULL ERROR when using any of the commands. Running on CB 1776, PEX 1.17

    2012-01-20 16:22:10 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'tip' in plugin SimpleTips v1.0
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.NetServerHandler.handleCommand(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.handle(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(
    Caused by: java.lang.NullPointerException
    at com.keithlawless.plugins.SimpleTips.SimpleTips.onCommand(
    at org.bukkit.command.PluginCommand.execute(
    ... 12 more
  19. Offline


    KJanar I'll set up a test server with PEX and see if I can replicate the issue.

    Version 1.1 is now up. Rebuilt against latest Recommended Build and fixed some bugs (including NPE reported above).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jul 16, 2016
  20. Offline


    Nice update! However, It says the file is from 27 - 7 - 2011?

    is that right? Or did you redirect the wrong link? Just cchecking
  21. Offline


    Do the colour codes the same colours as they with & ?
  22. Offline


    Could you add a feature such as, support for per player disabling tips? EX: /tip disable Will disable tips for that person who disabled it only.
  23. Offline


    This is really the best Auto Announcer Plugin
  24. Offline


    Can you add in-game commands to randomize the sequence of the tips? Also maybe a command to reload the plugin and set interval? Does it have in-game color support. Like &aThis is &fTip 1. Maybe add PEX specific group based commands? To turn off tips for certain groups.
    Ou and the ultimate feature - Message specific tags.

    For news the tag is [News], for warnings its warning and announcements.

    Also add command to display a certain tip to everyone like /tip broadcast <id> or /tip announce <id> to announce specific tip NOW

  25. Offline


    Hi, i have got a problem, my tips don't want to work anymore. I have already tried the following stuff with the config.yml:

    - Replacing ä, ö, ü with ae, oe and ue
    - Converted to UTF-8 without BOM
    - Set "Replace TABs through spaces" in the settings of Notepad++

    This is what the server console reads:

  26. Offline


    This is a nice plugin...will "Maintain separate lists of messages for different permissions groups." ever be added?
  27. Offline


    Version 1.2 is now available. Only change is to rebuild against the new Recommended Build.

    Also, as an experiment I set up a Trello board for this plug-in. I'll use this to track requested changes, and allow plugin users to vote up their most wanted changes. Just an experiment but try it out:

    Now, on to answering your last few question! :)

    I find that I have to clear my browser cache to get the newest version to download from github - try that.

    Color codes can always be found in the config file bundled in the zip file. However, I know many people never touch the config file anymore, so here's a quick reference.

    # msgList contains the messages to be displayed to all players.
    # Text color is supported using the following color codes:
    # %0 Black                    %8 Dark Gray
    # %1 Dark Blue                %9 Blue
    # %2 Dark Green              %A Green
    # %3 Dark Aqua                %B Aqua
    # %4 Dark Red                %C Red
    # %5 Dark Purple              %D Light Purple
    # %6 Gold                    %E Yellow
    # %7 Gray                    %F White
    Added to request list. I need to do some player tracking to get permission group messaging working right, should be easy to add this feature along with that.

    A very primitive version has been in since version 1.0. Look at the config file bundled in the zip file for how to use it. I've gotten a few suggestions on how to fix it and have a few ideas of my own. Hope to get around to this soon.

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


    Can you put like some kind of easy auto broadcasting the [Tip]: [message] like in every 10 mins
  29. Offline


    This is what it does?
  30. Offline


  31. Offline


    Are there any plans for this to be updated to 1.1-R6?

Share This Page