C83blog

  • cpe
  • 游戏
    • mc
  • 系统技巧
    • 软件分享
    • 虚拟机
    • win
    • linux
    • 翻墙
  • 维修
  • 未分类
  • 登录
  1. 首页
  2. 游戏
  3. mc
  4. 正文

AutoMessage 公告插件

2022年11月15日 457点热度 0人点赞 0条评论

来源 https://www.spigotmc.org/resources/automessage-1-7-1-19.103155/

you can disable sending messages when no one is on the server in config.yml
if you want use commands you need op or automessage.commands permissions

automessage.hide - players with this permission can't see auto-messages

There is the next commands in the plugin:

All that in <> its your variables that you need insert
Instead of /automessage you can use /am​

  • /automessage reload reloads the plugin config if you changed it by yourself
  • /automessage createMessage <name> <delay> <text> create the new message with default type and sound values
  • /automessage removeMessage <name> delete the exist message by name
  • /automessage addTo <name> <text> adds the text to the existing message
  • /automessage changeDelay <name> <delay> change delay to the message
  • /automessage switchSound <name> <enabled/disabled> you can enable/disable the sound when message pop up
  • /automessage setType <name> <default/random/player> set type of message for example you have three texts in config and if you choose random type the random string from list has been pop up. player send message to random player on the server
  • "/automessage removeFrom <name> <text>" allows to delete string from message (sometimes can argue)
  • "/automessage show <enabled/disabled>" works only with automessage.show permission and allows to disable the auto-messages to player
  • /automessage enable/disable allows to enable/disable sending messages
  • /automessage addRandomMessage <text> to add a message to the list from which the plugin chooses when and what to choose
  • /automessage removeRandomMessage <text> to remove message from list of randomMessages
  • /automessage addCommandTo <name> <command> to add a command that will be executed when sending a message
  • /automessage removeCommandFrom <name> <command> to remove a command that will be executed when sending a message
  • /automessage setConsole <name> <true/false> to enable/disable send messages to console
  • /automessage <name> <world_name> if you want send messages in certain world ("all" it's all worlds)
  • /automessage print <name> allows you to send message by name early

Variables:
- %player% - player nickname in message
- %tps% - server tps (sometimes not accurate)
- %deaths% - count of players deaths
- %kills% - count of player kills (only players kills)
- %mob_kills% - count of players mob kills
- %online_players% - display count of online players
- %max_players% - display count of server max players
- %posX% - player's position on X
- %posY% - player's position on Y
- %posZ% - player's position on Z
Fuctions:
- url{link, text, hover_text} (you can ignore text or hover_text) to send link in chat as a word or default message
- cmd{link, text, hover_text} (you can ignore text or hover_text) allows apply command ('/' needed) or send message on behalf of the player

for several reasons, if you want to insert '}' or '&' into the function text, you need to put '\' before the symbol: url{https://google.com/ , {go to google\}}.
Also you can:
- split messages by rows with '\n' (also you can create a separate list item)
- use tab (four spaces) to text with '\t'
- use quotes (" or ') to text with '\"' or '\''
- use '\\' to add '\'

Also you can set settings without commands in config file for example:

Code (Text):

test: # Name of the message
  message: # List of the messages
    - 'test '
  delay: 5 # Delay
  sound: enabled # turn on/off sound (Item pick up) when message pop up
  type: default # type of message default/random/player
  commands: # list of the commands
    - 'time set day'
  console: true # on/off console messages
  world: world_nether # set the world of message (you can use "all" for all worldsthis code will send message "test" every 5 seconds in nether with sound and execute command
You can set delay to "10-20" and it starts send messages between 10 seconds to 20
标签: 暂无
最后更新:2022年11月15日

sydw

这个人很懒,什么都没留下

点赞
< 上一篇

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复
最新 热点 随机
最新 热点 随机
win10 22H2 自动登录不用输入密码 中兴F31Pro刷全功能后台保姆级教程 杀死一个已经detached的screen会话 ollama amd ati rx6600使用rocm 在 Termux 中修改 Ollama 的监听地址 termux初始化操作安装debian Debian下的压缩 (zip) 解压缩 (unzip) 命令 screen使用教程 NPS反制之绕过登陆验证 Debian / Ubuntu 手工添加 Swap 分区 frp toml VPS/服务器的下载测速文件 鲲鹏关闭ipv6 ssh版 鲲鹏CPE关闭ipv6 n2n添加联盟
win10 22H2 自动登录不用输入密码
zlt x30 切卡和adb termux初始化操作安装debian CentOS 修改DNS idm 使用本地hosts 破解步骤 Debian下的压缩 (zip) 解压缩 (unzip) 命令 N2N启动器附加参数 删除宝塔面板登录强制绑定手机 sqlite配置下载安装及使用教程 Xray 搭建教程 Linux终端复用神器-Tmux使用梳理 甲骨文vps改用密码登录 screen使用教程 华为AT 改串命令 AutoMessage 公告插件 一键iptable 转发脚本

COPYRIGHT © 2022 C83blog. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang