ConfigurableMessages

Description

This plugin allows you to display score / information on the sidebar (ScoreBoard). Another of its features is the ability to set a custom join / quit / kick messages, full message server, white-list message. Contains Automessage a very simple chat filter.

Installation

  1. Download the jar file and put it in your plugin folder.
  2. Start and stop your server once
  3. ConfigurableMessages has generated a settings file in your plugin folder. Set by yourself.
  4. Run your server and enjoy!

What this plugin do?

  • Custom join/quit/kick messages
  • Scoreboard in Sidebar
  • Compatible with other plugins that have scoreboard
  • *Different sidebar settings for different group
  • Sidebar Motd
  • Chat Motd
  • ServerList Motd
  • PlayerList info
  • Simple TabList color and prefix
  • Sidebar countdown
  • Disable the scoreboard for custom worlds
  • Dynamic Scoreboard title
  • Supports color codes "&"
  • Very simple Chat filter
  • Starter kit
  • Message for Newbies
  • Auto Broadcast Message
  • Many variables
  • Factions support
  • PVP stats support
  • SimpleClans support
  • mcMMO support
  • Economy support
  • Heroes support
  • Stats support

Commands

  • /cm conf reload - reload configuration.
  • /cm conf new - create new configuration fiůe.
  • /side show - Show Sidebar
  • /side hide - Hide Sidebar
  • /cm am start/stop - Start/Stop Automessage

Configuration

Up to version 1.0.0

  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
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
#  ----------------------------------------------------
#  ConfigurableMessages - Configuration file
#  ----------------------------------------------------
#  Author: Sicka_gp 
#  ----------------------------------------------------
Plugin:
   Config_version: 1
   Plugin_version: 1.0.0
   AutoUpdate: true

Messages:
   #Set server full message
   FullServer: '&dServer is full!'
   #Set white list message
   WhitelistMessage: '&dYou are not whitelisted on this server.'
   #If you only want to turn off all messages
   DisableAllJoinQuitKickMSG: false
   #Allows manage the Join/Quit/Kick message with this plugin
   EnableJoinQuitKickMSG: true
   #If its true, plug-in use the default settings for everybody
   UseDefaultMessage: false
   #Enable TabList features
   EnableTabList: true
   #If its true, plug-in use the default Tab settings for everybody
   UseDefaultTabList: false
   #If set to true, plug-in use colour from player group
   UseDefaultTabListColor: false
   #Group settings
   Groups:
       #Default Messages
       Default: 
          JoinMessage: '{NAME} &ejoin the game!'
          QuitMessage: '{NAME} &equit the game!'
          KickMessage: '{NAME} &ehas been kicked out of the game for {REASON}'
          TabColor: '&f' 
          TabPrefix: ''
       #Group name   
       Admin:
          JoinMessage: '{DISPLAYNAME} &ejoin the game!'
          QuitMessage: '{DISPLAYNAME} &equit the game!'
          KickMessage: '{DISPLAYNAME} &ehas been kicked out of the game for {REASON}'
          TabColor: '&9'
          TabPrefix: '&4[A]'
       Player:
          JoinMessage: '{DISPLAYNAME} &ejoin the game!'
          QuitMessage: '{DISPLAYNAME} &equit the game!'
          KickMessage: '{DISPLAYNAME} &ehas been kicked out of the game for {REASON}'
          TabColor: '&a'
          TabPrefix: ''
MOTD:
   ChatMotd:
      #Enable chatmotd
      Enable: true
      #Dynamic messages
      Messages:
      - '&2---------------------------------------------------------------------------------------'
      - '&9Welcome to&6 server&c!'
      - '&9There are &c{ONLINE} &9out of maximum &c{MAX_ONLINE} &9players online.'
      - '&9Now online: {ONLINE_PLAYERS}'
      - '&2---------------------------------------------------------------------------------------'
   ServerListMotd:
      PlayerList:
         #Enable playerlist motd
         Enable: false
         #Dynamic messages
         Messages:
         - '&l&5ConfigurableMessages'
         - '&8http://dev.bukkit.org/server-mods/configurable-messages/'
         - '&8Author: Sicka_gp'
      DefaultMOTD:
         #Dynamic messages
         Messages:
         - '&6Welcome to {SERVER_NAME}!{NEW_LINE} &9{SERVER_IP} !'
      PersonalMOTD:
         #Enable personal motd
         Enable: true
         #Enable faces
         #This may cause a lag of server
         Faces: false
         #This message will be used if the Player did not play on the server or could not be found in the database.
         Unknown: '&6Welcome Guest!{NEW_LINE} &9{SERVER_IP} !'
         #Dynamic messages
         Messages:
         - '&6Welcome {NAME} {NEW_LINE} &9{SERVER_IP}'
   ScoreBoardMotd:
      #Enable ScoreBoard Motd
      Enable: true
      #Update interval
      Interval: 3
      #Sidebar title
      #The Title must have under 32 characters
      Messages: 
      - '&9Welcome to&6 {3}&9!'
      - '&9Now is online&6: {1} &aplayers'
      - '&9Time is&6: {5}'
      - '&9Enjoy the game&6!'
      SidebarItems:
      #The Title must have under 16 characters
      #-'<ScoreName>;<ScoreValue>' 
      - '&aOnline;%online_players'
      - '&aBalance;%bal'
      - '&aPing;%ping'
             
Newbies:
   #Enable first join message
   FirstMessageEnable: true
   #First join message
   FirstMessage: '&5Welcome to {SERVER_NAME}!'
   #Enable kits for newbies
   Kits: false
   #Kits set-up
   Items:
   # -'<itemId>:<itemData>-<amount>' 
   - '17:0-16'
   - '17:1-16'
   - '17:2-16'
   - '17:3-16'
   
Automessage:
   #Broadcast interval
   Interval: 60
   #Enable Automessage
   Enable: true
   #Prefix for Automessage   
   Prefix: '&f[&6ConfigurableMessage&f] '
   
Sidebar: 
   #Enable Sidebar
   Enable: true
   #Update interval
   Update: 1
   #Update time = Update * DynamicTitleUpdateInterval
   DynamicTitleUpdateInterval: 10
   #If its true, plug-in use the default settings for everybody.
   UseDefault: false
   #You can set the scoreboards for each group
   Sidebars:
      #Default settings is apply if a group of player isn't set
      Default:
         #Sidebar title
         #The Title must have under 32 characters
         DynamicTitle:
         - '&6Default'
         - '&l{8}'
         - '&l&5{6}'
         #Disables the sidebar for the world from the list
         DisabledWorlds:
         - 'exampleworld'
         Items:
         #The Title must have under 16 characters
         #-'<ScoreName>;<ScoreValue>' 
         - '&aOnline;%online_players'
         - '&aBalance;%bal'
         - '&aPing;%ping'
      Admin:
         DynamicTitle:
         - '&6Admin'
         - '&l{8}'
         - '&l&5{6}'
         DisabledWorlds:
         - 'exampleworld'
         Items:
         - '&aOnline;%online_players'
         - '&aBalance;%bal'
         - '&aPing;%ping'
      Player:
         DynamicTitle:
         - '&6layer'
         - '&l{8}'
         - '&l&5{6}'
         DisabledWorlds:
         - 'exampleworld'
         Items:
         - '&aOnline;%online_players'
         - '&aBalance;%bal'
         - '&aPing;%ping'
Countdown:
   #Enables sound during the countdown.
   EnableSounds: true
   
   #Sidebar title
   #The Title must have under 32 characters
   CancelTitle: 'The countdown was cancelled.'
   #Chat message
   CancelBroadcastMSG: '&f[&6ConfigurableMessage&f] The countdown was cancelled.'
   
   #Sidebar title
   #The Title must have under 32 characters
   ShutdownTitle: 'Shutdown in {CD} minutes.'
   #Chat message
   ShutdownBroadcastMSG: '&f[&6ConfigurableMessage&f] The Server will be shut down in {CD} minutes.'
   #Chat message
   ShutdownEndBroadcastMSG: '&f[&6ConfigurableMessage&f] The Server is shut down!'
   
   #Sidebar title
   #The Title must have under 32 characters
   ReloadTitle: 'Reload in {CD} minutes.'
   #Chat message
   ReloadBroadcastMSG: '&f[&6ConfigurableMessage&f] The Server will be reload in {CD} minutes.'
   #Chat message
   ReloadingBroadcastMSG: '&f[&6ConfigurableMessage&f] Reloading....'
   
   #Sidebar title
   #The Title must have under 32 characters
   CountdownTitle: 'Timer: {CD} minutes.'
   #Chat message
   CountdownBroadcastMSG: '&f[&6ConfigurableMessage&f] The countdown ends for {CD} minutes.'
   #Sidebar title
   #The Title must have under 32 characters
   CountdownEndTitle: 'Countdown complete {CD}'
   #Chat message
   CountdownEndBroadcastMSG: '&f[&6ConfigurableMessage&f] Countdown complete!'

Badwords Configuration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#  ----------------------------------------------------
#  ConfigurableMessages - Badwords configuration file
#  ----------------------------------------------------
#  Author: Sicka_gp 
#  ----------------------------------------------------
Config_version: 1
Enable: true  

#Replace badwords to ***
badwords:
#only Example
- 'fuck'

#Blocking Spam with advertising on other servers
IP:
#only Example
- ':25565'

Variables for Scoreboard

variable

Variables for Join/Quit/Kick message

VariableDescription
{NAME}Get Player name
{DISPLAYNAME}Get Color Player name
{WORLD}Get a world where is a Player!
{BIOME}Get a biome where is a Player!
{ONLINE}Get the number of players on the server
{MAX_ONLINE}Get the maximum number of players on the server
{SERVER_NAME}Get server name
{COUNTRY}Get country from which player comes
{REASON}Get kick reason [Only for kick message]
{LAST_SEEN}When was the last player Seen
{NEW_LINE}Set new line

Variables for AutoMessage and Motd

VariableDescription
{NAME}Get Player name
{DISPLAYNAME}Get Color Player name
{WORLD}Get a world where is a Player!
{BIOME}Get a biome where is a Player!
{ONLINE}Get the number of players on the server
{ONLINE_PLAYERS}Get list of Players
{MAX_ONLINE}Get the maximum number of players on the server
{SERVER_NAME}Get server name
{COUNTRY}Get country from which player comes
{GAME_TIME}Get time in game
{TIME}Get real time
SERVER_IPGet server ip and port
{NEW_LINE}Set new line

Variables for Sidebar title and Sidebar MOTD title

VariableDescription
{1}Get the number of players on the server
{2}Get the maximum number of players on the server
{3}Get server name
{4}None
{5}Get real time
{6}Get a world where is a Player
{7}Get a biome where is a Player
{8}Get Color Player name
{9}Get Player name
{10}Get time in game

Variables for CountDown title

{CD}Timer

Variables for CountDown broadcast messages

{CD}Timer
{NAME}Get Player name
{DISPLAYNAME}Get Color Player name
{WORLD}Get a world where is a Player!
{BIOME}Get a biome where is a Player!
{ONLINE}Get the number of players on the server
{ONLINE_PLAYERS}Get list of Players
{MAX_ONLINE}Get the maximum number of players on the server
{SERVER_NAME}Get server name
{COUNTRY}Get country from which player comes
{GAME_TIME}Get time in game
{TIME}Get real time
{NEW_LINE}Set new line

Variables for PersonalMOTD

{NAME}Get Player name from IP
SERVER_IPGet server ip and port
{SERVER_NAME}Get server name
{NEW_LINE}Set new line

Requirements

Optional Requirements

Permissions

  • cm.admin - Gives access to all permissions
  • cm.member - Gives access to all member permissions
  • cm.sidebar - Allow command /side show and /side hide
  • cm.reload - Allow command /cm conf reload and /cm conf new
  • cm.automessage.show - Allows you to see automessage
  • cm.automessage.command - Allow command /cm am start/stop
  • cm.countdown - Allow command /countdown

Ideas or questions?

  • Please write to the comments

To do

  • Next Sidebar function
  • Fireworks when a player joins the game.
  • PvpLevels support
  • Death-messages
  • Holographic MOTD - required HolographicDisplays - included in 1.0.2
  • Language configuration file - included in 1.0.2

Auto-updater

This plugin contains an auto updater which is enabled by default. If you do not wish to automatically download new updates, edit ConfigurableMessages/config.yml and set AutoUpdate to false.

Metrics

This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:

  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version

Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.

statistics


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    57930
  • Created
    May 24, 2013
  • Last Released File
    Never
  • Total Downloads
    11,416
  • License

Categories

Members

Recent Files