Download Pebble's Custom Command Messages — Minecraft Mods — MetaMods

Pebble's Custom Command Messages

Active

Downloads

0

Last update

2 years ago
Client
Fabric
Quilt
Forge
Neoforge
Utils

Pebble's Custom Command Messages

A simple mod that provides administrators with the ability to create custom commands with automatic sending of pre-prepared messages. All settings are made through a command.json file located in the config/pebbles-command-shortcut folder.

Configuration Example

Here's what the configuration file might look like. Note that for each command, you can set multiple message options:

[
  {
    "command": "hello",
    "messages": [
      {
        "message": "Hello, <player>!"
      },
      {
        "message": "Welcome, <rainbow><player></rainbow>! Use /rtp to get started!"
      }
    ]
  },
  {
    "command": "goodbye",
    "messages": [
      {
        "message": "Goodbye, <player>!"
      },
      {
        "message": "See you later, <rainbow><player></rainbow>!"
      }
    ]
  },
  {
    "command": "vote",
    "messages": [
      {
        "message": "<green>Vote for our server <click:open_url:'https://linktr.ee/dynastyminecraft'&gt;&lt;underlined&gt;here&lt;/underlined&gt;&lt;/click&gt; and <blue>get</blue> <bold>some</bold> <italic><yellow>pebbles</yellow></italic></green>!"
      }
    ]
  },
  {
    "command": "ping",
    "messages": [
      {
        "message": "Pong!"
      }
    ]
  }
]

The code appearance might seem a bit confusing, but when opened in standard editors (Notepad++, VSCode, and others), it will look much clearer and more convenient for reading.

Project members
SkillfulPebbles

SkillfulPebbles

Created: 23 Apr 2023

ID: 29025