#help-archived

1 messages · Page 175 of 1

keen compass
#

that is correct

inland oxide
#

Twitter, GitHub, Microsoft, LinkedIn, Ansible, Splunk, Android, Go, MySQL, PHPUnit, Curl, OpenZFS, Rust, JP Morgan, and now the Linux Kernel development team have all adopted inclusive terminology...

next dawn
#

i dont know what git is lol

bronze acorn
#

oh it was com

next dawn
#

why does it say scm

keen compass
#

don't worry about the url name, git for windows is at that link

next dawn
#

it reminds me of scam lol

bronze acorn
#

it says why

next dawn
#

?

#

gosh im asking way too many questions

keen compass
#

scm = Source code management

tepid vigil
#

I thought Scm stood for source code manager so don’t worry to much

next dawn
#

ohhh

tepid vigil
#

The Russians have access to everything anyway

inland oxide
#

Source Configuration Management too

tepid vigil
#

(Hi putin)

next dawn
keen compass
#

either url is fine

next dawn
#

oops i didnt mean the ? on the link

keen compass
#

they go to the same place

next dawn
#

tokay

#

okay

#

usually whenever i want to get something like a fun server with a plguin

#

plugin

#

or something

keen compass
#

so download git for windows, install it. After it is done installing. right click in the directory with buildtools. Select git bash. then type
java -jar Buildtools.jar --rev 1.15.2

next dawn
#

my dumb virus blocker always says "OOO THIS HAS A VIRUS"

#

but so far that hasnt happened yet

#

so so far so good

keen compass
#

because these are all official verified tools 😛

winged sparrow
#

Git is safe

next dawn
#

just to make sure, i press downloads?

#

on the website

winged sparrow
#

Yes

keen compass
#

I mean, not sure how else you are going to obtain it unless you do

next dawn
#

true

#

welp

#

it didnt even let me choose 32 bit or 64

#

it just downloaded 64 right away

keen compass
#

which is what you want if you have 64bit windows which you most likely do

next dawn
#

yep

#

i do

#

its just funny that it didnt let me choose

keen compass
#

most of the time don't need to unless you have specific reason

#

the site does let you choose versions

next dawn
#

so download git for windows, install it. After it is done installing. right click in the directory with buildtools. Select git bash. then type
java -jar Buildtools.jar --rev 1.15.2
@keen compass just quoting so i dont have to scroll up

#

wait

#

in the directory?

#

in git?

keen compass
#

where ever you have buildtools.jar

next dawn
#

i just have it in my downloads on files

keen compass
#

ideally you should have it in a directory because it is going to create some directories and files

next dawn
#

so should i make a new file and put it there?

keen compass
#

directory you mean? yes I recommend doing that

#

so that it is easier to find the files

next dawn
#

im sorry if this is getting annoying, its just that i am a noob with files

#

so i dont understand what you mean by directory

keen compass
#

don't worry, dealt with worse and you are not close to being the worse so alls good 😉

next dawn
#

thank you

keen compass
#

directory = folder

next dawn
#

uh

keen compass
#

right click, select new then create new folder, put buildtools in that folder after you give it a name. Preferably don't use spaces in the folder name

next dawn
#

ill just keep it named at New folder like i usually do

keen compass
#

then go into said folder, right click in an empty place, select git bash here

next dawn
#

oh so i put git bash in the new folder?

keen compass
#

no

next dawn
#

oh

keen compass
#

put buildtools in there

next dawn
#

okay

#

i did that

keen compass
#

go into the folder

#

don't right click the file, just right click in an empty spot

#

so you can get the menu

#

then select git bash here

next dawn
#

i right click and get the usual stuff

keen compass
#

did you install git for windows?

next dawn
#

yeah

keen compass
#

alright hold left shift

#

then right click

next dawn
#

nope

keen compass
#

interesting

next dawn
#

am i supposed to do it in the folder that has buildtools in it?

keen compass
#

yes

mild nebula
#

Anyone familiar with spigot's premium placeholders?

next dawn
#

do i do it in the folder, or on it

#

?

keen compass
#

in the folder

next dawn
#

yeah it just doesnt work

#

strange

keen compass
#

that isn't a problem

next dawn
#

oh

#

also ignore my profile pic it sucks i dont play roblox much anymore

keen compass
#

alright, so since that isn't working for you. Go to your start menu. Navigate to the G's

#

find the one that says git

#

in there there is git bash

#

click that

next dawn
#

what is the start menu?

keen compass
#

the button in the bottom left corner of your screen

next dawn
#

oh the search button?

#

or the windows/cortana lol

keen compass
#

should be the windows icon in the left corner

next dawn
#

yep

keen compass
#

select that

fringe cairn
#

wait I added that dependancy and it still cant find bungeecord-proxy

keen compass
#

either search or navigate the menu

#

if you use search, just search for git bash

#

otherwise scroll down to the G's

fringe cairn
#
<repositories>
        <repository>
            <id>bungeecord-repo</id>
            <url>https://hub.spigotmc.org/nexus/content/groups/public/net/md-5/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>net.md-5</groupId>
            <artifactId>bungeecord-api</artifactId>
            <version>1.16-R0.2-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>net.md-5</groupId>
            <artifactId>bungeecord-proxy</artifactId>
            <version></version>
            <scope>provided</scope>
        </dependency>
    </dependencies>```
keen compass
#

<url>https://hub.spigotmc.org/nexus/content/groups/public/net/md-5/</url>
remove /net/md-5

next dawn
#

okay im at the G

keen compass
#

should see where it says git

fringe cairn
#

okay thanks also ignore the version missing its not like that on it

keen compass
#

select that, and it should open up

#

then select git bash

next dawn
#

uh bad news, it doesnt say git

#

but i have the git in my foler

keen compass
#

So you didn't install it?

#

install git for windows -.-

next dawn
#

OMG IM DUMB LOL

hasty crag
#

one question, the only way to track map items is through their "magical number" ID, right? I mean tracking with no prior context of course. Because i'd like to do it differently if its possible, cuz this is deprecated afaik.

next dawn
#

i didnt install it

#

im stupid

keen compass
#

alright install it

next dawn
#

im just spam pressing next

keen compass
#

and then you should be able to do the right click thing afterwards

next dawn
#

okay

#

sorry about that

fringe cairn
next dawn
#

do i just press next

fringe cairn
#

still says that, not sure what repo has it

next dawn
#

once it finished installing

keen compass
#

1.16-R0.2-SNAPSHOT
is incorrect
shhould be
1.16.1-R0.1-SNAPSHOT

fringe cairn
#

okay

next dawn
#

okay now it shows git bash

#

git bash here

#

it says

keen compass
#

yep select that

fringe cairn
#

same for api?

keen compass
#

yes

#

you can manually handle map items if you want @hasty crag

next dawn
#

im glad you are still working with me here @keen compass i had kind of expected people to just give up because i suck at this, but you are a very nice guy

hasty crag
#

What do you mean

next dawn
#

now there is a $ sign and it just stopped

keen compass
#

one question, the only way to track map items is through their "magical number" ID, right? I mean tracking with no prior context of course. Because i'd like to do it differently if its possible, cuz this is deprecated afaik.
@hasty crag you wanted to do it differently

#

answer is it is possible to do

hasty crag
#

how

keen compass
#

you have to save the maps yourself

#

and track them yourself

#

instead of letting the server handle it

hasty crag
#

how and where may I save them?

fringe cairn
#

after changing bungeecord api also to 1.16.1 R0.1 now they are both red

keen compass
#

@next dawn
type Java -jar BuildTools.jar --rev 1.15.2

fringe cairn
#

tried with and without the net md-5

hasty crag
#

you have to save the maps yourself
@keen compass how is that possible

next dawn
#

i accidentally clicked out of discord

#

oops

keen compass
#

@fringe cairn lol I am stupid. its 1.16-R0.3-SNAPSHOT

next dawn
#

it made an up arrow and a V

keen compass
#

just backspace

fringe cairn
#

lol okay, but I still think it can't find the bungeecord-proxy

next dawn
#

oh wait

#

am i not supposed to copy paste

#

lol

fringe cairn
#

still can't find 1.16-R0.3-SNAPSHOT

#

but works with 1.16-R0.2-SNAPSHOT

keen compass
#

Bungeecord-proxy the version for that is 1.4.7-SNAPSHOT

next dawn
#

okay i did that

keen compass
#

You can copy and paste @next dawn

next dawn
#

oh

keen compass
#

and then hit enter

#

and it should start doing its thing

#

or error out

#

one of the two

fringe cairn
#

bungeecord api the1.16-R0.3-SNAPSHOT part is red

next dawn
#

well the bad news of that is

#

it did say error

keen compass
#

Probably don't have java installed

next dawn
#

i do

fringe cairn
#

bungeecord proxy both the bungeecord-proxy and 1.4.7 things are re

keen compass
#

in the git bash window

#

type java -version

#

and tell me what it says

next dawn
#

oh wait

#

my java might not be updated

keen compass
#

@fringe cairn what does your pom look like now?

#

can you show it?

fringe cairn
#

yeah one sec

hasty crag
#

please help me, i'm kinda lost

fringe cairn
#
<repositories>
        <repository>
            <id>bungeecord-repo</id>
            <url>https://hub.spigotmc.org/nexus/content/groups/public/net/md-5/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>net.md-5</groupId>
            <artifactId>bungeecord-api</artifactId>
            <version>1.16-R0.3-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>net.md-5</groupId>
            <artifactId>bungeecord-proxy</artifactId>
            <version>1.4.7-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>```
next dawn
#

alright i think its updated

keen compass
#

@hasty crag with a plugin

#

or make one yourself

hasty crag
#

yeah fine, thats what i'm aiming to do

#

making a plugin

#

but how

#

like

next dawn
#

okay its updating

#

alright actually

hasty crag
#

I don't see how i can store the maps and then retrieve the item associateed to them

next dawn
#

i thought it was just updating

#

but it just finished updating

hasty crag
#

without using their based id

keen compass
#

<url>https://hub.spigotmc.org/nexus/content/groups/public/net/md-5/</url>
should be
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>

fringe cairn
#

I think i've tried it with both

keen compass
#

the map items contain metadata to point to which map they are for @hasty crag

fringe cairn
#

but I will try again

keen compass
#

you will have to alter that or use a different metadata tag to track the items appropriately

fringe cairn
#

yeah still no go

keen compass
#

using intellij?

#

if so try clearing intelliJ's cache or restarting the client

next dawn
#

wait

fringe cairn
#

yeah here what intelliJ shows

next dawn
#

it says it takes 512m of memor

keen compass
#

might even try clearing maven's stuff too

hasty crag
#

you will have to alter that or use a different metadata tag to track the items appropriately
@keen compass that was my thinking so far, but then someone told me that its not possible to track items according to meta.

next dawn
#

and it has only detected 247m

#

i gotta make some space

keen compass
#

@hasty crag they are probably not very experienced or really don't know what they are talking about. All items have metadata, it doesn't go away unless you drop the item and pick it up. Metadata on items persist last I recalled as well.

#

@next dawn obviously need shutdown some applications to make room memory wise 😛

next dawn
#

google is taking up 1k memory rn

hasty crag
#

From Choco:

ItemStack instances aren't really trackable
You can determine if an item is yours using persistent data, but you can't find that ItemStack from anywhere in the world

fringe cairn
#

wait so invalidate caches and restart?

sleek ivy
keen compass
#

@fringe cairn yes you can try that

next dawn
#

i closed out of everything but discord lol

#

wait do i have to uninstall stuff to get some more memory

#

wait of course i do

fringe cairn
#

Cannot resolve net.md-5:bungeecord-api:1.16-R0.3-SNAPSHOT

#

even after restart and invalidating caches

#

Cannot resolve io.netty:netty-all:4.0.0.Beta3-SNAPSHOT

#

the first one is for the api (which works if I set it to r0.2) and the second is for the bungeecord-proxy which I havent gotten working yet

next dawn
#

wait

#

so what do i need to clear up when it says it has only detected 247M

keen compass
#

could try purging the maven repo dependencies @next dawn

sturdy oar
#

🌚

keen compass
#

mvn dependency:purge-local-repository

next dawn
#

i have no clue what those words mean

fringe cairn
#

me or spidere?

keen compass
#

@next dawn not sure, sounds like you don't have a whole lot of ram

next dawn
#

what are some ways i can get ram?

#

like uninstall

keen compass
#

either buy more or start shutting down stuff =/

#

actively running applications take up resources

#

even those running in the background

next dawn
#

ah

#

well uh

#

i literally probably have 5 devices being run in my house

keen compass
#

has nothing to do with devices in your house

#

applications on your computer

next dawn
#

ohhh

#

oh wait i know what you mean now lol

#

uh all i have open is my files, git, and discord

keen compass
#

and it still gives that error when trying to run buildtools?

next dawn
#

yeah

fringe cairn
keen compass
#

alright, guess we will have to use some additional JVM arguments to get it running for, however this doesn't look good though for when you want to run the server

hasty crag
#

Anyway @keen compass so I have an item which has been marked with some specific and unique metadata. This metadata has been stored. Can you now please help/indicate me how to retrieve the item/mapview back using the stored metadata (only)? Is there like a function Bukkit.getEntityFromMetaData(metakey,metavalue) or something?

next dawn
#

oh

#

i guess i should just give up then

#

it was a good try though

keen compass
#

the server is going to use up more ram then what buildtools really needs to run with

#

about 1-2GB at the very least

next dawn
#

i did ask aternos's forums to add the fundys nightmare mode so ill just probably use aternos

#

it was worth a shot though

keen compass
#

there are other providers for VPS's just fyi

next dawn
#

okay

keen compass
#

but you can do that as well

next dawn
#

i probably wont

keen compass
#

Kimsufi is good for very cheap stuff

#

then there is soyoustart and then OVH

next dawn
#

well it was nice talking to you

keen compass
#

all 3 are the same company fyi

next dawn
#

oh

#

cool

#

well it was a good attempt

keen compass
#

Yeah, primary reason why some people don't home host 😉

next dawn
#

nice talking to you (sorry for wasting your time) and have a good day

#

lol

keen compass
#

cya later

next dawn
#

yeah

#

bye

keen compass
#

@hasty crag you are going to have to store the map files yourself as well and keep track of them. You are going to have to come up with a way to associate your metdata with the map files you are tracking

#

As well as possibly keeping track which inventories maps are stored in

#

I will tell you now, it is going to be a tedious process setting up your plugin to track all of this

hasty crag
#

hm i see, so basically at this point i'd rather use their ID i guess

fringe cairn
#

I seemed to get the latest api to download with ```xml
<repositories>
<repository>
<id>bungeecord-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/net/md-5/</url>
</repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>net.md-5</groupId>
        <artifactId>bungeecord-api</artifactId>
        <version>1.16-R0.3-SNAPSHOT</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>net.md-5</groupId>
        <artifactId>bungeecord-proxy</artifactId>
        <version>1.4.7-SNAPSHOT</version>
        <scope>provided</scope>
    </dependency>
</dependencies>``` that as my repo
keen compass
#

@fringe cairn not sure why your IDE/Maven is insisting on not grabbing the dependencies

#

did you try purging maven?

fringe cairn
#

yeah

hasty crag
#

anyway thx for the help!

fringe cairn
#

and I think that fixed 1.16-R0.3-SNAPSHOT not downloading

#

but the bungeecord-proxy thing still doesnt work

#

and I had to use the url with /net/md-5 on the end

keen compass
#

interesting

#

well could always build bungeecord yourself lol

fringe cairn
#

this seems to be the only error now Cannot resolve io.netty:netty-all:4.0.0.Beta3-SNAPSHOT

#

are there any other repos with it

keen compass
#

Beta3 is probably not available

#

try specifying a different version

fringe cairn
#

how do I specify a different version? its donwloading that automatically when I donwload 1.4.7-snapshot

#

and I've tried building and maybe I'll try again but

#

just a lot of work/over my head

keen compass
#

let me see if there is a different repo you can use

fringe cairn
#

I was using this repo https://oss.sonatype.org/content/groups/public/ before and it was all working

#

but it seems to be like private or something now

keen compass
#

think you are probably just going to have to build bungeecord yourself

#

maybe later I will build it and put it in my repo

fringe cairn
#

okay so what do I put in my pom.xml if I build it

#

lemme try to build it right now

#

lol this isn't as easy as before as my desktops psu decided to die on me so I'm using a not so greate laptop

#

but i've opened bungeecord in intelliJ, do I build just the modules I need or like everything somehow

#

Okay I think something's really wrong, I can't build bungeecord because I can't download the dependancies in the pom.xml of bungeecord

sturdy oar
#

Weird

bronze acorn
#

you shouldnt have to be getting bungeecord-proxy

#

the only things you should have (like i do for 1.8) ar

#
        <dependency>
            <groupId>net.md-5</groupId>
            <artifactId>bungeecord-api</artifactId>
            <version>1.8-SNAPSHOT</version>
            <type>jar</type>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>net.md-5</groupId>
            <artifactId>bungeecord-api</artifactId>
            <version>1.8-SNAPSHOT</version>
            <type>javadoc</type>
            <scope>provided</scope>
        </dependency>```
#

in your case 1.16-R0.1 possibly

#

or 1.16-R0.2-SNAPSHOT

tiny pebble
#

If I were trying to make an NPC would I use the class HumanEntity?

#

Or would that be more of an NMS-based thing 🤔

fringe cairn
#

I need bungeecord-proxy for InitialHandler

#

but to build bungeecord which maven script or whatever do I run?

keen compass
#

building it now and going to toss it in my repo, maybe that might help you out

fringe cairn
#

I think I just built it, how do I add a local file to maven?

keen compass
#

should be able to reference like normal. Maven should pick it up that you have it

fringe cairn
#

Okay I think I got it all setup... not sure why it wasn't working from the repo but its working from a local file

#

thanks for you help

keen compass
#

if something is not there and would like it there, just only need to ask 😉

fringe cairn
#

thanks so much

keen compass
#

yep

#

it is still building, but it is almost done

frigid ember
#

is there any way to make this shit less awful

lapis plinth
#

: public void disallowGUIDrag(InventoryClickEvent event){
if (event.getInventory().getTitle().contains("island missions")){
event.setCancelled(true);
}
}

#

Why isnt this working?

#

the menu is &bIsland Missions

#

kk

sturdy oar
#

Wdym 'it toggles back off'

spare frost
#

.isGliding() returns false

#

@sturdy oar

little salmon
#

I need help is where is the help place

sturdy oar
#

Here

little salmon
#

ooh cool

balmy sentinel
#

@lapis plinth use if(event.getView().getTitle().equals("inventoryName"))

sleek tree
#

Hi, is there a way to reduce endermen spawn rate in spigot / paper?
Causing instant lag on my server with endermen farms

unborn jewel
#

anyone know a good scoreboard plugin for bungee servers

frigid ember
#

is it possible for block place packet and block dig to be sent in a single tick together?

granite pendant
#

hello

#

it went weirdly high 🤔

naive goblet
#

@lapis plinth use if(event.getView().getTitle().equals("inventoryName"))
@frogsoup.parker#0501 comparing inventories with titles ....

balmy sentinel
#

@naive goblet how would you do it?

naive goblet
#

Encapsulation of Inventory objects or InventoryView objects

#

Even InventoryHolder is better even though is shouldn’t be used.

marsh hawk
#

Anyone know of a server system that uses kubernetes for deployment? I want to deploy the same clone of a server just on different ports

balmy sentinel
#

@naive goblet event.getView() is getting the InventoryView object?

compact sable
#

@golden vault Could you help me and RockyHawk with his plugin? The downloads are increasing insanely rapid and it looks like it are bots.

keen compass
#

@compact sable why is the amount of downloads a problem?

compact sable
#

It's not natural and we don't want to get banned for buying a download bot

#

So I'm reporting it now because cloudfare should stop them, but it isn't

#

every second 4-5 downloads will appear

granite pendant
#

just want to make sure because it is just very unusual

keen compass
#

as long as you are not doing anything wrong, don't really see the issue. If bots make it through then that is on spigotmc to handle

#

I mean you can report just stating shouldn't worry all that much

golden vault
#

Ya don't worry about it as long as you are not the one doing it which i doubt

granite pendant
#

okay

#

sounds good then

keen compass
#

😉

#

now go continue making plugins

#

and making other plugins better

#

😛

crisp widget
#

Any of y'all know anything about RedisBungee & why the messaging channel doesn't work for it?

keen compass
#

what do you mean messaging channel?

#

like the plugin messaging channel?

#

if so that only works if there is at least 1 player on a server. If there isn't a player on a server it won't work

crisp widget
#

There's a player online

#

I ran a command to prompt a response

#

And nothing is returning back

tough kraken
#

guys, since when it is not possible to create Worlds on Startup? never had problems with that

winter cloak
#
Exception in thread "main" java.io.FileNotFoundException: work/decompile-ee3ecae0/net/minecraft/server/Enchantments.java (No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:195)
        at java.io.FileInputStream.<init>(FileInputStream.java:138)
        at com.google.common.io.Files$FileByteSource.openStream(Files.java:120)
        at com.google.common.io.Files$FileByteSource.openStream(Files.java:110)
        at com.google.common.io.ByteSource$AsCharSource.openStream(ByteSource.java:456)
        at com.google.common.io.CharSource.readLines(CharSource.java:311)
        at com.google.common.io.Files.readLines(Files.java:553)
        at com.google.common.io.Files.readLines(Files.java:520)
        at org.spigotmc.builder.Builder.main(Builder.java:539)
        at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:34)
#

Anyone can help me?

tough kraken
#

(No such file or directory)

its already telling you

#

dont know your code, so cant tell more

winter cloak
#

ik, but idk how i fix it

#

;-

tough kraken
#

using an existing directory instead? 😮

#

i suggest

winter cloak
#

men

#

i'm trying download spigot-1.16.1 using BuildTools

tough kraken
#

its saying, the path/directory is not existing.

so it seems like maybe you added a \ or / at the wrong place?

if not, idk more

#

ah nvm

winter cloak
#

no, i just use: java -Xmx1024M -jar BuildTools.jar --rev latest

tough kraken
#

i see the prohme

#

problem

#

i thought its from your plugin

winter cloak
#

??//

tough kraken
#

so at creating it with buildtools its showing this?

winter cloak
#

yeap

tough kraken
#

maybe @subtle blade can help you?
i dont know anything about buildTools

winter cloak
#

okok

keen compass
#

remove the files except buildtools.jar

#

run buildtools again

#

also, don't run buildtools in command prompt either

#

use gitbash

#

buildtools has problems usually when ran from the command prompt =/

lofty meadow
#

When I run BuildTools.jar (java -jar BuildTools --rev 1.15.2) I just see only this files and folder

BuildData
Bukkit
CraftBukkit
Spigot
work
BuildTools.log.txt
spigot-1.15.2.jar``` So where is BungeeCord? How can I get it for v1.15.2 ?
tough kraken
#

i dont think buildtools can be used for bungeecord

lofty meadow
#

So why when I ask for BungeeCord, helper here always send me to BuildTools?

keen compass
#

not sure who told your to use buildtools for bungeecord

#

but that is the correct link above to obtain bungeecord

frigid ember
#

Hello,

Looking for some help handling this packets issue. It appears that there was some change between 1.14 and 1.15 that has broken this. Has anyone here used PacketPlayOutGameStateChange post-1.14?
https://i.imgur.com/VyvUHBk.png

keen compass
frigid ember
#

Already searched through there completely

lofty meadow
keen compass
#

well in either case not much to do other then just get bungeecord now

#

person must have not read your message carefully enough and probably assumed you wanted spigot which is what most people come here asking for 😛

lofty meadow
#

Ahh

keen compass
#

note that the person in question isn't a staff member either, most of us here are not actually and volunteer our time to help people as well 🙂

lofty meadow
#

So, do you know how?

keen compass
#

so just a simple mistake was all 😉

lofty meadow
#

Ok, it's okay

keen compass
lofty meadow
#

But you help me instead 😁

#

I want BungeeCord 1.15.2 😕

keen compass
#

going to have to find the appropriate build for that

lofty meadow
#

It's too many, I don't know which build #number

keen compass
#

that is the last build for 1.15.2

lofty meadow
#

Wow, thank you! 😊

#

But how do you know it build #number ?

#

🤔

lapis plinth
#

gui.setContents((ItemStack[]) menuItems.toArray());

#

its giving me this error

#

ignore the "8"

keen compass
#

@lofty meadow if you look at the build logs it says 1.15.2

#

you can't cast ItemStack[] to whatever array you are trying to cast to @lapis plinth

lapis plinth
#

then how would I do it?

keen compass
#

not sure what you are trying to do

lapis plinth
#

Im trying to create a dynamic arraylist to add items to a GUI ItemStack array at any time i want

keen compass
#

then use Collections

lapis plinth
#

what are those?

keen compass
#

can also do ItemStack[] itemStack = menuItems.toArray();

#

but you can't just simply cast though

crude sparrow
#

quick question,the nether portal is not working. i don't have Multiverse installed,is that the reason why?

keen compass
#

do you have a plugin that controls portals

#

or did you recently remove multiverse?

lofty meadow
#

@keen compass I'm sorry, I still don't know where to see it😬

crude sparrow
#

I only have Dynmap,Worldedit,WorldGuard.CoreProtect

#

never install mv before

keen compass
#

@crude sparrow do you have a nether?

#

could try remaking the portal

lapis plinth
#

Like this?

keen compass
#

stop casting it

crude sparrow
#

@crude sparrow do you have a nether?
@keen compass i have "world_nether" folder

lapis plinth
#

its giving me an error if i dont

lofty meadow
#

Ok, thank you @keen compass!

crude sparrow
#

could try remaking the portal
@keen compass Tried that as well,not working

#

Nether is enable/allowed in the config

keen compass
#
ItemStack[] itemStack = new ItemStack[Inventory.getSize()];
Collections.addAll(menuItems.toArray(), itemStack);
gui.setContents(itemStack);
player.openInventory(gui);

@lapis plinth

halcyon snow
#

An easier way would probably be to use

ItemStack[] array = menuItems.toArray(new ItemStack[menuItems.size()]);
keen compass
#

that works too

lapis plinth
#

kk

keen compass
#

@crude sparrow do you have a border set for the nether?

frigid ember
#

doesn't #toArray(T[] arr) just cast to T under the hood?

#

it would literally be the same as the picture he sent above

keen compass
#

if you do, then it is possible that the portal in the overworld will cause the portal in the nether to be outside of said border

halcyon snow
#

@frigid ember It's not the same.

"Returns an array containing all of the elements in this list inproper sequence (from first to last element); the runtime type ofthe returned array is that of the specified array. If the list fitsin the specified array, it is returned therein. Otherwise, a newarray is allocated with the runtime type of the specified array andthe size of this list"

keen compass
#

@frigid ember yes however toArray() returns Object[] not ItemStack[]

#

so while although the same in structure, they are still different object wise

#

and they can even contain the same stuff, but because of generics, the runtime JVM doesn't know that

frigid ember
#

no, not toArray(), but toArray(T[])

#

toArray yes, it does return Object[], but the other returns T[]

#

And just like the documentation says (the one theone sent), if the list fits within the array I give as parameter, it'll give me that one, if not, it literally casts the newly created array to T[] (assuming this is an ArrayList, wouldn't know about the other List implementations)

red zenith
#

toArray() or not toArray(), that is the question?

keen compass
#

toArray(T[]) just creates the array with that supertype

lofty meadow
#

Hi! Can I register my own command on spigot plugin, instead of register it in plugin.yml, like a class extends Command ?

frigid ember
#

toArray(T[]) just creates the array with that supertype
if necessary*, if the one I provide (the one I pass as parameter) isn't large enough

keen compass
#

first one won't throw any exceptions, second one throws 2 exceptions

    ArrayStoreException: if the runtime type of the specified array is not a supertype of the runtime type of every element in this list.
    NullPointerException if the specified array is null
frigid ember
#

okay...

#

so?

#

does throwing exceptions make it worse by design or what?

keen compass
#

no, but it does help in knowing what it can and can't be used for though

lyric cypress
#
==: org.bukkit.inventory.ItemStack
v: 2567
type: PLAYER_HEAD
amount: 17
meta:
 ==: ItemMeta
 meta-type: SKULL
 display-name: Money
 internal: H4sIAAAAAAAAAONiYOBi4AnOLs3JCSjKT8vMSeVmYPJMYWBgYLkosFKh+Z/Dw7mtO51qBWff52LgAiopSC0qyUwt5mTgKEmtKCktSi3mAipm5GBgDUvMKU1l2JJa6WUQFZFhkBLhlZNc6WkG5IcEG+T4e2YVmHvmhVUmOXuaeeYC5T0czXwqLZHUmpYkhpvmRBp7ZUTlBZYm5YYZ+BgH5aR6BBkm54aW+YcHVkRWRZr45QLlXSINokLSTf1D/HKjXJyyI6tCjSLDw7J8gWzf3MCqyBBXE78sv2xfF9cq36psA98qV0PfEEcT3ypfU9/c0Kqo3MhyP3e/XN9gL8u0CANboA8YAFwFWgkKAQAA

How do I get the internal of this itemstack?

keen compass
#

the superType of both would be List in this instance

#

need to deserialize

#

the ItemStack is serialized

lyric cypress
#

It is deserialized, I was just showing the serialized version

keen compass
#

Internal shouldn't be messed with, the server uses that and believe that should be the texture

lyric cypress
#

this internal is the money texture, and the item has no owner

keen compass
#

so when you deserialize you, you use the api to get the Texture

lyric cypress
#

how?

frigid ember
#

SkullMeta?

#

or something like that?

lyric cypress
#

It doesn't have an internal method or anything

#

only owner and clone

keen compass
#

since it doesn't have an owner, you are going to have to use NMS to mess with the textures of it

#

or you could just set an owner for it and go that route

lyric cypress
#

yeah I'll just use an owner then

keen compass
#

the api way, means you don't mess with the texture yourself, the server will handle that

#

so that means you still don't need to mess with internal data

#

many sites exist for custom texture stuff

#

to either choose from or upload yourself

lyric cypress
#

yeah I got the texture from one of those, but it seems a bit difficult to get the internal

crude sparrow
#

@crude sparrow do you have a border set for the nether?
@keen compass I don’t think so,where do I check

lyric cypress
#

Can I stop an item from being renamed in an anvil?

grim halo
#

@lyric cypress Yes

lyric cypress
#

is there an event I can cancel?

frigid ember
#

PrepareAnvilEvent?

grim halo
#

Either that, so you wont even see a result, or just the InventoryClickEvent

lyric cypress
#

ok thanks

frigid ember
#

is there a PrepareSmithTableEvent yet?

#

or something like that

grim halo
#

@warm ginkgo Did you make sure to properly add the enchantment unsafe?

lofty meadow
#

Hi! Can I register my own command on spigot plugin, instead of register it in plugin.yml, like a class extends Command ?
@lofty meadow Can anyone help?

marsh hawk
#

Paper allows you to, not sure about spigot

lofty meadow
#

What difference between Spigot and Paper?

grim halo
#

What version are you on? I tested it on the latest build

frigid ember
#

using packets how would i know when someone is done eatting food?

grim halo
frigid ember
#

i wanna refran from using Player Events

#

just not good.

grim halo
#

What do you mean by "not good"?

frigid ember
#

here, i just wanna minimize the use of bukkit events. i rather keep it at Packet level.

bright forge
#

events are just a safe way to "access packets"

frigid ember
#

still rather keep it at packet level

bright forge
#

then use hamsterapi or protocollib for that

grim halo
#

The server handles the packets for you, synchronizes it with the main thread and lets you interact with them...

bright forge
#

or make your own api

frigid ember
#

using atlas.

#

i dont think theres anything funny?

#

sure

grim halo
#

Oh ok...

fleet crane
#

here, i just wanna minimize the use of bukkit events. i rather keep it at Packet level.

frigid ember
#

lol

grim halo
#

Its not like bukkit handles and wrappes the events for you so you can interact with them in a convinient standardized way...

keen compass
#

really no reason to interact with packets unless you really need to

#

not like you are going to process the packet any faster then what the server already does

rapid yacht
#

how do you get the redstone badge on spigot?

crystal solar
#

hey, any spigot experts online that I can bounce a couple questions about first time setup off of?

grim halo
#

@crystal solar You can ask and ill try to answer with what i know 😛

crystal solar
#

Awesome, thanks!

I'm running vanilla on an Ubuntu server. I'm looking at Spigot because from what I've read, it will easier to track down performance problems, and add anti-griefing plugins.

From what I think I now understand, I basically just build the .jar file on my box, stop the server, replace the vanilla .jar, move my world stuff from the DIM-1 and -2 folder, and reboot, putting me on Spigot.

Am I close?

stuck quartz
#

how can i check if theres a sign attached to a double chest

grim halo
#

Yes you just need to build the spigot jar with the buildtools jar.

Then replace your vanilla jar and start the server with a shellscript like always.

#

I never ran a vanilla server so i dont know the exact procedure for transfering but i think if you back up your worlds and run a clean spigot server you will be able to tell where you can put your old server files.

#

@stuck quartz Check the surrounding blocks. If sign -> check if placed against origin Block

queen shadow
#

is there any particular reason why the spigot site takes too long to load and download from right now

#

my internet is fine

crystal solar
#

is spigot's .jar also by default called server.jar?

If not, can I rename it, or is there something hard coded?

grim halo
#

You can just rename it to server.jar

crystal solar
#

awesome, thank you very much!

#

One last question.. any favorite anti-griefing or server password protection plugins you recommend? We setup a small box for 4-5 friends, and within 48 hours we had someone connecting and just trashing everything within reach. Ended up having to restore from backup and banning the user by name and IP.

grim halo
#

If you want to play with your friends only you should use the build in whitelist.

crystal solar
#

Awesome, I'll check it out! Thank you very much for all the help!

grim halo
#

Enable whitelist. Then from console /whitelist add <Name>

crystal solar
#

gotcha, easy enough.

#

I'm assuming that works identically on Spigot, or that that is Spigot specific instruction, correct?

#

I can google, I don't want to waste too much of your time. Thank you again, I really appreciate!

grim halo
#

Im pretty sure vanilla minecraft also has the same whitelist system

crystal solar
#

Not really Spigot related, or maybe not Spigot specific;
we stood our server up on an isolated subnet, on a server marked for recycle from work. We gave it a static IP from our block that we weren't using, and only shared that with a small group of people. And within a short amount of time, we already had someone connecting to grief. So are people just out there scanning WAN IP blocks for minecraft servers that are accessible? I mean, assuming you are on the default ports, I guess it would be relatively quick to run through blocks, but I'm surprised it happened so fast.

keen compass
#

@crystal solar there is lists that exist that keep track of ports that services/software/games make use of

#

so when these bots scan your ip for open ports, they generally already know for what service it might be for

#

as far as I am aware, MC is the only game/software to make use of TCP 25565

#

so. When something is the only thing that exclusively uses a specific port, not all that hard to guess what it is 😛

#

so to answer your question, is there people out there scanning IP blocks, yes most definitely, are they scanning for specific services. No not usually.

brave vector
#

need help

keen compass
#

if you are asking for help because it isn't listing all the modifiers, then that would be, because you only put 1 modifier into the collections is what it appears.

brave vector
#

Sorry i forgot

#

I'm asking why the amount of speed is 0.0

grim halo
#

Do you expect the item to have mods?

#

Every Entity has base Attributes. Items can modify them. So even if an item has 0.0 (prob add operation) the Entity will still attack with its base attackspeed

brave vector
#

Yes but i want to get the attack speed

#

After modify it

grim halo
#

You want to get the attackspeed of the player while holding the item or the modifier the item has.

brave vector
#

the modifier item

#

does PlayerInventory#getItemMainHand() break it?

grim halo
#

Then there you go. Your item has one attackspeed modifier with the value of 0.0

#

No?

brave vector
#

but

grim halo
#

After a "but" there should normally be an opposing opinion or argument rather than a random incoherent picture...

brave vector
#

It linked

#

The modifier item plugin is MMOItems

grim halo
#

There is no guarantee that he uses minecraft modifiers on items.
He can just add some NBT tag or entry in a PersistentDataContainer, then check the item
in several events to change the players attributes.

brave vector
#

NBT return the same values

grim halo
#

There. Use his API

brave vector
#

alright then, btw thanks for your help

sage summit
#

how do i check if an arg is empty run code saying its emplty then if its not empty run code?

grim halo
#

java method argument or minecraft command argument?

sage summit
#

command

grim halo
#

define "empty" do you mean if he does not provide the proper amount of arguments?

sage summit
#

if they do /visit (player) how do i check if they do not put a player in then run code if they did not

#

i have this

if(command.getName().equals("visit")) {
            if (args[0] != null) {
                String visituuid = Bukkit.getPlayer(args[0]).getUniqueId().toString();
                if (getConfig().getStringList("Players").contains(visituuid)) {
                    player.sendMessage("Teleporting you to " + args[0] + "'s cell!");
                    Location lock = new Location(Bukkit.getWorld(visituuid), 0.5, 95, 0.5);
                    player.teleport(lock);
                } else {
                    player.sendMessage(args[0] + " does not have a cell");
                }
            } else if (args.length == 0) {
                player.sendMessage("Please enter a username");
            }
        }
grim halo
#

a command looks like this:
/command arg0 arg1 arg2 arg3 etc...
The String array representation is accordingly:
[arg0, arg1, arg2, arg3 etc]
In your case arg0 would be the first entry in the String[]
You need to check the length of the String[] in order to know the amount of arguments a player uses.

so args.length.
If args.length is 0 then he did not provide any arguments.

sage summit
#

i tried

if(args.length == 0) {
   //code to say you have not entered anything
} else {
   //code
}
#

but it did not work

grim halo
#

Did the "else" code run?

sage summit
#

wait hold on, i think it worked now lol, idk what i did

grim halo
#

k

sage summit
#

wait nvm, i restarted the server and now the commands dont work and give an internal error thing

#

gtg now as well:/

left plover
#

does anyone know of a list of mob NBT tags? I'm currently using NoAI to freeze a mob but it works too well and stops everything, I want it to be able to move its head around and fall too so was wondering if there was a movement tag

grim halo
#
#

I think you need to extend the NMS mob and write your own AI goals

left plover
#

oh, do you know a good way of doing that? I was kinda thinking there would be a movement speed attribute lol

grim halo
#

Oh so you just want to stop the mob moving? Yeah then you can set its movementspeed to 0

left plover
#

movementspeed isn't on there though?

#

so I could do something like

Object handle = skeleton.getClass().getMethod("getHandle").invoke(skeleton);
Constructor<?> nbtCompound = Objects.requireNonNull(PacketManager.getClassNMS("NBTTagCompound")).getConstructor();
Object nbtTagCompound = nbtCompound.newInstance();
handle.getClass().getMethod("c", nbtTagCompound.getClass()).invoke(handle, nbtTagCompound);

nbtTagCompound.getClass().getMethod("setInt", String.class, byte.class).invoke(nbtTagCompound, "movementspeed", 0);
handle.getClass().getMethod("f", nbtTagCompound.getClass()).invoke(handle, nbtTagCompound);

pardon my reflection

grim halo
#

Well... Why not use the spigot api?

#
    final AttributeModifier mod = new AttributeModifier("ZERO", 0.0, Operation.ADD_SCALAR);
    final AttributeInstance attributeInstance = entity.getAttribute(Attribute.GENERIC_MOVEMENT_SPEED);
    if (attributeInstance != null) {
      attributeInstance.addModifier(mod);
    }
#

eg.

left plover
#

I was using this initially but some of the methods didnt exist anymore

Object nmsSkeleton = Objects.requireNonNull(PacketManager.getClassNMS("EntityInsentient")).cast(handle);
Object genericAttributes = Objects.requireNonNull(PacketManager.getClassNMS("GenericAttributes")).getMethod("d").invoke(Objects.requireNonNull(PacketManager.getClassNMS("GenericAttributes")));
Object uncastedAttributes = nmsSkeleton.getClass().getMethod("a", Objects.requireNonNull(PacketManager.getClassNMS("GenericAttributes"))).invoke(nmsSkeleton, genericAttributes);
Object attributeInstance = Objects.requireNonNull(PacketManager.getClassNMS("AttributeInstance")).cast(uncastedAttributes);

Constructor<?> newAttribute = Objects.requireNonNull(PacketManager.getClassNMS("AttributeModifier")).getConstructor(UUID.class, String.class, double.class, int.class);
Object attribute = newAttribute.newInstance(movementSpeedUID, "Skeleton_King AI removal", 0.0d, 1);

attributeInstance.getClass().getMethod("b", Objects.requireNonNull(PacketManager.getClassNMS("AttributeModifier"))).invoke(attributeInstance, attribute);
attributeInstance.getClass().getMethod("a", Objects.requireNonNull(PacketManager.getClassNMS("AttributeModifier"))).invoke(attributeInstance, attribute);
#

that looks kinda nicer tho

grim halo
#

Wait. Are you on 1.8?

left plover
#

yes

#

oh no

grim halo
#

Huh. Have fun ^^

left plover
#

will your method still work?

grim halo
#

Not sure. I think Attributes got exposed in 1.9

left plover
#

Oh, ok

left plover
#

yeah attribute class doesnt seem to exist on 1.8

grim halo
#

did you import craftbukkit and look it up

left plover
#

yes

#

eh I think ill just stick with NoAI then for now

sage quartz
#

Good morning!

I need some help, I am trying to make it so players can buy access to a region with in-game currency. I have 2 regions setup and ready to go. I just need to make them buy-able from in-game currency. I am aware that I can add them to a group so they can enter the region but I am trying to make this done via NPC with commands.

I was wondering if anyone could assist me. I would like for them to click an NPC (citizens) and be able to see a GUI (chestcommands + CitizensCMD) and be able to buy access to a specific region.

Thank you,

grim halo
#

What plugin manages the bought regions?

rare prairie
#

areashop

grim halo
#

Then what exactly is the problem?
Create an NPC -> link with chestcommandsGUI -> onClick run command /as buy [region]

lime oyster
#

is there a known issue with 1.16 maps? 🙃

gloomy dew
#

someone is good with skript ?

#

please i need some help :-:

grim halo
#

Step 1) Uninstall Skript
Step 2) Learn Java
Step 3) Profit?

gloomy dew
#

xd

#

Java

#

is hard

grim halo
#

Isnt there a skript discord?

gloomy dew
#

idk

#

but java

#

is so hard

#

i watched some vids

#

for it

#

its rlly hard

grim halo
#

You just need some dedication.
Its always hard to get started, but once you are in the flow the experience comes naturally.
Just dont start with spigot/bukkit videos. Start with plain Java

gloomy dew
#

Ok i tried to download "Eclipse" but idk didnt worked

#

I tried from like 3 days

#

Isn't it free ?

grim halo
#

If you want to start programming then you need some basic experience with computers...
installing a program should be a no brainer

gloomy dew
#

I have some experience

grim halo
#

Yes its free. You just download the binaries and install the program

gloomy dew
#

Binaries ?

grim halo
#

like... if you are on windows you downlaod the .exe

gloomy dew
#

oh xd

#

ok

#

Tool Platforms
Eclipse
Get Eclipse IDE 2020‑06
Install your favorite desktop IDE packages.

Download Packages | Need Help?

grim halo
gloomy dew
#

ok find it

#

Downloading 🙂

grim halo
#

I hope you dont pay there. It looks overpriced as hell.

gloomy dew
#

uh

#

its downloded

#

but when i click on it

#

it get me to here

#

whats this

mellow wave
#

From what I've seen server.pro has good performance, unlike other cheaper hosts I've seen

grim halo
#

like... Epyc with 2.4Ghz baseclock is trash for minecraft

mellow wave
#

Pebble seems fine too

#

Haven't tested a lot of them tho

gloomy dew
#

i need "JDK" ?

mellow wave
#

Yes

gloomy dew
#

Oracle

#

WHAT TO DO NOW

#

bruh

#

this is hard ):

grim halo
#

Yes. JDK is the Java Development Kit. If you want to program in Java you should install java... ill send a link

gloomy dew
#

Ok ty!

mellow wave
#

and make sure to set your compile version to java 8

gloomy dew
#

Ok loading 🙂

#

Thanks guys for help to download it , But its not a virus .-. ?

grim halo
#

scroll down to Windowsx64

gloomy dew
#

Loading!

#

Im downloading

#

I have to watch yt videos for how to code ?

mellow wave
#

You need an oracle account to get jdk8 and there's no real reason to

gloomy dew
#

I just want to code "FreeForAll , Tournament Plugin"

#

No no , I already have freeforall from an plugin

grim halo
#

There are also a lot of websites that teach you java with examples etc. But if you find some nice videos thats fine too

gloomy dew
#

idk

mellow wave
grim halo
#

Just make sure to not only watch the videos. Writing code is the most important thing.

mellow wave
#

It contains good information but it's quite long. ^^ that too

grim halo
#

This is also jumping in cold water... bit dry to read

mellow wave
#

Yeah don't read it all in one go

gloomy dew
#

Do you know how to code ?

mellow wave
#

Follow along and test

#

I know how to code

gloomy dew
#

nice

mellow wave
#

atleast Java

#

There are other languages out there...

gloomy dew
#

You know how to code "Like what" ?

vernal spruce
#

hit him with create me a hashmap right now asking for a integer and a string Kappa

gloomy dew
#

Ok "JDK" installed

mellow wave
#

Which one did you get jdk8 or jdk14?

gloomy dew
#

Eclipse is being "INSTALLED"

vernal spruce
#

noice

gloomy dew
#

JDK14

#

Ty stellrow

grim halo
#

Just for the future:
If a program says it needs "X" -> google and download "X"

mellow wave
vernal spruce
#

i think even microsoft aknowledge that people are just dumb

gloomy dew
#

I will "Wait for it to be installed 100%"

vernal spruce
#

and now the updates install drivers for you

gloomy dew
#

oh

grim halo
#

You should have went with my JDK8 link...

gloomy dew
#

i will send screen

vernal spruce
#

does any server even use anything but 8?

gloomy dew
mellow wave
#

Some use 7, but that's just bad

gloomy dew
#

What should i select ?

grim halo
#

I think for Linux Java 11 is standard at the moment.
I use 14.0.1 atm

vernal spruce
#

eclipse was so nice

#

now i switched to intellij cause im lazy

gloomy dew
#

Eclipse IDE for java Developers ?

#

what should i select

grim halo
#

The top one

gloomy dew
#

Eclipse IDE for java Developers ?

grim halo
#

yes

gloomy dew
#

Ok

grim halo
#

I think intellij has great maven and vcs integration. I only miss the project explorer on the left

gloomy dew
#

Install ?

grim halo
#

Yes... install

gloomy dew
#

D

#

XD

#

I saw it

#

XDDD

#

Why should people donate ?

#

lol

mellow wave
#

Maybe to support the devs 😮

vernal spruce
#

@grim halo yeah its only showing current project

gloomy dew
#

oh xd

#

im gettings lagg

#

wtf

grim halo
#

Ill screenshot this and when you come up with a plugin and donation link ill just post the screenshot below

vernal spruce
#

expect lag if you have a bad pc

gloomy dew
#

my pc sounds is so high xd

frigid ember
#

Huh really?

gloomy dew
#

Yes i have " i 3 "

vernal spruce
#

those IDEs are quite resource hungry

gloomy dew
#

so nvm

#

xd

vernal spruce
#

intellij/server/minecraft/chrome/discord opened and boom

#

snail mode activated

frigid ember
#

Not a single developer recommend watching a youtube tutorial or video on coding I seen so far, I guess you don't think so?

vernal spruce
#

tbh im just lacking ram though

gloomy dew
#

Essentials is coded in java too ?

#

"Essentials Plugin"

grim halo
#

i3 doesnt mean bad. There are some 4 Core 4.2Ghz i3 s

gloomy dew
#

Mine isn't so bad

grim halo
#

Every spigot plugin is coded in Java

#

or Kotlin

gloomy dew
#

oh xd

vernal spruce
#

there are rly new and good i3s

gloomy dew
#

and "BungeeCord" ?

grim halo
#

99% Java

vernal spruce
#

expensive though

#

also

#

spigot =/= bungee for future references

gloomy dew
#

I will be skilled dec 😛

#

jk xd

#

I'm bad at everything ):

vernal spruce
#

i mean everybody starts at one point

grim halo
#

spigot is written in java. Minecraft is written in java. Everything you will come in touch with in the Spigot context is written in Java,

vernal spruce
#

most have 4-5+ years of experience in spigot

gloomy dew
#

brb

grim halo
#

Besides databases those are mostly C++

vernal spruce
#

more or less

#

the most popular one mysql just has keywords

grim halo
#

obsly the query language is not in C++ bu its written in C++

#

Also you dont need to have a huge timespan of experience. I got a bit more than a year of java/spigot experience

gloomy dew
#

Isn't "Eclipse" a virus xd ?

frigid ember
#

im moving from eclipse to intellij but how would I add maven to an existing project?

vernal spruce
#

lol eclipse its one of the most used ide

#

next to visual studio for c#/c++

#

i started with eclipse and its quite nice for beginners

grim halo
#

That i can confirm

gloomy dew
#

Download is done , Im launching 🙂

#

What should i do ?

grim halo
#

Learn Java

frigid ember
#

xD

gloomy dew
#

Create a new java project ?

frigid ember
#

did you learn java?

gloomy dew
#

no ):

vernal spruce
#

First look over a java tutorial off google

frigid ember
#

codecademy

vernal spruce
#

then follow a youtube tutorial,wich will most likely also show you how to start a eclipse project and such

gloomy dew
#

What should i choose from these ?

frigid ember
#

& tutorials

gloomy dew
#

New java project ?

frigid ember
#

none yet bro

gloomy dew
#

oh k

#

why none

#

rbuhh

frigid ember
#

go to a tutorial

#

and learn java

#

:/

gloomy dew
#

My friend gave me "Vanish Code"

#

x

#

d

grim halo
#

Dont even think about touching spigot for the next month.
Just learn Java.

gloomy dew
#

Bruhh

grim halo
#

Search for a tutorial that uses eclipse

frigid ember
#

You can try something ImSuma

gloomy dew
#

How can i learn if i dont chooseo ne from these to learn on it ?

frigid ember
#

but you wont be able to code

#

look at a tutorial

#

'First java plugin eclipse'

gloomy dew
#

Ok send me a good one please ?

frigid ember
#

touched spigot with no previous java experience, now I made a core 😉

#

but you should learn the basics first @gloomy dew

#

'free java course'

gloomy dew
#

How can i learn , Shouldn't i choose "New java project" ?

frigid ember
#

bruh

#

and then?

vernal spruce
#

^

frigid ember
#

you have a project so?

#

what are you going to do with it?

vernal spruce
#

While yeah you can go from there its gonna be substantially longer to learn

halcyon snow
#

press Window -> Show View -> Package Explorer.

#

And then right click on the package explorer that popped up, and press New -> Java Project

#

After that though, you should really learn Java.

vernal spruce
#

Well think of it as any other domain

#

Downloading a modeling software without knowing how to model its not gonna do much

gloomy dew
#

Ok i will do what you said @halcyon snow

frigid ember
#

or watch a tutorial :/

gloomy dew
#

Ok i will

frigid ember
#

that'll actually let you know what you're doing

gloomy dew
#

Just give me a nice video :p

frigid ember
#

'first java plugin eclipse'

#

search that on youtube

gloomy dew
#

Ok

frigid ember
vernal spruce
#

thesourcecode

#

nice

frigid ember
#

and if you know the basics

#

thesourcecode & codedred

gloomy dew
#

How to Make a Minecraft Plugin | First Plugin (Ep. 1)

frigid ember
#

there you go

vernal spruce
#

they still want you to know java basics

frigid ember
#

check if its eclipse though

gloomy dew
vernal spruce
#

as they wont rly bother explaining every single variable type and such

gloomy dew
#

This is good ?

frigid ember
#

yes you wont understand without knowing the basics

#

:/

gloomy dew
#

How can i know the basics ?

frigid ember
#

that site, Java Course

#

not JavaScript

#

Java

gloomy dew
#

should i sign up ?

frigid ember
#

if you want to learn java

gloomy dew
#

Ok

vernal spruce
#

tbh i wouldnt bother with anything paid

#

youtube and google stuff is more than enough

frigid ember
#

codecademy is free

vernal spruce
#

you sitll need to sign up and shit for it

#

rather than getting straight into it

frigid ember
#

just an email

sturdy oar
#

Smh

#

Go to university

vernal spruce
#

tbh for a "informatic" domain on my uni

#

i get literally 0 from it

frigid ember
#

I didnt chose it

vernal spruce
#

if i done programming at a kids level so far in 2 years

#

you go to uni for that paper in the end,the rest you learn from home

#

they keep teaching shit that nobody uses or needs anymore

sturdy oar
#

Not true

vernal spruce
#

its all depending most unis have this problem

sturdy oar
#

My brother goes to uni and he teaches me stuff

grim halo
#

Really depends on the university.

sturdy oar
#

electronic engineer

vernal spruce
#

im on automation and applied informatics wich should be about programming robots and machines

gloomy dew
#

i wont code in java anymore

#

ty for help

sturdy oar
#

Lmao

vernal spruce
#

what we do? literally shit about old cpu arhitecture

gloomy dew
#

ITS SO HARD

vernal spruce
#

like not even 1 month worth of coding

sturdy oar
#

Its not smh

gloomy dew
#

I NEED 9 YEARS TO LEARN

vernal spruce
#

i mean iv been doing it for like 5 year in java

#

rest is having fun in c# on unity

#

to make shitty games

gloomy dew
#

I iwll keep eclipse

#

i will continue with skript

sturdy oar
#

Oh God eclipse

gloomy dew
#

cuz its better

sturdy oar
#

Uninstall eclipse

gloomy dew
#

no :-:

vernal spruce
#

man i still remember my first tower defense i made in unity lol

halcyon snow
#

Use eclipse if you want. It's up to you.

sturdy oar
#

Do you even need eclipse for Skript like wtf

gloomy dew
#

no

#

i will continue coding with skript

#

cuz its easier

sturdy oar
#

Glhf

vernal spruce
#

you wont go far

gloomy dew
#

i want

#

but its hard

vernal spruce
#

its easyer but you cant do advanced stuff

sturdy oar
#

Of course it's easier, you literally can't do anything on Skript

graceful vigil
#

Skript is bad for performance for anything moderately large

frigid ember
#

I use Skript to make a command that sends you the message "Hello %player_name%", when you type hello 🙂

vernal spruce
#

i never bothered with skript went straight for java

graceful vigil
#

^

gloomy dew
#

ok

#

how can i learn for java ?

graceful vigil
#

skript devs aren't real devs :whistle:

sturdy oar
#

Skid in the beginning, then you'll learn

frigid ember
#

👀

#

u didnt

vernal spruce
#

if ur not that serious about it go for a minecraft plugin devlopment to get an ideea on how it works

graceful vigil
#

noooo

#

try some very basic java only things first

#

don't go straight for plugin development

gloomy dew
#

oK

#

When i finish coding

vernal spruce
#

he already says he tries to avoid them though

frigid ember
#

is it weird i started coding & getting the hang of it without any previous java experience?

gloomy dew
#

when i finish coding i can download the plugin i did ?

vernal spruce
#

@frigid ember if you like it nope

gloomy dew
#

like when i download a plugin from spigotmc ?

sturdy oar
#

Download wut

#

No you build it

#

If you made it

vernal spruce
#

eclipse will use the code you created to construct a plugin

frigid ember
#

read some docs, looked at open sourced projects, and "skidded", makes sense now, most of the things you have to do.

vernal spruce
#

everything can be done without internet on ur computer

grim halo
sturdy oar
#

Maven compiler plugin will build stuff for you

graceful vigil
#

@frigid ember I sorta did the same thing, and I sorta regret it because I think it's what caused me to get frustrated and lose interest

vernal spruce
#

are we being mean?🤔

sturdy oar
#

Yes

graceful vigil
#

no

sturdy oar
#

Because this should be in general

#

Not help channel

vernal spruce
#

beside that yeah

frigid ember
#

everyone is saying learn java first tho, I will eventually when I have the time, but if i dont know a line, i'll just look it up in the docs. only problem is my arrow code 😄

vernal spruce
#

you would be surprised how often people have conv in here

gloomy dew
#

Can you guys see my server ?

sturdy oar
#

No

graceful vigil
#

No

sturdy oar
#

If you advertise you're gone

vernal spruce
#

explain better "see my server" you mean join ur server ?

frigid ember
#

@graceful vigil What did you mean lose interest? You mean lose interest in looking at open sourced projects, and learning how each section of code contributes to the goal or output of it?

graceful vigil
#

Lost interest in java/plugin development

#

Out of frustration

frigid ember
#

hmm, oh

gloomy dew
#

Stellrow yea xd

frigid ember
#

not understanding how the code works

vernal spruce
#

usually i learn by needing it

frigid ember
#

?

gloomy dew
graceful vigil
#

Yeah, entirely on me. I wasn't dedicated enough

sturdy oar
#

Ban

graceful vigil
#

ban

grim halo
#

ban

gloomy dew
#

:-:

graceful vigil
#

As with IRC, do not advertise in any way, shape, or form.

vernal spruce
#

i needed to make a cooldown system,i was looking how can i do one then i found out bout hashmaps

frigid ember
#

ah i see