your current location:首页 > news>[CC M] Chat Commands Manager MINECRAFT

[CC M] Chat Commands Manager MINECRAFT

2024-12-15 02:17:02|Myriagame |source:minecraft skins

This is a module that can add a custom chat box command, which is open in Github.

You can enter ".Help" in the chat box to view all available chat box commands. Only ".Help" by default, but you can decompress the "example.json" file in the root directory of this module toIn the CCM/MODS directory, to test this module.

The following is the content of the Example.json file. If you are a developer, if you want to use this module as a front module, you can refer to the module corresponding to the content of the content of this file:

 {"name": "exa", "id": "ccm", "main": "cn.ksmcbrigade.ccm.Manager", "function": "run"}

The following is the role of the above:

NAME must be filled, commands, and lowercases do not affect running.

Id selection, useless, can correspond to the module ID.

Main must be filled to obtain a class file address for executing command functions.

Function must be filled in the function of running commands, which must be filled in the file address of the mats.

The following is a function example of running commands:

 Public Static Void Run (Player Player, String [] ARGS) {Player.SendMessage (component.nulltoempty 1.0 "), player.getuuid ());} 

hint:

The function parameter of the running command must be the parameter format of the above example.

If you are a developer, when debugging the module, you need to export to jar format and then debug, otherwise the module may report an error.

Minecraft images

How to use ChatCommandsManager as the front module 263 times to browse November

Minecraft images

The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.