Installation
- Visit our downloads page and download the latest version of ZavAutoMessager! Here is the downloads list.
- You should have downloaded a file called "ZavAutoMessager.jar", take that file and place it in the plugins folder of your server.
- Restart or Reload your server.
- Done!
Configuration
- Once the plugin has been successfully installed, a folder should automatically be generated in your plugins folder called "ZavAutoMessager".
- Enter that folder and inside you should find a file called "config.yml". Open this file with a text editor to start configuring ZavAutoMessager.
- 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'
|
- Here is an explanation for the config:
Name | What It Does | Default Value |
enabled | This sets whether or not this plugin should be sending messages | true |
wordwrap | This sets whether or not to use word wrapping | false |
delay | Amount of seconds in between each message | 60 |
permissionsenabled | Set whether or not this plugin will only send the message to people with permission | false |
chatformat | Set how your message will appear in game. "%msg" will automatically be replaced with the message | '[&6ZavAutoMessager&f]: %msg' |
messageinrandomorder | Sets weather or not the messages will appear in a random order or in a regular order | false |
messages | Set the messages that will be displayed in the chat | List of chat messages |
updatechecking | Set if you want the plugin to check the internet for updates | true |
messagesinconsole | Set if you want messages to appear in console | true |
requireplayersonline | Set if you want messages to send only if a player is online | true |
dontrepeatrandommessages | Set to true if you don't want random messages to be repeated | true |
- 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 codes | Color | Example |
&0 | Black | Example text |
&1 | Dark Blue | Example text |
&2 | Dark Green | Example text |
&3 | Dark Aqua | Example text |
&4 | Dark Red | Example text |
&5 | Purple | Example text |
&6 | Gold | Example text |
&7 | Gray | Example text |
&8 | Dark Gray | Example text |
&9 | Indigo | Example text |
&a | Bright Green | Example text |
&b | Aqua | Example text |
&c | Red | Example text |
&d | Pink | Example text |
&e | Yellow | Example text |
&f | White | Example text |
%n | New Line | Example text |
&k | Random | à¿çÈö |
&l | Bold | Example text |
&m | Strike | Example text |
&n | Underline | Example text |
&o | Italics | Example text |
&r | Reset | Example text |
Commands/Permissions
ZavAutoMessager is compatible with and SuperPerms Compatible Permissions manager.
Node | Action |
zavautomessager.reload | Sets whether or not a player can reload ZavAutoMessager (/automessager reload) |
zavautomessager.view | Set whether or not you're allowed to see the commands menu (/automessager or /automessager help) |
zavautomessager.toggle | Sets whether or not you can toggle ZavAutoMessager on and off(/automessager <on/off>) |
zavautomessager.ignore | Sets whether or not a player can toggle ignoring messages (/automessager ignore) |
zavautomessager.ignoregroup | If you give this permission node to a group, they will not receive automatic messages |
zavautomessager.broadcast | Sets whether or not a player can broadcast a message (/automessager broadcast <message>) |
zavautomessager.list | Sets whether or not a player can view list of messages (/automessager list <page number>) |
Great plugin! But you spelled "messenger" wrong.
Can you add a new line option?
Like this:
Config:
messages:
- 'Click this link for more info.&n--- www.minecraft.net ---'
ServerChat:
Click this link for more info.
--- www.minecraft.net ---
Thank you :)
@Switch0r
Using \n in the place of your &n works for me, but that might be because I have a plugin.
@morshu9001
They spelt it that way on purpose. Read the Overview page comments.
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?
@Devidra
%n works just fine on my server o-O
@Devidra
Did you set word wrap to false?
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.'
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?
- '&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.
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?
@Ties_v_Asseldonk
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
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:
Am i forgetting something or doing something wrong?
Thanks, Clbrend.
@Clbrend
It's my fault. It appears you need at least one default message for the plugin to work properly. I'll look into this
How to do broadcast to individual worlds?
i have a problem with the new line thing it works but you can see %n in chat
I get no errors in console, but when I /am reload, it resets to the default config. Here is my config:
@amazed2025
Noticed this doesn't work with 1.6.4 :P
I am getting the same issue that someone else had, but I see no answer to it. Whenever I try to delete a single message from the message list, all of them are deleted. Then when I try to add a new message, all of the defaults come back. However, adding a new message to an already partial list does not reset the list to default. The commands I am entering are /am remove 1; and then /am add &6Please email our &3admins &6if you find any issues on the server!
I get this error when I use your plugin: http://pastebin.com/a8FFuAhT
The config file is generated, but it only contains this: