Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| OneMoreAPI 1.0.0 release | 13.81 KB | Jan 13, 2013 | CB 1.4.6-R0.3 | 832 | Download |
Description
This plugin was built for the OneMoreBlock.eu creative server because Websend is unstable. Simple as that.
Features
Simple API to do the following:
- Execute a command on the server as Console
- Fetch data from the server via API-builtin commands
- Check if the API is alive
Current builtin commands:
- players – get a CSV formatted list of all current players
Planned features:
- Execute client provided code (compile at runtime)
- Scripting (for custom builtin fetchers)
- Stream encryption
- Statistics command "/api"
Usage
Jar contains a text file documenting the protocol and a class for easy use with PHP:
<?php require_once('OneMoreAPI.php'); $api = new OneMoreAPI(); var_dump($api->ExecuteApiCommand("players"));
Configuration
- apiport: Port on which the API should listen (Default: 25569)
- password: Password to protect access to the API (Default: "OneMoreBlock.eu")
Commands
None.
Source code is at svn://onemoreblock.eu/OneMoreAPI/trunk
Get 0.05 TON 💎
Download
Add a comment