mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Added default.aspx and some readme files
This commit is contained in:
parent
482c07ed8a
commit
e61997183c
19
readme.txt
Normal file
19
readme.txt
Normal file
@ -0,0 +1,19 @@
|
||||
Commands
|
||||
--------------------------------------------------
|
||||
/map_wait [wait] - set wait between tile renders (ms)
|
||||
/map_stat - query number of tiles in render queue
|
||||
/map_regen - regenerate entire map (currently buggy)
|
||||
/map_debug - send map debugging messages
|
||||
/map_nodebug - disable map debugging messages
|
||||
|
||||
/addmarker [name] - adds a named marker to the map
|
||||
/removemarker [name] - removes a named marker to the map
|
||||
/listmarkers - list all named markers
|
||||
/tpmarker [name] - teleport to a named marker
|
||||
|
||||
server.properties
|
||||
--------------------------------------------------
|
||||
map-colorsetpath - point to colors.txt
|
||||
map-tilepath - point to web/tiles folder
|
||||
map-markerpath - point to markers.csv file (do not need to create the file, one will be created when you create a marker)
|
||||
map-serverport - the port the web server runs on (default is 8123)
|
1
web/readme.txt
Normal file
1
web/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
Update map.js and set tileUrl and updateUrl
|
3
web/tiles/readme.txt
Normal file
3
web/tiles/readme.txt
Normal file
@ -0,0 +1,3 @@
|
||||
Set map.js tileUrl to this folder
|
||||
Also set map-tilepath in server.properties to point to this folder.
|
||||
New tile images will be generated here by the plugin
|
16
web/up/default.aspx
Normal file
16
web/up/default.aspx
Normal file
@ -0,0 +1,16 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<script runat="server" language="C#">
|
||||
public void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
string lasttimestamp = Request.Params["lasttimestamp"];
|
||||
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create("http://localhost:8123/" + lasttimestamp);
|
||||
System.Net.WebResponse response = request.GetResponse();
|
||||
System.IO.Stream responseStream = response.GetResponseStream();
|
||||
System.IO.StreamReader reader = new System.IO.StreamReader(responseStream);
|
||||
Response.ContentType = "text/plain";
|
||||
Response.Write(reader.ReadToEnd());
|
||||
reader.Close();
|
||||
responseStream.Close();
|
||||
response.Close();
|
||||
}
|
||||
</script>
|
2
web/up/readme.txt
Normal file
2
web/up/readme.txt
Normal file
@ -0,0 +1,2 @@
|
||||
default.aspx is not required for all installations.
|
||||
If you are running a windows server with IIS, it may help in your setup.
|
Loading…
Reference in New Issue
Block a user