Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2018-08-26 13:31:08, last edited by RageQuits (2018-08-26 22:24:27)

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

[Java] EverybodyEdits API in progress.

I've recently started working on an EverybodyEdits API using Java.
Its quite lightweight, and as fast as it should be.
When its finished, i'll post it on my Github page along with a maven repository.

Preview;

import xyz.baddev.everybodyeditsapi.EverybodyEditsAPI;

public class TestAPI {

    public static void main(String[] args) {
        new TestAPI().run();
    }

    private EverybodyEditsAPI everybodyEditsAPI;

    private void run() {
        try {
            everybodyEditsAPI = new EverybodyEditsAPI("guest", "guest");
            everybodyEditsAPI.connect("");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

        everybodyEditsAPI.getSelfPlayer().say(String.format("This world has %s plays!", everybodyEditsAPI.getWorld().getPlays()));
    }
}

Update 1: Okay so i've setup the github repository (@StijnSimons/EverybodyEditsAPI cause i still can't post any links)

Offline

#2 2018-09-15 12:43:00

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

Update
I now have the permission to upload links, so here is the link to the github repository.
Don't use it yet as i'm still adding all listeners.

Offline

#3 2018-09-16 05:57:09

ILikeTofuuJoe
Member
From: Obvervable Universe
Joined: 2018-06-04
Posts: 1,770
Website

Re: [Java] EverybodyEdits API in progress.

give a estimate of when it'll be finished


https://wiki.everybodyedits.com/images/8/8f/117_cat ~meow~ https://wiki.everybodyedits.com/images/8/8f/117_cat
Posting Goal: 2000
#Joe Griffin
Signature
Thanks HG for the signature and avatar!!!

Offline

#4 2018-09-16 18:39:17

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

Unsure since EEU is gonna be using Websockets, the whole system will change. But i guess i can make it like this.

Offline

#5 2018-09-16 18:59:34

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

Update
You can follow progress and the features i’m adding on the Github Pages page.
Thanks for all the upvotes btw!

Offline

#6 2018-09-16 21:04:44, last edited by MartenM (2018-09-16 21:05:41)

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 965
Website

Re: [Java] EverybodyEdits API in progress.

Really looking forward to this API. A good and easy to understand event system will make developing bots so much easier.
Also the block enum could make stuff very easy, although it might be a pain to maintain.


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#7 2018-09-16 21:11:04

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

MartenM wrote:

Really looking forward to this API. A good and easy to understand event system will make developing bots so much easier.
Also the block enum could make stuff very easy, although it might be a pain to maintain.

Yeah, not looking forward to making the whole enum but it'll make it a bunch easier to program a bot

Offline

#8 2018-09-16 21:45:52, last edited by RageQuits (2018-09-16 21:46:56)

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

To all people reading this, as stated on the site, i'll be making an enum of all blocks. Since i'm too dumb to decompile the client, i'm just gonna copy all blocks from my world. But of course i don't have all of them so if you have blocks that i don't (look on the gif below), please contact me. (I'll add you to the contributing list xp)

83fdcd9a8fbcb0aff261c9aeebaca967.gif

Offline

#9 2018-09-16 23:17:55, last edited by MartenM (2018-09-16 23:19:01)

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 965
Website

Re: [Java] EverybodyEdits API in progress.

RageQuits wrote:

To all people reading this, as stated on the site, i'll be making an enum of all blocks. Since i'm too dumb to decompile the client, i'm just gonna copy all blocks from my world. But of course i don't have all of them so if you have blocks that i don't (look on the gif below), please contact me. (I'll add you to the contributing list xp)

https://i.gyazo.com/83fdcd9a8fbcb0aff26 … aca967.gif

Not long ago there were some worlds with all the different blocks placed inside it.
I am not aware of the world ID, someone else probably is, but it might also not have been updated with the latest blocks :s


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

#10 2018-09-16 23:26:28

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

Thanks to Coinage i got the world id (PWAllBlocks).

Offline

#11 2018-09-17 03:12:36

ILikeTofuuJoe
Member
From: Obvervable Universe
Joined: 2018-06-04
Posts: 1,770
Website

Re: [Java] EverybodyEdits API in progress.

I'm very looking forwords to your Java EE API,  RageQuits, I'll use it on a bot once it's done.


https://wiki.everybodyedits.com/images/8/8f/117_cat ~meow~ https://wiki.everybodyedits.com/images/8/8f/117_cat
Posting Goal: 2000
#Joe Griffin
Signature
Thanks HG for the signature and avatar!!!

Offline

#12 2018-09-17 16:33:22

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

ILikeTofuuJoe wrote:

I'm very looking forwords to your Java EE API,  RageQuits, I'll use it on a bot once it's done.

Thanks, you can already use it, even though i haven't made the event system, but everything else should work fine.
I've added some examples on the Github Pages page.

Offline

#13 2018-09-17 17:37:07

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,201

Re: [Java] EverybodyEdits API in progress.

RageQuits wrote:

To all people reading this, as stated on the site, i'll be making an enum of all blocks. Since i'm too dumb to decompile the client, i'm just gonna copy all blocks from my world. But of course i don't have all of them so if you have blocks that i don't (look on the gif below), please contact me. (I'll add you to the contributing list xp)

https://i.gyazo.com/83fdcd9a8fbcb0aff26 … aca967.gif


If you need some testing with blocks: PWAllBlocks

Offline

Wooted by:

#14 2018-09-17 18:44:41

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

Gosha wrote:
RageQuits wrote:

To all people reading this, as stated on the site, i'll be making an enum of all blocks. Since i'm too dumb to decompile the client, i'm just gonna copy all blocks from my world. But of course i don't have all of them so if you have blocks that i don't (look on the gif below), please contact me. (I'll add you to the contributing list xp)

https://i.gyazo.com/83fdcd9a8fbcb0aff26 … aca967.gif


If you need some testing with blocks: PWAllBlocks

Thanks, will the world get updated each time new blocks are added?

Offline

#15 2018-09-18 04:50:58

ILikeTofuuJoe
Member
From: Obvervable Universe
Joined: 2018-06-04
Posts: 1,770
Website

Re: [Java] EverybodyEdits API in progress.

Question, where should I put the code?


https://wiki.everybodyedits.com/images/8/8f/117_cat ~meow~ https://wiki.everybodyedits.com/images/8/8f/117_cat
Posting Goal: 2000
#Joe Griffin
Signature
Thanks HG for the signature and avatar!!!

Offline

#16 2018-09-18 06:45:01

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

ILikeTofuuJoe wrote:

Question, where should I put the code?

Just use a Java IDE like IntelliJ or Eclipse.

Offline

Wooted by:

#17 2018-10-06 15:04:50

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [Java] EverybodyEdits API in progress.

How is it going with this project?

Offline

#18 2018-10-06 18:19:24

RageQuits
Member
From: Belgium (Dutch)
Joined: 2018-08-26
Posts: 29
Website

Re: [Java] EverybodyEdits API in progress.

capasha wrote:

How is it going with this project?

You can already use it here.

Offline

#19 2018-10-06 19:39:19

MWstudios
Member
From: World 4-2
Joined: 2018-04-06
Posts: 1,331

Re: [Java] EverybodyEdits API in progress.

RageQuits wrote:
Gosha wrote:
RageQuits wrote:

To all people reading this, as stated on the site, i'll be making an enum of all blocks. Since i'm too dumb to decompile the client, i'm just gonna copy all blocks from my world. But of course i don't have all of them so if you have blocks that i don't (look on the gif below), please contact me. (I'll add you to the contributing list xp)

https://i.gyazo.com/83fdcd9a8fbcb0aff26 … aca967.gif


If you need some testing with blocks: PWAllBlocks

Thanks, will the world get updated each time new blocks are added?

According to fact that they didn't add toxic pack, no


Time before becoming a Member - Leaderboard
1. Whirl - 9 months
2. KirbyKareem - 8 months
3. pwnzor - 2.4 months
4. MWstudios - 2 months
5. ILikeTofuuJoe - 1.5 months
giphy.gif Piskel is the best GIF maker I've seen
HG's signature for me - Anatoly's signature for me
The Mashed Potatoes Song - The longest post on EE forums - Play my Minesweeper

Offline

MWstudios1538851159727495

Board footer

Powered by FluxBB

[ Started around 1710834559.4159 - Generated in 0.056 seconds, 12 queries executed - Memory usage: 1.69 MiB (Peak: 1.92 MiB) ]