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.add | Sets whether or not you can add messages via commands (/automessager add <message>) |
| zavautomessager.ignore | Sets whether or not a player can toggle ignoring messages (/automessager ignore) |
| 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>) |
| zavautomessager.set | Sets whether or not a player can modify the configuration (/automessager set <configuration section/list> <value> |
- Reply
- #16
Clbrend May 01, 2013 at 17:57 UTC - 0 likesSo 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.
- Reply
- #15
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
- Reply
- #14
Ties_v_Asseldonk Mar 21, 2013 at 09:58 UTC - 0 likesI'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?
- Reply
- #12
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.
- Reply
- #11
floydrose Sep 12, 2012 at 03:55 UTC - 0 likesI am getting the same issue. I have configured and saved everything and restarted the server. But it still plays the preset messages. Any solution?
- Reply
- #10
The_Minecraft_Noob Aug 28, 2012 at 02:37 UTC - 0 likesI 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.'
- Reply
- #7
zachoooo Aug 23, 2012 at 03:08 UTC - 0 likes@Devidra: Go
Did you set word wrap to false?
- Reply
- #6
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
- Reply
- #5
Devidra Aug 15, 2012 at 01:33 UTC - 0 likesIt 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?
- Reply
- #4
grgarside Apr 17, 2012 at 19:19 UTC - 0 likes@morshu9001: Go
They spelt it that way on purpose. Read the Overview page comments.