[ADMN] EasyBukkit Beta 1 - Easily Install Bukkit! [1000+]

Discussion in 'Bukkit Tools' started by tman0, Jul 23, 2011.

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

    tman0

    [​IMG]

    By EasyBukkit Team (JoshuaB & tman0)


    <Edit by Moderator: Redacted mediafire url>
    <Edit by Moderator: Redacted mediafire url>

    <Edit by Moderator: Redacted mediafire url>

    Install Bukkit with ease!
    <font color="rgb(255, 0, 0)">Requires .NET Framework minimum 3.5 with minimum Windows Vista/Windows 7/Windows Server 2008</font>
    <font color="rgb(255, 0, 0)">MAY run on Mono (untested and will not be supported!)</font>

    <font color="rgb(255, 0, 0)">Will run with major bugs on Windows XP</font>
    <font color="rgb(255, 0, 0)">Make sure to move the res\ directory if you change installation directories!</font>








    Show Spoiler
    Features
    [creeper] Not Yet Planned
    [iron] In Progress
    [gold] Weeding Out Bugs
    [diamond] Ready for Release

    [diamond] Download Bukkit
    [diamond] Install Bukkit
    [diamond][gold] Interface

    [iron] First Run
    [iron] Additional Configuration Options (ops)
    [iron] Server Database (servers.db file)
    [diamond] Server Installation Information (installation-info.db)
    [creeper] Server Updater (for now, re-run the installer)
    [creeper] Server Manager
    [creeper] Plugin Installer
    [creeper] Plugin Repository




    Your feeback is greatly appreciated.
     
    Last edited by a moderator: Nov 13, 2016
  2. Offline

    JoshuaB

    UPDATE:
    Hello sorry for the late intro but I am also a developer working with tman0 on our EasyBukkit project. We are currently in progress of the server runner and wrapper and should we available shortly. In the meantime here are a few screenshots of the Beta 1 Release.

    Welcome Screen
    [​IMG]
    And yes, we made this to be very simple and easy to use for basically everyone who want a CraftBukkit server

    Download Screen
    [​IMG]

    Configure Screen
    [​IMG]

    We hope you can give our EasyBukkit project a shot, and if you run in to any problems or have some feedback, please feel free to give us comments, suggestions, and bug reports.

    Thanks! :)
     
  3. Offline

    uvbeenzaned

    May I take a peek at the source? I really need to put your progress bar code into use for downloads with my tool. Thank you so much.
     
  4. Offline

    JoshuaB

    Well, what we had used for the downloader is the
    Code:
    WebClient.DownloadFileAsync
    which basically allows you to have it download a file while not stopping your program and also updating the progress bar. At the time we both had decided to program this in C#, so we had used this code found here:
    C# Code (open)

    private void btnDownload_Click(object sender, EventArgs e)
    {
    WebClient webClient = new WebClient();
    webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(Completed);
    webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);
    webClient.DownloadFileAsync(new Uri("http://mysite.com/myfile.txt"), @"c:\myfile.txt");
    }

    private void ProgressChanged(object sender, DownloadProgressChangedEventArgs e)
    {
    progressBar.Value = e.ProgressPercentage;
    }

    private void Completed(object sender, AsyncCompletedEventArgs e)
    {
    MessageBox.Show("Download completed!");
    }

    But luckily Microsoft also has their own documentation for both of C# and VB.net.
    Here is the VB.net code found other here which also had some other languages. It is basically the same but you need to make sure to link the event handlers to a subroutine like show in the C# code.
    VB.Net Code (open)

    ' Sample call : DownLoadFileInBackground2 ("http:' www.contoso.com/logs/January.txt")
    Public Shared Sub DownLoadFileInBackground2(ByVal address As String)

    Dim client As WebClient = New WebClient()

    ' Specify that the DownloadFileCallback method gets called
    ' when the download completes.
    AddHandler client.DownloadFileCompleted, AddressOf DownloadFileCallback2
    ' Specify a progress notification handler.
    AddHandler client.DownloadProgressChanged, AddressOf DownloadProgressCallback
    Dim uri as Uri = New Uri(address)
    client.DownloadFileAsync(uri, "serverdata.txt")
    End Sub

    Hope this helps you with you project!
     
    uvbeenzaned likes this.
  5. Offline

    uvbeenzaned

    Oh thank you so much! I really appreciate that! I will probably be using the VB code for my project.

    YES! I got it to work and this is what I have been looking for my whole programming life! You saved me!

    This is the code I did after snooping around the link you posted and the code:
    Code:
    Imports System.Net
    
    Public Class Form1
    
        Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
            If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
                Dim link As New Uri(TextBox1.Text)
                DownloadFileAsync(link, SaveFileDialog1.FileName)
            End If
        End Sub
    
        Public Sub DownloadFileAsync(address As Uri, fileName As String)
            Dim client As New WebClient()
            AddHandler client.DownloadProgressChanged, AddressOf OnDownloadProgressChanged
            client.DownloadFileAsync(address, fileName)
        End Sub
    
        Protected Overridable Sub OnDownloadProgressChanged(sender As Object, e As DownloadProgressChangedEventArgs)
            ProgressBar1.Value = e.ProgressPercentage
        End Sub
    End Class
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  6. Offline

    JoshuaB

    Yes, I think it looks fine too me. I am not too much of a VB.net expert mainly because of writing a bunch of C# now :p
    I hope that helped out with your project :) though.
     
  7. Offline

    uvbeenzaned

    I loved it and it really did work out. You can see it here and I gave you credit in my post.
     
  8. Offline

    JoshuaB

    I have to thank you for giving me some credit in your project :). I really appreciate it. Though, while I was over at your page I had saw that you also needed some help with downloading the current build number. And I have to tell you that this is pretty easy. Here is the code for getting the number (all in VB this time)

    Code:
    Dim URL As String = "http://ci.bukkit.org/job/dev-CraftBukkit/promotion/latest/Recommended/buildNumber"
    'this is for the latest recommended build but you can replace this with the url of which version to get
    
    'latest successful = http://ci.bukkit.org/job/dev-CraftBukkit/lastSuccessfulBuild/buildNumber
    'or simple go to http://ci.bukkit.org/job/dev-CraftBukkit/ and click on one of the permalinks
    'and add "buildNumber" (without the quotes) to the end but make sure to type it in exactly as shown
    'because it is case sensitive when entered in the URL
    
    Dim Client As WebClient = New WebClient()
    
    Dim VersionNumber As String = Client.DownloadString(URL) 'VersionNumber now equal the number from the website
    
    Hope this helps you (again)! ;)

    PS: BTW Most of this stuff you can find by heading over to MSDN Library from Microsoft which usually has pretty good documentation and examples to help you out with plenty of stuff
     
    uvbeenzaned likes this.
  9. Offline

    uvbeenzaned

    Oh wow! It was that easy? I didn't know that you could get it from that site like that! Thnx. :)

    Edit: BTW I already use MSDN Libraries just to let you know.
     
  10. Offline

    JoshuaB

    Ya it is really just that easy! I hope that I helped you out with some stuff. It is a pleasure helping out in community!
     
  11. Offline

    uvbeenzaned

    Well, I do thank ya very much! I enjoy helping other people also. Very joyous! :)
     
  12. Offline

    JoshuaB

    Well you are quite welcome! If you ever run in to any other problems, I would be glad to try to help you with them.
     
  13. Offline

    tman0

    Well this sucks. We really need to get a more prominent place for the Bukkit Tools forum. It if it was in the same place as the Plugins forum, we'd have 100 replies by now. Also, enjoy the wiki for our latest project
     
  14. Offline

    uvbeenzaned

    Someone was telling me a while back that you could get more posts in the Bukkit Help thread and that for some reasons, installers and such like this would just do better in the help section for some reason.
     
  15. Offline

    tman0

    Posted. Thanks for the advice!
     
  16. Offline

    uvbeenzaned

    You are mighty welcome!
     
  17. Offline

    uvbeenzaned

    Hey @tman0 one of your spoilers is messed up in your first post. It looks like you duplicated it.
     
  18. Offline

    tman0

    Yeah. The WYSIWYG editor completely messed up my post. There's actually no such BBCode which is weird...
     
  19. Offline

    uvbeenzaned

    That's funny.
     
Thread Status:
Not open for further replies.

Share This Page