promotional bannermobile promotional banner

GuestChat

Stop guests from trolling by restricting their chat!

GuestChat is my first plugin, created by request of the owner of the amazing server Jax Kingdom.

What does it do?

Guests (or whichever group you choose) will be limited to several predefined chat messages. This can prevent players logging on to simply troll, spam, swear (in the case of a no-swearing server), etc.

Commands

  • /gcmsg: Displays all available chat messages.
  • /gcjoin: Displays a message telling the player how they might become a member of the server, and remove the troublesome GuestChat restrictions.

Configuration

  • guestchat.chaterror: (String) The message to be displayed to a player when they enter an invalid chat message (one that is not on the list of predefined messages).
  • guestchat.numberofmsgs: (Integer) The number of predefined chat messages.
  • guestchat.message#: (String) A predefined chat message. Replace # with an actual number. Numbers between 0 and guestchat.numberofmsgs - 1 will be included. For example, if guestchat.numberofmsgs is set to 5, guestchat.message0 through guestchat.message4 will be registered. Numbers past that will be ignored.
  • guestchat.joinmessage: (String) The message players receive when issuing the command /gcjoin.

Permissions

  • guestchat.*: Allows access to everything in GuestChat.
  • guestchat.unlockedchat: Players without this node will be restricted to the predefined chat messages.
  • guestchat.guestchatmsg: Players with this node will be able to issue the /gcmsg command. I highly recommend you give this node to all permissions groups, including guests.
  • guestchat.joinmessageperm: Players with this node will be able to issue the /gcjoin command. I highly recommend you give this node to all permissions groups, including guests.

Note

All predefined messages are case-insensitive. A message defined as "Hello" can be sent by players typing "hello", "HELLO", "hElLo", etc. Because of the way YAML files are set up, setting a chat message to "Yes", "No", "On", or "Off" will be read as "true" and "false" by GuestChat. To circumvent this, append a dollar sign to the end of the message in the config file (for example, "Yes$"). It will be read as "Yes", not "Yes$", and will act as if the dollar sign didn't exist.

The GuestChat Team

profile avatar
  • 2
    Projects
  • 1.1K
    Downloads

More from _ForgeUser6941735

  • Uncrafted project image

    Uncrafted

    • 378
    • Bukkit Plugins

    Customizable apocalyptic survival total conversion plugin

    • 378
    • February 4, 2014
    • Bukkit Plugins
    • +1
  • Uncrafted project image

    Uncrafted

    • 378
    • Bukkit Plugins

    Customizable apocalyptic survival total conversion plugin

    • 378
    • February 4, 2014
    • Bukkit Plugins
    • +1