Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
.tests
dlts
dlts

# Added by cargo

/target
172 changes: 172 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "netrex"
version = "0.1.0"
authors = ["Bavfalcon9"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
# Hard depend on binary_utils
binary_utils = { git = "https://github.com/NetrexMC/BinaryUtil", branch = "master" }
flate2 = { version = "1.0.20", features = ["zlib"] }
rakrs = { git = "https://github.com/NetrexMC/RakNet", branch = "master" }
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@
</p>
<p>
<h1> Netrex </h1>
<p>A powerful minecraft bedrock software written in Typescript with Deno. </p>
<p>A powerful minecraft bedrock software written in RustLang. </p>
</p>
</div>

[![Discord](https://img.shields.io/discord/846586369568800798.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/y4aWA5MQxK)

## Why Netrex?

- It's written in Typescript.
- It's written in Rust.
- Unique and straight to the point.
- Single Executable thanks to Deno.
- Open Source
- Typescript Plugin API
- Single Executable.
- Open Source.

## The Game Plan

We have a plan for the initial release! View it on our [projects page](https://github.com/NetrexMC/Netrex/projects/1)! On top of this, we are working on a closed rust fork with the same api so Netrex will be fast in the future.
We have a plan for the initial release! View it on our [projects page](https://github.com/NetrexMC/Netrex/projects/1)!

## Scripts
All scripts can be accessed and viewed through the terminal by running `deno run -A ./scripts/mod.ts` in the home directory, or by installing them with deno. In this case, the name will be "nsc".
Expand Down
6 changes: 0 additions & 6 deletions import_map.json

This file was deleted.

39 changes: 0 additions & 39 deletions src/Server.ts

This file was deleted.

15 changes: 15 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pub mod network;
pub mod plugin;
pub mod util;
pub mod world;
pub mod server;

fn main() {
let mut ticking_server = server::Server::initialize();
// TODO -> Do config stuff for this!
let net = network::initialize(&"0.0.0.0:19132");

loop {
// do tick
}
}
31 changes: 0 additions & 31 deletions src/mod.ts

This file was deleted.

Loading