anchor.diff:  	ensure_started(cowboy),
   	application:start(egs).
   
  -%% @spec stop() -> ok
  -%% @doc Stop the EGS server.
  +-spec stop() -> ok.
   stop() ->
   	Res = application:stop(egs),
   	ok = application:stop(cowboy),
  
positive.code: 	Res.
  
  %% @doc Send a global message.
  global(Message) ->
  	if	length(Message) > 511 ->
  			io:format("global: message too long~n");
  		true ->
  			egs_users:broadcast_all({egs, notice, top, Message})
  	end.
  
  %% @doc Warp all players to a new map.
  warp(QuestID, ZoneID, MapID, EntryID) ->
  	egs_users:broadcast_all({egs, warp, QuestID, ZoneID, MapID, EntryID}).
  
  %% @doc Warp one player to a new map.
  warp(GID, QuestID, ZoneID, MapID, EntryID) ->
  	egs_users:broadcast({egs, warp, QuestID, ZoneID, MapID, EntryID}, [GID]).
  
negative.code: %%	along with EGS.  If not, see <http://www.gnu.org/licenses/>.
  
  -module(egs).
  -export([start/0, stop/0, global/1, warp/4, warp/5]). %% API.
  
  %% @todo Don't use an include file for type specs.
  -include("include/types.hrl").
  
  %% API.
  
  -spec start() -> ok.
  start() ->
  	ensure_started(crypto),
  	ensure_started(public_key),
  