1
Ask a Question / Re: Games like Agar.io, Slither.io or Diep.io
« on: September 29, 2016, 09:48:22 am »
Data API Reference
Extensions store data in the following locations:
Name Location Purpose
Prefs {workspace}/prefs/{id}.eprefs Dictionary of key-value pairs
Data {workspace}/prefs/{id}.edata Any data (as a single file)
Game Prefs {workspace}/games/{game}/extension-data/{name}/.prefs Game-specific preferences
Game Data {workspace}/games/{game}/extension-data/{name} Folder containing game-specific data
Game Extras {workspace}/games/{game}/extras/{name} Game-specific data needed by the engine at runtime
If you need to store data, use our data API to save out this data to disk. Do not attempt to write out to other locations using the plain Java API's. We may reject your extension if you do so.
Extensions store data in the following locations:
Name Location Purpose
Prefs {workspace}/prefs/{id}.eprefs Dictionary of key-value pairs
Data {workspace}/prefs/{id}.edata Any data (as a single file)
Game Prefs {workspace}/games/{game}/extension-data/{name}/.prefs Game-specific preferences
Game Data {workspace}/games/{game}/extension-data/{name} Folder containing game-specific data
Game Extras {workspace}/games/{game}/extras/{name} Game-specific data needed by the engine at runtime
If you need to store data, use our data API to save out this data to disk. Do not attempt to write out to other locations using the plain Java API's. We may reject your extension if you do so.