Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Everybody Edits World Library - A seamless solution for interacting with Worlds.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages