Skip to content

Latest commit

History

108 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Owop.NET

Owop.NET is an asynchronous .NET library for interfacing with OurWorldOfPixels (OWOP). It follows in the footsteps of projects such as OWOP.js and is designed for easily creating OWOP bots.

Example

usingMicrosoft.Extensions.Logging;usingOwop.Client;// Create our client instanceusingvarclient=IOwopClient.Create();// Fires when our client connects to the worldclient.Connected+= args =>{args.World.Logger.LogInformation($"Connected as ID {args.World.ClientPlayer.Id}");};// Fires when another player uses the /tell command on usclient.Tell+=async msg =>{awaitmsg.Player.Tell($"Hello from {msg.World.Name}!");};// Connect to a world!// World name defaults to "main" if none is providedawaitclient.Connect(options:newConnectionOptions{Nickname="MyFirstBot"});

About

Unofficial .NET wrapper and extreme convenience library for OWOP (https://ourworldofpixels.com/)

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages