-
Notifications
You must be signed in to change notification settings - Fork 17
Commands
If something goes bad, run this
Arguably the most important, this puts the mod into a state where it shouldn't interfere or break stuff.
It:
- Aborts the current action.
- Removes the tracked plot location.
- Disconnects the api
- Unloads the actiondump (so it can be reloaded)
- Unloads the config (will be reloaded when needed)
If an action goes stray, like something moving you in spawn, run this.
This will also clear the overlay, such as if the CCDBUG overlay doesn't clear or the remove the getactiondump overlay.
Internally, if the player gets teleported, their old location is saved into the stored plot instance.
To move the player, the mod will teleport the player in 50 block jumps, unless in dev mode into the build area where a location item is used to teleport.
CodeClient can store many templates as files, at <minecraft>/codeclient/templates/
When holding a template, saves it at the given path.
Gives given path as a template.
Loads a folder or template, breaks templates which have their name and replaces them.
Requires confirmation.
Deletes the saved template or folder at given path.
Places template from given path, or if you don't give it one it will use your inventory.
Confirms a command which needs confirmation.
Only works in dev. This is an action and can be cancelled by /abort, if it breaks into something like spawn. It's generally too fast to abort.
This moves you to the plot origin, where the code starts, on that corner between the code and build spaces.
So, it moves you to the plot location 0, 50, 0.
Only works in dev. This is an action and can be cancelled by /abort, however it's generally too fast to abort.
This gets and loads the plot size, it will leave you at the far corner of the plot, between the build and code space at the top of the world.
/plotsize [basic|large|massive|mega]
.
Sets the saved plot size, if you don't provide a parameter the size will be unloaded.
This can automatically be done in dev mode with /getsize.
Gets the actiondump. This must be run on a development mode or similar, primarily beta.
This is because helpbot has an outdated actiondump, and doesn't have colors.
/getactiondump [ampersand|section]
If you do not parameter, the result will not have color codes.
If you use ampersand
, there will be color codes, using &
.
If you use section
, there will be color codes, using §
. This is the format used by the mod.
This will run for a bit, and stop any other connections. Just wait for it to complete.
It will be saved to <minecraft directory>/codeclient/actiondump.json
It is a wrapper for /dumpactioninfo
, which sends the actiondump into chat.
This will remove it from chat, remove other packets, and save it to a file.
It's technically an action, but cancelling it will not cancel the /dumpactioninfo
, so it will flood your chat and logs.
Authorizes an app connected to the api (technical page) with the permissions it requested.
Use this if you are using an app to complete more advanced tasks, are asked in the app and have got a message in game.
Note which permissions you are granting the apps!
There are also options:
/auth [remove|disconnect]
No options will authorize an app as above.
remove
will remove any extra permissions the app has, reverting to the default ones, and it can be reauthorized.
disconnect
will disconnect the app. Only one app can be connected at a time, so this can be used to disconnect it so another app can connect.
If an app starts an action like placing code you will need to abort it afterwards.
/search <name>
Command is called /ccsearch
if recode is enabled!
Searches the codespace for functions, processes and events with the name given.
Clicking on the response will teleport you to it.
This name may be subject to change later.
/jump <player|entity|func|proc> <name>
Teleports you to the player event, entity event, function or process with given name.
It is recommended to use DiamondFire's /ctp
Aliases: /goto
/uuid <name>
Gets the name of the provided UUID, can be configured to give you a string of the UUID.
/name <uuid>
Gets the UUID of the provided name, can be configured to give you a string of the name.
Sends your ping to the server.
/preview <actionbar|title|subtitle> <minimessage>
Previews a MiniMessage expression in the provided place.