ServerChat icon

ServerChat -----

Server chat is a plugin that allow you to send msg in all bukkit servers



ServerChat

Support Chinese and English !​

Features
  • Bungee group service chat
  • Word limit, block dirty words
  • Actionbar supported since 1.8
  • Bossbar support since 1.9
  • Support item sending
  • Support serverchat in console
  • Support PlaceholderAPI
  • Support serverchat without prefix
  • Support @at function
Known bugs:
>None<


Installation
  • Download and put it to all bukkit/spigot server
  • Start them , edit configs
  • Reload plugin
  • You are done
[​IMG]Config[​IMG]:
(the content is long, but it is recommended to read it carefully)
1.8.1:​
Code (Text):

#语言文件
Lang: zh_cn
#该服务器的名字,用于替换%server%
ThisServerName: "&e&l大厅"
#允许使用前缀发送跨服聊天
ChatPrefixEnable: true
#前缀
ChatPrefix: "!"
#是否能发送免费的跨服消息(不消耗喇叭,也不花钱)
FreeChat: false
#免费发送跨服消息的冷却时间(/秒)
ChatCoolTime: 30
#发送跨服消息的时候自动消耗背包里的喇叭(若FreeChat为true则无效)
AutoUse: true
Cost:
  Enable: true
  Money: 50
  PlayerPoint: 10
 
HornSet:
  BuyMenu: true
  #喇叭的有效时间(/秒)
  ResponTime: 30
  #喇叭冷却时间(/秒)
  HornCoolTime: 10
 
##跨服说话长度限制
LenthLimit:
  #最短
  Min: 0
  #最长
  Max: 40
 
###########################################
##############BOSS血条消息配置##############
###########################################
#使用BOSS血条消息,1.9以下请关闭这个!否则会报错
BossBar: false
#Boss血条的颜色
BossBarColor: GREEN
#Boss血条的风格
BossBarStyle: SOLID
BossBarFlags: []
#BossBar持续时间(/秒)
BossBarContinued: 6
BossBarMessage: "%server% &a&l%player% &7shout: &r%message%"
###############################################
#################ActionBar配置#################
################物品栏上方的消息###############
###############################################
#使用ActionBar消息
ActionBar: true
ActionBarMessage: "&a&l%player% : %message%"
#####################################
###########聊天栏配置################
#####################################
#使用聊天栏消息
Chat: true
ChatMessage: "&e&l*大喇叭* &a&l%player% : &r%message%"
HoverEnable: true
HoverMessages:
  - "--------------------"
  - "发送者:&a%player%"
  - "服务器:&a%server%"
  - " >>&d点击发起私聊<<"
  - "--------------------"
 
#开启@功能
ATEnable: true
ATSound: ENTITY_EXPERIENCE_ORB_PICKUP
#允许跨服私聊
SpyChatEnable: true
##脏话屏蔽
ShieldMessages:
  - "操我妈"
  - "**"
  - "干我妈"
  - "有病"
  - "我妈"
  - "他妈"
  - "**"
  - "操"
  - "**"
  - "shit"
##脏话替换的字符
ShieldReplaces: "♥"
 
#别碰他!
ConfigVersion: 1
#自动检查更新
AutoUpdateCheck: true
 

Lang:
Code (Text):

command_heading=§2---ServerChat---
command_description_plugin=Send serverchat between bukkit server
command_description_help=§2/sc help §6--View help page
command_description_setitem=§2/sc setitem   §6--Set the item in your hand to horn
command_description_giveplayer=§2/sc give §d[player] [number]  §6--Give player horn , or give yourself
command_description_send=§2/sc send   §6--Send a serverchat
command_description_ignore=§2/sc ignore §6--Ignore all serverchat
command_description_buy=§2/sc buy §d[number] §6--Buy horn
command_description_reload=§2/sc reload   §6--Reload plugin config and lang
command_tip_setitem_success= §bSuccessfully set horn item
command_tip_setitem_air= §cHorn item can not be air
command_tip_giveplayer_give=§bYou have given §a%player% §e%number% §bhorn(s)
command_tip_giveplayer_recieve=§bYou have recieved §e%number% §bhorn(s)
command_tip_send_success=""
command_tip_ignore_on=§bYou now accept serverchat
command_tip_ignore_off=§bYou now ignore serverchat
command_tip_buy_money=§aYou have bought §b%number% §ahorn(s) , it cost you §e%money% §amoney
command_tip_buy_failed=§cBuy failed , you do not have enough money
command_tip_reload_success=§2ServerChat have reloaded successfully
command_no_permission_ignore=§cYou do not have enough permisson to ignore serverchat
command_no_permission_buy=§cYou do not have enough permission to buy horn
command_no_permission=§cYou do not have enough permission
command_error_command=§cError command
command_error_invalid=§cInvalid parameter
command_error_grammar=§cInvalid grammer
command_error_player_offline=§cPlayer %player% is not online
command_error_at_least_one_player=Send serverchat failed , this server need at least one player to be online to do that
command_error_player_only=§2Only player can execute the command
chat_auto_use_success=§aYou have consumed a horn
chat_auto_use_failed=§cYou dont have a horn
chat_error_length=§cYou said too long or too short
chat_error_empty=§cMessage can not be empty
chat_error_incool=§cYou have to wait §e%cooltime%§c seconds to be able to send serverchat again
horn_error_incool=§cYou have to wait §e%cooltime%§c seconds to be able to use horn again
horn_error_already_use=§6You are already using a horn
horn_tip_using=§dEnter your serverchat message
horn_tip_overtime=§aDue to long time no use , your horn has been returned back
 



[​IMG] Detailed instructions for use (important) [​IMG]:
[​IMG]speaker configuration [​IMG]
-OP can make an RPG prop as a loudspeaker in the way he likes
-Hold the horn in your hand and enter /sc setitem
-(note that the information of items may be different in different versions of servers, and the configuration file cannot be directly copied to other versions of servers)
-OP selects a way to give the speaker to the player
-Players can send cross server messages by right clicking the horn and speaking
-If you enable prefix chat and carry the horn with you, you can also directly use the prefix to consume the horn


[​IMG]Message settings [​IMG]
-Serverchat supports the display of cross server messages, including actionbar (the line above the item bar), boss blood bar and normal chat bar
-These three methods can be started or closed freely, and different message display methods can also be configured
-The details in the configuration file are
Code (Text):
BossBarMessage: "%server% &a&l%player% &7shout: &r%message%"
ActionBarMessage: "&a&l%player% : %message%"
ChatMessage: "&e&l*大喇叭* &a&l%player% : &r%message%”
(the bossbar blood bar message is disabled by default. You can open it yourself if you need to use it.)
-The new version can set the floating message of the chat bar
Code (Text):
<font size="2">HoverEnable: true
HoverMessages:
  - "--------------------"
  - "发送者:&a%player%"
  - "服务器:&a%server%"
  - " >>&d点击发起私聊<<"
  - "--------------------"</font>
design sketch:
[​IMG]
The following are the configuration files for several classic usage scenarios:
Configuration format 1
Applicable scenarios:
>A server that doesn't need a speaker at all<
>Player's speech is automatically converted into cross server chat<
>You can also freely set the cooling of this chat<
Code (Text):
ChatPrefixEnable: true
ChatPrefix: ""
FreeChat: true
ChatCoolTime: 30 #聊天冷却时间
 
Configuration format 2
Applicable scenarios:
>A server that doesn't need a speaker at all<
>Simply need a prefix type cross server chat<
>Configure chat cooling based on prefix<
Code (Text):
ChatPrefixEnable: true
#前缀
ChatPrefix: "!"
#是否能发送免费的跨服消息(不消耗喇叭,也不花钱)
FreeChat: true
#免费发送跨服消息的冷却时间(/秒)
ChatCoolTime: 30
#发送跨服消息的时候自动消耗背包里的喇叭(若FreeChat为true则无效)
AutoUse: true  #没用

Configuration format 3
Applicable scenarios:
>Players cannot send cross server chat with prefix<
>Only speakers can be used to speak across servers<
>How to obtain the cross server loudspeaker made by Moderator<
>For example, buy or give as a gift<

Code (Text):
ChatPrefixEnable: false
ChatPrefix: "!"               #没用
FreeChat: false
ChatCoolTime: 30          #没用
AutoUse: false               #没用
HornSet:
  #喇叭的有效时间(/秒)
  ResponTime: 30
  #喇叭冷却时间(/秒)
  HornCoolTime: 10
Variables:
%Player%: player name
%Server%: player's server
%Message%: message content
%Cooltime%: cooling time of horn
All placeholderapi variables are supported


----------------------------------------------------------------------

Support all color codes!
----------------------------------------------------------------------
If you have any any question or suggestions , just feel free to start a new conversation with me or send a request on github ! All of your votes will give me lots of encouragement

Thanks for your loving and five starts !
Also you can have a test there: play.blockmc.cn

[​IMG]
Resource Information
Author:
----------
Total Downloads: 2,236
First Release: Jul 8, 2017
Last Update: Jun 4, 2024
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings