#help-development

1 messages · Page 1460 of 1

young knoll
#

Don’t remember if it includes fog

opal juniper
#

i think they do

young knoll
#

I think it just darkens the sky? Idk

wraith rapids
#

it isn't very flexible though

#

and i think it was just the fog color

#

not sure though

opal juniper
#

yeah, im pretty certain i saw that you can make fog with boss bars

#

idrk

young knoll
#

Just send the client a nice message telling them to set their render distance to 2

quaint mantle
#

how can I

#

packet?

opal juniper
#

probs

quaint mantle
#

btw, I mean this (fog)

opal juniper
#

have you done that?

quaint mantle
#

with render distance 2

#

(in my client)

#

wat packet should i use

opal juniper
minor garnet
#

and it is possible to set a player's chat without noticing that a message has been sent, or something similar, I have an idea to do this:
and every second the chat will exchange the message for the remaining seconds

young knoll
#

There isn’t one

#

Iirc the server doesn’t have any control over that

minor garnet
#

@quaint mantle you cant

ancient plank
#

fog is 100% clientside

quaint mantle
opal juniper
quaint mantle
#

thanks all of you guys

#

really jeff?

minor garnet
quaint mantle
#

hmm

young knoll
opal juniper
#

apparently so

#

yeah, but i doubt that would allow for that

#

that is on the packet wiki

quaint mantle
#

so can I make fog with packet?

#

or nh

opal juniper
#

it seems so

young knoll
# quaint mantle hmm

The only thing you can do is resend the entire chat and modify the last message

wraith rapids
#

you can create some sort of fog yes

#

but it won't be like rd 2

quaint mantle
wraith rapids
#

he's not talking to you

quaint mantle
#

if you saying chating message

#

ah

#

xD

#

waot

#

he replyed to me

young knoll
#

Scrolling when replying is very annoying

minor garnet
weak mauve
#

craftbukkit-1.8.8-R0.1-SNAPSHOT.jar
|
will this work

wraith rapids
#

are you capable of reading

#

spigot 👏🏿 includes 👏🏿 craftbukkit 👏🏿

weak mauve
#

box head

wraith rapids
#

yes it does

opal juniper
#

@quaint mantle
head over to paper dev

wraith rapids
#

spigot api doesn't contain craftbukkit

#

the spigot artifact does

quaint mantle
#

okay jeff

young knoll
#

You can’t modify a message that has already been sent

weak mauve
#

?pb

#

how i can send .xml

young knoll
#

?paste

queen dragonBOT
minor garnet
weak mauve
#

investiage in this

minor garnet
#

and that I intend to take ALL the messages that were sent and resend them so as not to notice that there was a change

wraith rapids
#

don't depend on craftbukkit

#

also your indentation is fucked

granite stirrup
weak mauve
# wraith rapids don't depend on craftbukkit
Error occurred while enabling Spectaculation v1.0-SNAPSHOT (Is it up to date?)
java.lang.Error: Unresolved compilation problem: 
    Unhandled exception type ClassNotFoundException

    at me.superischroma.spectaculation.Spectaculation.onEnable(Spectaculation.java:129) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.reload(CraftServer.java:741) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.Bukkit.reload(Bukkit.java:535) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [spigot.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot.jar:git-Spigot-db6de12-18fbb24]
young knoll
#

Yes but our eyes do

wraith rapids
#

xml doesn't require indentation to be exact no

granite stirrup
wraith rapids
#

that exception has nothing to do with your depends

#

it has to do with the runtime

weak mauve
wraith rapids
#

your runtime is lacking a class you're building against

weak mauve
#

i checked it

wraith rapids
#

your server is missing a class

#

not your project

opal juniper
#

?paste

queen dragonBOT
weak mauve
opal juniper
granite stirrup
#

whats at 129 in the main file

granite stirrup
wraith rapids
#

define "ever"

young knoll
#

It does say unresolved compilation problem

opal juniper
#

like per server load

#

it runs the first time

#

and never again

young knoll
weak mauve
#

ok

#

let me see

wraith rapids
#

make sure you're actually setting it to false

#

f.e if this throws an exception of some kind, it'll never reach the part where you set to false

opal juniper
#

fair point

wraith rapids
#

wrap it in try and put the reset in the finally block

granite stirrup
#

wait is catching every exception bad lol

#

just want to know

wraith rapids
#

you should only catch what you expect

weak mauve
#

129 Class.forName("me.superischroma.spectaculation.item.SMaterial"); // ensuring materials are loaded prior to this

granite stirrup
#

make sure it exists

#

;-;

weak mauve
#

it is

young knoll
#

That throws a checked exception

#

Which you aren’t handling

granite stirrup
young knoll
#

Your ide will tell you these things

granite stirrup
#

it doesnt exist

weak mauve
#

let me see

#

if i accidenatally throws it away

young knoll
#

That’s not what the error is saying

granite stirrup
young knoll
#

The error says you aren’t handling the possibility that it doesn’t exist, which you have to

#

Yes, but read the rest of it

granite stirrup
#

¯_(ツ)_/¯

weak mauve
#

its turns out

#

the getType() was not foung

#

HUH?

granite stirrup
weak mauve
#

also getCraftMaterials()

young knoll
#

Read the error

#

And then look at the red lines where your ide is yelling at you

#

That method can throw a ClassNotFoundException, and it’s a checked exception

weak mauve
#

the IDE said "The method getCraftmaterials() was not defined for the type Smaterials

young knoll
#

Well then fix that too

#

Your ide is there to help you

paper viper
#

do you guys actually use Class.forName

#

I use an empty static method

#

then call it on startup

young knoll
#

Yeah that’s probably easier

delicate fractal
#

where can i find people to make a plugin

minor garnet
wraith rapids
#

not here

weak mauve
granite stirrup
weak mauve
#

i ran around for 8 more hours

minor garnet
#

because if if a maximum amount arrives, the message is deleted

weak mauve
#

and no result

#

it... fix :/

granite stirrup
weak mauve
#

macos intellij, very unstable

#

not a program that crash me 10 times

granite stirrup
#

why the fuck do u use macos

#

ew

#

thats gay

weak mauve
#

¯_(ツ)_/¯

granite stirrup
#

macos is bad

weak mauve
#

ik

granite stirrup
#

u cant do shit with it

weak mauve
#

i can though

wraith rapids
#

you advocate for 1.14

#

you don't have the grounds to call anything bad

weak mauve
#

eclipse still fine till this

granite stirrup
#

most programs support macos but some dont

weak mauve
#

the most unstable i can found is pycharm

ivory sleet
#

PyCharm lol

paper viper
paper viper
#

due to how it is more unix like

paper viper
#

it is

granite stirrup
#

windows is still better than macos tho

weak mauve
#

unix-based are way better than nt-based

paper viper
#

I both use mac and windows to code, and I have found the mac terminal to be the most adaptable for programming

weak mauve
#

but ik mac is bald

paper viper
opal juniper
#

@eternal oxide i have made it so that they can both look into the crafting grid however there is a 'Master' who can edit the items and 'Slaves' who can just look in but not edit them. Idk how far you got but that is my approach for now 😄

weak mauve
#

argeed

paper viper
#

otherwise sure

granite stirrup
paper viper
#

then ur not a coder

#

lol

granite stirrup
#

mac is to expensive

weak mauve
#

u think i found comfort when trying to find a finder window?

paper viper
#

coders are supposed to use unix terminals

#

not nt..

granite stirrup
weak mauve
#

nt terminals is shit

#

tbh

granite stirrup
#

nt is fine

paper viper
#

lmao

granite stirrup
#

unix is gay

wraith rapids
#

again, you advocate for 1.14

#

you have no grounds to have any opinion or stance on what is better or worse than something else

weak mauve
#

its gay for other things but for terminals, nt way worse

paper viper
#

lmao

weak mauve
#

some kiddo copy src and put it into .bat and try to run it :/

granite stirrup
weak mauve
#

tf

weak mauve
granite stirrup
#

most things dont even support unix

eternal night
#

Streams

#

"uses brains" "asks for craftbukkit jar"

weak mauve
#

yes

#

my brain died

#

gg

eternal night
#

there is a stream tutorial

granite stirrup
#

also u can get tools like gcc and maybe others from unix for windows

paper viper
#

Dumbass those are built into most unix systems

#

Lol

granite stirrup
#

so

paper viper
#

how old are you

eternal night
#

damn, yeah all my unix based systems ship gcc

weak mauve
#

anyways windows for gamer, unix based for coders and ragequitters

granite stirrup
#

dude i just dont like unix

paper viper
#

you are asking random questions, advocating the most stupid questions and ideas

#

Lol

granite stirrup
#

unix is shit

wraith rapids
#

you're shit

eternal night
#

cry in powershell

weak mauve
#

at least diamond shit

slate stump
granite stirrup
#

idk i tried linux i just think its harder to do things on it

wraith rapids
#

that doesn't make it worse

#

that just makes you a noob

eternal night
#

oooof

granite stirrup
#

yes it does i just want to code and do some stuff on my pc

paper viper
#

Oooooooooof

#

destroyed

#

lol

eternal night
#

I mean, ease of accessibility is a factor of quality

granite stirrup
#

anyway in my live i never have to use gcc

#

or anything

#

linux

weak mauve
#

at least if unix systems are shit, it will be plantinum shit

paper viper
#

Pretty sure you can install the app and run it directly still either way

#

lol

#

the market place

granite stirrup
#

and theres also a linux vm in windows

eternal night
#

but then you are using linux what

paper viper
#

Whats the point of using the vm then if you can just jump to it directly

#

Lmao

eternal night
#

tbf, gaming on linux is still a hot piece of trash

#

steam gotta get better

paper viper
#

it is, but we do be arguing about coding

granite stirrup
#

theres a ubuntu terminal in windows

weak mauve
#

give

eternal night
#

Yes, WSL

weak mauve
#

pls

granite stirrup
#

wsl

weak mauve
#

ok

eternal night
#

but that is literally just linux at that point

paper viper
#

^

granite stirrup
eternal night
#

why do you argue against it then

weak mauve
#

i mostly use windows

eternal night
#

like what

paper viper
#

we are talking about coding too...

granite stirrup
#

i mean i just use windows for things

eternal night
#

Like, if you use WSL for anything code related

paper viper
#

linux is sitll objectively better

eternal night
#

oh

paper viper
#

no matter what you say

#

for coding

weak mauve
#

this is drama

#

lmao

eternal night
#

Agreed, development on unix based platforms is neat

#

package management build into your OS

weak mauve
#

NOT OS

#

dummies

eternal night
#

what

paper viper
#

what

weak mauve
#

like users interface

#

UI

eternal night
#

are

paper viper
#

uh wtf

eternal night
#

you

#

talking about

paper viper
#

what are you on

#

lol

eternal night
#

do you know what unix is ?

granite stirrup
#

oh yeah the ubuntu ui is crap lmao

weak mauve
#

unix platform are neat

#

but their UI is shit

paper viper
#

Yeah cause everything is supposed to be done in termainl stoopid

#

lol

eternal night
#

a) nah some linux distros look sweet b) who uses the UI

granite stirrup
#

ubuntu is kinda bloated tho even if its less bloated than windows atleast windows is semi faster

weak mauve
#

u know how comfort is that when i move a finder between desktops

paper viper
#

??

weak mauve
#

it just

granite stirrup
#

windows is faster for me

wraith rapids
#

just like 1.14 is faster than 1.16 right

weak mauve
#

gone

paper viper
#

windows is not faster LMAO

granite stirrup
paper viper
#

you are using a stupid vm

#

and making comparisons

#

between a vm and actual os

#

thats like comparing an apple slice

#

to a full apple

#

?????

eternal night
#

wsl2 is probably even faster 😂

paper viper
#

makes no sense at all

eternal night
#

at least on VM internal files

granite stirrup
#

¯_(ツ)_/¯

lusty cipher
#

isnt wsl like more-or-less native

eternal night
#

it is a full kernel

#

that is about as native as it is

paper viper
#

yall need to do some research before actually arguing

#

lol

granite stirrup
#

idk i just dont like linux

weak mauve
# eternal night wsl2 is probably even faster 😂

some program, the user guide said, press for example Ctrl+Shift+A to open bla menu (for example this program is compatible with unixbased and nt based) then for Unix system, they don't even mind creating a guide for it

#

1st uncomfortable in normal usage :/

granite stirrup
#

whats ctrl shift a do

weak mauve
eternal night
#

dude, man is enough docs for days

paper viper
#

unless you are illiterate

#

lol

granite stirrup
paper viper
#

lmao

wraith rapids
#

but where is my 3 minute youtube video about the subject

lusty cipher
wraith rapids
#

how am I supposed to learn anything without flashing lights and shit

weak mauve
weak mauve
#

but for mac

#

is FN + COMMAND +A

#

tf

lusty cipher
weak mauve
#

i need to found out myself

#

i said, to see how much care they paying to NT than Unix

granite stirrup
#

COMMAND in macos is like ctrl

weak mauve
#

there IS control button

paper viper
#

lol

granite stirrup
#

i thought there wEarent

weak mauve
#

but they doesn't mind to use Ctrl

#

they use fn

#

and shift are being used for other purpose

granite stirrup
#

i forgot why i turned on the big circle that appears when i press control lol

weak mauve
#

very cool

granite stirrup
weak mauve
#

it called mouse finder

weak mauve
granite stirrup
weak mauve
#

i have 3 and sometimes i think my cursor ran out of the pc and go out to find a new life

hybrid spoke
#

just 3?

#

amateur

weak mauve
#

yes

granite stirrup
#

u have more than 1 👀

weak mauve
#

u have 9

weak mauve
#

its just

#

woosh

granite stirrup
#

lmao

hybrid spoke
#

my background have to go over as much screens as possible

wraith rapids
#

i have 3 mice

granite stirrup
#

that doesnt happen on windows much for me

weak mauve
#

it stucked between the border

weak mauve
granite stirrup
#

i can still put it in the border but i will know that its in the border when its gone

#

and then i wiggle the mouse

#

out

weak mauve
#

only multiple screen issuses

#

it doesn't want to come ut

#

out

wraith rapids
#

i have 3 machines, 3 mice, 3 keyboards and each machine has 2 screens

granite stirrup
#

well i can put it past the border but i can see it a little bit on 1 screen

weak mauve
#

when im looking in screen 3, its stuck in the border of screen 1

#

cool

wraith rapids
#

one of the screens is a projector and the other is a tv

weak mauve
#

my cursor want a new life

granite stirrup
#

u dont really need multiple screens also more screens u have the more you gpu is gonna be used more

weak mauve
#

businessman

weak mauve
#

i have rtx 2080ti so why not? (this is MY windows pc not mac dun)

hybrid spoke
weak mauve
granite stirrup
#

i think one screen is enough for me for what i do

weak mauve
#

the left one is connected to on-board

weak mauve
granite stirrup
#

i have alot of files on my pc

wraith rapids
#

all of my secondary monitors are also physically left to the primary monitor

weak mauve
#

if its work i cannot connect to others

wraith rapids
#

but are configured to act as if they were on the right

#

so if I want my pointer on the left monitor, I move my mouse right

granite stirrup
weak mauve
#

cool

#

i have 2009 acer

#

in the basement

hybrid spoke
weak mauve
granite stirrup
#

well i have a acer notebook LMAO so it isnt really a beast machine but its from 2018 i think

#

2018 or 2019

#

i forgot

weak mauve
#

god pc

weak mauve
wraith rapids
#

my primary machine's cpu clock speed is 600mhz

weak mauve
#

core 2 duo

#

really hot

weak mauve
granite stirrup
#

i have real bad specs

#

lmao

wraith rapids
#

it's intended to run at 1500mhz but because of passive cooling it's permanently throttled down to 600mhz

granite stirrup
#

;-;

weak mauve
#

my brother PC use GTX 650TI BOOST oc lmao

#

how its able to run gta

#

i use 2080ti, feels bad

granite stirrup
#

i have intel hd graphics XD

weak mauve
#

better than potato XD graphic 1000

granite stirrup
#

XD

#

i have a intel cpu to

#

im everything intel

weak mauve
#

i use amd

granite stirrup
#

in the pc

weak mauve
#

sad

#

amd ryzen 5

#

cheap but my room just like an oven

granite stirrup
#

expect the wifi card its by qualcomm

weak mauve
#

oven PC

granite stirrup
weak mauve
granite stirrup
#

my phone is moterOla

weak mauve
#

china?

granite stirrup
#

which is owned by Lenovo

weak mauve
#

oh

granite stirrup
#

used to be by google

#

in 2014 i think

weak mauve
#

Moterola

granite stirrup
#

oh in 2012

weak mauve
#

intel HD Graphics 6000 1536 MB

granite stirrup
#

it got sold

weak mauve
#

my mac GPU

granite stirrup
#

to Lenovo

weak mauve
#

gg

weak mauve
weak mauve
granite stirrup
granite stirrup
weak mauve
#

taiwan

#

wse

#

lenovo is pretty young

#

i have A"SUS" RTX 2080ti

#

not sus

granite stirrup
#

asus is sussy

weak mauve
#

notsus rtx

#

override, i think

granite stirrup
#

like if u use the title command send two it overrides it

#

or if it doesnt it might send that title after

#

idk tbh

sharp bough
#

is there any real differenece between getSlot and getRawSlot?

granite stirrup
sharp bough
#

they sound the same to me lol

paper viper
#

there is

#

actually a big difference too

#

look at the docs

granite stirrup
#

i dont know what the difference is

sharp bough
#

already did

#

thats why im asking

paper viper
#

"If you were to have two inventories (top and bottom), #getSlot would be different for whichever inventory you clicked. For example, if you were to click in the first slot of the top inventory, it'd return 0 whereas if you clicked on the bottom's first slot, it'd still return 0. With #getRawSlot, in either case it returns a different int. In the top one it'd return 0 whereas in the second one it'd return a different one (bigger perhaps).

If you are going to listen on InventoryClickEvent and compare actions by slots, you should use #getRawSlot. If for example you were to use #getSlot and listen on slot 0, if the player clicked on either inventory in slot 0 it'd be executed. Not with #getRawSlot however."

granite stirrup
#

yeah i found this that someone said

#

lmao

paper viper
#

Yeah i quoted it

sharp bough
#

oh it means like when you press e?

#

im just opening a 54 slots inv

granite stirrup
#

who would use getSlot really tho

sharp bough
#

in this case its the same right?

granite stirrup
#

can u even open two inventories at the same time?

eternal oxide
#

You compare getSlot() and getRawSlot() if they are the same its one Inventory, if they differ, its the other.

#

You can then select top or bottom inventory as appropriate.

granite stirrup
#

why when u open a workbench inventory why does the recipes and stuff not work

eternal oxide
#

you have to openWorkbench, not openInventory

granite stirrup
#

lmao why is it like that tho

eternal oxide
#

It has to access the TileEntity and not the inventory for a workbench to work

crystal magnet
#

because the tileentity has data it needs

eternal oxide
#

The same reason Furnaces work. Its teh TileEntity that ticks

granite stirrup
#

uh openworkbench needs a bool and a location what do i put

eternal oxide
#

null for loaction, and true

granite stirrup
#

its sad that u cant just open a inv with the type of workbench

#

wait why does a HumanEntity not have openbook?

#

also how does openMerchant work so i can use it with custom trades?

crystal magnet
#

you can use openbook on a Player

sharp bough
#

if i have a string[] named "this:1:2" and i split it by : , then i have an array with this,1,2 . if i return array[array.length - 1] it would return 2 or 1 ?

#

does the last digit start at 0 ,1 or 2 (the array length)

eternal night
#

2

#

an array with length 3 stores its last element at index 2

#

in a 0-based index world such as java

sharp bough
#

ah

astral spindle
#

How do I get the velocity of a player.

eternal night
#

Entity#getVelocity

astral spindle
#

thanks 🙂

granite stirrup
#

um

#

thing is idk how its not working now cuz it worked yesterday

#

;-;

quaint mantle
#

show plugin.yml

granite stirrup
#

name: MyPlugin
version: 1.0-SNAPSHOT

prefix: MyPlugin
description: MyPlugin
author: GStudiosX

softdepend:
  - PlaceholderAPI

commands:
  test:```
quaint mantle
#

api-version: 1.14

granite stirrup
#

is it cuz i using a 1.16.5 api on a 1.14.4 server i mean it worked yesterday tho

granite stirrup
quaint mantle
granite stirrup
#

i want to try and support all versions

quaint mantle
#

api-version: 1.13

granite stirrup
quaint mantle
#

no

granite stirrup
#

k

#

tho yesterday it worked with it

#

idk why it isnt working now

#

it displayed the correct item in the gui

#

and it also didnt error

#

it works

#

but

#

why did it work yesterday without it?

raw swallow
#

is there a way to upload 10mb premium plugin?

sturdy elk
#

I think i need update my jar?

eternal night
#

are you coding against a different spigot-api than the server jar ?

#

e.g. coding against spigot 1.16.5 while running 1.16.4

sturdy elk
#

oooh

eternal night
#

with these third party dependencies you wanna really make sure to use the same version, as new spigot versions sometimes bump these dependencies (and they might not follow the same backwards compatibility idea of spigot)

sturdy elk
#

Thank you, I thought that by not using a package from 1.8 there would be no problems

eternal night
#

I mean this is a rather rare case xD but yeah can cause these issues

sturdy elk
#

yep xd

granite stirrup
#

FUCK

#

i accidently deleted my whole plugins folder

#

so i deleted my configuration of some of my plugins fuck

eternal oxide
#

I have never understood how people do that

eternal night
#

Aren't you even on windows

#

Use the damn trashcan

eternal oxide
#

I have projects going back over 20 years. Never deleted any by mistake.

eternal night
#

Open the bin

#

And restore

granite stirrup
#

um i was on a server host and i thought i was deleting my plugin configs and i deleted the plugins folder ;-;

eternal night
#

Oh rip

eternal oxide
#

remote 😦

silk mirage
#

So

#

Does anyone have net.minecraft.server

#

proper source code

young knoll
#

?bt

queen dragonBOT
silk mirage
#

where the NMS acutally exists

silk mirage
granite stirrup
#

u cant get source to nms

#

its not public

young knoll
#

Run that and depend on spigot in your project

#

Via maven or gradle

silk mirage
#

??

granite stirrup
#

nms code is obfuscated anyway

eternal oxide
#
java -jar BuildTools.jar --generate-source --generate-docs --rev %Input%```
quaint mantle
#

hey how can i get externalUrl from json?

"file": {
    "type": "external",
    "size": 0,
    "sizeUnit": "",
    "url": "resources/%E2%9C%A8authtools%E2%9C%A8-1-8-1-13-2fa-auth-plugin-2fa-addon-for-authme-nlogin-fully-editable.90387/download?version=399740",
    "externalUrl": "https://go.pavlyi.eu/authToolsReleases"
  },
silk mirage
young knoll
#

No

#

NMS has no docs

eternal oxide
#

only source

silk mirage
#

okay cool

young knoll
#

It's also largely obfuscated

coral sparrow
#
```How do i Mke sure If it is a certain color
young knoll
#

The byte

coral sparrow
young knoll
#

Probably somewhere

#

It's legacy

coral sparrow
#

1.8

young knoll
#

Minecraft wiki may have the old data values

coral sparrow
#

🤔

young knoll
#

Yes, that is legacy

coral sparrow
quaint mantle
#

Hey guys, so basically I had installed a plugin named Auction Master, created an NPC, I wanted to delete it for testing something (NPC Plugin: Citiziens), but now I have a nametag without reason in air (I tried deleting the plugin, restarting my server)

#

how could i delete it

coral sparrow
eternal oxide
#

Armorstand

quaint mantle
#

what armor stand

young knoll
#

It's probably a holographic displays armorstand

quaint mantle
#

yes i guess

#

how can i delete it

granite stirrup
#

/hd delete

coral sparrow
#

Btw is LightBlueColor=Aqua (sry for bein noob lol)

young knoll
#

You can probably kill it with /kill @e[Type=ArmorStand,distance=..10]

quaint mantle
#

i'll try

coral sparrow
#

its just me being bad at minecrft

quaint mantle
#

no entity was found

#

i got

#

and "/hd delete" isnt a command for me

young knoll
#

Make sure you are within 10 blocks

quaint mantle
#

i am

#

im just 2 blocks behind

eternal oxide
#

/minecraft:kill @e[type=armor_stand,distance=..3]

quaint mantle
#

let me try again

#

1 sec

young knoll
#

Right, namespaces are lowercase now

quaint mantle
#

OH YE

#

it worked

#

thanks bro

silk mirage
#

hmm

#

what maybe the issue

eternal oxide
worldly ingot
#

It's failing on Javadoc

#

Just import Material in that class

#

Also, # for references, not .

eternal night
#

that is builds tools no ? xD

#

I don't think that is his class lmao

worldly ingot
eternal night
#

smh, md_5 import those dang material classes.

#

on a serious node tho, I cannot reproduce this with latest version and build tools.

worldly ingot
#

Well, to be fair...

#

1.8.8...

#

it's probably been fixed since then

eternal night
#

I mean, the folder name suggests so but who knows xD

silk mirage
eternal night
#

are you compiling spigot 1.8.8 ?

eternal oxide
silk mirage
#

i run linux-

eternal oxide
#

works here for me

silk mirage
#

and i didn't use ur command

eternal oxide
#

ah

eternal night
#

might be a very old version issue

#

¯_(ツ)_/¯

silk mirage
#
java -Xmx1024M -jar BuildTools.jar --generate-source --generate-docs --rev 1.8.9
eternal oxide
#

you didn;t use my command but you asked me why my command didn;t work? ok

silk mirage
#

isn't that and this same?

#

smh

eternal night
#

Someone else pls help, I run a normal humans java version and can no longer compile 1.8.9 😦

eternal night
#

you need java 7 or 8 to compile 1.8.9

#

I run 16

silk mirage
#

i aint that fool

sage swift
#

dont use 1.8, no problems

coral sparrow
silk mirage
#

i even tried with zulu@1.8

eternal night
#

5head xD

sage swift
#

simple stuff we've been saying for 4 years

coral sparrow
silk mirage
#

imagine if that could happen

#

i would be so glad

sage swift
#

it's pretty easy

silk mirage
#

what is?

sage swift
#

switching to 1.16.5

eternal night
#

quick next question

#

what version was this ? 1.8.8 right ?

coral sparrow
eternal night
#

the version they are trying to compile

coral sparrow
#

java 8 ig

#

prob 1.8.8

eternal night
#

Guess so xD

coral sparrow
#

lol

silk mirage
#

Hm

#

Ye

eternal night
#

Welp, yeah I can also reproduce this

silk mirage
#

👽

eternal night
#

Tbh you can either attempt to use dev mode after fixing this or just, well don't compile it like this

silk mirage
#

Leave it, I will just generate src

#

I'll manage docs somehow

eternal night
#

why do you even need javadocs, aren't they available online to pull ?

#

like, you could just use the ones online

quaint mantle
#

How you can make a custom texuared helmet wear on head and we can still see the textuare

silk mirage
#

Hmm

#

It won't have docs

chrome beacon
#

Help chat also has the javadocs available

silk mirage
#

For net.minecraft

eternal night
#

neither would this

chrome beacon
#

There are no Javadocs for NMS

eternal night
#

generate docs only compiles for bukkit api

#

NMS is not documented at all

#

lol

chrome beacon
#

When using NMS you're on your own

silk mirage
#

Mojang just release your normal src for 1.8.8

eternal night
#

I don't think mojang cares even a little about 1.8.8 xD

silk mirage
#

Hmm, it isn't like dead.. Is it?

chrome beacon
#

They have nothing to gain for making it open-source

silk mirage
#

It has a high player base.

wraith rapids
#

it's dead

eternal night
#

do they

#

I thought 1.8.8 player base dropped hard

chrome beacon
#

1.8 has a low player base

wraith rapids
#

dead as in no longer maintained by anyone, no longer supported by anyone

#

they don't have a proper community

#

they haven't created anything of note

#

they simply use it

eternal night
wraith rapids
#

that's not 'alive'

silk mirage
eternal night
#

bstat

wraith rapids
#

yes, but "players enjoying it" doesn't mean the software is alive

eternal night
#

nor does it mean it has a huge playerbase xD

silk mirage
#

Hmm

wraith rapids
#

if the software was alive, someone would have backported something from the new api

#

and dealing with 1.8 development wouldn't be so ass

eternal night
#

pdc on 1.8 when

wraith rapids
#

but they haven't; they don't strive to improve or move forwards

#

it's simply a stagnating cesspool

silk mirage
#

I bet, If bstats makes checking about 60% of newer version server would have viabackward

wraith rapids
#

1.8 players refuse to play on 1.9+ servers

eternal night
#

but, but that still means it is 1.16 xD

wraith rapids
#

because via doesn't properly do knockback or whatever it is that they rave about

eternal night
#

like, if you wanna go viabackwards and run 1.16 go for it

#

definitively better than running pure 1.8

quaint mantle
#

anyone know how can i disable TAB's Plugin affect on Citiziens NPC ?

#

i'd like to delete the "0"

wraith rapids
#

that looks like a scoreboard objective

young knoll
#

Yes

wraith rapids
#

scoreboards are displayed on all player entities sent to the player

#

afaik you can't disable it per-player

quaint mantle
#

how ?

wraith rapids
#

issue with all plugins that do human npcs

#

no how

quaint mantle
#

;-; ?

wraith rapids
#

not possible

#

impossible

#

you can't do it

#

you are unable to achieve that result

quaint mantle
#

OOOH

#

my bad

#

i read "you can disable it per-player"

#

ry

#

sry*

#

not sure if its the right channel

raw swallow
#

Sorry

wraith rapids
#

imo we should deny premium resources from any developers that aren't fluent in english

#

or ask things in the wrong channels

quaint mantle
#

chill

#

lol

wraith rapids
#

i'm chill

#

i'm fucking glacial

quaint mantle
#

🥶 🥶

granite stirrup
#

if its tab plugin that did that

wraith rapids
#

the issue is that it's a scoreboard objective

#

afaik it isn't possible to make scoreboard objectives not shown for specific entities

quaint mantle
#

i saw this

#

#additional very limited line of text below nametag
#don't forget this enables on all player entities, which includes NPCs
#tags so you can find this section using the mighty ctrl + f feature: [NPC, Citizens, below_name, health]

wraith rapids
#

the client just renders them on any player entities and pulls the data for them from the scoreboard

quaint mantle
#

is it something about what i asked or

wraith rapids
#

yeah that just basically says what i'm saying

#

it's shown on all player entities

#

which includes NPCs

granite stirrup
#

¯_(ツ)_/¯

quaint mantle
eternal night
#

you parse the json using a json parser ?

quaint mantle
#

no with a YML parser

wraith rapids
#

lol

lilac dagger
#

any idea why maven wouldn't wanna include a dependency into the jar?

wraith rapids
#

first idea is you haven't included the shade plugin

#

second idea is you've marked it as provided

lilac dagger
#

first

#

wow

#

never thought that was needed

eternal night
#

I mean, you could use a yaml parser

wraith rapids
#

i'm not sure if it is tbh, i think it might just be relocations

eternal oxide
#

third, you are using Artifacts to build and not mavern

quaint mantle
#
try {
            URL url = new URL("https://api.spiget.org/v2/resources/90387/");
            HttpURLConnection connection = (HttpURLConnection) url.openConnection();
            connection.addRequestProperty("User-Agent", "AuthTools");// Set User-Agent

            InputStream inputStream = connection.getInputStream();
            InputStreamReader reader = new InputStreamReader(inputStream);

            JSONObject object = (JSONObject) new JSONParser().parse(reader);

            boolean isExternal;
            isExternal = Boolean.valueOf(String.valueOf(object.get("external")));

            JSONArray jsonArray = (JSONArray) object.get("file");
            Iterator<String> iterator = jsonArray.iterator();
            while (iterator.hasNext()) {
                System.out.println(iterator.next());
            }


            inputStream.close();
            reader.close();
            connection.disconnect();
        } catch (IOException | ParseException ex) {
            ex.printStackTrace();
        }

        return null;

my code

young knoll
#

Why are we parsing json with yml

lilac dagger
#

i'm not doing any relocations

wraith rapids
#

i literally always shade something in with relocations so idk

quaint mantle
#

trying to get the externalUrl

eternal night
#

because yaml is a superset of json

#

lol

lilac dagger
#

but it's worth a try

wraith rapids
#

if you want to include a dependency in your jar, you definitely want relocations

young knoll
wraith rapids
#

otherwise you can get strange issues with multiple plugins including that dependency

eternal night
#

so you could parse json with a yaml parser

#

¯_(ツ)_/¯

lilac dagger
#

but a relocation would suggest modifying the path or something

young knoll
#

Sure, but you already have access to gson

lilac dagger
#

in my view

#

but you make a point

eternal night
#

Yes, if you read up the chat you may find it was a joke xD

wraith rapids
#

relocation is the standard pretty much

#

only case you wouldn't relocate is if the code you'd be relocating relies on reflection and hardcoded strings to find its own classes

quaint mantle
#

so how do i get the file.externalUrl

lilac dagger
#

that was it 😮

#

is minimize safe?

wraith rapids
#

for reflection and hardcoded strings? no, for the same reason as relocation isn't safe

#

the system isn't able to find the references you make with reflection, and so it can't determine whether a class is actually used by the project

lilac dagger
#

i'm not using reflections

#

tho i'm not sure the dependency is tho it would be poorly designed if it did

lyric grove
#

how do i fix this?

quaint mantle
#

show code

wraith rapids
#

have you seen the inside of a penguin's mouth

lyric grove
#

xd

lilac dagger
#

downgrade

lyric grove
#

?

lilac dagger
#

don't forget 1.7 had an array

quaint mantle
#

lol 1.7

wraith rapids
#

new getPlayers returns a Collection

#

old returns an array

#

again, you should build against the version you're writing the plugin for

#

otherwise your compiler can't catch shit like this for you

lyric grove
#

oh

lilac dagger
#

feels good to not relay on a immutable array anymore

young knoll
#

I forgot spigot actually did a breaking change for that

lyric grove
#

this looking clean?

wraith rapids
#

yeah, changing it from an array to collection was supremely important

#

so important that breakage was acceptable

young knoll
#

I see

wraith rapids
#

in comparison to the material flattening, however

lyric grove
#

yeah, me being stupid 🤦‍♂️

wraith rapids
#

that wasn't as important

#

so we had to cobble together a few bytecode hacks to make it not a breaking change

lyric grove
#

so what should i change the method to?

wraith rapids
#

the right one

lyric grove
wraith rapids
#

again, again, again

#

build against the version you're writing the plugin for

lyric grove
#

i am

wraith rapids
#

clearly not

lyric grove
wraith rapids
#

make sure you don't have any conflicting dependencies that also include bukkit

#

worldedit is one notorious example

#

your compiler is interpreting that method as one that doesn't exist in your runtime

#

there is a mismatch somewhere

lyric grove
#

oh

wraith rapids
#

your compiler is interpreting it as the method that returns Player[]

#

but in your runtime it returns a Collection<Player>

#

which changes the method signature

#

which throws a method not found error

lyric grove
#

oh right, ill change the method to broadcast the message, instead send it to the online players

wraith rapids
#

well that will hide the issue but not fix it

sage swift
#

lol, 1.7.10

#

getting worse

#

who's using 1.5.2?

lyric grove
#

1.7.10's still good

sage swift
#

comedy master right here

lyric grove
#

?

#

xd

wraith rapids
#

what is even the difference between 7 and 8

sage swift
#

slimeblocks

#

guardians

wraith rapids
#

ah yes

#

the dealbreaker

sharp bough
#

i cant be the only one who usued to play those weird prison server in 1.5.5

sage swift
#

spectator

sharp bough
#

lol

sage swift
#

diorite andesite granite coarse dirt

#

iron trapdoors

#

banners

#

barriers

#

mutton, lol

#

endermites

#

rabbit, armor stands

sharp bough
#

the guy memorized the updates of minecraft

sage swift
#

depth strider

sharp bough
#

lol

wraith rapids
#

imagine not having armor stands

sage swift
#

no im on the wiki page

#

beacons started to change color in 1.8

#

they added all the wooden doors not just oak

wraith rapids
#

wow 1.7 sucks

#

all of the good stuff was added in 1.8

lyric grove
#

i use it as its better perfomance

#

for hcf kitmap etc

wraith rapids
#

yeah because 1.8 performs so poorly

#

and you have like 800 concurrent players

sage swift
#

kek

#

7 years ago

quaint mantle
#

how can i edit Loot tables like be a Datapake in Spigot API ?

wraith rapids
#

you don't

quaint mantle
#

help pls tnx

wraith rapids
#

bukkit doesn't support datapacks properly

quaint mantle
#

why

wraith rapids
#

best you can do is like write a datapack and bundle it into your jar

#

and then extract it into the datapack directory on enable

quaint mantle
#

I not need create a datapake with bukkit api . i need edit Loot tables

wraith rapids
#

yeah loot tables are a datapack thing

young knoll
#

You don't

#

Without NMS

quaint mantle
#

ok tnx for help

tardy delta
#

how can i edit a players username (name above their head)

sage swift
#

Bukkit.shutdown() should remove it

young knoll
#

I mean, that's not wrong

#

But packets would probably be a better approach

wraith rapids
#

i don't know if the protocol supports changing a player's name without simulating them rejoining

#

the name is kind of not expected to change at runtime

tardy delta
#

well i want to "change " their name when they login to add their luckperm prefix

sage swift
#

tab plugin

tardy delta
#

no

wraith rapids
#

you don't need to change their name

#

you can add them to a team and set a team prefix

tardy delta
#

uhh

#

so it would update every time i change it?

wraith rapids
#

it would update every time you update it

tardy delta
#

hmm i hope that looks good

civic prairie
#

how can you register a command (i'm new to this)

wraith rapids
#

by adding an entry in plugin.yml

civic prairie
#

How do I do that?

wraith rapids
#

google "spigot help plugin.yml"

civic prairie
#

ok thx

lyric grove
sharp bough
#

        for (int i = 0; i < totalItem; i++) {
            if ((Main.get().getConfig().getItemStack(path + (i+1))) == clickedItem) {
                if(Main.get().debugMode()) System.out.println("CHEST item found, removing at " + i);
                Main.get().getConfig().set(path + (i+1), Main.get().getConfig().getItemStack(path + totalItem));
                Main.get().getConfig().set(path + totalItem, null);
                player.sendMessage(new GetMessage().get("itemRemoved"));
                player.closeInventory();
                if (Main.get().debugMode()) System.out.println("CHEST item removed");
                return;
            } else {
                if (Main.get().debugMode()) System.out.println("CHEST removing item, item not found yet, totalitems: " +
                        totalItem + " current item: " + (i+1));
            }
        }```
am i doing something wrong here?
#

it wont find the clicked item

#

items start at 1 thats why i use path + (i+1)

wraith rapids
#

what am i even looking at

sharp bough
#

its a gui

wraith rapids
#

rewrite it from scratch

sharp bough
#

that finds the clicked item

#

bruh

#

why

paper viper
#

yeah please

#

lmao

sharp bough
#

whats wrong

paper viper
#

theres been countless times where I just cant help because

#

well

wraith rapids
#

the cause of the problem is that == doesn't do what you expect it to do

paper viper
#

i think i told you before

young knoll
#

Take a shot for every Main.get()

wraith rapids
#

the origin of the problem is that your code is horrible spaghetti

sharp bough
#

i need to get the clicked item, find it in the config and replace it with the last one then remove the last one

paper viper
#

if i had to do that for his code

#

lol

sharp bough
#

lol

wraith rapids
#

yeah don't use == for that

#

look up what == does

paper viper
#

5 lines of code can be shitty code

#

== is reference equality (and also compares primitives too). Bro this is literally one of the first lessons you learn in Java

quaint mantle
#

lol

#

==

sharp bough
#

oh

#

mb lol

#

yall were right it was the ==

wraith rapids
#

also this will perform like horrid steaming shit

sharp bough
#

but why is it bad code

wraith rapids
#

never run this on a production server

paper viper
#

and its... quite slow

sharp bough
wraith rapids
#

itemstack equals is potentially catastrophically slow

#

and your time complexity for this system is linear

paper viper
#

and god damn all those getters. STORE THEM IN A VARIABLE

sharp bough
#

i dont have any other id for the item

#

each item is unique and i dont want to edit them

#

plus im in 1.12

paper viper
#

I feel like I have to go back to screaming at people now

#

in help-development

paper viper
#

like I used to

wraith rapids
#

use a map instead of iterating over a list

paper viper
#

I will if I have to

sharp bough
#

that would do nothing but annoy people

wraith rapids
#

shouting at people works

sharp bough
#

it doesnt

paper viper
#

It wouldn't annoy people, it would force them to do the right thing

wraith rapids
#

it does

paper viper
#

it always works

#

trusts me

wraith rapids
#

it makes the dumb people go away

paper viper
#

I've done it before numerous times

#

in here

sharp bough
#

lol

wraith rapids
#

real men don't scream

sharp bough
#

wiat no

wraith rapids
#

real men make you scream

sharp bough
#

give me a second i google it

paper viper
coral sparrow
#

Can someone help on why my inventory looks like this

wraith rapids
#

ah it's you again

paper viper
#

code?

coral sparrow