Server Toolbox
  • âšī¸Introduction
    • Performance
  • 🔗Synergy
  • âš™ī¸Configuration
    • General
      • Modules
    • Kits
    • Broadcaster
    • Messages
  • đŸ› ī¸Commands
    • Customization
    • Categories
      • Mod
      • World
      • Teleportation
      • GUI
      • Customization
      • Player
      • Chat
  • 🔓Permissions
  • â›‘ī¸Troubleshooting
    • FAQ
  • 🌱API
  • ✨Planned Features / Bugfixes
Powered by GitBook
On this page
  1. đŸ› ī¸Commands

Customization

PreviousCommandsNextCategories

Last updated 2 years ago

Was this helpful?

CtrlK

Was this helpful?

Looks like you want to change something in commands that are present in this mod, maybe it's a conflict with another same mod or you want to disable something manually. No problem, I will explain it to you.

To change command you can use commandCustomization from General config. You need to add an entry with command's original literal name and some of these options: literal, permissionLevel, aliases or disabled.

You can check original command literal using /st command

Your config section should look like that (example):

You are required to restart the server to apply all command changes, currently it's the only one option because commands are registered on server start!

commandCustomization {
    // command literal
    "rename" {
        // fully disables this command
        disabled=true
    }
    "st" {
        // allows you to access this command using /myexample
        aliases=[
            myexample
        ]
        // changes base literal (useful on command conflict)
        literal=stbox
    }
}