Skip to content

Commit

Permalink
some improvements and cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
JackCrumpLeys committed Sep 11, 2023
1 parent 47ea290 commit 6216e50
Show file tree
Hide file tree
Showing 35 changed files with 1,617 additions and 1,677 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ readme = "README.md"
license.workspace = true
keywords = ["minecraft", "gamedev", "server", "ecs"]
categories = ["game-engines"]
include = ["/src", "/benches", "/examples", "/README.md", "/LICENSE.txt"]

[features]
default = [
Expand Down
11 changes: 8 additions & 3 deletions crates/valence_command/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[package]
name = "valence_command"
description = "Command management for Valence"
readme = "README.md"
version.workspace = true
edition.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
repository.workspace = true
documentation.workspace = true
license.workspace = true

[dependencies]
anyhow.workspace = true
Expand All @@ -15,4 +18,6 @@ petgraph.workspace = true
serde-value.workspace = true
thiserror.workspace = true
tracing.workspace = true
valence_server.workspace = true

valence_server.workspace = true
valence_text.workspace = true
13 changes: 13 additions & 0 deletions crates/valence_command/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Valence Command

This plugin manages the command system for a valence server. It is responsible for parsing, storing, managing and
dispatching commands.

#### This plugin manages the following:

- Registering commands to a Command Graph which is used parse commands.
- Receiving commands from the client and turning them into events.
- Parsing commands and dispatching them in the registered executable format.
- Sending the command graph to clients.

See the module level documentation for more information.
Loading

0 comments on commit 6216e50

Please sign in to comment.