[WEB/ADMIN] SpaceBukkit Beta 1.2 - Web Administration the awesome way!

Discussion in 'Bukkit Tools' started by SpaceCP, Feb 3, 2012.

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

    dark_hunter

    I know you guys are sorting something, but its good to have options? Am I right?
     
  2. I am using xampp and Linux, I followed the tutorial but when I start localhost / spacebukkit / index.php I get "Error 403"

    I guess I have to change this:

    "<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow, deny
    allow from all
    </ Directory> "

    But I am using xampp and not know where to find this file for editing.

    Can help me?, Thanks and best regards;)
     
  3. It's located in C:\xampp\apache\conf\extra\httpd-vhosts.conf on windows, you will need to search for a entry like:

    and change it to AllowOverride All
    Sorry, I misread Xampp for Windows, the above is not correct in that case
     
  4. The file you have to configure xampp (in linux) is Httpd.conf this in "/ opt / lampp / etc", I've changed, and I have put the value "all". Restart Apache.

    I try again and I get "Error 403" again. As I see it can be permissions issues, I deleted the file. ".htaccess" inside the folder "spacebukkit". Again I try to run the script, and now I get this message:

    "Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

    Fatal error: Unknown: Failed opening required '/ opt / lampp / htdocs / spacebukkit / index.php' (include_path = '. :/ Opt / lampp / lib / php') in Unknown on line 0 "

    o this error:

    "Warning: include(/opt/lampp/htdocs/spacebukkit/lib/Cake/bootstrap.php) [function.include]: failed to open stream: Permission denied in /opt/lampp/htdocs/spacebukkit/app/webroot/index.php on line 81

    Warning: include() [function.include]: Failed opening '/opt/lampp/htdocs/spacebukkit/lib/Cake/bootstrap.php' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/spacebukkit/app/webroot/index.php on line 81

    Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your /cake core directory and your /vendors root directory. in /opt/lampp/htdocs/spacebukkit/app/webroot/index.php on line 86"

    Failing now?

    Thanks and regards.
     
  5. Sorry I misread Xampp for windows, my fault.
    The .htaccess file is needed, spacebukkit won't work without it.
    How did you install spacebukkit? Manually or with the script?
    Please post your /opt/lampp/etc/httpd.conf here.
     
  6. Dont worry ;)

    I've installed manually. The problem I commented above, I think it was from the permits, and the owner. I changed the permissions of the entire folder (to test) to 777 and also I changed the owner for my user.

    Now when I launch it again I get this:

    [​IMG]

    Comment I have every Spacebukkit directory with permissions at 777

    EDIT: I copied the file again .htaccess and I have set permissions to 777 and changed the owner.

    Now I get this:

    [​IMG]

    EDIT 2: I created a file named "Index.phpController.php" and I have pasted the code that I get. Back to throw and I say this now:

    "Parse error: syntax error, unexpected '.', Expecting '{' in / opt / lampp / htdocs / spacebukkit / app / Controller / Index.phpController.php on line 2"

    Is resisting the Spacebukkit XD

    Thanks and regards.
     
  7. Delete everything in spacebukkits folder and use the script dl.xereo.net/rec/install.sh (launch it with bash install.sh)
    And post your /opt/lampp/etc/httpd.conf to let me see if you configured that right.
     
  8. The install.sh script does not detect the xampp package. He tells me that I have installed apache (when if I have, but that comes with xampp).
    Httpd.con: http://pastebin.com/Qx0Me72h
     
  9. Offline

    dark_hunter

    Xampp = Windows, LAMP = Linux.
     
  10. Just say No when it asks you >_>
    It doesn't matter what you answer, the important thing is that the scripts changes the permissions correctly and puts everything in the right place.
    You had an error in there, replace it with this one: http://pastie.org/3348691

    The userbase likes to call it Xampp for XYZ, not carrying what the X or L actually means, sadly :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 29, 2015
  11. Offline

    dark_hunter

    You can't win them all. :D
     
  12. Offline

    Antariano

    XAMPP
    -> X for any OS, Apache, MySQL, PHP and Perl
    LAMPP, MAMPP, WAMPP
    -> Linux/Mac/Windows, Apache, MySQL, PHP and Perl

    :p
     
    GatsbyTheGreat and Nathan C like this.
  13. LAMPP is pretty useless since you only have to install apache2 and mysql-server on the most popular distros over the package manager, something everybody can do in under 10mn
    WAMPP is the most popular because fuck IIS
    MAMPP same as linux, has apache2 and mysql-server packages
    Userbase LAMPP: ~20%
    Userbase XAMPP: ~70%
    Userbase MAMPP: ~10%
    so when you say Xampp you most likely mean Wampp to about 70%

    dem facts
     
    Antariano likes this.
  14. Perfect! I have advanced in the installation. But I'm not done ... : D

    Now I come to this screen:
    http://imageshack.us/photo/my-images/46/pantallazodel2012020917.png/

    But I have a few things clear. Where it says title, will be the one I want not, the address, put the address of my server, which puts people in their homes, not localhost, that is miadress.com (example).

    Then where it says "Spacebukkit port", is the port that I have for my server? (default 25565)

    For "Spacebukkit RTK port" is the port used by the remote toolkit by default? (25561)

    It says the default is 2011 and 2012? (I do not understand this part)

    Then I have to put where it says "Salt". What to put there?.

    And finally, the role it my default visitor. But then I can add users and change the role of administrator?.

    Thanks and regards.
     
  15. Offline

    Antariano

    Your SpaceBukkit server runs on RTK with the SpaceBukkit module and plugin installed.

    The title is just a name you give the server.

    The two ports are used by spacebukkit, and are by default 2011 and 2012. Make sure you keep them open on your server.

    The "Salt" is a randomly generated password-string located in your SpaceBukkit config.yml file in
    yourserver/plugins/Spacebukkit/config.yml
    Where you also can change the default ports, by the way.

    The "default" role is the access role you give new admins you create by default, but you can always modify this value, the role, the users, everything!

    Have fun :p
     
  16. Well I do not understand what I'm doing wrong.

    I set this part as follows:

    Name: Project7
    Address: project7.es
    Spacebukkit port: 2011
    SpaceRTk port: 2012
    Salt: Copy / Paste of the generated key in the file config.yml file that's in the plugins folder "Spacebukkit"
    Default role: Viewer

    The ports 2011, 2012 are open in my router, as well as the 25561 and 25565 are the RTK and Craftbukkit (default ports).

    Bukkit server is not hosted on any host server is a "home".

    EDIT: The server is running when I try to set this part. (Executed with rtoolkit.sh launcher)

    EDIT 2: Well, I got it!, I had to put the server address, internal IP, does not work if I put my domain name.

    Just one last thing, when I add a new user and I want to be administrator of the site, which is the difference between check "superuser" and not activate it?. If not active, then I put in as an administrator ... is not the same?. What benefits gives exactly be "superuser".

    Thanks and best regards;)
     
  17. Offline

    Jamy

    The salt in the config is not randomly generated, please change it ;)
    Also pleas post this issue on our forums: http://forums.xereo.net
     
  18. Edit my previous message. It works, but I can only resolve a doubt in my previous message, What I have written in blue :)

    PS: I'm trying Spacebukkit, I'm loving this utility, you just have a translation into Spanish to be perfect: D

    Thanks and regards.
     
  19. Offline

    Finda

    What permission plugins are currently supported by Spacebukkit?
     
  20. Offline

    Jamy

    None yet, though I'm working on it atm
     
  21. Offline

    Antariano

    Superuser means that he can access the "settings" page, and get's access to everything (every server, every page)

    Probably because we're (and with we I mean NeatMonster :p ) is making some major changes right now.
    NeatMonster, any help?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 29, 2015
  22. Offline

    nicquehen

    Hello,

    I have a little problem with the spacemodule (i put it in my module folder of rtk)
    I think i forget something :p

    Code:
    Minecraft Remote Toolkit R10 Alpha 12
    Initializing...
    Loading toolkit properties...Done.
    Loading toolkit modules...Done.
    Loading SpaceModule...Done.
    Checking for updates...Done.
    Loading SpaceBukkit #26...Done.
    java.lang.ClassNotFoundException: me.neatmonster.spacertk.SpaceRTK
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at me.neatmonster.spacemodule.SpaceModule.load(SpaceModule.java:97)
            at me.neatmonster.spacemodule.SpaceModule.execute(SpaceModule.java:90)
            at me.neatmonster.spacemodule.SpaceModule.onEnable(SpaceModule.java:140)
     
            at com.drdanick.McRKit.module.Module.startModule(Module.java:45)
            at com.drdanick.McRKit.module.ModuleManager.handleToolkitStateEvent(Modu
    leManager.java:66)
            at com.drdanick.McRKit.McRKitLauncher.<init>(McRKitLauncher.java:141)
            at com.drdanick.McRKit.McRKitLauncher.main(McRKitLauncher.java:102)
    Wrapper is running on: Windows 7 6.1 amd64
    Starting wrapper...
    Starting UDP listen server on port 25561
    11 fÚvr. 2012 15:53:40 net.wimpi.telnetd.net.PortListener run
    INFO: Listening to Port 25á561 with a connectivity queue size of 5.
     
    
     
  23. Offline

    NeatMonster

    Don't use SpaceModule ATM. Please downgrade SpaceBukkit and SpaceRTK to #26.
     
  24. Offline

    nicquehen

  25. Offline

    mir_ko

    Works perfectly! Thanks!!
    Have donated for you awesome work
     
  26. Thanks Antariano! ;)

    A doubt: The module / button to reset the server, in the main menu does not work. I skip an error message on the console of my server when pressured. I have read that this has been corrected for the next version ...

    This is so?

    Thanks again and greetings (Soon I will donate something to "cause" XD that this project deserves it ...)
     
  27. Offline

    rmsy

    I'm having some issues installing SpaceBukkit. I used the installation script, and it showed that everything was fine:
    Then, when I tried to install SpaceBukkit, I get these errors (I did read the Wiki, SELinux is disabled):
    Any ideas? Am I just doing something wrong? Thanks.
     
  28. Normally some more informations would have helped like OS etc.
    But I assume you are trying to get SpaceBukkit running on CentOS 5.7
    The error is known to us and we try our best to get it resolved as soon as possible.

    Edit: we (I) first thought it would be SELinux not giving the webserver enough permissions. That wasn't true unfortunately, I'll remove it from the wiki...
     
  29. Offline

    rmsy

    Alright, thanks :) Also, sorry, I didn't even think to give the OS. I'm attempting to install it on CentOS 5.6 Final. Thanks for the help!
     
  30. rmsy:
    The issue has finally been fixed, I updated the Wiki
     
Thread Status:
Not open for further replies.

Share This Page