Skip to content

palmmc/EasyAsCommands

Repository files navigation


view - Documentation

view - API

EasyAsCommands

A plugin for Endstone that allows you to setup your own slash commands without any programming!

⚠️ Experimental Integration Support

As of Beta 0.2.0+

This plugin uses an experimental feature that discovers integrations in other plugins by scanning their main scripts for its API class.
If you find this feature invasive, I recommend you do not use this plugin.
If you would like to add EAC integration to your plugin, see the API Documentation.

Installation

  1. Download the latest release.
  2. Drag and drop both files ending with .whl into your Endstone plugin folder.
  3. Restart or reload your server. Enjoy!

Demo

Features

  • Manager UI

    • Create, remove, and edit slash commands using a simple UI.
    • Configure the name, description, arguments, aliases, and permissions.
    • Add functionality on command execution.

Commands

  • /commands - easyas.command.manager
  • /resetcommands - easyas.command.reset

Tutorial

Using In-Game UI

  1. With operator or the easyas.command.manager permission, run the /commands command.
  2. This is where you can add, remove, and edit existing commands.
    • Next click 'Add Command'.
  3. Here you can configure all of the different attributes of your command.
    • For more information, refer to the wiki page, Command Attributes.
    • Try creating the following command:
      • Set the name to 'star'.
      • Add a new usage '/star'.
      • Add the permission 'easyas.command.all'.
    • After that, scroll to the bottom and click Functionality.
  4. This is where you can make the command do something when it is executed. Let's do a simple example.
    • Click 'Add Execution', select 'Command', and type 'give "{player}" nether_star 1'.
    • If you want to learn more about functionality, see the wiki page Functionality.
    • When you are finished, hit Submit, then back out again to the main editor.
  5. Click Submit, and your server will reload to apply your new command.
  6. Now run /star; you should be given a nether star.

Using JSON Editor

  1. For more advanced users, a more efficient approach is to edit the JSON directly. To start, navigate to your /bedrock_server/config/ folder; the /config/ folder should be in the same directory as your /plugins/ folder.
  2. Open command_manager.json in your choice of text editor. You don't need anything fancy; Notepad will do.
  3. Begin editing. Refer to the wiki page JSON Arguments for available arguments. Once done, save the file and reload/restart your server for the changes to take effect.

🥳 Congratulations!

You've created your first command!

I hope you find this plugin useful! Enjoy!

Feature Roadmap

Feature Status
Command Manager UI
Reset command
Documentation 🔷
Placeholder Support 🔷
More Execution Types 🔶
Conditions 🔶
Developer API 🔶
Addon Integration 🔶

✅ - Complete 🔷 - Work in Progress 🔶 - Planned

Feedback

If you experience any issues or have a suggestion, please create an Issue, and I'll try to get to it when I can!

About

Endstone Commands Plugin for the EasyAs suite.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages