In this section, we present a collection of HTTP templates that are being updated to work with the most recent Corrade progressive release.
To download the templates, you can checkout the following SVN repository:
Name | Languages | Requirements | Description | Project Link |
---|---|---|---|---|
maleFemale | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7, Corrade interact permissions (configurable in Corrade.ini ) | The template can be used to detect avatars on a region and then display a pie chart showing the male-to-female ratio of detected avatars. | Monitoring Avatar Shape Gender |
plotMapAvatars | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7 (php5-curl, php5-gd), Corrade interact and land permissions (configurable in Corrade.ini ) | The template downloads the current region map tile and then plots the position of avatars onto the map - replotting every second. | Plotting Avatars On a Region |
topScripts | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7, Corrade interact and land permissions (configurable in Corrade.ini ), Corrade must be an estate manager for the land to query. | The project uses Corrade to query a region's top scripts (needs estate manager rights) periodically and displays them sorted by score in a table. | Monitoring Top Scripts |
downloadTexture | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7 (php5-curl, php5-gd), Corrade interact permissions (configurable in Corrade.ini ) | The project uses Corrade's download command to download any texture by UUID. | Downloading Textures |
groupChat | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7, Corrade group permissions (configurable in Corrade.ini ) | The project uses Corrade notifications to listen to group chat in-world, display the last few lines on the web and additionally able to relay message to the group using Corrade as a proxy. | Group Chat |
massInvites | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7, Corrade group permissions (configurable in Corrade.ini ) | The project uses Corrade to send a bunch of invites by entering them in a HTML form and then sending the requests to Corrade's internal HTTP server. | Mass Invites |
renderAvatarsMap | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7, Corrade land and interact permissions (configurable in Corrade.ini ) | The project renders a three-dimensional display of the the map mesh and the avatars on region by pulling and constructing all the data dynamically using Corrade. | Render Avatars Map |
addRemoveGroups | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7 | The project shows how to use a simple XML serializer and deserializer in order to dynamically add or remove groups from Corrade's configuration file Corrade.ini | Add Remove Groups |
instantMessage | PHP, HTML, JavaScript (JQuery/AJAX) | PHP >= 5.6.7, Corrade needs the talk permission enabled for the configured group and the configured group also needs to be allowed to bind to the message notification. | This template allows sending instant messages (IMs) from outside the grid by using Corrade as a relay. Furthermore, the template hooks into Corrade's message notification such that any message received by Corrade will make the template display a tab with the conversation in real time. | Instant Message |