#help-archived

1 messages Β· Page 43 of 1

vast hinge
#

sorry

gloomy dew
#

WHy you want to know ?

vast hinge
#

i mean 8

gloomy dew
#

stfu

#

i said

#

im 107 years

vast hinge
#

cause almost everything you say is in uppercase xD

fading owl
#

welp this escalated quickly

vast hinge
#

ikr

fading owl
#

looked away for 1 second

gloomy dew
#

/msg montydog64 Im 107 Years Old ok ?

#

πŸ˜›

vast hinge
#

ok

#

seems right

gloomy dew
#

Im 12 Years Old

#

Im 12 Years Old

#

Im 12 Years Old

#

Im 12 Years Old

vast hinge
#

chill out lol

gloomy dew
#

nah

vast hinge
#

whats your budget btw

gloomy dew
#

How to play Free For All Minigame in Minecraft with FFA Plugin

#

Find it

#

ByE

sonic trout
#

imsuma

#

how much are you willing to pay

fading owl
#

imagine asking for help

#

then not answering questions

vast hinge
#

lol

#

are Java Switch Statements used that much?

fading owl
#

is it md_5 that mostly maintains the spigot repo

dusty topaz
#

switch statements are used quite often

fading owl
#

didnt switch statements jsut get a change too

#

in j14

dusty topaz
#

i think so, arrows?

vast hinge
#

wait j14?

#

im using j11

fading owl
#

java 14

vast hinge
#

whats the newest?

dusty topaz
#

i still use 8 πŸ˜›

fading owl
#

yeah

#

same here

#

fk j9+

vast hinge
#

boomers

#

xD

subtle blade
#

is it md_5 that mostly maintains the spigot repo
Yes, though PRs are welcome

#

He maintains the Bukkit & CB repos as well

dusty topaz
#

Scary CLA πŸ‘€

fading owl
#

yeah i was looking over hte contribution section

subtle blade
#

It's not scary. It's preventing Bukkit 2.0 lol

boreal tiger
#

oof

dusty topaz
#

What would Bukkit 2.0 entail

fading owl
#

copyright

#

i assume

subtle blade
#

Another DMCA because of an unhappy dev

dusty topaz
#

regarding a load of legal stuff

fading owl
#

i just cba to wait 24 hours

#

to make a pr

#

i want that equals impementation fixed tho

dusty topaz
#

I have no issues filling out the form.. I just have nothing good to contribute to the repo πŸ˜†

fading owl
#

its pissing me off

subtle blade
#

Yea but if you keep on CBA'd, it will take longer

fading owl
#

ahha

#

true

subtle blade
#

It's still good to sign it because you can see and comment on existing PRs πŸ™‚

fading owl
#

hmm

#

ill check it out

dusty topaz
#

I signed my first NDA (or, my parents did) when I was 15

#

Was scary eee

boreal tiger
#

can you sign the CBA if you're under 18?

silk gate
#

this is how you get banned from discord lol

fading owl
#

i'd be interested to see how legally enforcable it is

subtle blade
#

This one isn't an NDA though. A CLA is different πŸ˜„

silk gate
#

if anyone goes and reports him they'll disable his account

dusty topaz
#

oh yeah, of course

subtle blade
#

If in breach, SpigotMC has lawyers lol

dusty topaz
#

just NDA is likely scarier

vast hinge
fading owl
#

yeah but are the lawyers 15 though

dusty topaz
#

no, i'd assume they're actual lawyers

fading owl
#

ofc

#

im joking

subtle blade
#

I'd sure as hell hope not pepescared2

fading owl
#

haha

subtle blade
#

As for

I just have nothing good to contribute to the repo
You're welcome to browse the JIRA and fix some bugs or implement some requested features

#

I just made a PR last night to fix a bug from the JIRA

dusty topaz
#

ahh, it's unlikely i'd be able to help much

fading owl
#

yeah ill check it out now

subtle blade
#

oh wait you can't see it lol

dusty topaz
#

my java knowledge extends to a few small plugins

#

well, moderately sized

subtle blade
fading owl
#

ive got that big dick knowledge

subtle blade
#

Can see that at least

dusty topaz
#

i'm not making timings 3.0 anytime soon though

boreal tiger
#

Agreement. You confirm that: (a) You have the legal authority to enter into this Agreement.

you would need to be 18 or more to sign the CLA isnt it?

subtle blade
#

I believe so, yes. Or have a parental guardian

fading owl
#
This Agreement will be governed by and
construed in accordance with the laws of the
Australia```
subtle blade
#

Then again, I signed it back in like... 2016. I was 16 y/o

fading owl
#

the australia

#

ok

boreal tiger
#

when I turn 18 in a few months would I need to sign it again?

dusty topaz
#

I mean, legally probably (or probably not)

#

But if you don't plan to DMCA spigot, it also probably doesn't matter

subtle blade
#

No you'd be fine

#

You're fine to sign it if you're not 18

#

I did and haven't re-signed at all

fading owl
#

ehhh whats the expiration on this contract

subtle blade
#

Not sure

boreal tiger
#

mhm if someone signs and is under 18 wouldnt the cla be voided?

fading owl
#

thats kind of sketch

dusty topaz
#

pretty sure it wouldn't be voided

#

though i'm no lawyer

#

i don't think there is actually a legal age set for signing contracts, it's just whether court would respect the signing

#

of course i may also be entirely wrong so don't listen to me

boreal tiger
#

mhm

subtle blade
#

If you don't want to include your legal name you can use your username as well

#

In case that's a concern

dusty topaz
#

my full legal name is not Avro Vulcan

#

as cool as that would be

subtle blade
#

Yea but we accept usernames lol

dusty topaz
#

it's the address field that is the most scary i think

subtle blade
#

Please note that the "real name" field on JIRA is public to all users. If you are not comfortable with this please set it to your username. All details in the CLA however must be correct.

dusty topaz
#

that is the CLA document

#

also, what if you move - do you have to update the address?

boreal tiger
#

I think I'll sign the cla today πŸ˜›

subtle blade
#

I haven't had to update it. Then again, not contacted md about it.

#

I probably should lol

boreal tiger
#

lmao

hoary parcel
#

I moved too

#

But then again, I don't contribute anymore 🀷

subtle blade
#

Was going to say, when was the last time you contributed lol

hoary parcel
#

It's not like I would dmca anyways so md doesn't need my address

dusty topaz
#

yeah, it's a shame it's a measure that has to be taken

boreal tiger
#

mhm why does Math#ceil return a double? doesnt it always return an integer?

subtle blade
#

I believe Bukkit has a util method

dusty topaz
subtle blade
#

NumberConversions or something

boreal tiger
#

πŸ‘€ thanks

subtle blade
#

It's mostly used internally but it's available for you to use

rare jacinth
#

hey

#

anyone running a spigot docker image?

tiny dagger
#

who chose the name ? it's so long

subtle blade
#

Was probably to not conflict with NumberUtils that both Guava and Apache Commons both provide lol

boreal tiger
#

mhm would it be a bad idea to use a bukkitrunnable as a sort of queue with a delay in between?

hoary parcel
#

Running spigot in docket works just like any other java application

#

Make sure you use java 11+ tho

rare jacinth
#

yeah, I'm having issues restarting the binary

hoary parcel
#

Restart? Why would you restart? If the server crashes you restart the container

rare jacinth
#

it runs under /etc/init.d/minecraft_server

#

how do I load plugins without a restart

fair abyss
#

check PluginManager

boreal tiger
#

You can reload but its not recommended

hoary parcel
#

You restart the container

rare jacinth
#

yeah

#

that's what I meant

hoary parcel
#

So what's the issue?

rare jacinth
#

I thought you can just run/etc/init.d/minecraft_server restart or reload

#

but this seems not to work

hoary parcel
#

Well I don't know how your image works, lol

rare jacinth
#

hehe

hoary parcel
#

My image just does java -jar paperclip.jar with some args

rare jacinth
#

using nimmis/spigot

hoary parcel
#

And if I want to restart, I just stop the container and start a new one

rare jacinth
#

ok

#

then I'm not doing much wrong

hoary parcel
#

Our plugins are backed into the image anyways since it's easier to have repeatable deployements that way

rare jacinth
#

im just starting with a server

#

I took a prebuilt one

dusty topaz
#

Was probably to not conflict with NumberUtils that both Guava and Apache Commons both provide

#

there are so many naming conflictions

#

aaa

fading owl
#

StringUtils is a common one

dusty topaz
#

I wrote this in a pr yesterday:

#
                Block dispenserBlock = event.getBlock().getRelative(BlockFace.DOWN);
                Dispenser dispenser = (Dispenser) dispenserBlock.getState();

                // Test dispenser content
                if (!testDispenserContent(dispenser)) {
                    event.getPlayer().sendMessage(PREFIX + "Β§cInvalid dispenser contents for Quarry");
                    event.getPlayer().sendMessage(PREFIX + ChatColor.RED + "Invalid dispenser contents for Quarry");
                    return;
                }

                // Setting facing direction
                org.bukkit.block.data.type.Dispenser dispenserData = (org.bukkit.block.data.type.Dispenser) dispenserBlock.getBlockData();
                dispenserData.setFacing(BlockFace.DOWN);
                dispenserBlock.setBlockData(dispenserData);
                dispenserBlock.getState().update();
#

DAMN a legacy slipped through

#

😠

#

even though chatcolor is legacy, but you know what i mean, a section symbol

#

wait, i'm even stupider

#

a- nevermiind

subtle blade
#

In a PR?

#

OH not for Spigot

#

I was like... I don't see anything new lol

rare jacinth
#

there is no 1.7.10 for spigot anymore?

subtle blade
#

No. It was DMCA'd

dusty topaz
#

But the point of me posting that was to show the Dispenser naming conflict

#

There is a Dispenser state and a Dispenser block data 😠

fading owl
#

Lol

dusty topaz
#

Though I suppose I didn't even need to cast to Dispenser, but I chose to

#

For whatever reason the 2am version of me decided to!

rare jacinth
#

wow

subtle blade
#

You can cast it to Directional if you wanted, yea

rare jacinth
#

are there any good walkthroughs on seting up an adventure game world

dusty topaz
#

I suppose I want to access this, seeming as it describes my in real life noticing the types have the same name 😠

subtle blade
#

Ever seen Lightable#isLit()?

#

Wait no no, it was the Fire interface lol

dusty topaz
#

is that the md_5s mixtape one

subtle blade
#

Yes haha

dusty topaz
#

yeah πŸ˜‚

subtle blade
#

I'm always happy with Javadoc easter eggs. Reminds me of ass pressure

boreal tiger
#

mhm If I want to keep track of entities (not players) should I also be using UUIDs instead of the entity instance?

dusty topaz
#

it's often advised

boreal tiger
#

πŸ‘

#

thanks

subtle blade
#

Depends

#

Do you need those instances? Are you doing anything with them? If so, keep a reference

#

If not and it's just to check whether or not the entity is present, UUID will suffice. Basically, if you need to call methods on the entity, keep a reference to it

#

Just be sure to clean it up when you don't need it

boreal tiger
#

right, I just need to keep track if they have died so I guess a set of uuids would suffice, thank you again πŸ‘

subtle blade
#

Yep, UUID is fine there. Make it a HashSet as well

#

Faster #contains() operations

boreal tiger
#

yep πŸ‘Œ

tiny dagger
#

Object2OpenHashSet tho :d

boreal tiger
#

o.O whats that @tiny dagger

subtle blade
#

FastUtil class

tiny dagger
#

part of the fastutil library spigot ships with

subtle blade
#

*Mojang

#

Ehm, Minecraft*

tiny dagger
#

microsoft*

boreal tiger
#

lmao, cool I'll check it out. Is it faster than the hashset?

subtle blade
#

A HashSet is fine. Don't depend on internal dependencies

tiny dagger
#

^

boreal tiger
#

right

tiny dagger
#

i can't use it myself cuz of paper

boreal tiger
#

πŸ˜›

#

also, I'm keeping an enum where I have the EntityType and the round when I want it to start appearing.
When I start a new round I loop over the enum values and check if its the correct round and spawn X entities of that type.

Using an enum here doesnt feel right. Is this a good design?

subtle blade
#

Ideally you'd hold a variable of your enum type

#

Can just change it as your rounds progress

narrow crypt
#

im stuck on trying to add a auto updater

subtle blade
#

Slightly biased but it's well received

narrow crypt
#

i put the first part in a seperate class, i put the onenable part in the onenable part

#

and changed the link in the updater class with https://api.spigotmc.org/legacy/update.php?resource=77666

boreal tiger
#

@subtle blade I'm not quite sure what you mean by that. do you mean just keeping maybe a Map and adding the entitytypes as needed?

narrow crypt
#

that link gives me Beta 0.8

subtle blade
#

Spigot's API updates its cache every 4 hours

narrow crypt
#

it puts 12345 after the link\

#

because that is in my onEnable class

subtle blade
#

Works just fine for me

narrow crypt
#

as said in the tutorial

subtle blade
#

Oh, yea the resource is probably poorly made

boreal tiger
#

the new api also returns the current version now https://api.spigotmc.org/simple/0.1/index.php?action=getResource&id=2

subtle blade
#

Again, use mine

#

I linked it above

narrow crypt
#
 new UpdateChecker(this, 12345).getVersion(version -> {
                if (this.getDescription().getVersion().equalsIgnoreCase(version)) {
                    logger.info("There is not a new update available.");
                } else {
                    logger.info("There is a new update available.");
                }
            });
#

oh ill check it

#

haha thats you lol

subtle blade
#

Also, the reason it appends 12345 is because that number you're passing to the constructor is your resource's ID

#

It should be 77666

narrow crypt
#

ah

#

it makes sense now

subtle blade
#

Mine doesn't use a constructor. Has a static method. Similar concept though

#

The thread explains how to use it in detail

narrow crypt
#

okay

#

hmm

#

how often does the link update

#

cause i had "beta" in my version name

#

and think that caused a problem

subtle blade
#

6 hours iirc

slow scaffold
#

hi, does anyone know a worldgenerator for the end dimension that skips the 1000 block void?

subtle blade
#

You can account for that in the version schemes for my class, Rik

narrow crypt
fluid egret
#

Hey, is anyone not recieving notifications from watched threads too?

#

This has been happening to me for a while

subtle blade
#

It probably works fine. Again, like I said, slightly biased. Mine uses the modern API as well after Glare generously updated it for me whereas that one uses the legacy API, but it most definitely will work

runic wadi
#

wait @subtle blade why would you rather store a reference to the UUID than the Entity object?

#

it's a reference either way

subtle blade
#

Correct but if you're holding a reference to that Entity, not using it and it's been unloaded, you're keeping a reference to something that should have been garbage collected

#

Thus, memory leaks occur

runic wadi
#

ah okay WeakReference

subtle blade
#

If you're not using that entity instance, you're better off holding its UUID

#

Sure, WeakReference works fine, though you then still get NPEs if not present

runic wadi
#

yeah I think spigot explicitly drops the player object so I've always been stupid about holding references

subtle blade
#

Really a bunch of needless workarounds when using its UUID is just fine

runic wadi
#

yeah true

subtle blade
#

Yep. CraftPlayers are discarded and invalidated on leave

runic wadi
#

knew it

#

okay good talk

subtle blade
runic wadi
#

🧠

fair abyss
#

looks like crops is deprecated. Then i found Ageable but, All Known Subinterfaces: Bamboo, Cocoa, Fire

#

What it named to?

subtle blade
#

What are you trying to do

#

And on what version

fair abyss
#

1.15.2

subtle blade
#

Well, I see Bamboo so I suppose latest, yea lol

fair abyss
#

want to get cropstate

subtle blade
#

CropState is gone now. It's all handled through its Age

#

Ageable is correct

fair abyss
#

but so, wheres other crops πŸ˜„

subtle blade
#

You can cast the result of Block#getBlockData() to Ageable for crops

vivid imp
#

Please help:
The server has stopped responding!
[20:16:41 ERROR]: Please report this to http://www.spigotmc.org/
[20:16:41 ERROR]: Be sure to include ALL relevant console errors and Minecraft crash reports
[20:16:41 ERROR]: Spigot version: git-Spigot-47b1dff-f233e7d (MC: 1.8)
[20:16:41 ERROR]: ------------------------------
[20:16:41 ERROR]: Server thread dump (Look for plugins here before reporting to Spigot!):
[20:16:41 ERROR]: ------------------------------
[20:16:41 ERROR]: Current Thread: Server thread
[20:16:41 ERROR]: PID: 28 | Suspended: false | Native: true | State: RUNNABLE

runic wadi
#

I shaved last night so my CropState is healthy

subtle blade
#

Only reason Bamboo, Cocoa and Fire extend Ageable is because they supply additional states

#

popa we need more than that

#

?paste the whole log

worldly heathBOT
subtle blade
#

Actually, you're on 1.8. Update your server lol

runic wadi
#

honestly i'd be less mad if it was a code block

fair abyss
#

thanks choco

vivid imp
#

ok

runic wadi
#

at least use ```

fading owl
#

ngl i thought that was an automated discord message for spigotcraft

vivid imp
subtle blade
#

No, please don't use code blocks. Use a paste website ;P Crash logs are huge

runic wadi
#

well i'm just saying it's a step up from that

subtle blade
#

"bungeelobby" is doing a stupid blocking operation on the main thread

#

Speak with the author of that plugin

#

jer3m01 it seems

frigid ember
#

Anyone know why players wouldn’t be able to use /server

#

You didnt give perms in the bungee files

#

However staff can

vivid imp
#

And what plugin should I use instead of BungeeLobby

frigid ember
#

I’ve check and they have it

#

Bungee.command.server

#

Hey, so this is for a spells plugin. A certain spell will cause the victim to look in random directions, changing their direction every few seconds. The spell will be cast at least 10 times per hour on average, but not sure.
Am I best having a hashmap with each victim's data and one scheduler to iterate through, or creating a scheduler for each victim? (I'm assuming sync will be best)

#

@frigid ember Do they have it via Bungee Perm handler or Spigot perm handler (e.g. when using luckperms: luckperms spigot or luckperms bungee)

untold rampart
#

@timid valley hey I'm trying to make my own fork of Paper Spigot for 1.8.8. How do I go about doing that, because the one on github is 1.15.2, and I can't find anywhere to get the 1.8.8 source

subtle blade
#

Ask in the appropriate server

#

Not here

frigid ember
#

o

subtle blade
#

Corrupt world

frigid ember
#

They have it on the bungee built on permission

vivid imp
#

Can I use the BungeeHub 1.2 plugin? Because bungeecord.command.server is causing some problems on UHCRun

frigid ember
#

So I need to add it to luckperms on every spigot

#

Or

subtle blade
#

If you delete the world and regenerate it, it should be fine, yea.

#

Though we also advise updating

#

1.8 is unsupported

#

I don't care what it is lol

#

I... I still don't care

frigid ember
#

Viaversion

subtle blade
#

1.8 is unsupported

#

Hasn't been for about 4 years now

frigid ember
#

It should not

queen star
#

I think changing pvp was minecraft's worst mistake. Developers lives would be so much easier if they had just kept pvp the same πŸ™„

vivid imp
#

what plugin do I have in place of Via Version?

ashen coral
#

hi, I'm sorry i don't know where anywhere else to ask if this is the inappropriate channel but i have a weird issue with the server im running.

queen star
#

1.15.2 would be used 5x as much if it used 1.8.9 combat

ashen coral
#

The issue is that sometimes other people cant join there server unless i disconnect and reconnect and only then people can join, and after a couple of minutes or so if somebody disconnects they cant join again and i have to disconnect and reconnect again for them to join.

subtle blade
#

Developers lives would be so much easier if they had just kept pvp the same
Developer's lives would be so much easier if they'd use supported API

#

It's their own fault for making it difficult

radiant pollen
#

1.8 Combat is ass

boreal tiger
#

you can have 1.8 combat in newer versions

#

yet people are stuck in 1.8

subtle blade
#

That whole sentence hurt my head

boreal tiger
#

😫

paper compass
#

@subtle blade dms

subtle blade
#

No I knew what you said, it just hurt my head lol

vast hinge
#

how do you set this up on bungeecord?

#

you need via version on bungeecord and the servers

radiant pollen
#

@rigid notch Check the console for errors.

narrow crypt
#

@subtle blade i got yours to work, thank you

runic wadi
#

MOTHER OF PEARL

subtle blade
#

o/

narrow crypt
#

what would be the simplest way to send a player a message onjoin if the plugin needs an update

runic wadi
#

if (theplugin.needsanupdate()) { event.getPlayer().sendMessage("it needs an update"); }

narrow crypt
#

yea but i dont want to check for update every join...

#

i created a class for the join event

subtle blade
#

I think it's UpdateChecker.get().getLastResult()

#

If I recall correctly

#

UpdateResult then has requiresUpdate()

dusty topaz
#

was reading up a bit, what do you mean by craft players are invalidated on player leave?

#

if I have a list of players it will still prevent from being GC'd right?

subtle blade
#

If you were to store a Player variable on join, then you left and joined back, that Player variable will not longer affect you

#

It's not the same Player

dusty topaz
#

but it would still exist and cause leaks?

subtle blade
#

Correct because the garbage collector won't remove those references despite them not being used at all

#

Your plugin referencing it keeps it from being collected

dusty topaz
#

does the same apply with entities? if you unload and reload in an entity

subtle blade
#

That applies to absolutely any instance of anything

dusty topaz
#

i assumed so

subtle blade
#

(I believe there are exceptions - but for the most part, this is the case lol)

dusty topaz
#

so technically if you handled everything correctly you could store player objects but its inadvisable

upper hearth
#

Can't you just solve that issue with correctly removing the player instance when they leave?

subtle blade
#

Correct

#

Yes

dusty topaz
#

I assume it applies to most things since if it's going to get GCd that means spigot is done with it internally

subtle blade
#

Though at least with entities it's not that simple

dusty topaz
#

because there is no leave i assume

timid valley
#

are we talking about the infamous leaky metadata api?

radiant pollen
#

There is a quit event...

boreal tiger
#

mhm what would be the best way of keeping entities inside a certain area?
using a worldborder?
I thought about the PlayerMoveEvent but that seems a bad idea because I would be checking their position way too often

radiant pollen
#

If you need to keep track of player objects, add to list on join, remove from list on quit.

upper hearth
#

Does it make much of a difference if you store player objects, and correctly remove them, rather then storing them another way? (Which I dunno what you would do anyways)

radiant pollen
#

No matter how you store them, references are the same size.

dusty topaz
#

I don't think so since you're only storing references

boreal tiger
#

you should use a Set of uuids if you dont need a reference

radiant pollen
#

It's just if you store a set of UUIDs you don't need to do anything on quit

#

you just need to check if the uuid is already present in your list on join

#

so you don't have duplicate uuid

#

which means you should just use a set

timid valley
#

if so, you're better off storing your own Table<UUID, String, Object> and doing a once a second cleanup task that checks if the Bukkit.getEntity(uuid) is null.

upper hearth
#

Seems more complicated than just adding and removing player instances lol

dusty topaz
#

what would the string be?

#

metadata key or something?

timid valley
#

whatever key you want to store meta on

radiant pollen
#

If you need to do something with the player's info while they're offline, you can't use Player.

#

Well... I guess you still could?

boreal tiger
#

OfflinePlayer

dusty topaz
#

it wouldn't modify the player

timid valley
#

meta.set(entity.getUniqueId(), "entitiesMother", mother.getUniqueId());

dusty topaz
#

and then in runnable check if either UUID is null

#

and remove

timid valley
#

spigot has no way to reliably detect when an entity goes invalid, so you gotta clean it up manually

dusty topaz
#

wouldn't that involve creating a new table every second though

#

to avoid concurrent exception

timid valley
#

every second?

dusty topaz
#

and doing a once a second cleanup task that checks if the Bukkit.getEntity(uuid) is null

timid valley
#

there is this thing called iterators, and .remove() πŸ™‚

dusty topaz
#

i suppose

#

not that I ever use them

radiant pollen
#

You check if a uuid is null every second, but you don't have to modify the table every second.

#

It wouldn't be too bad.

timid valley
#

its literally how you solve concurrent modification

radiant pollen
#

^

#

Iterators are OP

dusty topaz
#

creating new collections is the way!

radiant pollen
#

Ew no.

#

Don't

dusty topaz
#

i swear πŸ˜…

#

but i know now for the future at least!

timid valley
#

also note, bukkit metadata doesnt even work for entities changing worlds, solution i said would

#

well, you would need to do a 'is null for 2 passes' filter to avoid race condition on moved world in same tick as cleanup

#

i dont understand why spigot hasnt deprecated the meta api

#

there is literally never a good use for it

boreal tiger
#

would using the PlayerMoveEvent be appropriate to check if a player is inside a certain zone?

#

seems a bit heavy given that its called everytime you move the head

timid valley
#

yes but check if toX != fromX on the block level

meager lantern
#

Just make sure to check if they've moved a block or not

timid valley
#

to avoid sub block movements

boreal tiger
#

right πŸ‘

subtle blade
#

Metadata was misused. Was for intermod communications afaik

radiant pollen
#

Yeah

timid valley
#

no and yes, the idea is fine, the implementation is wrong

#

but fixing the impl breaks api contract

#

I have my own temp meta api that works wonders, store a map on the entity object, it copies on world transfer, its completely bound to the entities lifespan

#

no chance of leaking

boreal tiger
#

mhm if I also want to prevent other entities (other than players) from leaving a region, it would be best to use a worldborder right?

timid valley
#

not possible with api cleanly

#

best you can do is detect and teleport

boreal tiger
#

right

subtle blade
#

Or launch with a velocity

#

Those are always fun

dusty topaz
#

launch it with a velocity so high it hits the other border

#

and so on

boreal tiger
#

I guess that would be fun ahaha. I could also increase the range of zombies to detect villagers

#

they wouldnt be tempted to leave

#

xD

timid valley
#

and crashes server because high velocities will load 4k chunks

dusty topaz
#

that's part of the fun...

subtle blade
#

wat. no. Just a gentle tap

boreal tiger
#

not sure how changing the range would affect server performance though

dusty topaz
#

aikar, is that temp meta api public

subtle blade
#

$10 says its on the fork

timid valley
#

sorta, not really usable for others. i was putting it in you know where before along with my perma meta api, but since spigot added a perm api, it kind of killed need

#

its currently in my personal fork

subtle blade
timid valley
#

the solution I provided above is close enough to same thing though

dusty topaz
#

does it not get confusing contributing to so many forks

#

do you not forget what is in each

boreal tiger
#

would increasing the PathfinderGoalTarget reach affect the server performance?

dusty topaz
#

slightly, but probably not a lot

#

there are thousands of path finding goals running each second

#

Β―_(ツ)_/Β―

timid valley
#

no? I'm a project dev on the main fork lol. my personal fork is for testing new changes + stuff that only makes sense for my personal needs or is not "API Ready" for public use, like my meta api, was bare bones needs for our needs.

boreal tiger
#

mhm, I guess I can try changing the reach and see how the timings look like πŸ˜›

#

I wouldnt need to increase it that much so it should be fine

radiant pollen
#

@rigid notch Did your read your server log?

#

Because I'm reading the log you provided us, and the issue is blaringly obvious.

timid valley
#

building an api for everyone to use requires a lot of thought and consideration. it's pretty much the hardest part of writing code. so when I need something that I don't have the time to thoroughly flush out, or want to maintain the ability to make API breaking changes, I keep it in my fork.

#

then when an idea is polished, it may lead to finalizing for public use

radiant pollen
#

@rigid notch Look for [Server thread/ERROR] and see if you can find the problem.

#

Are you sure you see?

meager lantern
#

Hey Aikar, I'm looking to possibly contribute to timings, though I'm not the biggest fan IRC which is why I'm contacting you here, is it okay if I send you a friend request?

radiant pollen
#

@rigid notch I'm really just trying to help you out. You can't run a server if you can't find out what's wrong without help.

timid valley
#

I have my own discord and timings channel, it should be on github readme

meager lantern
#

Oh, sorry then

naive goblet
#

Samuel what's going on?

timid valley
#

just go msg me over there

radiant pollen
#

Yup!

#

You'll have to download a DEV version as the stable release does not support what you're trying to do.

#

It says that in the version chart as well.

naive goblet
#

bigbrain .

meager lantern
#

There's no link to your Discord on the GitHub readme

#

Just IRC

radiant pollen
#

@rigid notch There's a link to their "build server" on their Spigot page. Go there and download and install ViaVersion-DEV.

#

No problem.

meager lantern
#

Nevermind there are two readmes

naive goblet
#

lol

paper compass
#

do you guys know how I can make a circle with sections and get them sections to change colors? (In an order to look like its rotating) PM ME

vast hinge
#

not this again

paper compass
#

lmao

vast hinge
#

xD

paper compass
#

I'm doing it a different way

#

so the sections just change color

#

a simpler way

vast hinge
#

oh cool

#

does anyone know what this is?

paper compass
#

ViaRewind development version for 1.16 ig

vast hinge
#

is it better to have a 1.8 server with 1.15 support or a 1.15 server with 1.8 support?

paper compass
#

imo 1.8

vast hinge
#

whats imo?

paper compass
#

in my opinion

vast hinge
#

oh ok

#

1.8 server?

paper compass
#

yea

vast hinge
#

but

#

then the plugins have to be 1.8

paper compass
#

because plugins will only use 1.8 blocks

#

uhh

#

maybe

#

I did say imo

vast hinge
#

do you know if Method overloading is useful?

dusty topaz
#

it is very useful

vast hinge
#

why?

dusty topaz
#

because sometimes you want it to do different things or something extra

#

so like

paper compass
#

what maths would I have to use for 12 sections and them to change colors in orders

dusty topaz
#
ItemStack(Material material) {
  this(material, 1);
}

ItemStack(Material material, int amount) {
  this(material, amount, (short) 0);
}

ItemStack(Material material, int amount, short data) {
  // you get the idea
}
paper compass
#

in a circle/wheel

dusty topaz
#

thats an example of method overloading

vast hinge
#

i see

crimson sandal
#

Hey guys so you know the Spigot API extends the Bukkit API, say if I add something to the Bukkit module do I have to make the exact same change to the file under the Spigot API too? Or is there something I am missing, like a Maven goal or something? πŸ™‚

hoary parcel
#

Default params in java when?

#

No you don't need to do changes in spigot

dusty topaz
#

i hope that isn't liverpool fc

#

in your name

hoary parcel
#

If spigot gets rebuild your changes will be there

crimson sandal
#

Of course it is @dusty topaz YNWA πŸ™‚

#

πŸ˜‰

dusty topaz
#

smhh

hoary parcel
#

Imagine caring about football

dusty topaz
#

i don't care

#

just liverpool sucks

hoary parcel
#

Is Liverpool where kloppo is trainer?

crimson sandal
#

You a United fan? Lmao

hoary parcel
#

That guy is cool

dusty topaz
#

it is yea

crimson sandal
#

Yeah Klopp is the manager πŸ™‚

dusty topaz
#

they sent a referee to my school

vast hinge
#

football is shit imo

paper compass
#

hi mr mini

dusty topaz
#

and he showed an image of klop whispering into his ear

#

and everyone was saying on the media how nice of a manager he must be

#

but the referee said that he was actually trying to bribe him o.o

hoary parcel
#

He's cool

dusty topaz
#

i like the liverpool fan songs

crimson sandal
#

I think he'd have been fired and banned by now if he was trying to bribe someone

vast hinge
dusty topaz
#

he said something along those lines Β―_(ツ)_/Β―

#

I wasn't listening

silk bane
#

@vast hinge no that's a class

vast hinge
#

but

paper compass
#

lmao

silk bane
#

you know it's a class because it says class

paper compass
#

yes

#

class

vast hinge
paper compass
#

classes are juicy tbh

crimson sandal
#

I went to Uni in liverpool and live super close so I've been a fan since a kid πŸ™‚

paper compass
#

@vast hinge you just now confused me ffs ; _ ;

vast hinge
#

your using a port thats already being used

#

ikr

silk bane
#

@rotund fulcrum go into task manager and terminate everything called Java - it's probably another server instance running

crimson sandal
#

But yeah what Maven goal do I run in the Spigot API to get the bukkit changes moved accross?

vast hinge
#

do you have 2 of the same server running at the same time

#

try and see if you can connect to your localhost

#

on minecraft

#

connect?

paper compass
#

is another command prompt open?

vast hinge
#

i asked already

paper compass
#

yes

vast hinge
#

wait

#

how did you start it?

#

the server

#

ok

#

so

#

is the port in server.properties 25565?

#

first

#

does it work on localhost

#

what website is that?

#

ummm

#

so

#

im not that good at port forwarding tbh

#

have you watched a video on how?

#

oh

#

i think i know why

#

where are you hosting this?

#

windows 10?

paper compass
#

hmmmmmmmmmmmmmmmm

#

ok

vast hinge
#

cause if its windows server i know why

#

?

#

what do you mean its a java server?

#

no i mean whats your operating system

#

it could be because of your firewall

#

it might not be

#

but i know how to fix it if it is

rotund fulcrum
#

i got kicked

#

???

vast hinge
#

wdym?

#

kicked from what

rotund fulcrum
#

i was responding to you

echo karma
#

pls help me how to crate server crack maincraft

rotund fulcrum
#

i got kicked from Spigot

crimson sandal
#

@hoary parcel hey so what Maven goal do I need to run do that the Bukkit changes get pulled across? Or is it the rebuildPatches.sh that I need to call?

rotund fulcrum
#

@vast hinge just continue

vast hinge
#

kicked from spigot?

rotund fulcrum
#

wait

#

how do i get to "Specific local ports"

echo karma
#

pls help me how to crate server crack maincraft

rotund fulcrum
#

found it

#

ok

#

continue

vast hinge
#

thats it

rotund fulcrum
#

next?

vast hinge
#

then just keep clicking next

#

make the name something like: Minecraft Server

rotund fulcrum
#

i named it

#

server

vast hinge
#

k

#

then finish

echo karma
#

pls help me how to crate server crack maincraft

vast hinge
#

and it should work

rotund fulcrum
#

@vast hinge nope

vast hinge
#

if not thats not the issue

rotund fulcrum
#

didn't work

vast hinge
#

hmmm

rotund fulcrum
#

πŸ˜”

echo karma
#

wt

vast hinge
#

perhaps a server is running on that port

echo karma
#

pls help me how to crate server crack maincraft'

vast hinge
#

take a screenshot of your task manager

rotund fulcrum
#

but there isn't

#

my task manager

#

is

#

LOADED

#

with background processes

vast hinge
#

?

rotund fulcrum
#

but i've went through

#

and checked

echo karma
#

mls give my mincraft😭

rotund fulcrum
#

there isn't any Java or cmd instances

#

@echo karma quit asking

#

just use Aternos or sum

vast hinge
#

brb

rotund fulcrum
#

your computer DEFINITELY cannot handle self-host

echo karma
#

Sono ossessionato

rotund fulcrum
#

so just use minehut/aternos

hoary parcel
echo karma
#

yes

hoary parcel
#

I dont work with spigot anymore

echo karma
#

how to crate server aternos

rotund fulcrum
vast hinge
#

you want to make a cracked minecraft servver?

rotund fulcrum
#

because

#

you probably dont wanna spend money

#

you probably dont wanna spend time

vast hinge
#

ik how

#

depends

rotund fulcrum
#

you probably dont wanna melt your computer

#

by self-hosting

vast hinge
#

you wanna host it yourself or do you want someone else to do it

hoary parcel
#

you dont make a cracked minecraft server

vast hinge
#

you can

silk bane
#

something something buy minecraft

vast hinge
#

online-mode=false

subtle blade
#

how to crate server aternos
Funny because you can quite literally copy/paste that exact same query into Google and get instant results

hoary parcel
#

because thats a violation of mojangs eula, their usage guidelines and spigot rules

subtle blade
#

Maybe you were in the wrong tab

#

:))

rotund fulcrum
#

choco kinda spitting fax

vast hinge
#

oof

rotund fulcrum
#

if it is a violation to Mojang's EULA then Aternos should've had the feature removed by now

#

😎

vast hinge
#

well

dusty topaz
#

because mojang enforce the eula

hoary parcel
#

go read the eula then

rotund fulcrum
#

im not doubting you

#

im saying

#

"they should have"

hoary parcel
#

you are not allowed to make money from your server if you allow ppl to join that didnt buy the game

#

offline mode servers are fine if used correctly

vast hinge
#

also it needs to be offline if its bungeecord

rotund fulcrum
subtle blade
#

"EULA? I never agreed to that!"

  • probably somebody who has agreed to the EULA
vast hinge
#

C0nn0r

hoary parcel
#

bungee offline mode is totally different

vast hinge
#

how you tried restarting your computer

rotund fulcrum
#

yes

hoary parcel
#

as it will still prevent ppl who havent brought the game from joining

rotund fulcrum
#

overwatch crak when

vast hinge
#

did you provide the server.properties with an ip?

rotund fulcrum
#

yes

#

my public ip

subtle blade
#

No. Don't do that

rotund fulcrum
#

wat

subtle blade
#

It should be left blank

vast hinge
#

^^^

rotund fulcrum
#

then what would the ip be

silk bane
#

blank

vast hinge
hoary parcel
#

0.0.0.0

subtle blade
#

Look up 2 messages

echo karma
#

Sono povero, qualcuno puΓ² darmi nitro

vast hinge
#

it should be

hoary parcel
#

or if you use bungee on the same host, localhost

rotund fulcrum
#

but i am wanting people to play

#

on it

#

publicly

subtle blade
#

That's fine

#

It should be blank

vast hinge
#

its fine

rotund fulcrum
#

would they put in 0.0.0.0

vast hinge
#

no

#

they would put in your public ip adress

rotund fulcrum
#

that is what i am asking

#

oh

hoary parcel
#

its the bind ip

#

not the server ip

#

different concepts

silk bane
#

just pretend it doesn't exist and it'll be fine

vast hinge
#

its different

#

lesa fer

#

i cant france

rotund fulcrum
#

dont i need to

#

port

vast hinge
#

no

rotund fulcrum
#

forward

vast hinge
#

yes

rotund fulcrum
#

what do i put

vast hinge
#

wait

#

do you need to?

rotund fulcrum
#

hold on let me

#

provide screenies

#

you should need to

#

alright well i cant

vast hinge
#

remove the ip from the server properties

rotund fulcrum
#

my router website wanted to be a LITTLE-

vast hinge
#

then start up the server

#

wrong ip

rotund fulcrum
#

right ip*

vast hinge
#

remove that quickly

#

thats not your public ip

rotund fulcrum
#

oh wait hat

#

what

#

o

#

hhoh

#

😎

vast hinge
#

ok

#

have you removed the ip from your properties

rotund fulcrum
#

yes

#

but i am going to port forward

vast hinge
#

can you start up the server

#

first

rotund fulcrum
#

so people can connect

vast hinge
#

try and start the server

rotund fulcrum
#

ok lemme tri

#

works

vast hinge
#

ok

silver pewter
#

Dose anyone know the WorldGuard API?

rotund fulcrum
#

now let me try

#

to ocnnect

#

connect

vast hinge
#

does it work?

rotund fulcrum
#

ok, so, i put the server-ip= as server-ip= (there is nothing here)

#

and i am trying to connect to my public IP like u said

#

but it won't work

vast hinge
#

try localhost

rotund fulcrum
#

i think it is being hosted off of localhost

#

right now

#

it isn't public

#

it's private

vast hinge
#

ok

#

but can you connect?

rotund fulcrum
#

yup

#

it's localhost tho

vast hinge
#

ok

#

so it works local

#

now you can port forward

rotund fulcrum
#

yep

#

ok lemme try

#

stupid router website

#

i hate my router

#

i wish i had a better one

#

this one's website is a stupid meanie...

#

never lets me connect

#

it stops letting me connect at the worst possible times

vast hinge
#

rip

rotund fulcrum
#

plus uh i am trying to use WorldEdit & WorldGuard but they dont work as plugins

#

i got them from Bukkit's site

#

because that was the only place i could find them

vast hinge
#

what do you mean they dont work?

rotund fulcrum
#

they just dont

vast hinge
#

like

rotund fulcrum
#

i pull out a wooden axe and it doesn't work

#

i hit the ground

#

no workie

vast hinge
#

what does it say when you do /pl

#

also

#

you need op for them to work

rotund fulcrum
#

yeah i have op

vast hinge
#

try /pl

rotund fulcrum
#

ok it says my plugins but no worldguard/worldedit

vast hinge
#

ok

#

hmm

#

what version is your server?

rotund fulcrum
#

1.8.9

#

or 1.8.8

vast hinge
#

hmmm

rotund fulcrum
#

spigot 1.8.8 but i am playing on 1.8.9

vast hinge
#

download that

#

and replace it with the worldguard you have in your plugins folder

rotund fulcrum
#

alright, that was worldguard

#

now i need worldedit

#

for worldguard to work

vast hinge
#

now see if it works

rotund fulcrum
#

no.

vast hinge
#

/pl?

rotund fulcrum
#

i dont have a functioning version of worldedit

#

it doesn't show up there

#

worldguard doesn't show up

#

nor does worldedit

vast hinge
#

screenshot of your plugins folder

rotund fulcrum
subtle blade
#

Remember that the latest version doesn't support 1.8

vast hinge
#

oh

#

did you do rl in your console on ingame?

subtle blade
#

You want WE 6.1.9

rotund fulcrum
#

rl?

#

yeh

#

i did reload

vast hinge
#

this is what you want

#

for worldedit

rotund fulcrum
#

added

#

restarting server

#

restarted

vast hinge
#

k

rotund fulcrum
#

works

vast hinge
#

worldedit?

#

and worldguard

rotund fulcrum
#

and worldguard

#

yes

#

πŸ™‚

vast hinge
#

ok good

rotund fulcrum
#

sweet

#

ty

vast hinge
#

np

rotund fulcrum
#

now 2 get more plugins

gloomy dew
#

How to create a Nether_Star and put the kits on it so when someone click on the kit will get it and then pvp, Like iAppreciate Server.

vast hinge
#

oh no

#

not you again

gloomy dew
#

Ohh

#

Why lol

vast hinge
#

lol

gloomy dew
#

?

#

Just answer me

vast hinge
#

you dont remember

gloomy dew
#

Remember what

#

Why when i joined you Shuted up ?

vast hinge
#

nvm

gloomy dew
#

XD

vast hinge
#

what?

gloomy dew
#

Nah, you don't know anything about skript.

vast hinge
#

i do

#

i know more than you

#

i bet

rotund fulcrum
#

drAmA

vast hinge
#

that sure shut them up xD

rotund fulcrum
#

dab

vast hinge
#

πŸ‘Œ

#

can someone help me

#

im confused with classes

terse quartz
#

But you know so much, what could you possibly need help with?

vast hinge
#

im talking about java

#

i wasnt trying to come across as rude sorry

dusty topaz
#

what do you need help with about classes

vast hinge
#

well

#

this is a class right?

silver pewter
#

Hello, everytime I cancel an runnable it continues?

vast hinge
dusty topaz
#

that is a java file

#

the contents of a java file likely contains one class

#

named the same as the file

vast hinge
#

i see

obtuse rose
#

Anyone can give me some edge case where quaternion is needed?

late tangle
#

Can someone link to an example or tell the correct way to create Inventory GUI's without using the InventoryHolder?

limpid thistle
#

Hello, everytime I cancel an runnable it continues?
@silver pewter Using bukkit's scheduler?

#

Can someone link to an example or tell the correct way to create Inventory GUI's without using the InventoryHolder?
@late tangle Just put all the items into a regular inventory i guess

neat orbit
#

guys where can i find a free mccmo plugin

chrome lark
#

You can compile it yourself pretty easily

late tangle
#

Just put all the items into a regular inventory i guess
@limpid thistle So eh. I want to create Inventory GUI's. I'm currently using an interface to hold the Inventory Holder. To my understanding this is not the intended way, and shouldn't be used. I'm just asking for the correct way to create GUI's.

chrome lark
#

store the inventory in a map

#

or, just rely on the title of the inventory, etc

late tangle
#

How would I pass events to that inventory class then?

tiny dagger
#

it's definetly not the way to do it

late tangle
#

Like inventory click etc

tiny dagger
#

it has no value, you can make yourself an inventoryholder and it would be the same thing

dusty topaz
#

Is not just having your class implement inventory holder intended?

#

It seems like a pretty smart solution to me

#

As opposed to relying on the title

tiny dagger
#

you can hold them in an object with other inventories and that object hold in a map with a player uuid key for access πŸ€”

chrome lark
#

md is planning to remove the InventoryHolder stuff last I recall

#

But, like

late tangle
#

Haven't he planned to do that for ages?

chrome lark
#

You'd literally juse use a map

silver pewter
#

@silver pewter Using bukkit's scheduler?
@limpid thistle I'm using BukkitTask to do it?

chrome lark
#

InventoryHolder doesn't magically deal with event handling, etc, you still gotta implement that stuff

#

Just, you'd pull the data class from a map instead of from the inventory

limpid thistle
#

@silver pewter BukkitRunnables implement a runnable if im not mistaking

#

So when ever you schedule something, it returns a taskid

#

And then you can cancel the task with this id

silver pewter
#

@limpid thistle Yes, I'm trying to get the task id so I can cancel that one task

limpid thistle
#

Yea

#

A scheduling method should return this id

silver pewter
#

when I try to put the taskid in the int should I do inside the runnable or the outside?

limpid thistle
#

Actually doesn't matter

#

As long as it is sync

chrome lark
#

just use a BukkitRunnable?

silver pewter
#

I'm doing a runTaskTimer

chrome lark
#

It deals with all the canceling BS for you, especially if you wanna cancel it from inside the runnable, you gotta deal with actually getting the id in there

silver pewter
#

Bukkit.getScheduler().cancelTask(taskID);

#

that's what I am doing

limpid thistle
#

Yea

runic wadi
#

is it possible to have different formats go to different people for a single message in AsyncPlayerChatEvent

limpid thistle
#

Sure

#

Just check for the player/message and change the format

runic wadi
#

well it has a single format and a single set of recipients

#

I see plugins that cancel the event and just do "player.sendMessage()" for whatever audience they want

#

but that doesn't seem quite right

limpid thistle
#

Oh

#

So you mean making the message visible in different ways to certain players?

runic wadi
#

yeah

limpid thistle
#

Sending the messages individually like you just said seems to be an easy solution πŸ€” .

rotund fulcrum
#

ok so @vast hinge i finally got in to my...

#

router website

silver pewter
#

the task id is keep coming back 0

rotund fulcrum
#

i need help port forwarding this IP-less server

runic wadi
#

ip-less love that

#

can i connect with hope and dreams

limpid thistle
#

the task id is keep coming back 0
@silver pewter What do you want to achieve? Just a task that repeats in a certain frequency?

rotund fulcrum
#

they told me to have no server-ip

#

and that i could have people connect

tiny dagger
#

uhm?

runic wadi
#

they are wrong

rotund fulcrum
#

which i didn't believe one bit

silver pewter
#

I want to canncel the runnable when the player moves out of a region

tiny dagger
#

not here

rotund fulcrum
#

and still don't

tiny dagger
#

ipless in the server

rotund fulcrum
#

well my public IP doesn't work

limpid thistle
#

What does the runnable do?

tiny dagger
#

in port forward you need the ipv4 from ipconfig /all

runic wadi
#

you cannot connect to a server over the internet without a public IP address

tiny dagger
#

type ipconfig /all in cmd

runic wadi
#

assuming windows lol

silver pewter
#

Makes the time go down

tiny dagger
#

then you should know yourself

rotund fulcrum
tiny dagger
#

you need the address your router gave you for local

#

yes

rotund fulcrum
#

ok

tiny dagger
#

that one

rotund fulcrum
#

so then i put that in

#

server.properties

tiny dagger
#

if youre connected thru it that is

rotund fulcrum
#

wdym

tiny dagger
#

yup

limpid thistle
#

The bukkitrunnable one is deprecated btw

tiny dagger
#

you're thru wireless right?

rotund fulcrum
#

yes

tiny dagger
#

ok good

rotund fulcrum
#

so i put it in local ip

silver pewter
#

Is it?

limpid thistle
#

Yea