radic / bukkit-console
Laravel package providing remote access to a Bukkit server console using JS/PHP/Laravel and the SwiftAPI Bukkit plugin
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.3.0
- illuminate/support: 4.*
- radic/bukkit-swift-api: dev-master
This package is not auto-updated.
Last update: 2024-11-05 01:42:49 UTC
README
Laravel package providing remote access to a Bukkit server console using JS/PHP/Laravel and the SwiftAPI Bukkit plugin.
Preview screenshots
Version 1.0.1
Requirements
- PHP > 5.3
- Laravel > 4.0
- Laravel Bukkit SwiftApi
Installation
Add to composer.json requirements:
"requires": { "radic/bukkit-swift-api": "dev-master", "radic/bukkit-console": "dev-master", }
Register Laravel service providers:
'providers' => array( 'Radic\BukkitSwiftApi\BukkitSwiftApiServiceProvider', 'Radic\BukkitConsole\BukkitConsoleServiceProvider', )
Publish all zeh stuff:
php artisan config:publish radic/bukkit-console php artisan asset:publish radic/bukkit-console php artisan view:publish radic/bukkit-console
Using
The standard route is (http://yoursite/bukkit-console')
Configuration
There's hardly any config, accept for the JS terminal. Will write something here later on
Routing
// config.php array( 'view' => array('bukkit-console', 'Radic\BukkitConsole\Controllers\ConsoleController@index'), 'cmd' => array('bukkit-console', 'Radic\BukkitConsole\Controllers\ConsoleController@cmd') ) // BukkitConsoleServiceProvider.php $routes = Config::get('radic/bukkit-console::routes'); Route::get($routes['view'][0], $routes['view'][1]); Route::post($routes['cmd'][0], $routes['cmd'][1]);
Further reading
- Laravel Bukkit SwiftApi. The SwiftAPI laravel wrapper
- Bukkit SwiftAPI. The SwiftAPI Website.
- SwiftAPI Thrift Documentation. The docs for SwiftAPI generated Thrift code.
- Bukkit SwiftAPI Reposiotry. Repository for the SwiftApi Bukkit Java plugin.
Credits
- Robin Radic created Laravel Bukkit SwiftApi
- Phybros created Bukkit SwiftAPI
- Jakub Jankiewicz created jQuery Terminal
License
Laravel Bukkit Console licensed Do What the Fuck You Want to Public License