ZavAutoMessager

Documentation

Installation

  1. Visit our downloads page and download the latest version of ZavAutoMessager! Here is the downloads list.
  2. You should have downloaded a file called "ZavAutoMessager.jar", take that file and place it in the plugins folder of your server.
  3. Restart or Reload your server.
  4. Done!

Configuration

  1. Once the plugin has been successfully installed, a folder should automatically be generated in your plugins folder called "ZavAutoMessager".
  2. Enter that folder and inside you should find a file called "config.yml". Open this file with a text editor to start configuring ZavAutoMessager.
  3. Once you have opened the file, this should be the default config that you see:
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    # Default config for ZavAutoMessager.
    # Visit http://dev.bukkit.org/server-mods/zavautomessager/ for more help
    # Plugin created by the ZavCoding Team
    # Authors: javoris767 and zachoooo.
    # Make sure all your messages are inside of single quotes. (This makes sure that color and special characters work properly)
    # If you want to make your own line breaks MAKE SURE WORDWRAP IS FALSE!!! Custom line breaks are only supported when wordwrap is off.
    # Update checking requires an internet connection.
    # Set update checking to false if you have no internet connection or you have a very strict firewall.
    
    enabled: true
    
    wordwrap: true
    
    delay: 60 # In Seconds
    
    permissionsenabled: false # If true, only people with permission can view the message.
    
    chatformat: '[&6AutoMessager&f]: %msg'
    
    messageinrandomorder: false # Should the messages be displayed in a random order
    
    updatechecking: true
    
    messagesinconsole: true
    
    requireplayersonline: true
    
    dontrepeatrandommessages: true
    
    messages:
        default:
        - '&6Example Message'
        - 'Thanks for choosing this plugin :D!'
        - 'Test Message'
        - '&4Made by zachooo and javoris767!'
        someother.permission:
        - 'Only people with the someother.permission node can see this'
        another.node:
        - 'Only people with the another.node node can see this'
    
  4. Here is an explanation for the config:
NameWhat It DoesDefault Value
enabledThis sets whether or not this plugin should be sending messagestrue
wordwrapThis sets whether or not to use word wrappingfalse
delayAmount of seconds in between each message60
permissionsenabledSet whether or not this plugin will only send the message to people with permissionfalse
chatformatSet how your message will appear in game. "%msg" will automatically be replaced with the message'[&6ZavAutoMessager&f]: %msg'
messageinrandomorderSets weather or not the messages will appear in a random order or in a regular orderfalse
messagesSet the messages that will be displayed in the chatList of chat messages
updatecheckingSet if you want the plugin to check the internet for updatestrue
messagesinconsoleSet if you want messages to appear in consoletrue
requireplayersonlineSet if you want messages to send only if a player is onlinetrue
dontrepeatrandommessagesSet to true if you don't want random messages to be repeatedtrue
  • Using the term default will make it visible to everyone. All other nodes you will need to give to people for them to see it

Key Codes

Key codesColorExample
&0BlackExample text
&1Dark BlueExample text
&2Dark GreenExample text
&3Dark AquaExample text
&4Dark RedExample text
&5PurpleExample text
&6GoldExample text
&7GrayExample text
&8Dark GrayExample text
&9IndigoExample text
&aBright GreenExample text
&bAquaExample text
&cRedExample text
&dPinkExample text
&eYellowExample text
&fWhiteExample text
%nNew LineExample
text
&kRandomà¿çÈö
&lBoldExample text
&mStrikeExample text
&nUnderlineExample text
&oItalicsExample text
&rResetExample text

Commands/Permissions

ZavAutoMessager is compatible with and SuperPerms Compatible Permissions manager.

NodeAction
zavautomessager.reloadSets whether or not a player can reload ZavAutoMessager (/automessager reload)
zavautomessager.viewSet whether or not you're allowed to see the commands menu (/automessager or /automessager help)
zavautomessager.toggleSets whether or not you can toggle ZavAutoMessager on and off(/automessager <on/off>)
zavautomessager.addSets whether or not you can add messages via commands (/automessager add <message>)
zavautomessager.ignoreSets whether or not a player can toggle ignoring messages (/automessager ignore)
zavautomessager.broadcastSets whether or not a player can broadcast a message (/automessager broadcast <message>)
zavautomessager.listSets whether or not a player can view list of messages (/automessager list <page number>)
zavautomessager.setSets whether or not a player can modify the configuration (/automessager set <configuration section/list> <value>

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Clbrend Clbrend May 01, 2013 at 17:57 UTC - 0 likes

    So i'm getting this error in the console:

    01.05 19:51:27 [Server] INFO at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 01.05 19:51:27 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) 01.05 19:51:27 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) 01.05 19:51:27 [Server] INFO at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) 01.05 19:51:27 [Server] INFO at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:512) 01.05 19:51:27 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) 01.05 19:51:27 [Server] INFO at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53) 01.05 19:51:27 [Server] INFO at com.zavteam.plugins.RunnableMessager.run(RunnableMessager.java:28) 01.05 19:51:27 [Server] INFO at com.zavteam.plugins.RunnableMessager.getRandomMessage(RunnableMessager.java:57) 01.05 19:51:27 [Server] INFO at java.util.Random.nextInt(Random.java:300) 01.05 19:51:27 [Server] INFO java.lang.IllegalArgumentException: n must be positive 01.05 19:51:27 [Server] WARNING Task #43498 for ZavAutoMessager v2.5 generated an exception

    My config is error free and i added the permission nodes to the groups.

    Here is the config:

    enabled: true
    wordwrap: true
    delay: 300
    permissionsenabled: true
    chatformat: '&e##&r %msg &e##'
    messageinrandomorder: true
    updatechecking: true
    messagesinconsole: true
    requireplayersonline: true
    dontrepeatrandommessages: true
    messages:
      Message.Quest:
      - 'Hey Welcome to the server! Do &4/rules&r to read the rules and &4/register&r apply for build rights.'
      - 'Cant build? Type &4/register&r to get build rights. (Can take up to 24 hours to be accepted)'
      - '&4Welcome&r to the server! Be sure to read the signs at spawn!'
      - 'You could always help us out and donate! Do &4/buy&r.'
      - 'Visit our site&4 http://survivalblox.webs.com/ &rfor server updates and a forum.'
      - 'Skip the /register thing, And just donate!&4&n http://goo.gl/jdRJK'
      Message.Player:
      - 'Vote for us now!&4 http://survivalblox.webs.com/vote &rAnd get 5 Xp Levels!'
      - 'Help support the server! do /buy and donate! or go to ->&4 http://goo.gl/jdRJK.'
      - 'Got griefed?! Do &c/report <Message Here>&r. And we will handle it!'
      - 'Visit our site&4 http://survivalblox.webs.com/ &rfor server updates and a forum.'
      - 'Play 48 hours on this server and get a Special rank!'
      Message.Donators:
      - 'Sick of these messages?! do &4/automessager ignore&r to ignore them!'
      - 'Want to see all the commands available to you? do &4/warp CommandRoom'
    

    Am i forgetting something or doing something wrong?

    Thanks, Clbrend.

    Last edited May 01, 2013 by Clbrend

    Join maybe?...

  • Avatar of zachoooo zachoooo Apr 28, 2013 at 08:25 UTC - 0 likes

    @Ties_v_Asseldonk: Go

    You get to set your own permissions nodes :) Just like how it shows you how those messages are in the default group, just make a guest group. If you're still having trouble, try the config generator linked to on the front page

    BFAK:zachoooo,1858,6c13d4e57323923141e6a31b8b670a34531cf553ae4232f13afc3cedfbb9834d

  • Avatar of Ties_v_Asseldonk Ties_v_Asseldonk Mar 21, 2013 at 09:58 UTC - 0 likes

    I'm havving some issues with the permissions.

    I have a few messagees set up, but I want that only the people in the Guest rank will se them. In the config I have set the permissions to true:

    permissionsenabled: true # If true, only people with permission can view But now I need to know what the permission node for this message is.

    I'm sure it's in big bold letters in the front page of this plugin and that i'm just not looking good enough, but could anyone help?

  • Avatar of Diabloste Diabloste Sep 12, 2012 at 21:11 UTC - 0 likes

    - '&9Visit my YouTube! youtube.com/BIGCountrysTV You may be in a video!'

    - '&9Have fun here, and we won[']t have to be mean to you.'

    - '&9Any issues should be directed to Admins and Staff.'

    - '&9Follow the Owners on Twitter! @BIGCountry77x & Pacer1979.'

    - '&9VIP[']s and MODS can help you with your questions.'

    There's your issues, you can't put apostrophe in the middle of your messages.

  • Avatar of floydrose floydrose Sep 12, 2012 at 03:55 UTC - 0 likes

    I am getting the same issue. I have configured and saved everything and restarted the server. But it still plays the preset messages. Any solution?

  • Avatar of The_Minecraft_Noob The_Minecraft_Noob Aug 28, 2012 at 02:37 UTC - 0 likes

    I have edited everything and your presets stilll come up, help plz. I have tried wordwrap both true and false.

    My config below:

    enabled: true

    wordwrap: false

    delay: 180 # In Seconds

    permissionsenabled: false # If true, only people with permission can view the message.

    chatformat: '[&9AutoMessager&9]: %msg'

    messageinrandomorder: false # Should the messages be displayed in a random order

    updatechecking: true

    messagesinconsole: true

    requireplayersonline: true

    messages: - '&9ATTN: CountryCrafts IP has changed to countrycraft.a2g.gs Make Updates! Effective Sept 4.'

    - '&9Visit my YouTube! youtube.com/BIGCountrysTV You may be in a video!'

    - '&9Have fun here, and we won't have to be mean to you.'

    - '&9Any issues should be directed to Admins and Staff.'

    - '&9Follow the Owners on Twitter! @BIGCountry77x & Pacer1979.'

    - '&9VIP's and MODS can help you with your questions.'

  • Avatar of zachoooo zachoooo Aug 23, 2012 at 03:08 UTC - 0 likes

    @Devidra: Go

    Did you set word wrap to false?

  • Avatar of javoris767 javoris767 Aug 15, 2012 at 05:56 UTC - 0 likes

    @Devidra: Go

    %n works just fine on my server o-O

    Check out my plugins!
    AntiXPFarm - Disables XP from mobs that are spawned my mob spawners.
    MobSupaRemoval - Disable mobs you don't want to spawn!
    VoteSQL - Logs votes to flatfile or a sql database
    www.pr3datorcraft.com | Server IP: mc.pr3datorcraft.com

  • Avatar of Devidra Devidra Aug 15, 2012 at 01:33 UTC - 0 likes

    It is not Possible to set a new Line with %n or &n /n \n ...

    Can you make a Fix or tell me the right Code?

  • Avatar of grgarside grgarside Apr 17, 2012 at 19:19 UTC - 0 likes

    @morshu9001: Go

    They spelt it that way on purpose. Read the Overview page comments.

Facts

Date created
Mar 02, 2012
Last updated
Apr 28, 2013