#help-archived

1 messages · Page 152 of 1

lone fog
#

Chat chat;

If (blah) {
Chat = blah
}

ashen stirrup
#
Chat chat = chatProvider != null ? chatProvider.getProvider() : null;
#

Just put it in a ternary

lone fog
#

That works too

fallow beacon
#

ternaries are beautiful

#

like weeds

ashen stirrup
#

i agree

#

ternaries make me happy

fallow beacon
#

You haven't lived until you've delved into the 12x nested ternary statement to avoid making a lot if if thens

lone fog
#

No

#

Stop it

fallow beacon
#

and no I did that in like 2011 so I don't remember why it didn't just use a switch()

lone fog
#

Don’t make your code look like decompiled C#

ashen stirrup
#
if((x = 4>5?7:8)=7){}
hardy cedar
#

like weeds
@fallow beacon .____.

fallow beacon
#

XD

dry kiln
#

What would be the best way

ashen stirrup
#

Assignment in if statements is also beautiful

dry kiln
#

To mimic bonemeal

ashen stirrup
#

Ternary assignment in if statements is even more beautiful

fallow beacon
#

So uh is there a reason why there's no 1.16 snapshot jar of bukkit in the spigot repo yet

dry kiln
#

I'm trying to make like a bonemeal type function but allow it to be more widespread

hardy cedar
#

Oof forgot to add vault as a softDepend

#

Lol

lone fog
#

Since when does the spigot repo have jars

fallow beacon
#

idk I mean the build tools are all fetching something from there

#

spigot nexus is full of jars mate

#

like jars gone wild

ashen stirrup
#

Considering making some automated replies for “Learn java before the spigot api”

fallow beacon
#

bruh

lone fog
#

To be fair I learned java with the bukkit API

#

Maybe not the best idea but it worked

fallow beacon
#

I learned Java by mindlessly blundering through basic tutorials for Forge development combined with lots and lots and lots and lots of compile errors and Eclipse autocomplete suggestions

ashen stirrup
#

I mean like the people who’re clueless about coding

#

People who skip Hello World and go straight to trying to make custom NMS stuff

lone fog
#

I had the experience of

#

Flash and Visual Basic 6

dry kiln
#

Lol

ashen stirrup
#

That gets some of the fundamentals of programming though

lone fog
#

True

#

I had google for my problems :p

ashen stirrup
#

I think I tried to learn Spigot, then Java, then Spigot again, then properly tried to learn Java and then Spigot again

lone fog
#

The best way to start

#

Is to jump right into ASM

ashen stirrup
#

A lot, not all, of newer developers, imo, don’t understand that programming can be a lot of trial and error

lone fog
#

Don’t remind me

#

Spent four days in his weekend for like

#

10 lines of code

nimble stump
#

i learned initially through bukkit

#

and then got hired and worked with people who actually knew what they were doing

#

and got exponentially better

sage summit
#

im trying to get the item clicked but idk how

@EventHandler
    public void onPlayerInteractWithGUI(InventoryClickEvent event) {

        Player player = (Player) event.getWhoClicked();
        ItemStack item = event.getCursor();

        if (item==null)return;
        for(String key : main.getConfig().getConfigurationSection("CustomGui").getKeys(false)) {

            for(String key2 : main.getConfig().getStringList("CustomGui." + key + ".items")) {
                String id = main.getConfig().getString("CustomGui." + key + ".items." + key2 + ".id");
                String name = main.getConfig().getString("CustomGui." + key + ".items." + key2 + ".name");
                List<String> list = main.getConfig().getStringList("CustomGui." + key + ".items." + key2 + ".commands");

                if (item.getItemMeta().getDisplayName() == name && item.getType() == Material.valueOf(id)) {

                    if (event.isLeftClick()) {
                        for (String commands : main.getConfig().getStringList("CustomGui." + key + ".items." + key2 + ".commands")) {
                            player.performCommand(commands);
                        }
                    }
                }
            }
        }
    }
nimble stump
#

event.getSlot();

#

event.getClickedInventory().at(event.getSlot());

lone fog
#

Event.getCurrentItem?

sage summit
#

also do i need this part?
if (event.isLeftClick()) {

nimble stump
#

depends

ashen stirrup
#

Event.getCurrentItem?

nimble stump
#

do you want to allow right clicking?

#

is that new @lone fog

sage summit
#

no

#

no right clicking

nimble stump
#

then yes, check left click

sage summit
#

k

lone fog
#

Pretty sure it’s not new

#

I remember using it a long time ago

nimble stump
#

if you want to get more specific you can check the ClickType enum against event.getClickType() @sage summit

sage summit
#

ok

nimble stump
#

was that in the 1.8 api do you thinkk @lone fog

ashen stirrup
#

Its 100% in 1.8

nimble stump
#

interesting

#

honestly i've probably used it and just can't remember

hardy cedar
#

:(

lone fog
#

Haha

#

ChatColor.translateAlternateColorCodes

nimble stump
#

ChatColor.translateAlternateColorCodes

#

fak

hardy cedar
#

Ok

ashen stirrup
#

“Rank: &cOwner”

hardy cedar
#

Lol

ashen stirrup
#

ooo

#

damn

lone fog
#

SUPER admin

#

I want super powers

hardy cedar
#

ChatColor.translateAlternateColorCodes
Hmmm what string?

#

Hey :/

lone fog
#

String you want to translate

#

And the char is ‘&’

hardy cedar
#

Omf calc camera

#

I feel like i use a old Nokia phone lmao

lone fog
#

Why are you translating null

hardy cedar
#

I put that until i find a string

#

Lol

lone fog
#

The string is the suffix you want to translate

hardy cedar
#

Yee but i can't do chat or chat. Or even Rank

#

Or anything

#

:/

#

@lone fog u have any idea?

#

.___.

lone fog
#

We’ve already told you

hardy cedar
#

What

lone fog
#

Call translateAltColorCodes on the suffix string

hardy cedar
#

There is no string

lone fog
#

Chat.getPlayerSuffix returns a string

hardy cedar
#

As u can't see in my calc camera

#

It's litterly stupid (:

lone fog
#

‘&’ not “&”

#

It wants a char not a string for the first argument

subtle blade
#

I appreciate the use of a camera instead of the snip tool lol

lone fog
#

At least they didn’t print it out and scan it

subtle blade
#

Yeah... right...

#

*cancels his fax*

#

That would be stupid

hardy cedar
#

I appreciate the use of a camera instead of the snip tool lol
@subtle blade i dont have internet so i use phone data

#

:(

subtle blade
#

oic

lone fog
#

Oof

tall crystal
#

Is there an event for when a person is powering up a bow

lone fog
#

Interact event when they first start charging

tall crystal
#

oh ok

lone fog
#

Sadly I think the rest is client side until the release it

tall crystal
#

oh ok :( wanted to do something when they fully charge it

buoyant path
#

how can I restart the server in my plugin?

tall crystal
#

It doesn't restart the server but you can do Bukkit.shutdown(); all servers don't restart themselves so you would have to set it up outside of that unless you have a provider than it might be harder to do

lone fog
#

Yeah you would need the user to have a start script

#

Kind of hard to start something when the plugin is already shut down

zealous ginkgo
#

Hiya, I'm wondering how I could go about getting iron golem farms to work on spigot 1.16? I'm running version 1.16.1-R0.1 and iron golem farms just don't work, I have no plugins installed, the farm worked perfectly fine before switching to spigot. I searched the forums for the answer but couldn't find any up-to-date reliable answer

zealous ginkgo
#

Hm it's working now actually, but seems to be very on and off, which is odd

hardy cedar
sage summit
tall crystal
#

Well I may or may not of made machine gun arrows xD

neon matrix
#

I did that once

#

I made machine gun laser beam arrows

#

They had 0 dropoff, fast as hell, and just kept going as you looked around

tall crystal
#

xD

lone fog
#

Is that a problem

tall crystal
#

we kinda crashed our Hub lol

neon matrix
tall crystal
#

This is beautiful

sage summit
#

nice

rose rock
#

Okay I'm trying to update my spigot server to the new update so I downloaded buildtools and did java -jar Buildtools jar lastest. As the website says but it keeps giving me the 1.15.2 build. How do I get the new 1.16.1 build? (I already have 1.16.1-R0.1) any help would be awesome. Thanks

sage summit
peak meadow
#

@rose rock java -jar BuildTools.jar --rev 1.16.1

rose rock
#

I did that and I got the same version name. 1.16.1-R0-1-SNAPSHOT

#

or is it the same name but different

unique oyster
#

how can i get the image of a graph from bstats?

peak meadow
#

when i run that command i get spigot-1.16.1

neon matrix
#

Files named 1.16.1 are 1.16.1

peak meadow
#

O who would of thought

unique oyster
#

and how can i get this as image

#

for my spigot resource page

unique oyster
#

thanks ❤️

rose rock
#

@peak meadow how would I get build # 488 on Jenkins

peak meadow
#

Dont think you can get specific builds

rose rock
#

oh okay

unique oyster
cold wharf
#

Hello

#

I am trying to install spigot 1.16.1 repo using gradle but it is not working

wet ferry
#

If I've done player.setglowing(true), is there a way to undo that without a plugin? What file would the setglowing part of it be stored in?

stoic mist
#

hey

pastel condor
#

probably nbt

stoic mist
#

which java edition and version do u recommend for server hosting? which is faste and efficient?

pastel condor
#

1.16.1

#

For survival

#

And cities etc.

stoic mist
#

i mean the java version, like openjdk, or oracle java, and which java version 11, 12 , 13 etc xd

pastel condor
#

Java 8

marsh hawk
#

Is there any event or packet to check when a player hovers over a JSON text component?

#

I'm assuming its clientsided

pastel condor
#

I think it’s only triggered on click

marsh hawk
#

damn that sucks

pastel condor
#

Idk though

#

I mean it would fire a lot if it wasn’t

#

Doesn’t sound like a good thing to do

frigid ember
#

@stoic mist I use java 11 and it works perfectly

marsh hawk
#

Yeah thats fair, just wanted to have some cool reactive text

pastel condor
#

I mean you can set the hover message

#

But I think that’s about it

marsh hawk
#

wait a minute

#

theres a setHoverEvent function for TextComponent

#

ill check that out

sage summit
#

what are some good 1.8 menu/gui plugins?

cold wharf
#

Hello
I am trying to install spigot 1.16.1 repo using gradle but it is not working

pastel condor
#

Oh cool 🙂

frigid ember
#

Is there a placeholder for how long a player has lived since death?

marsh hawk
#

shid

#

i really need to add reflection to my project for nms

#

keep having to manually change it lol

fervent ridge
#

is there anyway to override the auth process and pretend to be an online server?

#

i saw things like floodgate from geysermc that can auth bedrock players

sage summit
#

what are some good 1.8 menu/gui plugins?

pastel condor
#

Make your server offline then control the auth process

#

@fervent ridge that does it automatically

#

Floodgate

fervent ridge
#

umm

pastel condor
#

You can keep your server in online mode

fervent ridge
#

yes

#

i mean

#

so with floodgate players with bedrock accounts can connect to an online java server without passing the mojang auth process

pastel condor
#

Not sure how they do it

#

It’s open source btw

fervent ridge
#

k

marsh hawk
#

is there no net.md_5.bungee.api.chat.TextComponent.Packet anymore? i can't see it in the deprecated list

#

Or am i importing this wrong

#

And i cant get any nms or craftbukkit importrs

#

hmm im definitely doign something wrong

still raptor
#

I need the moderators, stop harassing me and do not delete the comments that I am leaving in a plugin that you buy please

pastel arrow
#

Is your "comment" breaking the rules?

still raptor
#

No, they only delete it because they say that I am harassing the created, when it is not true, I buy a premium plugin, I am reviewing all the rules and I am not disrespecting or anything

#

I think that the creator is a friend of the moderators and is asking them for a favor

#

I have 83 premium plugins, supporting the creators, I am in their discord commenting on their plugins, in some I have left good and bad comments, I do not understand why they delete the comments of a plugin that did not work for me and that only leave a comment of support and I hope that the creator updates its plugins to improve

left plover
#

Does anyone know how to change a players tablist name so its different for each player? I know I need packets and I've been looking at PacketPlayOutPlayerInfo but there is no sign of its existence for some reason

frigid ember
#

use protocollib

left plover
#

how

shut quest
undone narwhal
#

ProtocolLib ?

frigid ember
#

yep

#

plugins?

#

report it on protocollib´s issue tracker

frosty cave
#

hey can anyone help with this i have no clue what im doing lol ```java
@EventHandler
public void onPrepareItemCraft(PrepareItemCraftEvent event) {
CraftingInventory ci = event.getInventory();
if (event.getRecipe().getResult().equals(Material.NETHERRACK)) {
if (!event.getRecipe().getResult().hasItemMeta() && (ChatColor.WHITE + "Block of Rotten Flesh").equals(event.getRecipe().getResult().getItemMeta().getDisplayName())) {
ci.setResult(null);
}
}

}```
frigid ember
#

hey can anyone help with this i have no clue what im doing lol ```java
@EventHandler
public void onPrepareItemCraft(PrepareItemCraftEvent event) {
CraftingInventory ci = event.getInventory();
if (event.getRecipe().getResult().equals(Material.NETHERRACK)) {
if (!event.getRecipe().getResult().hasItemMeta() && (ChatColor.WHITE + "Block of Rotten Flesh").equals(event.getRecipe().getResult().getItemMeta().getDisplayName())) {
ci.setResult(null);
}
}

}```

@frosty cave what are u trying to do?

#

you are working only with the result

frosty cave
#

only allow the item to be crafted if it has the name "block of rotten flesh"

frigid ember
#

but

#

to give this result

#

you must give an input

#

like one diamond

frosty cave
#

the input is the block of rotten flesh

#

the result is 9 rotten flesh

#

i just dont want people to be able to craft just netherrack into rotten flesh

undone narwhal
#

Create a recipe

frosty cave
#

i did

undone narwhal
#

And remove the one you don't want to

frosty cave
#

thats what im trying to do

undone narwhal
frosty cave
#

i have both of the recipes i just need to figure out how to only craft it if it has the display name

#

i already looked at that

undone narwhal
#

I don't understand sorry ^^

frosty cave
#

so i have the two recipes right

#

the 1st one turns 9 rotten flesh into a netherrack block with the custom name "Block of Rotten Flesh"

undone narwhal
#

okay

frosty cave
#

the second one is supposed to turn the block back into 9 rotten flesh

#

but i dont know how to only craft it when it has the name block of rotten flesh

#

because right now i can just turn netherrack into rotten flesh regardless of the name

undone narwhal
#

ohhhh okay

frosty cave
#

ye

undone narwhal
#

Then you should get the recipe inputs (ci.getMatrix() which return an array of ItemStack), and for each ItemStack, check:
-> if it's netherrack -> if !has itemmeta || itemmeta.getDisplayName() not equals to your name -> set cancelled true

#

But first check if the current recipe is the correct one

frosty cave
#

ah

#

how would i check the recipe

undone narwhal
#

event.getRecipe().equals(YourCreatedRecipe)

frosty cave
#

okay

shut crow
#

I have a server through Pebblehost, I updated when 1.16 was released to the vanilla 1.16 jar and deleted my nether folder to force a new nether for 1.16 to be generated, when spigot became available for 1.16.1 I switched over to that and my 1.15.2 nether came back... anyone know why?

frigid ember
#

I have a server through Pebblehost, I updated when 1.16 was released to the vanilla 1.16 jar and deleted my nether folder to force a new nether for 1.16 to be generated, when spigot became available for 1.16.1 I switched over to that and my 1.15.2 nether came back... anyone know why?
@shut crow dimension seed dont changed

#

you must delete overworld

#

or rename it

#

generate new

#

stop server

#

rename again

#

and start again

frosty cave
#
@EventHandler
    public void onPrepareItemCraft(PrepareItemCraftEvent event) {
        CraftingInventory ci = event.getInventory();
        Recipe recipe = event.getRecipe();
        if (recipe.equals(PluginUtil.fleshBlockRecipe())) {
            for (ItemStack item: ci.getMatrix()) {
                if (!(ChatColor.WHITE + "Block of Rotten Flesh").equals(item.getItemMeta().getDisplayName())) {
                    ci.setResult(null);
                }
            }
        }
        
    }``` @undone narwhal hows this look
undone narwhal
#

sexy, does it work?

frosty cave
#

havent tried it yet

#

1 sec

undone narwhal
#

wait

#

I'll rather do:

frosty cave
#

is there like a right click event btw

#

lol

#

i know theres playerinteractevent

#

but does that only work when like certian blocks are interacted with?

undone narwhal
#
@EventHandler
    public void onPrepareItemCraft(PrepareItemCraftEvent event) {
        CraftingInventory ci = event.getInventory();
        Recipe recipe = event.getRecipe();
        if (recipe.equals(PluginUtil.fleshBlockRecipe())) {
            for (ItemStack item: ci.getMatrix()) {
                if (item != null && item.getType() == Material.NETHERRACK) {
                  if (!item.hasItemMeta() || !item.getItemMeta().getDisplayName().equals(ChatColor.WHITE + "Block of Rotten Flesh")) {
                    ci.setResult(null);
                    break;
                  }
                }
            }
        }
        
    }
frosty cave
#

ah

undone narwhal
#

PlayerInteractEvent is: Right click, left click, pressure plate

frosty cave
#

so even right click in the air

undone narwhal
#

Yes

frosty cave
#

sick

undone narwhal
#

event.getAction() -> RIGHT_CLICK_AIR, RIGHT_CLICK_BLOCK, LEFT_CLICK_AIR, LEFT_CLICK_BLOCK, PHYSICAL

frosty cave
#

ah

#

sick

spare wolf
#

Can someone help me? I am new to hosting a server on my PC, I port forwarded it in my router. Everything works, but when I launch it it comes with this message. *** Error, this build is outdated ***
*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***
*** Server will start in 20 seconds *** and I dont understand what to do, something with Git people say but I still dont understand

#

The message comes in the command place

undone narwhal
#

You have to update the server jar

wraith thicket
#

The message explains itself...

spare wolf
#

How to 'build' something

tiny dagger
#

download a newer build tools

spare wolf
#

with git or something

wraith thicket
#

?bt

worldly heathBOT
undone narwhal
#

Download the latest BuildTool, and run "java -jar BuildTools.jar"

spare wolf
#

in git

undone narwhal
#

You can eventually use 1.16.1 by adding --rev 1.16.1

spare wolf
#

I downloaded Git

undone narwhal
#

No in a command shell

spare wolf
#

what is a command shell

undone narwhal
#

or in the cmd of windows

spare wolf
#

I am new

undone narwhal
#

Windows user ?

frosty cave
#

is there a non deprecated alternative to player.getItemInHand()

spare wolf
#

yes

wraith thicket
#

Player#getInventory#getItemInMainHand

frosty cave
#

ah

#

ty

spare wolf
#

I just made a run.bat thing with 3 gb of ram

#

i did not build anything

wraith thicket
#

Where did you get the jar then?

spare wolf
#

download

undone narwhal
#

?bt Download buildtools.jar, put it in a folder, in that folder make a right click -> Open command here, type "java -jar BuildTools.jar --rev 1.16.1", wait

spare wolf
#

from the video

worldly heathBOT
wraith thicket
#

There is no download for a spigot jar. It's illegal to distribute it since it includes Mojang code.

spare wolf
#

oh

#

it was on the spigot site

#

I think

wraith thicket
#

No.

spare wolf
#

Oh I am so sorry

#

I dont want to be illegal

wraith thicket
#

There is no Spigot jar download available on the Spigot site.

spare wolf
#

I will delete it now

undone narwhal
#

Download buildtools.jar, put it in a folder, in that folder make a right click -> Open command here, type "java -jar BuildTools.jar --rev 1.16.1", wait

spare wolf
#

with git

#

or no git

#

I downloaded it

#

and then I opened git

#

and put that command in

#

but It couldnt find it

#

or something

undone narwhal
#

Just do what I said, and it will be fine

spare wolf
#

there is no open command here

undone narwhal
#

Top left corner: File > Open cmd or smth like this

sturdy oar
#

PowerShell

spare wolf
#

Its in dutch but I can translate it if you want

sturdy oar
#

open powershell, cd into directory

#

and execute java command

spare wolf
#

this

undone narwhal
sturdy oar
#

yes both PowerShell and CMD work fine

#

(CMD doesn't have some stuff)

spare wolf
#

what do I type

sturdy oar
#

cd "your buildtools directory"

spare wolf
#

what do you mean

undone narwhal
#

Type:

#

cd <your directory goes here>

sturdy oar
#

you have to go into the directory containing buildtools in order to access the JAR file

spare wolf
#

what do you mean with directory

undone narwhal
#

And replace "<your directory goes here>" by the directory path

spare wolf
#

OH

#

the location

undone narwhal
#

yes

sturdy oar
#

you can SHIFT + right-click on BuildTools jar file to copy directory

spare wolf
#

C:\Users\DUO\Desktop\tesst like this

sturdy oar
#

i guess

spare wolf
#

oh thats the map

#

do I need the map

#

or the jar

sturdy oar
#

THE JAR

#

if you want to build spigot

wraith thicket
spare wolf
#

shift rightclick

#

then this comes

#

now I do Git?

cold wharf
#

Hello
I am trying to install spigot 1.16.1 repo using gradle but it is not working

sturdy oar
#

yeah that will automatically CD into directory

undone narwhal
#

Powershell-venster hier openen

frosty cave
#

do the powershell one

spare wolf
#

Ohh

#

it works

sturdy oar
#

i don't know dutch so... eh

spare wolf
#

now

#

now this

undone narwhal
#

java -jar BuildTools.jar --rev 1.16.1

wraith thicket
#

java -jar BuildTools.jar --rev 1.16.1

sturdy oar
#

do you have java installed xd

spare wolf
#

I want 1.15.2

cold wharf
#

Hey

#

I am also trying that

spare wolf
#

Yes I have Java

wraith thicket
#

java -jar BuildTools.jar --rev 1.15.2

spare wolf
#

I did it

wraith thicket
#

Although it'll probably default to 1.15.2 anyway if you don't do rev

cold wharf
#

There is no option to open in shell for me

spare wolf
#

in that

sturdy oar
#

be aware: building will be extremely slow on Windows

#

because windows is trash

undone narwhal
#

@cold wharf With maven it works perfectly. Did you add the repository?

spare wolf
#

Its saying something with git

#

Why is windows bad

#

Its what everything uses

wraith thicket
#

I don't lol

frosty cave
#

i use mac

wraith thicket
#

I use Ubuntu

cold wharf
#

@undone narwhal What I have rn works perfectly fine on my friend's IDE but it doesn't work for me

spare wolf
#

mac is expensive

sturdy oar
#

i use PopOS (ubuntu distro)

wraith thicket
#

Had to fire up a VM to grab a picture

cold wharf
#

I don't what is the problem

#

So he suggested me to use BuildTools

frosty cave
#

got this mac as a gift

#

i agree apple is stupid

spare wolf
#

I wanna build a pc for a mc server

#

specificly

sturdy oar
#

then you definetively don't want to use Windows

frosty cave
#

i just cant handle using a window

sturdy oar
#

if you're planning to host servers

spare wolf
#

I will use linux on that one

cold wharf
#

CallMeMe build a powerfull PC then

frosty cave
#

s computer

cold wharf
#

Also use Linux

spare wolf
#

yes I will build one with 16gb

cold wharf
#

No windows

frosty cave
#

windows computers are too slow

cold wharf
#

^

spare wolf
#

for a server specific

#

yes

#

but for normal use

#

I like windows

undone narwhal
#

Host a server at home?

sturdy oar
#

🤷‍♂️ ok

cold wharf
#

And Linux is the best for coding

frosty cave
#

i cant even use a windows computer for normal use lmao

naive goblet
#

Lol windows works fine

cold wharf
#

Why?

frosty cave
#

it takes 10 minutes to load chrome

wraith thicket
#

It's really not "the best" out of the box.

frosty cave
#

¯_(ツ)_/¯

spare wolf
#

_Rolyn yes

undone narwhal
#

Actually macos is the best cause you can coompile ios app lmao

naive goblet
#

True

frosty cave
#

😎

#

nah if i had a choice i probably wouldnt be using a mac lol

cold wharf
#

Can anyonr can help me?

sturdy oar
#

with what

naive goblet
#

?ask

worldly heathBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

cold wharf
#

Hello
I am trying to install spigot 1.16.1 repo using gradle but it is not working
@cold wharf

undone narwhal
#

Did you add the repository?

sturdy oar
#

show gradle build file i guess

naive goblet
#

Spigot api or just spigot?

spare wolf
#

It is doing a lotta stuff rn

undone narwhal
#

great

spare wolf
#

20k messages per second

sturdy oar
#

it's building the jar

spare wolf
#

in the thing

cold wharf
#
plugins {
    id 'java'
}

version '1.0'

sourceCompatibility = 1.8

repositories {
    mavenCentral()
    maven {
        url "https://hub.spigotmc.org/nexus/content/repositories/snapshots"
    }
}
dependencies {
    compileOnly 'org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT'
}
spare wolf
#

what

#

I dont understand code

sturdy oar
#

does 1.16.1 API already exist?

spare wolf
#

that well

#

What is API

cold wharf
#

yes it does

naive goblet
#

Fendi I think so

undone narwhal
#

yes it exists

naive goblet
#

CallMeMe Application Programming Interface?

spare wolf
#

Do you want to be a programmer

naive goblet
#

Sometimes

cold wharf
#

Talking to me?

#

Is there no one who can help me with this?

undone narwhal
cold wharf
#

I did this too

#

But didn't work

undone narwhal
#

Then try changind spigot-api to spigot

cold wharf
undone narwhal
#

Not only this

#

But Both

cold wharf
#

Then try changind spigot-api to spigot
@undone narwhal Nope didn't work

wraith thicket
quartz trench
#

You need spigot and sonatype repo

undone narwhal
#
repositories {
  maven { url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
  maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
}
#

Try it

sturdy oar
#
maven {
        url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
        name = 'spigot-repo'
    }

compileOnly group: 'org.spigotmc', name: 'spigot-api', version: '1.16.1-R0.1-SNAPSHOT' //

this works for me 🤷‍♂️

cold wharf
naive goblet
#

Fendi why are you typing group name and version thonk

sturdy oar
#

because... it's valid syntax with Groovy?

cold wharf
#
maven {
        url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
        name = 'spigot-repo'
    }

compileOnly group: 'org.spigotmc', name: 'spigot-api', version: '1.16.1-R0.1-SNAPSHOT' //

this works for me 🤷‍♂️
@sturdy oar Not working for me 😦

naive goblet
#

Well just use : instead?

sturdy oar
#

it's the same 🤷

ember arch
#

i'd like to verify this account with the forum as my old discord was deleted, can i somehow unlink?

naive goblet
#

More effort 😠

sturdy oar
#

@cold wharf do you have a KTS or Groovy build file?

undone narwhal
#

Maven way more easier (lol)

cold wharf
#

no

naive goblet
#

Wth dude

sturdy oar
#

maven slow

#

and multi-module sucks

naive goblet
#

Is gradles multimodule better?

undone narwhal
#

That's okay for a basic plugin

cold wharf
#

Rolyn my friend suggested to use BuildTools

#

Will it work?

spare wolf
#

Now I replace this one with the Illegal one

#

Or the wrong one

#

how you would call it

naive goblet
#

I mean maven is ok but I like that I only have to type almost 2 lines for adding a dependency

wraith thicket
#

Yes - and every time you see the "out of date" message - you run the build again to build a new version

spare wolf
#

oh

#

thank you all

undone narwhal
#

Right Conclure

spare wolf
#

when that happens, do I need to replace the build jar too?

naive goblet
#

Or just use the that thing start up flag that removes the outdated message

spare wolf
#

Like download a new updated one of the build jar

ember arch
#

buildtools sometimes yes you need to update

frosty cave
#

org.bukkit.event.EventException: null

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callPreCraftEvent(CraftEventFactory.java:1131) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at net.minecraft.server.v1_16_R1.ContainerWorkbench.a(ContainerWorkbench.java:70) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at net.minecraft.server.v1_16_R1.ContainerWorkbench.lambda$0(ContainerWorkbench.java:80) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at net.minecraft.server.v1_16_R1.ContainerWorkbench$$Lambda$4509.000000002CD25EB0.accept(Unknown Source) ~[?:?]

at net.minecraft.server.v1_16_R1.ContainerAccess.lambda$0(ContainerAccess.java:59) ~[spigot-1.16.1.jar:git-Spigot-758abbe-3f0c333]

at net.minecraft.server.v1_16_R1.ContainerAccess$$Lambda$4510.000000002CD26350.apply(Unknown Source) ~[?:?]```
naive goblet
#

Bin pls?

frosty cave
#

uh oh

spare wolf
#

so when the message comes

#

of the outdated thing

ember arch
spare wolf
#

I need a new buildtools

reef folio
#

Hi Guys! I hope you can help me

I am new to datapacks (and writing datapacks for spigot).

I am trying to make a basic datapack. Everything works fine if I only give it vanilla minecraft command to execute (so mc is executing and running the datapack).

Once i add this line to my datapack (and this is the only line in the datapack) then I get errors from spiggot:

import org.bukkit;
[10:41:11] [Server thread/ERROR]: Failed to load function tc:init
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Unknown or incomplete command, see below for error at position 0: <--[HERE]
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_144]
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) ~[?:1.8.0_144]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:1.8.0_144]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) ~[?:1.8.0_144]
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_144]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_144]
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_144]
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_144]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Unknown or incomplete command, see below for error at position 0: <--[HERE]
at net.minecraft.server.v1_16_R1.CustomFunction.a(SourceFile:62) ~[spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
at net.minecraft.server.v1_16_R1.CustomFunctionManager.a(SourceFile:84) ~[spigot-1.16.1.jar:git-Spigot-758abbe-2b00831]
... 6 more

If I only add (for example)
say This is a test

then I can see the test text in the console log. What am i doing wrong? I assume i need to import something else first?

naive goblet
#

CallMeMe you don’t need but it’s good to get the updated one

spare wolf
#

Oh it connects to the internet when it is building

#

so It 'updates' itself

ember arch
#

i mean the script updates buildtools, not spigot

undone narwhal
#

@frosty cave Is it the full stacktrace ? Maybe you should check ci isn't null and Recipe isn't null too

ember arch
#

you shouldn't auto-update spigot imo

#

just update manually

#

there may be builds that have bugs etc

frosty cave
#

the full what

naive goblet
#

@reef folio what line did you add?

spare wolf
#

But why is the jar not downloadable

reef folio
#

@naive goblet just "import org.bukkit;". that is all that is in my init.mcfunction

spare wolf
#

and everyone has to build their own

naive goblet
#

import org.bukkit.*; then I guess

ember arch
#

But why is the jar not downloadable
@spare wolf legal problems

#

there was a DMCA takedown

spare wolf
#

oh

#

ok

#

can the Police now come for me if I had the already build one

naive goblet
#

Not really

ember arch
#

no xd

spare wolf
#

why does it matter then

#

Oh the poliece will come for Spigot

#

And they have to pay

#

Mojang

reef folio
#

@naive goblet still gives me this error - after changing it import.org.bukkit.*;

Failed to load function tc:init
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Unknown or incomplete command, see below for error at position 0: <--[HERE]

cold wharf
#

hey?

naive goblet
#

Can you show me the function?

frigid ember
#

i bet this channel is active following the update

spare wolf
#

Do I only use the 'spigot-1.15.2' one

#

the rest I can delete

#

?

naive goblet
#

I mean don’t

#

It has stuff like source etc iirc

undone narwhal
#

@reef folio Check your file is saved in ANSI and not UTF-8

wraith thicket
#
  1. The spigot jar contains code that is owned by Mojang and for anyone else to distribute it is illegal just like pirating a game.
  2. It's unlikely that someone will be prosecuted for such things, but Mojang is perfectly within their rights to do so
  3. The stance of SpigotMC (as I've read) is that any jar downloaded from some other site may very well include malware/viruses and is thus not supported
spare wolf
#

I paste the spigot-1.15.2 in the place of the old one in my server file

naive goblet
#

Yes

undone narwhal
#

Just copy paste spigot

spare wolf
#

and the rest i delete

undone narwhal
#

And don't remove the other files if you want to build faster

spare wolf
#

?

reef folio
#

@undone narwhal ill try that quick @naive goblet let me just check if my file is saved with the right encoding brb - if it fails then ill send a screenshot of the function

naive goblet
#

👍

spare wolf
#

If I wanna build next time I replace the buildtools one and then do the same thing again

#

and it will not make more files then

#

t?

#

It uses the same

#

these

wraith thicket
#

It'll remake whatever has changed. That's generally a small amount of all the files within those folders.

#

With that said, don't expect it to be instant. Hell, even if you rebuilt right now, you'd still likely wait a minute for it to be done.

spare wolf
#

Idc about a minute

#

It took 1minute 30 seconds it said in powershel

#

so it probbly wont matter I will just delete it

#

Oof its a lotta MB's

wraith thicket
#

Just remember how you got there - the BuildTools.jar + Shift-RightClick + PowerShell + java -jar BuildTools.jar --rev 1.15.2

spare wolf
#

yeye

#

I will remember

#

Thank you all for help I just kept waiting 20seconds evrytime it was annoying

wraith thicket
#

I'm not sure how often the "you're outdated" message pops up. But Spigot generally gets updated several times a day so you might see it again in a few days.

spare wolf
#

oh rip me then

#

my pc is getting outta storage

#

I have a 220gb ssd now only 20gb left

reef folio
frosty cave
#

is PotionEffectType.CONFUSION nausea?

naive goblet
#

Ye

frosty cave
#

aight

spare wolf
#

Yes the message is GONE

#

It works

#

the 'Illegal' one

naive goblet
spare wolf
#

I watched the The Breakdown youtuber one

naive goblet
spare wolf
#

I give him a dislike becouse he has Illegal ones

ember arch
#

these sites even make money of this

#

you see the banner

spare wolf
#

yes I dislike him

frosty cave
#

hol up

#

how does addpotioneffect work

spare wolf
#

?

#

addoption?

frosty cave
#

i cant do addPotionEffect(PotionEffectType.CONFUSION)

frigid ember
#

oh

#

you have to make a PotionEffect

spare wolf
#

oh add potion I thought adopdion

#

adoption

naive goblet
#

It takes a duration and amplifier

frigid ember
#

so like p.addPotionEffect(new PotionEffect(PotionEffectType.CONFUSION, ticks, strength))

frosty cave
#

ooh

naive goblet
#

0-255 (strength)

spare wolf
#

you guys are smart

frigid ember
#

there are booleans you can use too to change things such as particle visibility etc

#

fun fat

#

fun fact

spare wolf
#

I wanna learn Ardruino coding

frigid ember
#

if you give jump boost 137

#

it prevents jumping

#

also remember that like most things the amplifier starts at 0

frosty cave
#

ticks

#

like game ticks?

naive goblet
#

Yeah

frigid ember
#

yep, there are 20 in 1 second

frosty cave
#

how many ticks are in a second lol

#

okay ty

frigid ember
#

np!

#

uhhhhhhh hey gang i have some conversion questions

naive goblet
#

If tps never falls it should be 20

frosty cave
#

there is only 1 strength for nausea right

frigid ember
#

it can be anything you like

#

but yeah

naive goblet
#

I think

frigid ember
#

it doesnt increase

#

same with blindness etc

naive goblet
#

Maybe it does cliensided but not what I’m aware of

frosty cave
#

yea

frigid ember
#

question about textcomponents

#

what happened to them

#

lol

wraith thicket
#

Nothing happened to them?

ancient ridge
#

uhh, pretty sure blindness does increase

frigid ember
#

updating from 1.15.2 to 1.16.1 and this seems to be a rocky point

#

hmmmmmm probably just need to fix my imports

naive goblet
#

Not really

ancient ridge
#

you will be more blind the higher it is

frigid ember
#

nope it's the same with every level

ancient ridge
#

I will have to test this

#

Afaik it would make the screen more black the higher, unless they've changed that now

naive goblet
#

I think effects like blindness and nausea changes clientsided but only a small amount

left plover
#
ShapedRecipe diamondSword = new ShapedRecipe(new ItemStack(Material.DIAMOND_SWORD));
diamondSword.shape("*B*","*B*","*S*");
diamondSword.setIngredient('*', Material.AIR);
diamondSword.setIngredient('B', Material.DIAMOND_BLOCK);
diamondSword.setIngredient('S', Material.STICK);
Bukkit.getServer().addRecipe(diamondSword);

What am I doing wrong? https://gyazo.com/85e68e6767787815aac02a04f3f4bea8

reef folio
#

but it still gives an error

naive goblet
#

@left plover don’t use the deprecated constructor, use the one with a namespacedkey

left plover
#

I'm using 1.8.8, are namespacedkeys on it? I thought it was a 1.12+ thing

naive goblet
#

Hmm is it?

#

I mean pretty sure you could remove the “*” ingredient symbols

left plover
#

?

#

Wouldn't the recipe be pushed to one side then?

naive goblet
#

No? You could use in 1-4-7 2-5-8 3-6-9 then I guess

left plover
#

Sorry, I'm really confused

#

Wdym?

naive goblet
#

Vale is that the way you should init stuff?

reef folio
#

@naive goblet i am noob, so im actually not sure... eventually i will have an event listener in init.mcfunction (if that is the right way) right now i am not understanding what i am doing wrong

crimson raft
#

Anyone know a plugin like SkinsRestorer? Cant use that one since its breaking some stuff on the server, thank you
@hexed lodge i doubt we break stuff on your server, we have a discord server for support btw.

naive goblet
#

Well I mean why not try to code java and make a plugin instead?

hexed lodge
#

@crimson raft the last plugin update fixed it, everything's working now

crimson raft
#

_b

reef folio
#

@naive goblet so eventually i want this datapack to log when a player opens a chest - what he takes and puts in... as far as i am aware i cant do that with the vanilla MC? or am i mistaken?

naive goblet
#

Idk there is probably a way to do it but I mean doing that with a plugin would be much easier on my opinion and much better

#

And eventually most people who helps here knows java better than mcfunctions so you’d easier be able to sort out your issues

reef folio
#

@naive goblet well let me see what i can do in terms of a plugin and ill come post more errors if i find any 🙂

naive goblet
#

First download Eclipse IDE or IntelliJ IDEA then there is a wiki tutorial on how to make a pure blank plugin

#

^ on spigot

reef folio
#

found this video https://www.youtube.com/watch?v=v4zbqtpLaS4 which should lead me in the right direction, also busy downloading intelliJ

In this episode, I show you how to create your first plugin using the Spigot API and the Minecraft plugin for the IntelliJ IDEA.
Spigot: https://www.spigotmc.org
How to make a server: https://www.youtube.com/watch?v=TXy2vFDhPVg&t=1s
Like and subscribe!! 😍

Stay Connected and ...

▶ Play video
naive goblet
#

Yeah you can follow tutorials as long as you understand what you’re doing and why

spare wolf
#

what happens if you have 2 servers running

#

then it doesnt k now wich one to acces

#

and you cant join 2 servers at the same time

crimson raft
#

bungee?

spare wolf
#

no

#

just 2 server

#

s

#

Will it crash

crimson raft
#

then you would need to create a server switch or something

#

i dont even know if that can be done

spare wolf
#

?

crimson raft
#

you can only connect to 1 dns

spare wolf
#

what is dns

crimson raft
#

ermmmm

#

let me say server ip

spare wolf
#

yes

#

I port forwarded

crimson raft
#

you cant connect to 2 server ip's

spare wolf
#

If 2 servers have the same ip

crimson raft
#

i think thats why bungee came out

spare wolf
#

what will happen

crimson raft
#

it depends also if its on the same port 🤔

spare wolf
#

25565

crimson raft
#

if not on the same port, it will select the one on the port

spare wolf
#

But I can change that

frigid ember
#

did something about NMS change, like packet names/etc? i had a pretty neat strikeLightning method which is kinda busted atm :/

crimson raft
#

you cant bind 2 servers over the same port btw

spare wolf
#

I found some text document where you can change ports

crimson raft
#

wont work

spare wolf
#

?

crimson raft
#

@spare wolf you gotta stick with using bungee

#

or do both servers in 1 using

undone narwhal
#

@frigid ember I know that PacketPlayOutEntityEquipment Constructor changed

crimson raft
#

thins like per world scoreboard and per world plugins

spare wolf
#

in the 'server propperties' document there were something called:

undone narwhal
#

PacketPlayOutEntityEquipment(entity id, List<Pair<EnumItemSlot, ItemStack>> equipment) <- really boring

spare wolf
#

server-port: 25565

#

Can I change that

#

to something else

frigid ember
#

hm, i think i need to fix my imports or build path

tiny dagger
#

no it's better rolyn

frigid ember
#

nothing auto-completes when typing PacketPlayOut

tiny dagger
#

😄

undone narwhal
#

import spigot and not spigot-api

spare wolf
#

can I change this

undone narwhal
#

@tiny dagger Depends, I kinda like it but when you use NMS it's the 3rd changment this 1.8 lmao

forest thorn
#

why do you need an nms strike lightning method?

spare wolf
#

And then have 2 servers

frigid ember
#

OH my god thank you @undone narwhal i was gonna be So sad

undone narwhal
#

^^

spare wolf
#

yes or no

undone narwhal
#

You can change it yes

spare wolf
#

how do you know

#

wich ones are available

#

can I change it to 1 so its easyer to type for my friends

forest thorn
#

google "available ports to use"

spare wolf
#

so it will be [ip]:1

#

and not [ip]:25565

forest thorn
#

well

#

25565 is the default

#

so you dont have to type it in

#

if that's your port

#

if its available, use that

spare wolf
#

I have 25565 now

forest thorn
#

with 25565 you can just use [ip]

#

to connect

spare wolf
#

In my router I made a UPS and UTP

#

or something

forest thorn
#

UDP and TCP

#

yes

#

but minecraft only uses TCP

spare wolf
#

no

forest thorn
#

yes

spare wolf
#

People said to do both

forest thorn
#

they are wrong

#

minecraft java edition does not use UDP

spare wolf
#

oof

#

I can delete that

#

but it said its active

forest thorn
#

probably means open/available

spare wolf
#

its online

#

both of em

#

This is screenie of router

forest thorn
#

your router does not check if a minecraft server is running on a specific port

#

it just routes incoming traffic to your computer

spare wolf
#

but If i shut down my pc

#

it goes black

#

the dot

#

or grey

#

i mean

undone narwhal
#

Try removing it

forest thorn
#

maybe it pings the device of the IP address you enter

undone narwhal
#

Then you'll be sure

forest thorn
#

if you remove UDP it will still work

spare wolf
#

Someone said

#

One was for data GOING to my pc

undone narwhal
#

No

spare wolf
#

And the oter one data LEAVING my pc

undone narwhal
#

Wrong

forest thorn
#

lmao

spare wolf
#

from youtube

undone narwhal
#

TCP and UDP are protocols

spare wolf
#

and

#

what are protocols

#

sorry I am a noob

#

I am 13 years old I want to learn but ye

#

gotta start somewhere

forest thorn
#

ports are only needed for incoming traffic

#

imagine if every minecraft player had ot port forward 25565 to connect to a server

#

your router may block traffic to certian ports, but that would be in the firewall and not your port forward list

spare wolf
#

I made the server.propperties accedentaly a server.txt

#

does that matter

undone narwhal
#

Yes

forest thorn
#

UDP and TCP are different protocols for transmitting data over the internet

#

TCP is used by websites and minecraft java edition

spare wolf
#

I wanted to open it and I opended it with notblock and now its a txt

forest thorn
#

UDP is sued by minecraft bedrock and many other games

spare wolf
#

so i remove udp

forest thorn
#

yes

spare wolf
#

In the youtube vid there was

forest thorn
#

and you need to make sure your properties file is called server.properties

spare wolf
#

protecol: UPT, TCP, Both, none

#

I made 2 different ones

#

bec there was no 'both' option

forest thorn
#

yes but that youtuber said that UDP/TCP is for outgoing traffic

#

so he has no idea what he's talking about

spare wolf
#

no he is dumb

#

It was some german guy

#

I dont speak german

undone narwhal
#

Usually, youtube vids are not that right

spare wolf
#

But I can understand a little bit bec it is a bit the same structure of words

#

as dutch

forest thorn
spare wolf
#

Ok i deleted it

#

the UDP

#

can someone test for me

forest thorn
#

test it yourself

spare wolf
#

join my server

#

No I connect to my server by typing 0

#

in the thing

cobalt yoke
#

I think minecraft has UDP too

forest thorn
#

connect using your IP

cobalt yoke
#

I think MC is both TCP and UD

#

UDP*

spare wolf
#

does it matter that my server.propperties is a txt document

#

I opened it and now its a txt document

#

hwo to make .properties again

forest thorn
#

No it does not

cobalt yoke
#

Thats why if your network lags and then recovers in few seconds, you can keep playing like anything happened.

forest thorn
#

minecraft runs one TCP server socket on port 25565

cobalt yoke
#

TCP would directly close the connection

forest thorn
#

for handling all incoming and outgoing traffic

cobalt yoke
#

When a single packet fails to arrive

forest thorn
#

no

cobalt yoke
#

No?

spare wolf
#

can I make a ipv6 server aswell?

forest thorn
#

TCP does not instantly close connections

spare wolf
#

thats faster right

forest thorn
#

video streaming services also use TCP

#

websockets

#

event streaming

cobalt yoke
#

Oh lol

undone narwhal
#

UDP is faster

cobalt yoke
#

I though TCP couldnt handle loss of some packet

forest thorn
#

its not faster

#

its different

spare wolf
#

only tcp worked too

#

so udp is not needed

forest thorn
#

TCP is a higher level protocol that does more things for you like guaranteeing packet order and data recovery

undone narwhal
#

faster in the way you don't need to keep the connection but you can lose packets. That's the "big idea"

forest thorn
#

which UDP does not

#

whether or not UDP is faster depends on how you use it

cobalt yoke
#

Thats why most of the online games, Call Of Duty, PUBG, etc... Uses UDP instead of TCP

spare wolf
#

but people

#

Do I bring back UDP or leave it gone

#

without UDP

sand helm
forest thorn
#

minecraft does not use UDP

#

you can delete it

spare wolf
#

I alrydy did

#

to test

forest thorn
#

and you can connect to your own server using your public IP address

spare wolf
#

ok I will keep it deleted

forest thorn
#

if that works, your port is forwarded

spare wolf
#

it also worked with UDP

#

with them bots

#

both

#

I mean

forest thorn
#

@cobalt yoke Yes, that's true. but again that's because UDP is more low level. for video games where packet loss is acceptable it is often faster. but UDP is not inherently faster than TCP

spare wolf
#

frick

#

I messed up some more

cobalt yoke
#

Oh alright

spare wolf
forest thorn
#

its like saying that a car with fuel is faster than a car thats out of fuel

#

its not a valid comparison

cobalt yoke
#

Probably the speed difference

spare wolf
#

How do I make then back

cobalt yoke
#

Isnt even noticable for humana

#

Xd

#

Humans*

spare wolf
#

It was .yml and .propperties

forest thorn
#

@spare wolf enabke file extensions

spare wolf
#

what

#

what is that

forest thorn
#

go to view, and check "show file extensions"

cobalt yoke
#

Its like when someone tells you that he can differentiate +120 FPS with his eyes 🤣

forest thorn
#

in your file explorer

#

@cobalt yoke you can tell the difference

spare wolf
#

where

forest thorn
#

you can tell 240fps form 120fps

spare wolf
#

Yes I know the human eye can see up to 1000 fps

cobalt yoke
#

You cant see the difference if you play a game at 120 fps and rhen play it at 800 fps

#

For example xF

forest thorn
#

there is no fps limit in your eyes

spare wolf
#

yes

#

there is

cobalt yoke
#

Suee there is xD

forest thorn
#

your eyes actually dont process information that fast, if you move your head very fast you basically see nothing because your eyes cant keep up

spare wolf
#

Eyes dont use fps

#

really

forest thorn
#

but if less infomation changes, your eyes process it faster

#

and, with higher fps, your input will display on the screen faster, and your eyes will therefor also process the information earlier

cobalt yoke
#

You won't see the difference if you play a game at 120 FPS, and then you play it at 800 FPS, lol

#

If you see any difference

spare wolf
#

yes exactly

cobalt yoke
#

You are not even human

forest thorn
#

you can tell the difference

spare wolf
#

It does not refreshes

#

It updates

#

thats why if the screen sertantly becomes a whole different thing you have to procces it

cobalt yoke
#

You can't see the difference

forest thorn
#

if your monitor refreshes 800 times per second too, you will see a difference

spare wolf
#

sometimes

forest thorn
#

whether or not its noticeable is debatable, but it is possible

cobalt yoke
#

You will see the game playing ar 800 FPS, the same as it was at 120 FPS

forest thorn
#

there definately is not a hard fps limit in your eyes, thats just a stupid notion

spare wolf
#

BUt how do I get my docs back

cobalt yoke
#

Just try it lol xD

spare wolf
#

and not txt

#

HELP

cobalt yoke
#

Limit your MC at 120 FPS

#

Then let it run at 800-900 FPS

forest thorn
#

my monitor is 60Hz

spare wolf
#

mine too

#

Mine are trash

forest thorn
#

so no it wont look much different if i set minecraft to 500fps

spare wolf
#

I got 2 monitors

forest thorn
#

but thats because the display doesnt update

spare wolf
#

Both of them are Samsung 60hz

#

But they are 10:16

#

So really annoying

forest thorn
#

you can test a 120Hz and a 240Hz VR headset and you will be able to tell the difference afaik

spare wolf
#

but help me

#

with my txt

#

Did I mess it up

forest thorn
#

rename it to .properties

spare wolf
#

or does it repair itself

forest thorn
#

it does not

spare wolf
#

txt

forest thorn
#

you need to show file extensions

spare wolf
#

and the other ones were not .properties

forest thorn
#

you need to enable file extensions

spare wolf
#

I have

forest thorn
#

no

spare wolf
forest thorn
#

your run file is called "run"

spare wolf
#

now I do

forest thorn
#

ok

spare wolf
#

Its double

forest thorn
#

now rename it

#

to server.properties

spare wolf
#

OHH

#

every thing is NOT messed up

#

Its just the Icon

reef folio
#

@naive goblet I know this is going to be a stupid question.... but since when isn't "string" included as a valid data type :/

frigid ember
#

hey

reef folio
#

xD i just found it

frigid ember
#

spigot's complaining there's a new version but I only compiled it from buildtools yesterday

reef folio
#

this is what happens when you code in PHP for too long

frigid ember
#

specifically 118

reef folio
#

😂

frigid ember
#

1.15.2, compiled from the same file, isn't doing this

#

1.16.1 is tho

#

is this a bug?

wraith thicket
#

No.

reef folio
#

banna why are you compiling spigot and why dont you just download the compiled jar?

wraith thicket
#

Spigot gets updated multiple times a day and this is to encourage you to stay up to date.

#

@reef folio You cannot download a compiled Spigot jar.

frigid ember
#

well how can i download the latest version if there already is the latest on the site?

wraith thicket
#

BuildTools version != Spigot version

frigid ember
#

that's the latest version on jenkins i compiled from

wraith thicket
#

You can use the same BuildTools to build a new version of Spigot

frigid ember
#

wait wut

wraith thicket
#

@reef folio It's blocked because it's illegal.

reef folio
#

lol i just realized

wraith thicket
#

Distributing the spigot jar online is illegal.

reef folio
#

saw a message from the bot

wraith thicket
#

The only legal way to get a Spigot jar is to use BuildTools.

frigid ember
#

^

reef folio
#

well dang, the more you know xD

#

ive been doing it that way for about 3 years 😂

frigid ember
#

its illegal

#

speaking of illegal

#

why was craftbukkit removed?

wraith thicket
#

The stance of SpigotMC (as I've read) is that any jar downloaded from some other site (in addition to being illegally distributed) may very well include malware/viruses and is thus not supported (EDIT: This has happened before and probably will again)

#

Because the Spigot team don't want you to use CraftBukkit. There is literally no reason to do so.

fossil shoal
#

Craftbukkit is an internal dependency

wraith thicket