Skip to content
Everybody Edits World Library - A seamless solution for interacting with Worlds.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
World.CLI
World.Tests
World
LICENSE
README.md
World.sln

README.md

World Build status

This library is currently read-only; world properties cannot be modified.

Features

  • A very simple class which allows for easy interaction with world properties.
  • A future-proof design, block properties automatically in proper order in Message packet.
  • A modern and rebust format for serialization and deserialization - JSON.
  • A command-line utility serving as functional examples (i.e. creating minimaps and synchronizing worlds to/from JSON).

Examples

Accessing world properties

var world = new World(InputType.BigDB, "PW01");

var plays = world.Plays;
var name = world.Name;

var coins = world.Blocks.Where(x => x.Type == 100 || x.Type == 101).Select(x => x.Locations.Count()).Sum();

Serialization and deserialization

var serialized =  new World(InputType.BigDB, "PW01").Serialize();
var deserialized = new World(InputType.JSON, serialized, null);

World.CLI

Synchronising worlds from JSON.

World.CLI.exe sync -u:email -a:password -i:world.json -t:PWTargetEI

Generating world minimaps from JSON.

World.CLI.exe create -t:minimap -i:PWTargetEI -o:world.png  

Exporting world to JSON.

World.CLI.exe create -t:exportjson -i:PWTargetEI -o:world.json  

World.Web

World.Web This utility is currently in beta - see gh-pages branch.

You can’t perform that action at this time.