Mineuniverse
Log in Register
Mods

CommandAPI

CommandAPI
by thislooksfun1
Claim this project
6,813 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

This mod is obsolete. I am keeping it up to maintain compatibility with HideNames for 1.6. For those using this API for your own mod, scroll down to the bottom of this page.

 

Description

This is pretty much exactly what it sounds like. An API to make it easier to add custom commands to the game. I know what you're thinking, 'it's already easy!' And you'd be right, except for the fact that those commands are op-only. You CANNOT use those commands unless you are op. This API makes it really easy to add new commands that ALL players can use.

Download/Installation

  1. Install Forge
  2. Download the latest version
  3. Place the .jar file into the '/mods' folder
  4. Optional, but recommended: install OpenEye, for automatic crash reporting
  5. Run Minecraft!

Documentation

All code is fully commented, and instructions are provided in the readme.

Bug reporting

Make sure you are on the latest version!
If you are, check to see if someone else has already reported that problem. If no one has, you can submit a ticket telling me about it. If you are reporting a crash, you MUST include an error log, or I won't be able to fix it.

Modpacks

You are free to use this or any of my mods in a mod pack, as long as you credit me.

Questions

If you have any questions about the mod, PLEASE send me a ticket. They are much easier to keep track of than specific comments.

About 1.7.x

An update is in progress, but the release date is unknown, as I am currently bogged down with schoolwork. Please be patient, and thanks for the interest.

Credits

  • Programming: thislooksfun
  • Huge thanks to culegooner for the help getting this to work

Porting to 1.7

For those of you using this to make your own commands, there is actually a better way. I don't know how I missed this before, unless it was added in 1.7, but all you have to do is this: in your command class, simply add this method:

@Override
public boolean canCommandSenderUseCommand(ICommandSender sender) {
  return true;
}

No files available for download.

More from thislooksfun1

ForgeUpdater
8,937
Camo Suits
6,768
PlayerTag
2,210
Hide Names
1,841,747
NBTReader
1,645

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314