this is a paste from bukkit plugin suggestion forums, that now i think would be great if could be implemented on sponge !!
my idea is that minecraft client (trought forge?) could request an EXTERNAL HTTP SERVER PAGE (could be localhost running php) and parse some plain html tags response (or bbcode or whatever, no javascript nor css) … mainly tables, forms, background colors, font color with default pixelated ones, stretched tiny images to save bandwidth and force to look pixelated, and links
that way you could design whatever interface in your web server you want to be shown inside your minecraft game … for example a custom ingame “view/edit skin”, “recipe lookup”, “my map waypoints”, “player profile(s)”, “player login” or any interface, by a yml configurable request like – url: "http://localhost/minecrafthtml/profile.php?player=%P – or some … then your webserver build your page and send to minecraft, and it parses and show you, with some degree of interactivity
see pasted bukkit forums message below for more details
category = mechanics, informational, miscelaneous
suggested name = html pages, minecraft html
what i want = put some web pages on my web server with images, forms, and links
that i can read inside minecraft … NOT A WEB BROWSER WITH ADDRESS BAR
INSIDE MINECRAFT … example: suppose i wrote a web interface to search recipes
and i can view inside minecraft, connected to my webserver, and intecact
with it, without recipe plugin … example: i can view the players rank
realtime inside mc, and query stats, thougth http/html, inside minecraft
… example: player profile view/edit inside mc, with html forms
ideas for commands = if you type /recipe internally opens htttp://localhost/minecrafthtml/recipes.php?player=$player or so, then it opens in a mc window interface … if you type /profile it opens htttp://localhost/minecrafthtml/profile.php?player=%sender.name% and renders a player profile window inside minecraft, retrieved from the webserver, limited to the controls the page have
i think this will add so much flexibility to minecraft game interface,
game experience, and plugin development … i could not find anybody did
some like this … i found an ingame web browser once but , until could
be based on it, i think is too heavy and is not that i am searching for
only thought on page rendering and send forms … all logic can be processed
on web server trough php, only pure html (JUST SOME HTML TAGS like
images, forms, tables, anchors, no font styles) … the more complex,
the more hard to develop and insecure
think on some like this
<html>
<table>
<tr>
<td><img src='none.jpg'/></td>
<td><a href='recipe.php?item=gold'><img src='gold.jpg'/></a></td>
<td><img src='none.jpg'/></td>
</tr>
<tr>
<td><a href='recipe.php?item=gold'><img src='gold.jpg'/></a></td>
<td><a href='recipe.php?item=redst'><img src='redst.jpg'/></a></td>
<td><a href='recipe.php?item=gold'><img src='gold.jpg'/></a></td>
</tr>
<tr>
<td><img src='none.jpg'/></td>
<td><a href='recipe.php?item=gold'><img src='gold.jpg'/></a></td>
<td><img src='none.jpg'/></a></td>
</tr>
</table>
<img src='clock.jpg'/>
<form action='recipe-php' method='get'>
<input name='item'/><br/>
<input type='submit' value='Search'/>
</form>
</html>
[CODE]# config.yml
commands:- recipe: ‘http://localhost/minecrafthtml/recipe.php?recipe=$1’