Jump to content

[1.8]how would I run a command with my mod


BoonieQuafter-CrAfTeR

Recommended Posts

Use

MinecraftServer.getServer

to get the server instance,

MinecraftServer#getCommandManager

to get the server's command manager and

ICommandManager#executeCommand

to execute a command.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

ok, so the actual purpose of the mod is for a build competition server that I am creating, and I want a unique way of doing things such as I want people to be able to log onto the server without the mod and still be able to participate, but if you have the mod then you have short cut to all these different commands, such as give this color of wool, or give this color of clay, is there any way to get past the client/server wall, or somewhere in the server files to allow the mod to work without having a cauldron server. thanks!

 

so yeah, I want the mod command to bypase the server side stuff.

I hope that makes sense.

 

Im serious don't look at it!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.