Skip to content

Serble/BlockSumoFFA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Block Sumo FFA

A Block Sumo FFA Minecraft game mode written in C# using Minecraft Dotnet.

You can run the game simply by executing the Test project. Alternatively you can integrate it into another project by including it as a dependency and doing something like this:

ManagedMinecraftServer server = ManagedMinecraftServer.NewBasic();

ITerrain terrain = ...;  // Load or generate terrain here

BlockSumoFfaConfig config = new(terrain, spawn, respawnTime);
BlockSumoFfaGame game = new(config, server);

World world = game.Initialise();
server.Events.AddListener<PlayerPreLoginEvent>(e => {
    e.World = world;
});

server.Start();
await server.ListenTcp(25565);

See the Test project for a complete example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages