Package Data | |
---|---|
Maintainer Username: | radic |
Maintainer Contact: | robin@radic.nl (Robin Radic) |
Package Create Date: | 2014-07-08 |
Package Last Update: | 2014-07-16 |
Language: | JavaScript |
License: | GNU General Public License version 3 (GPLv3) |
Last Refreshed: | 2024-11-17 03:01:08 |
Package Statistics | |
---|---|
Total Downloads: | 5 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 2 |
Total Open Issues: | 0 |
Laravel package providing remote access to a Bukkit server console using JS/PHP/Laravel and the SwiftAPI Bukkit plugin.
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
The standard route is (http://yoursite/bukkit-console')
There's hardly any config, accept for the JS terminal. Will write something here later on
// 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]);
Laravel Bukkit Console licensed Do What the Fuck You Want to Public License