ChatShortcuts

ChatShortcuts

ChatShortcuts

ChatShortcuts creates custom chat shortcuts for players. On first run, the plugin creates a folder within the plugins directory containing the YAML files plugin.yml and commands.yml.

GitHub:

Click Here

IMPORTANT: Previous versions (1.1, 1.2, 1.3) are NOT supported here! PM me for those instructions. Current stable version: 1.5

Using ChatShortcuts:

1. Run the plugin with your server once for the plugin folder and files to be created. (On first run the command "/eg" will be available)

2. Stop the server.

3. Open the commands.yml file and type the chat shortcut you want with this format: (command|shortcutwords|command usage|textcolor|style|consoleallowed|playerallowed|anonymous|)

Command: the command name you want for the shortcut

Shortcut Words: what words will be said when the shortcut will be used?

Command Usage: just the command name right now (don't use <player>)

Text Color: what color should the text be? Defaults to white if empty or unknown color.

Colors: black, darkblue, darkgreen, darkaqua, darkred, purple, orange, grey, darkgrey, indigo, brightgreen, aqua, red, pink, yellow, white

Style: what style should the text be? Defaults to normal style if empty or unknown style.

Styles: random, bold, underline, strike, italics

Console Allowed: Can the server use this shortcut? (yes = console no = blank)

Player Allowed: Can the player use this shortcut? (yes = player no = blank)

Anonymous: Should the shortcut, when used by players, display the chat as an anonymous/random name? (yes = anon no = blank)

Examples of commands

eg|This is an example shortcut!|eg|darkred|italics|console|player||

hi|Welcome to the server!|hi|pink|bold|console|player||

off|The server will be restarted in a few seconds|off|red|italics|console|||

scary|You don't know who I am|scary|indigo|random|console|player|anon|

4. Run the plugin with your server once again. (Generates the plugin.yml file in the plugin folder)

5. Open the jar file like a zip folder with a program such as WinRAR and replace the plugin.yml file in the jar with the one in the plugin folder. Google opening jar files if you can't figure it out.

6. The chat commands have been configured; the next time you run your server the chat commands will work.

Important things to watch for:

  • Make sure your chat shortcut doesn't conflict with the command name of any other plugins!
  • Check that you have formatted the commands.yml file correctly (It is used during plugin runtime to cycle through commands)
  • Make sure you didn't include slashes in your commands.yml file.
  • Ensure that on first run the example command /eg works (It is preconfigured)
  • Certain parts of the commands.yml can be changed even during runtime (/reload is not used): green = yes red = no command|shortcutwords|usage|textcolor|style|consoleallowed|playerallowed|anonymous|

If you have problems, PM me.

Comments and feedback are always welcome!

Check out ChatShortcut's sister plugin!

CommandShortcuts

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Robotia Robotia Aug 01, 2013 at 06:51 UTC - 0 likes

    @yuvalthekingo: Go Thanks for the feedback!

    The main purpose of this plugin was to be able to create "chat shortcuts", commands that will allow you to say user-specified things. I could add on that ability in a new update, but that would create issues with the name of this plugin.

    I will start working on another project for the commands themselves and post the link here ASAP.

    Last edited Aug 01, 2013 by Robotia

    Common sense is not so common. BFAK:90863883,c02a44a0d4cc7440659a3118e2906a8aa12dcb5bdad6ad906ee7975062aec91c

  • Avatar of yuvalthekingo yuvalthekingo Aug 01, 2013 at 05:17 UTC - 1 like

    can I ACCTUALY make my one commands? like /op will kill me or something. PLEASE CONTACT ME!

    p.s. AWESOME PLUGIN! me and my friends use it all the time with the /scary command :D

  • 2 comments

Which feature should we add next?

  1. Choice:

  1. Results
  2. 0 comments

Facts

Date created
Jul 27, 2013
Categories
Last update
Aug 04, 2013
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
ChatShortcuts
Downloads
1,836
Recent files

Authors