Guest User

New config.yml (AnnounceMessages)

a guest
Jan 6th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 5.19 KB | None | 0 0
  1. # AnnounceMessages 10.4 - Thanks for using my plugin.
  2. #
  3. # check_updates: Notify if there are new updates?
  4. # date_format: This is the format of time for the placeholder <time>.
  5. # options.sounds - {
  6. #
  7. #   reproduce: Reproduce sounds to player?
  8. #   volume & pitch: Set the level of volume & pitch for the sounds.
  9. #
  10. # options.titles_actionbar - {
  11. #
  12. #   send_titles: Send titles to player?
  13. #   send_actionbar: Send actionbar to player?
  14. #   in, show, out: This is the parameters of time for the titles.
  15. #
  16. # options.messages - {
  17. #
  18. #   prefix: This is the prefix of the messages.
  19. #   events - {
  20. #
  21. #      motd: This is the welcome message for the player.
  22. #      hover: This is the text will be appears if the player put the mouse over the join or quit message, if you like add an section use the symbol \n.
  23. #      actions_type - { Set the mode type.
  24. #         COMMAND: This execute a command.
  25. #         SUGGEST: This suggest a command.
  26. #         URL: This open a url.
  27. #
  28. #      networks - {
  29. #         enabled: Send networks to player?
  30. #         first - {
  31. #            (!) This is the same format for the other networks.
  32. #            name: This is the name of the network.
  33. #            link: This is the URL for the ClickEvent.
  34. #            lore: This is the hovertext of the network.
  35. #
  36. #      join_announce: Send the join message?
  37. #      quit_announce: Send the quit message?
  38. #      join - {
  39. #
  40. #         (!) This format is exactly the same for the messages of quit.
  41. #         default_join: This is the format per default, will be use if the group of player is invalid, or doesn't exists in 'groups'.
  42. #         'group':
  43. #             message: This is the message of join for the group.
  44. #
  45. # placeholders - {
  46. #
  47. #   <player>: Return the player name.
  48. #   <level>: Return the player level.
  49. #   <exp>: Return the player experience.
  50. #   <group>: Return the player group.
  51. #   <prefix> - {
  52. #      messages: This is the prefix of the messages.
  53. #      join & quit: This is the prefix of the group.
  54. #   <suffix>: This is the suffix of the group.
  55. #   <time>: This show the time of server.
  56. check_updates: true
  57. date_format: "dd/MM/yyyy HH:mm:ss"
  58. options:
  59.   # Sounds section.
  60.   sounds:
  61.     reproduce: true
  62.     permission: ENTITY_ITEM_BREAK
  63.     reload: UI_BUTTON_CLICK
  64.     volume: 1.0
  65.     pitch: 1.0
  66.  
  67.   # Titles & ActionBar section.
  68.   titles_actionbar:
  69.     send_titles: true
  70.     send_actionbar: true
  71.     in: 20
  72.     show: 40
  73.     out: 20
  74.     world:
  75.   # Messages section.
  76.   messages:
  77.     prefix: "&eAnnounceMessages &8ยป"
  78.     not_permission: "<prefix> &cYou don't have permission!"
  79.     not_console: "<prefix> &cThis command can't be executed in console!"
  80.     not_command: "<prefix> &cThis command doesn't exists in the plugin!"
  81.     list_cmds: |-
  82.       &l
  83.       &e           AnnounceMessages &610.4
  84.       &l
  85.       &8 - &a/amsg &fMain Command.
  86.       &8 - &a/amsg reload &fReload the plugin.
  87.       &8 - &a/amsg commands &fShow the commands of plugin.
  88.       &l
  89.       &8 - &a/announce <message> &fSend a message to all server.
  90.       &l
  91.     reload: "<prefix> &7The plugin was reloaded in &a<ms>ms&7."
  92.     announce_prefix: "&8[&6Announce&8] &f"
  93.     announce_usage: "&cYou must be insert a message!"
  94.     new_update: "<prefix> &bThere are a new version available: &6<version>"
  95.     no_update: "<prefix> &aNo are new updates."
  96.  
  97.     # Events section.
  98.     events:
  99.       motd: |-
  100.         &7&m============================================
  101.         &a&lWelcome &b&l<player> &a&lto &2&lServerName
  102.         &l
  103.         &7Networks:
  104.         &6&lSTORE: &fstore.servername.com
  105.         &9&lFACEBOOK: &ffacebook.com/servername
  106.         &e&lDISCORD: &fdiscord.gg/servername
  107.         &c&lYOUTUBE: &fyoutube.com/servername
  108.         &7&m============================================
  109.       title: "&aWelcome to the server"
  110.       subtitle: "&c&l<player>"
  111.       actionbar: "&6Welcome to the server!"
  112.       hover: "&7<time>\n&l\n&7Player: &a<player>\n&7Rank: &r<prefix>\n&l\n&eClick to send a message!"
  113.       action_type: SUGGEST
  114.       actions:
  115.         command: "/effect <player> minecraft:speed 1000000 1"
  116.         suggest: "/msg <player> "
  117.         url: "https://www.spigotmc.org/members/ialqjdv.1471925/"
  118.       networks:
  119.         enabled: true
  120.         first:
  121.           name: "&6 Store"
  122.           link: store.servername.com
  123.           lore: "&a&lCLICK TO GET THE LINK"
  124.         second:
  125.           name: "&9 Facebook"
  126.           link: facebook.com/servername
  127.           lore: "&a&lCLICK TO GET THE LINK"
  128.         third:
  129.           name: "&e Discord"
  130.           link: discord.gg/servername
  131.           lore: "&a&lCLICK TO GET THE LINK"
  132.         four:
  133.           name: "&b Twitter"
  134.           link: twitter.com/servername
  135.           lore: "&a&lCLICK TO GET THE LINK"
  136.       join_announce: true
  137.       quit_announce: true
  138.  
  139.       # Groups section.
  140.       join:
  141.         default_join: "&8[&a&l+&8] &e<player>"
  142.         groups:
  143.           default:
  144.             message: "&8[&a&l+&8] &7<player>"
  145.           ceo:
  146.             message: "&8[&a&l+&8] &b<player>"
  147.       quit:
  148.         default_quit: "&8[&c&l-&8] &e<player>"
  149.         groups:
  150.           default:
  151.             message: "&8[&c&l-&8] &7<player>"
  152.           ceo:
  153.             message: "&8[&c&l-&8] &b<player>"
Advertisement
Add Comment
Please, Sign In to add comment