GlobalLocalChat | SPEAK LOCALLY IN A DEFINED RADIUS | 100% CONFIGURABLE! 1.0.1

Allow your players to speak in a Local Chat, with a defined radius! Custom messages! Prefixes!

  1. Euro
    Tested Minecraft Versions:
    • 1.12
    Title GLC 1.png

    The purpose of this plugin is to allow your players the ability to speak locally to each other, within the defined radius in the config.yml. You also can set it so players must have a permission to speak in Global and to see Local, within the config.

    Also the plugin is fully compatible with chat plugins, such as rank prefixes and etc!

    There is also a reload command, so you do not need to restart for your changes in the config.yml to take effect.

    NOTE: The radius is calculated via Square Rooting. So if you enter the number 10000 as your radius, that will cover 100 blocks (because the square root of 10,000 is 100). So keep note of this!
    This means if you entered 100 for example, then that would cover 10 blocks. I do this to prevent the plugin from breaking.

    Title GLC 2.png

    2017-09-13_01.14.15.png

    2017-09-13_01.14.26.png

    2017-09-13_01.14.36.png

    2017-09-13_01.14.05.png


    Title GLC 3.png

    In the config.yml, you can set custom prefixes for both Local and Global chat, or disable them if that is your thing ;)

    Title GLC 5.png

    You can change how the messages appear in chat, within the config.yml.

    Title GLC 6.png

    You can spy on all Local Chat messages, with the permission node: globallocalchat.localspy

    By default, those with that permission see all Local Chat messages on login. You can disable this in the config.yml.

    Title GLC 8.png

    1. /global | globallocalchat.global
    Aliases: /g
    Allows players to switch back into Global Chat, and if enabled in the config, to speak in Global Chat (I can make it so that they need the perm to see Global Chat, but by doing this, plugins such as my StaffOnline or /msg plugins will not work properly and all your private messages will go in public chat - so I did not do this).

    2. /local | globallocalchat.local
    Aliases: /l
    Allows players to switch back into Local Chat, and if enabled in the config, to see Local Chat.

    3. /glcspy | globallocalchat.localspy
    Spy on players in Local Chat, and if enabled in the config, to see Local Chat on login.

    4. /glcreload | globallocalchat.reload
    Reload the entire config.yml file.


    [​IMG]

    Code (Text):
    # ---------------------------------------------------------------------------------------------------------------

    # GLOBALLOCALCHAT CONFIGURATION - By Gonfonix (Euro)

    # NOTE: To reload the config, do "/glcreload" in-game.

    # ---------------------------------------------------------------------------------------------------------------

    pluginStuff:

      # If a player doesn't have access to a certain command, then this is the message that will appear prior than.
      noPermissionMessage: '&cYou do not have permission!'

      # When reloading the plugin, this is the message that will be displayed.
      reloadMessage: '&aConfiguration successfully reloaded!'

    globalLocalChat:

      # Customize the message displayed when switching into Global Chat.
      globalChat: 'You''ve entered &6Global &fChat!'

      # When a player tries switching into Global Chat when they are already in it.
      alreadyInGlobalChat: '&cYou are already in Global Chat!'

      # When TRUE, players must have the permission used to switch to Global Chat (globallocalchat.global) in order to type in Global Chat.
      permToTypeInGlobalChat: true

      # If TRUE, when a player, with the permission node globallocalchat.localspy, logins into the server, they will automatically be spying on all Local Chat messages
      # To go out of Local Chat Spy, do /glcspy to turn off.
      spyLocalOnLogin: true

      # The message that appears when spying on Local Chat messages.
      spyLocalOn: '&aNow spying on &6Local Chat &amessages!'

      # The message that appears when no longer spying on Local Chat messages.
      spyLocalOff: '&cNo longer spying on &6Local Chat &cmessages!'

      # When a player types in Local Chat, this is the beginning prefix of their sentences with Local Chat Spy. Leave empty for no prefix.
      spyLocalPrefix: '&8[&cLocal Spy&8]&7 '

      # Customize the message displayed when switching into Local Chat.
      localChat: 'You''ve entered &aLocal &fChat! Do &7/&6global &fto leave Local Chat!'

      # When a player tries switching into Local Chat when they are already in it.
      alreadyInLocalChat: '&cYou are already in Local Chat!'

      # When TRUE, players must have the permission used to switch to Local Chat (globallocalchat.local) in order to SEE Local Chat.
      permToSeeLocalChat: true

      # How many blocks, in each direction, players can hear you from in Local Chat.
     
      # NOTE: The radius is calculated via Square Rooting. So if you enter the number 10000 as your radius, that will cover 100 blocks (because the square root of 10,000 is 100). So keep note of this!
      # This means if you entered 100 for example, then that would cover 10 blocks. I do this to prevent the plugin from breaking.
      localChatRadius: 10000

      # When a player types in Local Chat, this is the beginning prefix of their sentences. Leave empty for no prefix.
      localChatPrefix: '&8[&aLocal&8]&f '

      # When a player types in Global Chat, this is the beginning prefix of their sentences. Leave empty for no prefix.
      globalChatPrefix: '&8[&6Global&8]&f '
    REVIEWS:


    If you decide on making a review, then that is much appreciated. However, do not state current bugs you are having with the plugin in your review. Please private message me on Spigot beforehand so I can see what the problem is you're having. Thanks!


    Terms and conditions

    My plugin is under the all rights reserved license.
    You are not allowed to redistribute this plugin on any website.

    You are not allow to modify or decompile this plugin.

Recent Reviews

  1. xeric_
    xeric_
    5/5,
    Version: 1.0.0
    Nice! Great chat plugin and i love it so u can spy the chat so u know what is ur players are saying, Very good! keep going! ;)
    1. Euro
      Author's Response
      Thank you! <3
  2. CaptainAlienHD
    CaptainAlienHD
    5/5,
    Version: 1.0.0
    Nice plugin, i really like it however there is only one thing which will be best to be changed, instead having 2 commands /global /local, can't you just add one toggleable command like /chat.
    Anyway i hope you will keep up the plugin. Its really nice
    1. Euro
      Author's Response
      I did this because I wanted to replace the plugin on my server and I didn't want to change the commands. I will see though. Thanks for the review!