• 1,303 views, 1 today
  • 0 downloads, 0 today
  • 5
  • 2
Low-power's Avatar Low-power
Level 37 : Artisan Miner
10
Provide access to Minecraft internal data structures (entities only, in current version) from external command. Useful for external debugging and scripting (for example using Unix shell).
Proudly made with nvi and vim.

Downloads


This mod depending on some non-mod Java libraries from JNR project, which are packaged into "mcipm-dependencies-20210810.tar.bz2" for easy extraction by user.
Unfortunately Planet Minecraft site provides only 1 download link slot per mod, due to this please use the following links, which are pointing to our SourceForge project FRS.
Downloads of MCIPM mod and dependencies package:
Downloads of MCIPM client packages (version 1.0.1):

The source code is also available from a Git repository for on-line browsing.

The dependencies package "mcipm-dependencies-20210810.tar.bz2" contains a customized version of JNR ENXIO binary package, "jnr-enxio-0.30-rivoreo-r1.jar"; the corresponding source code package is available as jnr-enxio-0.30-rivoreo-r1-src.tar.bz2.

Install Mod


To install the mod to Minecraft Forge, copy "mcipm-<version>.jar" into "mods" directory; you will also need to extract all files from "mcipm-dependencies-20200421.tar.bz2" into "mods" directory to provide the Java libraries it depends.
For example:
$ cd /path/to/your/minecraft/server/directory/
$ cp /path/to/mcipm-1.0.0.jar mods/
$ cd mods
$ tar -x -f /path/to/mcipm-dependencies-20210810.tar.bz2


Build/Install Client Tool


To build the client tool from source, simply extract the client source package, compile all ".c" files with your C compiler and link them together; for example:
$ tar -x -f /path/to/mcipm-client-1.0.1-src.tar.bz2
$ gcc -Wall -O1 *.c -o mcipm

To use the prebuilt binary package, simply extract the package and use the
executable file, as it has no additional dependencies.

License


MCIPM source files under src/main/java/org/rivoreo/minecraft/mcipm/ and src/main/java/org/rivoreo/nettychannels/, as well as Java bytecode binary files that distributed here are subject to terms of the Mozilla Public License version 2.0.
The binary distribution file names are usually in 'mcipm-<version>-mc-<version>.jar' form.
The full text of MPL-2.0 can be found from https://mozilla.org/MPL/2.0/.

MCIPM source files under src/main/c/client/, the source files in MCIPM client source packages and MCIPM client binary programs that distributed here are subject to terms of the GNU General Public License, version 3.0 or any later version.
MCIPM client source package file names are usually in 'mcipm-client-<version>-src.tar.bz2' form.
MCIPM client binary package file names are usually in 'mcipm-client-<version>-<os>-<arch>.tar.bz2' form.
The full text of GNU-GPL-3.0 can be found from http://www.gnu.org/licenses/#GPL.

JNR POSIX (jnr-posix, file 'jnr-posix-<version>.jar') binary package that distributed in 'mcipm-dependencies-<date>.tar.bz2' packages is licensed under a tri EPL-2/GPL-2/LGPL-2.1 license; this means you may choose any license of Eclipse Public License version 2.0, GNU General Public License version 2.0 or GNU Lesser General Public License version 2.1, to use, redistribute and/or modify it.
The full text of EPL-2.0 can be found from https://www.eclipse.org/legal/epl-2.0/.
The full text of GNU-GPL-2.0 can be found from https://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
The full text of GNU-LGPL-2.1 can be found from https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.

JNR binary packages except jnr-posix that distributed in 'mcipm-dependencies-<date>.tar.bz2' packages are licensed under the Apache License 2.0.
In addition, JFFI binary packages (files 'jffi-1.2.23.jar' and 'jffi-1.2.23-native.jar') are also alternatively available under the GNU General Public License, version 3.0 or any later version.
The full text of Apache License 2.0 can be found from http://www.apache.org/licenses/LICENSE-2.0.

Client Tool Man Page


mcipm(1) FreeBSD General Commands Manual mcipm(1)

NAME
mcipm - Minecraft Interprocess Management

SYNOPSIS
mcipm [<global-options>] entitystat <selector-option> [<selector-option> ...] [<other-options>]
mcipm [<global-options>] kill <world> <entity-id> [<entity-id> ...]
mcipm [<global-options>] version

DESCRIPTION
This tool is a client for the MCIPM mod for Minecraft, which perform
management tasks on a running Minecraft server instance.

The major and minor versions (first 2 numbers in a full version number)
between the MCIPM mod (server) and this tool (client) must be match, or
the behavior is unpredictable.

Global options:
-S, --socket-path <path>
Specify the path of an Unix domain socket that the server is
listening on. Default is mcipm (thus in current working
directory).

--version
Display version, copyright and licensing information of this
tool. The program will exit afterward.

Subcommands:
entitystat <selector-option> [<selector-option> ...] [<other-options>]

Display various data structures about entities in a Minecraft
server, selected by one or more selector options. At least one
selector option must be specified; if more than one selector
options are specified, entities will be selected by matching at
least one of specified selector.

Selector options:

-A, --all
Select all entities in all worlds.

-W, --world <world-id-name>
Select all entities in specified world.

-i, --entity-id <entity-id>
Select entity by a numeric ID.

-t, --entity-type <entity-type>
Select specified <entity-type> of entities.


Other options:

-o, --format <column>[=<title>|,<column>[...]]
Display entities information according to the columns
specified here. If this option being specified multiple
times, later specified columns are appended to already
specified columnls.

Available column names are:

world id type name location rotation state width height
chunk uuid ticks maxhealth health phealth idletime
attacktarget growingage itemage itempickupdelay owner
thrower itemdamage itemlifespan itemcount

The default columns set is world,id,location,type,name.

--sort [+|-]<column>[,[+|-]<column>[...]]
Sort the output lines based on specified columns; + or -
character specifies the sorting direction of given column,
default is +. The column names are same as what describes
above for -o or --format option.

-w By default if the last column is name and stdout is a
terminal, the entity name may get truncated to fit terminal
window width; specify this option to disable truncation of
entity names.

kill <world> <entity-id> [<entity-id> ...]

Kill one or more entities by <entity-id> in <world>. The specified
entities will be killed in a way that similar to the in-game
command kill.

version

Query version information of the Minecraft server, this may include
MCIPM mod version, Minecraft Forge version and Minecraft version.


EXAMPLES
List all chickens with their entity ID, world, location and growing
age:

mcipm entitystat -t minecraft:chicken -o id,world,location,growingage


List all entities in overworld:

mcipm entitystat -W overworld -o id,type,name


VERSION
This man page describes version 1.0.1 of the mcipm tool.

BUGS
It may wait for the server reply forever if the Minecraft server side
failed to reply after request; in this case, press ^C to interrupt this
program.

mcipm(1)
CreditJNR project for providing UNIX domain socket support
Progress40% complete
Game VersionMinecraft 1.12.2
Tags

1 Update Logs

Dependencies Package Update : by Low-power 08/10/2021 3:33:00 amAug 10th, 2021

The dependencies package has been updated today. This updates most JNR binary packages to a more recent version; most importantly, JNR ENXIO has been updated to a customized version to address a compatibility issue with FreeBSD 12 or later systems.

An ABI incompatibility between the C library of FreeBSD 12 and JNR ENXIO has been discovered, that may preventing MCIPM from working; to make MCIPM working again on latest FreeBSD systems, a workaround has been applied to JNR ENXIO 0.30 and released as version 0.30-rivoreo-r1. The source code package of this patched version is available at https://sourceforge.net/projects/rivoreo-mc-plugins/files/mcipm/jnr-enxio-0.30-rivoreo-r1-src.tar.bz2/download. This issue and the workaround has also been submitted upstream, see this pull request for details.

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome