[WEB/ADMN] - Webukkit v0.beta9.5-fix3

Discussion in 'Bukkit Tools' started by cyberbobjr, Feb 12, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    cyberbobjr

    Webukkit
    Version: v0.9.5-fix3
    Webukkit is a http interface for Bukkit.

    Features:
    • Stats pages : top 10 builders, killers, travelers, etc. based on the Stats Plugin
    • GUI Plugins (see screenshots) for :
      • Permissions plugin
      • Achievements plugins
    • Show a map of your world (with an url like dynmap or a image file like mcmap)
    • Show/modify/backup your plugins configuration files
    • Access to some commands of TCP Plugin (http://forums.bukkit.org/threads/admin-dev-tcp-interface-for-bukkit-v1-1-297.746/) :
      • Send a message to a connected player
      • Send a message to all players connected
      • Kick a player
      • Display player's inventory
      • Destroy an item in the player's inventory
      • Give item to a player
    • Access to Remote Toolkit Plugin (http://forums.bukkit.org/threads/ad...view-full-remote-console-access-r10-a7-1.674/) :
      • Restart server
      • Restart forced server
      • Stop server
      • Stop Minecraft server
      • Start Minecraft server
      • Send console command and watch the result (ban, kick, op, deop, deban, etc.)
    • Interaction with Permissions plugin : allows users to register and be automatically listed in the Permissions plugin with a choosen world and a choosen group
    • Access to the server log
    • Theme support, you can made your own theme ! (Minecraft theme is provided, see screenshots)
    • Permissions for the website : ability to access map & stats pages for public/registered users
    Planned/Todo :

    - Edit profile for users : add avatar option for stats pages - (not started yet, planned for the 1.0)
    - Signature generator : make signature with player's stats - (not started yet, planned for the 1.0)
    - GUI for GroupManager : i'm waiting for the YAML fix or for the SQLite version of GM...
    - Mini blog engine : add posts and comments in the Public interface (not started yet, maybe for the 1.0 version)
    - Replace TCP Remote Plugin by my own plugin : RemoteTCP (http://forums.bukkit.org/threads/dev-remotetcp-v1-0-crypted-server-query-602.10506/), more secure, more faster.

    Prerequisites

    You will need :
    • HTTP server with mod_rewrite support
    • MySQL 5
    • PHP 5.2 or greater (or PHP 5 but with json package)
    Download (open)

    You can download the archive here : http://code.google.com/p/bukkit-webadmin/downloads/list

    You can access the source code here : http://code.google.com/p/bukkit-webadmin/source/checkout

    Screenshots (open)

    [​IMG]
    Webukkit permissions (Theme : minecraft)
    [​IMG]
    Gui for Achievements (Theme : minecraft)
    [​IMG]
    Stats page (with Stats plugin) (Theme : minecraft)
    [​IMG]
    Installation Windows
    [​IMG]
    Connexion Windows
    [​IMG]
    Configuration Windows
    [​IMG]
    Map Windows (with dynmap)
    [​IMG]
    Map Windows (with integrated viewer - mcmap example)
    [​IMG]
    Log Windows
    [​IMG]
    Plugin Editor Windows
    [​IMG]
    Status Windows : Server command & Player command & Player inventory
    [​IMG]
    GUI for Permissions plugin

    Installation (open)

    A tutorial was write for installation, look at this : Tutorial step 1

    You must have an HTTP server AND a MySQL base AND PHP Version >5.2 (for json thanks to zajacmp3 ;))
    1. Unzip the archive in your html root folder.
    2. Go to http://yourserver/index.php/installer/ and follow instructions.
    Linux Users, attention :
    • The files unzipped must be owned by the apache group !
    • If you want to modify config file for plugins, the minecraft directory must be writable by the apache group !
    Install these scripts to the same server that host Minecraft if you want to edit config files of plugins.

    If you want to use TCP Bukkit Interface, it's must be configured with this option :
    send-all-json=true

    Upgrade to 0.7 (open)

    From 0.5beta : please don't do an upgrade with the 0.5beta, it's better to do a fresh install.
    From 0.6beta : is not necessary, uncompress the 0.7beta archive and run it's enough.

    Instructions :

    1. Unzip the archive into your Bukkit Webadmin directory (be careful to the rights)
    2. Go to http//yourserver/updater and generate the tables you don't have.

    Interaction with Permissions plugin (open)

    I've tested this functionnality with Permissions Plugin 2.1.
    Be carefull : do a backup of your config file "yml" before.

    This functionnality let your users to register on the site and automaticaly be added to the Permissions Plugin.
    You choose the default group and default world for new users.
    This functionnality is not mandatory, it's an option, you can choose to activate it or not.

    For enabling this functionnality, go in the config menu, check "Use Permissions plugin" and choose the default world and default group. The group list is calculated dynamically on the configuration file of Permissions plugin.

    Each time a user registers on the site, a new entry is added into config "yml" file of Permissions plugins. If you use the Nukkit plugin (http://forums.bukkit.org/threads/ad...-web-based-authentication-and-promotion.4631/) the permissions will be automatically reloaded, if not you must reload manually configuration of Permissions plugin.
    If you want to reload automatically permissions plugins, click on the chekbox "Reload permissions after new register ?" (warning it's experimental). You must have RemoteToolkit Plugin enabled and correctly configured.

    How to made your own theme (open)

    Theme files must be in the directory /theme
    The name of the directory will be the name of your theme, it will be visible in the config menu.
    In your theme directory, make CSS and IMG directory.
    Inside CSS, put your ... CSS files :) You must have 3 CSS :
    • "default.css" - General CSS for the website
    • "jquery-ui-1.8.9.custom.css" - You can generate CSS at this url : http://jqueryui.com/themeroller/
    • "selectmenu.css" - CSS for the dropdown langage selector
    Inside IMG, put all images files necessary for your theme.

    For example, you want to design a theme called "NochtheBest".
    Create a directory named "NochtheBest" in "Theme" directory.
    Create a CSS and IMG in "NochtheBest", copy your CSS and IMG files inside them.
    You will have :
    \ - Theme
    \ - NotchtheBest​
    \ - CSS​
    \ - IMG​

    Done! You can change your theme in the config menu to "NotchtheBest"

    Changelog (open)

    version 0.9.5-fix3 - 2011-04-16
    • Fix a bug with achievement editor
    • Fix a bug for the path of items.txt
    version 0.9.5-fix2 - 2011-04-14
    • Fix for Stats & Achievements v0.9
    version 0.9.5-fix1 - 2011-03-22
    • Remove test menu :p
    version 0.9.5 - 2011-03-21
    • Add SQL support for Stats & Achievements plugin
    • Add support for Stats & Achievements plugin v0.8
    • Fix a bug for a trailing slash in the main root url
    • Add singlequote instead of doublequote for YAML config file
    version 0.beta9 - 2011-03-13
    • Add theme support
    • Add permissions for website (for stats & map)
    • Add stats pages (with Stats plugin)
    • Add group and user management for webukkit
    • Add GUI for Achievements plugin
    • Add an option for reloading Permissions plugin when a user is registered (experimental)
    • Full french translation
    version 0.beta8 - 2011-03-11
    • Add a php version check for the installer
    • Add a langage selector (French is translated "petit à petit") - Thanks to Amrac !
    • Add a GUI for Permissions plugins
    • Modify the registration system for new users into Permissions plugins, add the world option
    • Fix a bug with trailing slash in the minecraft path
    • Fix a bug in core.php for the UTC time zone
    Version 0.beta7 - 2011-03-01
    • The name is now "Webukkit" instead of "Webadmin Bukkit"
    • Subdirectory feature : you can now install Webukkit in a subdirectory instead of a root web directory
    • Add an edit button for editing template plugin
    • Fix a bug images displayed in inventory when you use subdirectory
    • Add a log windows : now you can see the log server.
    • You can send command to the console in the "log" menu (be careful it's experimental, use it at your own risk).
    • Add another map system, you can now use a standard image file for displaying map instead of a url for dynmap (the image file must be stored in /maps/images)
    • Ajax request don't block the windows now, a simple "wait cursor" is now displayed when an Ajax request is made
    Version 0.beta6 - 0211-02-24
    • Fix a bug when the plugin name contain a space, the plugin tab did not display the config file.
    • In the installer, you can now choose if you want to create a database or use a existing one, you can also set the prefix for tables.
    • You don't need anymore to be root of the database for creating tables and inject data, a valid account with privilege is enough.
    • Add licence information
    • Add "hold" and "unhold" command for Remote toolkit
    • Automaticaly add registered users to Permissions Plugin with a default choosen group (it's an option, you can uncheck this feature if you want)
    • Add some verifications check in the register panel
    • Add user management in the config tab
    • Add a button in the 'Edit plugin' menu for deleting old config file
    • Add new items from the Minecraft 1.3 version
    Version 0.beta5 - 2011-02-21
    • Remove the rewriting process, no more .htaccess !
    • Major change in directories structures
    • Add a user registration (for later)
    • Various minors fixes and checks
    Version 0.beta4 - 2011-02-18
    • Add Remote toolkit support (it's now possible to restart the server)
    • Add UTF-8 support for config file (Gastronomic plugin for example)
    • During the update it is now possible to import new templates plugins
    • During the installation, the "tmp" directory AND subdirectories are write-checked
    • CSS cleaning
    • Remove some useless function (the status windows display faster now)
    • Windows in the inventory panel are moveable
    • All always, some minors bugs fixed
    Version 0.beta3 - 2011-02-16
    • Add inventory management
    • Change the status windows
    • Add a check for installation for security (if a file exist, you can't install anymore)
    • Add an updater processus
    Version 0.beta2 - fix 2
    • Add verification of permissions in the installer process and the config process.
    Version 0.beta2 - fix 1
    • Many littles fixes for Linux system
    Version 0.beta2
    • First release to the public


    0.beta9.5 is still free, but you can donate.

    v1.0 will cost 5€ when it will be done.


    [​IMG]


    PS : sorry for my bad English, i'm a French native ;)

    Thanks to MonsieurApple for his Minelink PHP Class (http://forums.bukkit.org/threads/minelink-0-1.3564/)

    Tested on :
    Windows 7 - Xampp 1.7.3
    Windows XP - Xampp 1.7.3
    Linux ClearOS 5.1 - Apache/PHP 5/MySQL 5.2
    Centos 5.3 - You must upgrade PHP to 5.2 => http://wiki.centos.org/HowTos/PHP_5.1_To_5.2

    Tested with :
    CraftBukkit build 617
    Permissions plugin 2.5.4
    TCP Plugins 1.2
    Remote Toolkit plugin r10 a8.2
    Stats & Achievements v0.9
     
  2. Offline

    drdanick

    Good news,

    I've tested sending commands through telnet via your web interface with both the version of the toolkit you noticed the error on and the version with my fix, and I can confirm that the fix did indeed work.
     
  3. Offline

    Furious

    What's up with the weird items in the items list? There's obsidian tools/armor, wood chippers, tnt cannons? What is all that stuff?
     
  4. Offline

    cyberbobjr

    Hi,
    It's because some mods add these items, check here : http://www.minecraftwiki.net/wiki/Data_Value
    Regards
    --- merged: Mar 2, 2011 8:16 AM ---
    Hi Doctor,
    Really nice, thank you so much for your job :)
     
  5. Offline

    fffizzz

    i really want this to work.. must be something about cpanel it doesnt like.
     
  6. Offline

    cyberbobjr

    Hi,
    Sorry, i don't understand what do you want exactly ?
    Regards
     
  7. Offline

    fffizzz

    I posted my errors above. I was wondering if cPanel might be causing the problem. I spent a couple hours yesterday hacking/searching to make this work. At least with 7, the graphics display, until i reach that install page.

    cpanel is a webhosting control panel.
     
  8. Offline

    cyberbobjr

    I've read your post, but you don't describe the problem. Can you tell me what is the symptom ?
    I need informations : which system do you use ? Where did you install it ? What is display if you go to installer .php ?
    Thanks.
    Regards
     
  9. Offline

    fffizzz

    Centos 5.5
    apache 2.2

    Errors

    An Internal Error Has Occurred

    Error: An Internal Error Has Occurred.
    i get that if i goto the installer, nothing else.

    if i enable debug, i get the following

    Code:
    [/FONT][/SIZE][/COLOR]Warning (2): include_once(/home/mcraft/public_html/mcadmin/app/config/database.php) [function.include-once]: failed to open stream: No such file or directory [CORE/libs/model/connection_manager.php, line 23]
    Code | Context
    include_once - CORE/libs/model/connection_manager.php, line 23
    require - CORE/libs/model/connection_manager.php, line 23
    App::__load() - CORE/libs/configure.php, line 1059
    App::__find() - CORE/libs/configure.php, line 1018
    App::import() - CORE/libs/configure.php, line 954
    require - CORE/libs/model/model.php, line 28
    App::__settings() - CORE/libs/configure.php, line 1145
    App::import() - CORE/libs/configure.php, line 915
    ClassRegistry::init() - CORE/libs/class_registry.php, line 140
    Controller::loadModel() - CORE/libs/controller/controller.php, line 637
    Controller::constructClasses() - CORE/libs/controller/controller.php, line 502
    Dispatcher::_invoke() - CORE/dispatcher.php, line 185
    Dispatcher::dispatch() - CORE/dispatcher.php, line 170
    [main] - ROOT/index.php, line 83
    Warning (2): include_once() [function.include]: Failed opening '/home/mcraft/public_html/mcadmin/app/config/database.php' for inclusion (include_path='/home/mcraft/public_html/mcadmin/cake:/home/mcraft/public_html/mcadmin/app/:.:/usr/lib/php:/usr/local/lib/php') [CORE/libs/model/connection_manager.php, line 23]
    Code | Context
    include_once - CORE/libs/model/connection_manager.php, line 23
    require - CORE/libs/model/connection_manager.php, line 23
    App::__load() - CORE/libs/configure.php, line 1059
    App::__find() - CORE/libs/configure.php, line 1018
    App::import() - CORE/libs/configure.php, line 954
    require - CORE/libs/model/model.php, line 28
    App::__settings() - CORE/libs/configure.php, line 1145
    App::import() - CORE/libs/configure.php, line 915
    ClassRegistry::init() - CORE/libs/class_registry.php, line 140
    Controller::loadModel() - CORE/libs/controller/controller.php, line 637
    Controller::constructClasses() - CORE/libs/controller/controller.php, line 502
    Dispatcher::_invoke() - CORE/dispatcher.php, line 185
    Dispatcher::dispatch() - CORE/dispatcher.php, line 170
    [main] - ROOT/index.php, line 83
    Fatal Error (256): ConnectionManager::getDataSource - Non-existent data source default [CORE/libs/model/connection_manager.php, line 102]
    Code | Context
    ConnectionManager::getDataSource() - CORE/libs/model/connection_manager.php, line 102
    Model::setDataSource() - CORE/libs/model/model.php, line 2833
    Model::__construct() - CORE/libs/model/model.php, line 469
    ClassRegistry::init() - CORE/libs/class_registry.php, line 141
    Controller::loadModel() - CORE/libs/controller/controller.php, line 637
    Controller::constructClasses() - CORE/libs/controller/controller.php, line 502
    Dispatcher::_invoke() - CORE/dispatcher.php, line 185
    Dispatcher::dispatch() - CORE/dispatcher.php, line 170
    [main] - ROOT/index.php, line 83
    [/code]
     
  10. Offline

    cyberbobjr

    Which version of php do you have ? For my CentOS 5.3 i've upgraded the PHP package from 5.1 to 5.2.
    Can you create a database.php in /app/config with this inside :
    PHP:
    <?php
    class DATABASE_CONFIG {
        var 
    $default "";
    }
    ?>
    Keep me in touch ;)
    Thanks you.
    Regards
     
  11. Offline

    fffizzz

    with that, I now receive this error

    Fatal error: Call to undefined method DboSource::connect() in /home/mcraft/public_html/mcadmin/cake/libs/model/datasources/dbo_source.php on line 143
     
  12. Offline

    cyberbobjr

    Which version of Php do you use ?
    --- merged: Mar 2, 2011 1:53 PM ---
    do you have a mysql database ?
     
  13. Offline

    fffizzz

    Yes, I host many websites, use bigbrother and log everything to MySQL so i know it works. Even works from command line (ssh/shelll).
    Using php 5.2.16
     
  14. Offline

    kush

    Hello,
    Great job with this I really love it. When upgrading from 0.6 to 0.7 I noticed one problem. I'm not sure if its an error on my part or if its a bug. When viewing the inv of a player the pictures of the items dont show up. instead the it shows what looks like the picture name. I even tried a fresh install.
     
  15. Offline

    cyberbobjr

    Sorry i don't see what your error is.If you have teamviewer i can connect to check this if you want.
    Regards
     
  16. Offline

    PanCakes

    this doesnt seem to work on any control panel like kloxo or cpanel. Wont pickup my minecraft dir properly when i tell it where its at.
     
  17. Offline

    cyberbobjr

    I'm at my work, i'll check that in 1 hour when i go back to my home.
    regards
     
  18. Offline

    fffizzz

    thank god its not just me!!! i have cpanel too and am having issues. look at my errors above and see if yours are the same.
     
  19. Offline

    PanCakes

    i can get on the installer it just seems that on the config the client presumes that you files are in /var/www/html/ so it presumes when you enter your minecraft folder location that the files are actually on the same server that your server is. So you always end up having an error. But for the installer im not sure im using kloxo right now.


    Did you edit any of the files before you ran the installer? Because that might be why.
     
  20. Offline

    cyberbobjr

  21. Offline

    PanCakes

    i did do that. My files are in a folder in my kloxo control panel. i used the installer and set everything up. but for the path my mc folder is in /root/minecraft/bin. and "/root/minecraft/bin" apparently isnt my minecraft path
     
  22. Offline

    cyberbobjr

    I'm not sure to understand :) but in the config menu, the mc path must be set to /root/minecraft/bin (without quotes).
     
  23. Offline

    Archelaus

    I've moved this to the Bukkit tools part of the forum, as this isn't a plugin submission nor is it a release.
     
  24. Offline

    cyberbobjr

    Ok i've found the bug, corrected in the 0.7beta-fix1, you can download it
    Thanks for your report.
    Regards.
    --- merged: Mar 2, 2011 4:33 PM ---
    no problem...
     
  25. Offline

    PanCakes

    i obviously didnt use the quotes i tried a few combinations with no luck. Hmm i might of missed something do i need 2 add anything to my minecraft folder plugin something? the plugin folder that came with the panel is empty. so
     
  26. Offline

    contex

    I'd love to get this to work, but I'm currently getting the same error as the man above.
    An Internal Error Has Occurred

    Error: An Internal Error Has Occurred.

    The funny thing is that i couldnt get JSON to work on PHP 5.1. but I recently upgraded to PHP 5.2 and now it's not working at all.

    Info:
    BukkitAdmin-beta7-fix1.zip

    [[email protected] admin]# rpm -qa | grep php
    php-pdo-5.2.10-1.el5.centos
    php-gd-5.2.10-1.el5.centos
    php-common-5.2.10-1.el5.centos
    php-cli-5.2.10-1.el5.centos
    php-mysql-5.2.10-1.el5.centos
    php-bcmath-5.2.10-1.el5.centos
    php-devel-5.2.10-1.el5.centos
    php-pear-1.4.9-6.el5
    php-5.2.10-1.el5.centos
    php-ldap-5.2.10-1.el5.centos

    [[email protected] admin]# php -v
    PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

    [[email protected] admin]# rpm -qa | grep mysql
    mysql-server-5.0.77-4.el5_5.4
    mysql-5.0.77-4.el5_5.4
    php-mysql-5.2.10-1.el5.centos
    mysql-5.0.77-4.el5_5.4

    [[email protected] admin]# rpm -qa | grep httpd
    system-config-httpd-1.3.3.3-1.el5
    httpd-2.2.3-43.el5.centos.3
    httpd-manual-2.2.3-43.el5.centos.3

    [[email protected] admin]# httpd -v
    Server version: Apache/2.2.3
    Server built: Aug 30 2010 12:28:40
     
  27. Offline

    cyberbobjr

    Hi,
    you have this error when you go on index.php or index.php/installer ?
     
  28. Offline

    contex

    When I go to either index.php or index.php I get this error.
    There is nothing in the error log but in the access log I have this:


    ***.***.***.*** - - [04/Mar/2011:06:10:17 -0500] "GET /admin/index.php/install HTTP/1.1" 500 1417 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13"
    ***.***.***.*** - - [04/Mar/2011:06:10:18 -0500] "GET /admin/css/template.css HTTP/1.1" 304 - "http://moincraft.com/admin/index.php/install" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13"
    ***.***.***.*** - - [04/Mar/2011:06:10:18 -0500] "GET /admin/css/jquery-ui-1.8.9.custom.css HTTP/1.1" 304 - "http://moincraft.com/admin/index.php/install" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13"
    ***.***.***.*** - - [04/Mar/2011:06:10:18 -0500] "GET /favicon.ico HTTP/1.1" 404 287 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13"
    ***.***.***.*** - - [04/Mar/2011:06:10:29 -0500] "GET /admin/index.php HTTP/1.1" 500 1417 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13"
    ***.***.***.*** - - [04/Mar/2011:06:10:30 -0500] "GET /favicon.ico HTTP/1.1" 404 287 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13"


    304 error?
    304 Not Modified
    Indicates the resource has not been modified since last requested.[2] Typically, the HTTP client provides a header like the If-Modified-Since header to provide a time against which to compare. Using this saves bandwidth and reprocessing on both the server and client, as only the header data must be sent and received in comparison to the entirety of the page being re-processed by the server, then sent again using more bandwidth of the server and client.


    What and where did I screw up?
    Thank you!
     
  29. Offline

    cyberbobjr

    in /app/config/core.php
    you can set the debug level from 0 to 2, please change the error level to 2 and give the ouptut.
    Thanks you.
    Regards.
     
  30. Offline

    68x

    I am getting "Error ! Minecraft path don't exist!" when I try to add the minecraft server path.

    Webukkit is installed on the same server as minecraft and I still don't know what's wrong :(.
    My minecraft server path is
    Code:
     /root/Desktop/ffmc/
    I am also confused about what you are trying to say with
    Code:
    Webukkit MUST be installed on the same server than Minecraft server. 
    , do you mean hat it needs to be on the same server?
     
  31. Offline

    PanCakes

    68x im quite sure it does i get the same thing.
     
Thread Status:
Not open for further replies.

Share This Page