[INACTIVE][WEB/ADMN] milkAdmin - Free Web Administrator Tool v0.0.55- Backups, Starting and Stopping

Discussion in 'Inactive/Unsupported Plugins' started by Snowl, Feb 12, 2011.

  1. Offline

    Snowl

    [​IMG]MilkAdmin [ALPHA]



    Liked MilkAdmin? Well, good news!

    It's out again: http://forums.bukkit.org/threads/ad...0-05-14-full-webserver-in-a-plugin-766.17249/



    A free, open-source admin tool thats compatible with every OS.
    Designed to be simple, easy and functional.
    How to use? (open)

    1. Download milkAdmin.zip
    2. Extract into the directory craftBukkit is in.
    3. Go into your web browser and go to http://<server ip address here>:64712
    4. Login (username is admin password is admin)
    5. Create a new administrative user (username CANNOT be admin)
    Done!


    Restarting/Starting/Stopping/Restoring not working?!? (open)
    This requires the wrapper made by drdanick: http://forums.bukkit.org/threads/ad...view-full-remote-console-access-r10-a6-2.674/
    Use this server wrapper to launch your server and restarting will work.

    Editing strings (open)
    Go into milkAdmin/strings.txt and edit the strings in there.
    Editing strings (open)

    Current strings available to edit:
    • banned
    • giveitem
    • takeawayitem
    • port





    Features currently implemented:
    • SHA-512 authentication
    • Restarting/Reloading/Killing server
    • Users online
    • Free/Total Memory
    • Server Version
    • Broadcasting messages.
    • Chat (type in the console, dont use /say)
    • Performing Server Commands (start commands with a /)
    • Backups
    • Starting and Stopping Server
    Features in next version:

    • Finish off web interface (players)
    Features coded but not in interface yet (should be in in a version or two):

    • Kicking User
    • Banning User/IP
    • Giving/Removing item from player
    • Getting and setting health of player
    • Changing display name of players
    • Teleport players to x, y, z/another player
    • Get IP: Port of player
    • Saving server
    • Editing/viewing inventory
    Features planned:

    • Fixing up web interface
    • Adding in all the features
    • Plugins
    • Mobile Theme
    • Fixing of properties
    • milkAdmin Account Management
    • View of logs
    • Dynamic Signatures
    • Scheduling
    • multiWorld Backups
    Screenshots:


    [​IMG]
    [​IMG]
    [​IMG]


    Why use MilkAdmin?

    There are a lot of alternatives out there that seem to have more features.
    Well for a start, MilkAdmin is very easy to install and requires almost no technical knowledge whatsoever to install and run. Not to mention that the server uses only java so configuring a complex webserver is not required as most gamers that play minecraft are gamers and not professional server administrators.

    A list of reasons why to use MilkAdmin;

    -Very easy to install and use
    -Does not require technical server knowledge
    -Does not use an external webserver
    -Does not require configuration
    -It's free and open source, I like to be forked on github :p
    -It uses a relatively small amount of memory
    -It's cross platform (will work like a charm on Linux, OS X and Windows)

    And I hope you enjoy my program we put time and effort into it, we appreciate your donations it encourages us and helps every step of the way!

    Thanks to
    • drdanick
    • cayde Dixon
    • d3x
    • RandomSRVApps (for testing and more ;) )
    Changelog:

    v0.0.55Alpha
    • Fixed major bug.
    v0.0.5Alpha

    • Backups /Restoring
    • Fixes
    • Starting and stopping server
    • Edits to the Web Server
    • More
    v0.0.4Alpha

    • Added console in server
    v0.0.3Alpha

    • Fixed Firefox
    • Added save-all option
    • Fixed restarting server
    • Fixed RTK errors
    • Added focusing Broadcast Message clears the box
    v0.0.2Alpha

    • Added port changing
    • Added customizable strings
    v0.0.1Alpha

    • Initial commit. Nothing really special here.
    Source code available at https://github.com/Snowl/milkAdmin



    Want to support me? Like this plugin? [​IMG]
     
  2. Offline

    drdanick

    Make sure that you are indeed running the toolkit and have set the correct toolkit user and password in properties.txt
     
  3. Offline

    TheTallest

    I am not sure what I am doing wrong. I went into the properties file and saw the user name and password fields and put in my user name with my encrypted password and then try to restart the server it got RTK_Timeout I then went in and put my username/password in plain text RTK_Timeout I then removed said user name and password so the fields were blank RTK_Timeout I did stop and restart the server before making the changes so I knew that the change would take affect. Each time I clicked on restart server I got RTK_Timeout. I have made sure the port that was specified in the prop file 25561 was open unless that port is suspose to be 25565 << the main mine craft port ? I love this Plugin I was even able to add a few buttons specific to my map in your index.html I hope that is okay.

    EDIT: would be possible in I hope the very soon to release update of this wonderful plugin to allow us either through the web interface or through the properties file to set where we would like our maps to be backed up to. I have a HDD separate for my Maps / Fullbackup of my server so if my main drive decides to take a dive I at least have my maps? Also could you program a 1 on 1 interface with my bank so I can just make up a fake deposit to dump money into my account :):):):):)
     
  4. Offline

    drdanick

    RemoteToolkit is a wrapper, which means you have to launch it on top of the Bukkit process. Instructions are in the RemoteToolkit thread. The user and pass is whatever you set when you start the wrapper.

    Also, i'm not the original developer of this plugin, that would be @David Diaz, requests should go to him. I just offer technical/development support where needed :p
     
  5. Offline

    TheTallest

    Thank you for the info I see you are the Dev for RemoteToolkit. I think I will take a closer look at that on my test server before deploying it on my live server so as not to Screw my server into the ground on accident. I will most likely come begging for your help if I blow up my machine and release the magic smoke from the MotherBoard (HAHAHAHA ).
     
  6. Offline

    GooMan

    don't work :(.

    Code:
    04:20:56 [SCHWERWIEGEND] Could not load plugins\milkAdmin.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.Snowl.org.milkBukkit.milkBukkit.
    <init>()
            at java.lang.Class.getConstructor0(Unknown Source)
            at java.lang.Class.getConstructor(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:75)
            ... 8 more
     
  7. Offline

    drdanick

  8. Offline

    JohnCri

    I installed the plugin, was able to login into the webpanel no problem. The problem I found was when I opened TCPviewer and watched my server connections on port 64712 after connecting to the site using explorer, firefox etc. It began to open that port 100's, 1000's of times virtually and lags the server out.
     
  9. Offline

    Quimoniz

    That's odd o.o.
    It should stop opening Ports, as soon as it succeeds in opening 1 Port... (since further binding to that port will not work...).
    [​IMG]
     
  10. Offline

    rymate1234

    This is awesome!

    Now i can administrate my minecraft server without messing around with connecting to my VPS :D
     
  11. Offline

    Joshpho

    Is it possible to download the backups, and is it possible to configure routine backups?
     
  12. Offline

    Liger_XT5

    So I'm using the current craftbukkit, 531, and I get the following:

    [SEVERE] Could not load plugins\milkAdmin.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.Snowl.org.milkBukkit.milkBukkit.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:108)
    ... 8 more

    What is the highest bukkit everyone is using?
    I'm just trying to get all my plugins up to date and trying to figure out the sweet spot this time around.
     
  13. Offline

    drdanick

    Are you using the 3rd party update of the plugin or the version in the OP?
     
  14. Offline

    Liger_XT5

    OP. Sorry, I don't usually look on previous to last pages very often, if I happen to over looked it :S

    edit:
    Found it on the previous page. Sorry about that.
     
  15. Offline

    Deadlystrike

    about this.. do i have to be on the same machine that is hosting the server to view and access website? or any computer?
     
  16. Offline

    bigbass1997

    0.0.55 doesnt work. this is the error that pops up...
    2011-03-11 19:56:49 [SEVERE] Could not load plugins\milkAdmin.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:205)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:183)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:381)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:366)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.Snowl.org.milkBukkit.milkBukkit.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:108)
    ... 11 more

    can u tell me how to fix this?
     
  17. Offline

    Quimoniz

    [​IMG]read!
    the last page of the Thread ...
    (or STFU)
    No, the plugin uses a hacked implementation of the HTTP Protocol. Which means you can use software such as Mosaic to access it, via TCP/IP. [​IMG]
     
  18. Offline

    Mataza

    Am I the only one who DONT have those backup features etc? I barely have anything no mine,
    Only restart, reload, save map and register new user etc..

    http://i.imgur.com/x0ZB9.jpg
    Sorry for huge pic, but the right side is my version, left is one of the pics you find in first post.. Am I using an old version?:s
     
  19. Offline

    Liger_XT5

    backups work, just not listed in the webui.
    backups are found in root/backups (root=same folder as the craftbukkit jar file resides).
     
  20. Offline

    Snowl

    Just as an FYI, I don't have any time to really work on this. Player features are all there.
    If anyone wants to implement these into the Web UI they can: Just perform a GET request to the page.

    Code:
    MilkBukkit
    
    http://bosak.net/minecraft/inventory.html
    
    /json/user_inventories&player=[player]
    returns
    {user_inventories: [
        {user: 'Snowl', inventory: [
            {type: 12, amount: 1}
            {type: 81, amount: 3}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
            {type: 0, amount: 0}
        ]}
    ]}
    /json/users_online - Returns
    Snowl, player
    
    /player/kick_user&user=[user]
    Kicks [user]
    
    /player/give_item&user=[user]&item=[item]&amount=[amount]
    Gives [user] [amount] [item] (item ID)
    
    /player/remove_item&user=[user]&item=[item]&amount=[amount]
    Removes from [user] [amount] [item] (item ID)
    
    /player/get_health&user=[user]
    Returns 0-20
    
    /player/get_health&user=[user]&amount=[health]
    Sets [user]'s health to [health] [range 1-20]
    
    /player/is_online&user=[user]
    Returns true or false
    
    /player/get_address&user=[user]
    Returns something like /127.0.0.1:36690
    
    /player/get_port&user=[user]
    Returns [user]'s port
    
    /player/shoot_arrow&user=[user]
    Make [user] shoot an arrow.
    
    /player/throw_snowball&user=[user]
    Make [user] throw a snowball.
    
    /player/throw_egg&user=[user]
    Make [user] throw an egg.
    
    /player/change_display_name&user=[user]&name=[name]
    Changes [user]'s name to [name]
    
    /player/teleport_to_player&user=[user]&to_user=[name]
    Teleports [user] to [to_user]
    
    /player/teleport_to_location&user=[user]&x=[x]&y=[y]&z=[z]
    Teleports [user] to [x] [y] [z]
    
    It will only work while logged in.
     
  21. Offline

    theprophet84

    I am running an Ubuntu Desktop 10.10 32bit with build #531 I followed the install instructions to the letter and I get this.

    2011-03-14 01:13:05 [SEVERE] Could not load plugins/milkAdmin.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.Snowl.org.milkBukkit.milkBukkit.<init>()
    at java.lang.Class.getConstructor0(Class.java:2723)
    at java.lang.Class.getConstructor(Class.java:1674)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:108)
    ... 8 more

    Am I doing something wrong? I had it working on the exact same setup as this. Also my other plugins are HeroicDeath, WorldGuard, WorldEdit, SimpleNether, and Informant.

    NM I learned how to read and my life has been much better since. I used the milkadmin.jar fix on page 10 worked like a charm.
     
  22. Offline

    vincemonkey

    I have milkAdmin,jar in the plugin folder, and the toolkit and milkAdmin folder in the same folder as my craftbukkit.jar, but when i start my server, nothing about milkAdmin shows up in the console.. Why could this be and what's the solution?

    Thanks
     
  23. Offline

    Snowl

    put it in plugins
     
  24. Offline

    BeerBaron

    when will it be up 2 date?
    I'm useing b#516 and i get this error

    Code:
    ... 8 more
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:108)
    at java.lang.Class.getConstructor(Class.java:1657)
    at java.lang.Class.getConstructor0(Class.java:2706)
    Caused by: java.lang.NoSuchMethodException: com.Snowl.org.milkBukkit.milkBukkit.()
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    org.bukkit.plugin.InvalidPluginException
    > 11:01:56 [SCHWERWIEGEND] Could not load plugins/milkAdmin.jar in plugins: null 
     
  25. Offline

    drdanick

  26. Offline

    Fogest

    Changed port in ctrings to :25565
    Same as my servers port.

    I got everything extracted rigth and server going and I try to go to http://192.168.2.11:25565

    But I get nothing there? Like it says unable to connect like it would you went to the wrong url or something.

    What did I do wrong?
     
  27. Offline

    vincemonkey

    With in plugin folder i meant craftbukkitserver/plugins/milkAdmin.jar
    But, it's fixed, had to download the version from previous page.
     
  28. Offline

    Fogest

    Still having my problem :D
     
  29. Offline

    BeerBaron

  30. Offline

    Fogest

    And I <3 you :D

    This seems to work with the build I'm on. Now to configure. Thanks a ton!
     
  31. Offline

    sharkale

    the port for milkAdmin and for server have to be different.
    Can not opened a webserver in a port which is already using the server of minecraft.
    if minecraft server port is 25565, set the milkAdmin to 25000 or whatever you want, less than 25565 or any other port used by another application.
     

Share This Page