PixelPilot.Core
1.3.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PixelPilot.Core --version 1.3.0
NuGet\Install-Package PixelPilot.Core -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PixelPilot.Core" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PixelPilot.Core --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PixelPilot.Core, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PixelPilot.Core as a Cake Addin #addin nuget:?package=PixelPilot.Core&version=1.3.0 // Install PixelPilot.Core as a Cake Tool #tool nuget:?package=PixelPilot.Core&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Pixel Pilot
A C# library for interacting with the game PixelWalker
📄 Documentation
✨ Features
- Strongly typed packets.
- PixelPilot.Core has minor abstracts
- Lightweight
- Useful helper classes (optional)
🛠 Projects:
- PixelPilot.Core: The core of the project. Bare minimum client to interact with the game.
- PixelPilot.Structures: Create, load and save structures in your world.
- PixelPilot.Tests: All test related to the project.
- PixelPilot.DebugTools: Useful CLI programs to help development of PixelPilot.
Example
// Load the configuration. Don't store your account token in the code :)
var config = new ConfigurationBuilder()
.AddJsonFile("config.json")
.AddEnvironmentVariables()
.Build().Get<BasicConfig>();
if (config == null)
{
Console.WriteLine("The configuration file could not be loaded.");
return;
}
// Create a client.
var client = new PixelPilotClient(config.AccountToken, false);
// Executed when the client receives a packet!
client.OnPacketReceived += (_, packet) =>
{
switch (packet)
{
// Use strongly typed packets!
case PlayerChatPacket { Message: ".stop" }:
client.Disconnect();
Environment.Exit(0);
return;
}
};
// Executed once the client receives INIT
// Make a platform and do some silly loops.
client.OnClientConnected += (_) =>
{
client.Send(new PlayerChatOutPacket("Hello world using the PixelPilot API."));
};
// Connect to a room.
await client.Connect("r082b210d67df52");
// Don't terminate.
Thread.Sleep(-1);
Enjoy the library? Leave a ⭐
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Microsoft.Extensions.Logging.Console (>= 8.0.0)
- Websocket.Client (>= 5.1.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on PixelPilot.Core:
Package | Downloads |
---|---|
PixelPilot.ChatCommands
Chat commands for PixelPilot |
|
PixelPilot.Structures
Save and load structures. Easily paste them into your world. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.11.3 | 134 | 1/3/2025 |
1.11.2 | 126 | 1/3/2025 |
1.11.1 | 121 | 1/3/2025 |
1.11.0 | 97 | 12/29/2024 |
1.10.5 | 101 | 12/20/2024 |
1.10.4 | 116 | 12/17/2024 |
1.10.3 | 118 | 12/6/2024 |
1.10.2 | 115 | 12/4/2024 |
1.10.1 | 117 | 12/1/2024 |
1.10.0 | 113 | 12/1/2024 |
1.10.0-alpha | 84 | 11/30/2024 |
1.9.15 | 113 | 11/26/2024 |
1.9.14 | 103 | 11/24/2024 |
1.9.13 | 113 | 11/18/2024 |
1.9.12 | 109 | 11/18/2024 |
1.9.11 | 100 | 11/18/2024 |
1.9.10 | 100 | 11/18/2024 |
1.9.9 | 105 | 11/18/2024 |
1.9.8 | 138 | 10/17/2024 |
1.9.7 | 108 | 10/16/2024 |
1.9.6 | 107 | 10/15/2024 |
1.9.5 | 133 | 10/10/2024 |
1.9.4 | 126 | 10/8/2024 |
1.9.3 | 125 | 9/21/2024 |
1.9.2 | 160 | 9/4/2024 |
1.9.1 | 135 | 9/3/2024 |
1.9.0 | 148 | 8/26/2024 |
1.8.3 | 157 | 8/22/2024 |
1.8.2 | 159 | 8/22/2024 |
1.8.1 | 150 | 8/17/2024 |
1.8.0 | 159 | 8/15/2024 |
1.7.9 | 90 | 7/31/2024 |
1.7.8 | 91 | 7/29/2024 |
1.7.7 | 113 | 7/29/2024 |
1.7.6 | 113 | 7/28/2024 |
1.7.5 | 116 | 7/26/2024 |
1.7.4 | 106 | 7/23/2024 |
1.7.3 | 147 | 7/21/2024 |
1.7.2 | 131 | 7/21/2024 |
1.7.1 | 130 | 7/21/2024 |
1.7.0 | 129 | 7/20/2024 |
1.6.5 | 164 | 7/5/2024 |
1.6.4 | 159 | 6/20/2024 |
1.6.3 | 153 | 6/15/2024 |
1.6.2 | 164 | 6/15/2024 |
1.6.1 | 141 | 6/14/2024 |
1.6.0 | 130 | 6/14/2024 |
1.5.2 | 127 | 6/11/2024 |
1.5.1 | 112 | 6/11/2024 |
1.5.0 | 133 | 6/6/2024 |
1.4.1 | 137 | 6/5/2024 |
1.4.0 | 140 | 6/3/2024 |
1.3.0 | 137 | 5/29/2024 |
1.2.0 | 121 | 5/20/2024 |
1.1.9 | 138 | 5/4/2024 |
1.1.8 | 75 | 5/3/2024 |
1.1.7 | 78 | 5/3/2024 |
1.1.6 | 119 | 4/30/2024 |
1.1.5 | 120 | 4/30/2024 |
1.1.4 | 123 | 4/29/2024 |
1.1.3 | 107 | 4/29/2024 |
1.1.2 | 107 | 4/28/2024 |
1.1.1 | 112 | 4/28/2024 |
1.1.0 | 107 | 4/28/2024 |
1.0.2 | 93 | 4/28/2024 |
1.0.1 | 117 | 4/27/2024 |
1.0.0 | 149 | 4/27/2024 |
Included first iteration player management.