#help-archived

1 messages · Page 118 of 1

odd knoll
#

?

pastel igloo
#

the Paper jar file

odd knoll
#

You just download what you want and run it.

#

You're probably best searching up "How to run minecraft paper server" or something.

pastel igloo
#

aitt

#

thank you

buoyant path
#

How can I change the name of an entity with packets in 1.8? I believe you need the PacketPlayOutEntityMetadata but im not really sure what to do with it, ik it takes a datawatcher, entity id, and boolean

#

Also I would like to learn how to change the skin of an entity thats being shown as a player with packets

#

Its actually a craftmonster but its being shown as a player

odd knoll
#

Any idea why the softdepend option simply isn't working in my plugin?

plush river
#

Something may be misspelled, what do you mean by not working @odd knoll

odd knoll
#

Just, it doesn't register the fact it should load after certain plugins.

#

Lemme send some logs.

plush river
#

Sure

stoic spindle
#

Someone reset the password and email on my account and I need help

plush river
#

@stoic spindle with spigot or mc

stoic spindle
#

Spigot

pastel igloo
#

Do i need to remove Spigot.yml if i install paper?

odd knoll
#

You can probably just ignore it.

#

@pastel igloo no.

plush river
#

@stoic spindle dm md_5 or open some support

little crater
#

@odd knoll the plugin names are case sensitive and much match exactly as they are in their plugin.yml file

pastel igloo
#

only Spigot.jar?

plush river
#

Paper is a drop in replacement for spigot

#

You don’t need to remove anything, you just need to run it from the bash file

odd knoll
#

Ok, so it soft depends on these plugins: https://pastebin.com/LyMhxPwW

These are the ones it's not loading after:

AutoSell
Citizens
CrateReloaded```
#

And there's a server log.

#

BattlePass BTW.

plush river
#

Looks like you may have some spacing issues

buoyant path
#

Could anyone help me with the EntityMetadata packet ? I've done a lot of googling and I cant find anyone not using it with ProtocolLib for changing the name, I do not want to use protocolLib

little crater
#

spacing is off

odd knoll
#

Is it?

plush river
#

Yep looks like it

little crater
#

in the pastebin it is

pastel igloo
#

someone who can explain in dutch?

odd knoll
#

Must be just a mistake. It's not like that in my IDE.

pastel igloo
#

its diffucult to understand

#

server bash?

odd knoll
plush river
#

@pastel igloo how do you run spigot right now, like what steps do you take

#

@odd knoll can you screenshot the errro, can’t open log files

pastel igloo
#

i already got my server a month on Spigot 18.8

#

1.8.8

#

but

odd knoll
#

I mean, it's not an error, just to show that it's still loading before some plugins.

#

I'll whack it in a pastebin.

plush river
#

Go for it

pastel igloo
#

i dont know how i need to install paper exactly

odd knoll
#

Trasing, same as Spigot just with a different file.

little crater
#

the ones that its loading before, open them in WinRar (or whatever app you prefer) and examine the name in plugin.yml to make sure you are matching. i recently had to fix my own because dynmap's api was oddly named

pastel igloo
#

do i need to remove spigot.jar or somthing?

gleaming helm
#

It should be the same name as the one you see in /plugins

pastel igloo
#

or do i just need to upload Paper

odd knoll
#

Since this is their plugin list:

[23:30:58 INFO]: Plugins (81): AntiWorldFly, AsyncWorldEdit, AutoSell, BattlePass, BettingGames, BountyHunters, BuycraftX, ChatControl, ChatReaction, ChestShop, Citizens, CitizensCMD, ClearLag, CombatLogX, ConditionalCommands, CrateReloaded, CustomJoinMessages*, DeluxeChat, DeluxeTags*, Denizen, EasyBackup, EpicRename, Essentials, EssentialsSpawn, ezAuctions, EZBlocks*, EZColors, EZPrestige*, EZRanksPro, FeatherBoard*, GangsPlus, GCore, HeroAction*, HexicShanks, HideStream*, HolographicDisplays, InventoryFullPlus, IPLimit*, Item2Chat, KitPreview, LeaderHeadsRevamped, LibsDisguises, LiteBans, LuckPerms, LuckPermsMVdWHook*, mcMMO, MessageAnnouncer, MineResetLite, MoneyPouch*, MorphRedeem, Multiverse-Core, MVdWPlaceholderAPI*, NametagEdit*, NoCheatPlus, OldCombatMechanics, PlaceholderAPI, PlayerVaults, Playtimes*, PlotSquared, PlugMan, ProtocolLib, ProtocolSupport, ProVotes, pvpstats*, RandomCommands*, ServerlistMOTD*, ServerSigns, SuperCredits, TabList, tntpick*, TokenEnchant, TradePlus, UltraBar, Vault, VoidGenerator, VoidSpawn, Votifier, Vouchers, WorldEdit, WorldGuard, ZeroTickStopper```

And AutoSell is AutoSell, Citizens is Citizens and CrateReloaded is CrateReloaded.

Case all matches, no spaces in any.
pastel igloo
#

and restart

plush river
#

@odd knoll tbh I wouldn’t worry about it unless it’s giving you issues, is it?

odd knoll
#

It is.

#

Because it's not registering missions for people as the other plugins aren't yet loaded.

plush river
#

Hm okay

#

Unsure

#

I’m not at a computer rn but when I get to one I can probably check it out better

odd knoll
#

👍 thx 🙂

pastel igloo
#

i dont get it :/

odd knoll
#

Did you read Paper's guide?

pastel igloo
#

i watched a Yt vid but i only heard Paper is better than craft en spig

#

spigot *

gleaming helm
#

Tuinity is better than both paper and spigot

odd knoll
#

But not 1.8.8.

gleaming helm
#

Oh yeah I thought this was 1.15 talk

#

Yeah paper won't touch you if you even mention you're using 1.8

odd knoll
#

I'm just confused AF at this soft depend not working.

pastel igloo
#

oh

#

so i dont need paper?

#

but my enchant are broken :/

gleaming helm
#

No you should use paper

pastel igloo
#

on 1.8.8?

gleaming helm
#

If you have a larger player base

#

Yeah even on 1.8

#

But

#

Don't go in their discord asking for help.

#

They get really toxic towards people running 1.8 servers

pastel igloo
#

i already saw it xD

pastel igloo
#

someone who can help pleas?

elder lark
#

Hey there, is anyone experienced on making threads on spigot?
I'm having serious trouble embedding images, the same image bb code link seems to sometimes work and sometimes not. I have no idea what causes the bug and how to exactly reproduce, but even clearing the whole thread and starting again doesn't seem to solve the issue sometimes.
This is an example of a bbcode im using [img]https://drive.google.com/uc?export=download&id=1h1pEMvMCfMr377uAvFxjfoAn-K_em4Ue[/img]

quartz trench
#

Make sure your images are under 5MB and try imgur instead of gdrive

elder lark
#

my image is under 100kb, and i dont really wanna use imgur, their privaciy policy and terms of service leave much to be desired :/

haughty fable
quartz trench
#

Use any service which gives direct links

elder lark
#

the link i gave is a direct link

quartz trench
#

Yeah but it needs to be resolved I think

#

And spigots cache system may not fully support that

#

I may be wrong

elder lark
#

I see, i'll look for other sites then, but they all seem pretty bad regarding TOS & privacy
Thanks for the advise. Is bb codes the only way to go for embedding images on spigotmc?

quartz trench
#

I think you could just upload the image directly to spigot

#

"Upload Image" on the bottom then click insert

elder lark
#

Yeah, but the problem is the 10 files limit jmp :/

quartz trench
#

oh I see

pastel igloo
#

@haughty fable i got Custompayloadpackets and exploitfixxer whit hamsterAPI

quartz trench
#

the way i would do it is I have a image host on my web server

#

if you have a server chevereto is free image hosting software

haughty fable
#

@haughty fable i got Custompayloadpackets and exploitfixxer whit hamsterAPI
@pastel igloo yeah Exploitfixer does it, you cant give yourself NBT-Items in creative with that :/ try to give yourself an exempt permission maybe? 😄

elder lark
#

Thanks for your help! I don't have a web server right now, but i'll find some other workarround 🙂

quartz trench
#

your welcome, sorry I don't have a better solution lol

pastel igloo
#

exploitfixer.admin

#

i got that perm

#

but it doesnt work :d

#

@haughty fable i disabled the plugin whit plugman

#

thank you so much

haughty fable
#

thank you so much
@pastel igloo i didnt do much but maybe try to work in the config of it, usually it shouldnt track you tho when you got that perm 🤔 maybe send the author a bug message

hazy haven
#

anyone have any way to reduce lag due to entity ticks?

pastel igloo
#

i think upgrading GB's wil help idk

#

i was struggeling whit it for 2 hours Pas02 xD

frigid ember
#

Can I get help for bungee in here?

elder lark
#

Yes

#

The tag of this channel says "Serious Spigot and BungeeCord Help | Ask Questions Here" 🙂

frigid ember
#

I'm blind

#

well whenever I try and start my bungee it goes into a indefinate starting state

elder lark
#

I'm not expert, but console logs, and a detailed description on how you started it will be necessairy for a solution. Also, have you tried adding it to see if its online?

frigid ember
#

yeah it's not coming online

elder lark
#

Alright, i g2g but post that info, someone will probably be able to help you out

frigid ember
#

ok thank you.

#

This is the console for the server

#

I added servers to my config.yml and changed the host port

#

how do i change the max enchantment level for sharpness

stone rampart
#

wdym @frigid ember

frigid ember
#

like

#

say i only wanna let players get enchantment level for sharp only level 2

#

not like 3-4-5

stone rampart
#

ItemStack#addUnsafeEnchantment(enchantment, level)

#

oh

frigid ember
#

not programming just a command maybe?

stone rampart
#

so not programatically?

#

are you making a plugin or looking for a plugin

frigid ember
#

just something to be able to set it.

#

for 1.7 or 1.8

stone rampart
#

gonna have to search spigot plugins for it

frigid ember
#

here, lets just do it programatically.. i just didnt wanna do it rn but how would i set the max enchant by programming

stone rampart
#

idk

#

cancel EnchantItemEvent if it's > 2?

keen compass
#

if you need help for outdated versions, then it is probably best you update

frigid ember
#

Ok lets say i am not on that version there wont be such a big difference (some people like these versions)

keen compass
#

but there is a big difference between 1.7-1.8 and 1.15

frigid ember
#

i have programmed with them all... lol

keen compass
#

and yet there is still a big difference between those two versions and 1.15

frigid ember
#

yet maybe some people wanna use older version's shouldnt be so hard should it?

keen compass
#

then it is on you to fix the problems

#

if you can't do that then you probably shouldn't use them

frigid ember
#

problems? i dont have any problems i am just asking how to do something?

#

i dont think thats a problem.

keen compass
#

what you are wanting to do is relatively easy.

frigid ember
#

which i dont know how do?

frigid ember
#

well this conversation degenerated...

ashen stirrup
#

Lack of support for outdated versions is expected, is it not?

frigid ember
#

I did a poll in my small community, and most of them are plugin users, this are the results I got back

#

The main versions people still use seem to be 1.8, 1.12, and 1.15 (at least in my small community)

#

yep

#

I run 1.14.4

#

whyyyu

#

cuzzzz

#

it's okay

#

1.14 is by far the most terribly awfully optimized server version

#

Hey guys, if I get a name change can I opt in to remove previously known as?

#

that might be true however some plugins my game mode relies on some exclusively 1.14.4 plugins

#

in spigot?

ashen stirrup
#

1.14 is the ham and pineapple of server versions

gleaming helm
#

@frigid ember 1.15 is garb too

frigid ember
#

yeah my server at idle is taking up 50% of cpu usage

#

It takes too long for me to start up on newer versions, so its harder to test things when I have to make small fixes

gleaming helm
#

😎

#

(Green line is worst tick, this is an aggregation of 5 clustered servers)

frigid ember
#

clearly a rat

#

Do you guys know if I get a name change can I opt in to remove previously known as?

#

I'm not sure

calm cloak
#

@frigid ember

frigid ember
#

Alright, thanks. I just have a cool new name i want but I think having previously known as looks dumb

calm cloak
#

Also, you need to be a donor to change your name

#

Unless that changed and I'm not aware

frigid ember
#

Yeah, I can pay $10

fleet crane
#

It disappears after 2 months

#

@frigid ember

frigid ember
#

Alright, thanks

idle zodiac
#

Hi

#

I'm back

#

I started coding a 1.15 Skyblock plugin yesterday with maven

#

to make my life slightly easier

#

but I just need help with moving the output directory of maven (/target) to my plugins folder

#

Is there any way to do that?

quartz trench
#

Are you using IntelliJ

idle zodiac
#

ye

quartz trench
#

I got u one sec

idle zodiac
#

thanks

quartz trench
#

Make a new Maven Build configuration

#

for clean package

idle zodiac
#

ok

quartz trench
#

and under before launch

idle zodiac
#

how i do dat

quartz trench
#

top of the screen

#

next to hammer

idle zodiac
#

ah

#

thansk

quartz trench
#

edit configurations, make a new one

#

maven with the goals clean package

idle zodiac
#

do i use maven tem,plate?

quartz trench
#

No just click plus

#

top left

idle zodiac
#

did o

quartz trench
#

in command line you put the clean package

idle zodiac
#

wit

#

wat

#

help

#

am

#

it didnt work

quartz trench
idle zodiac
#

ahhhh

#

thanks

#

okkkkk

#

now wat

quartz trench
#

then under Before Launch

#

you make new external tool

#

and use git bash executable as the tool

idle zodiac
#

ok

quartz trench
#

mine is

#

C:\Program Files\Git\bin\sh.exe

idle zodiac
#

and how the hell do i do that

#

i'm new to maven

quartz trench
#

click the plus, run external tool, in the new window click plus again

idle zodiac
#

ok

quartz trench
#

put a name

#

for program put the location of sh.exe

idle zodiac
#

ok thanks

#

ima just install git

#

brb

#

XD

quartz trench
#

--login -c "rm ../server/plugins/MyPlugin*.jar; cp ./target/MyPlugin*.jar ../server/plugins/"

#

thats the arguments

#

adjust it for your directories

idle zodiac
#

ok tahshjkn

#

thansk

quartz trench
#

my structure is a folder called server in the same folder as my project folder

#

np

idle zodiac
#

XD

#

how dare you

#

How would I go about doing that for a dir with spaces?

#

@quartz trench

quartz trench
#

"My\ Directory"

idle zodiac
#

no but liioke ../1.15 Test Server/plugins/

#

or smth

#

how would i go about that

#

i tried putting quotes

#

OH

#

OK

#

i get it

wary spoke
idle zodiac
#

firstly

#

hastebin

#

or ?paste

#

?paste

worldly heathBOT
idle zodiac
#

tere

#

secondly

#

what do you need help with

wary spoke
#

okay

zenith siren
#

Does anyone have some tips for creating a world at runtime? I'm trying to copy a world by first copying the world files and then creating the world but it occupies the main thread so the server will stop responding. I tried to create the world async but I got an error because Bukkit API and async don't go together well.

wary spoke
#

I don't know what I'm doing wrong, could you tell me?

idle zodiac
#

How can I make a void world in spigot 1.15 without voidgenerator?

undone narwhal
#

@zenith siren to make a world async you need to fork spigot and patch it

#

@idle zodiac In code or with pugins?

zenith siren
#

Can't it be done using normal Spigot?

chrome lark
#

I thiiiiink FAWE had something like that

#

It's technically do-able, just there are certain phases which avoiding the main thread is pretty hard without modifying the server

zenith siren
#

Wait, a plugin like MultiVerse or MultiWorld have a create world command that doesn't crash the server

#

So it is possible

chrome lark
#

MV does block the thread when it's doing it

zenith siren
#

Oh

undone narwhal
#

Pasting world parts Async is possible (you'll just calculate async then use Bukkit sync) -> I recommand using TaskChain from Aikar

#

But generating a world, nop with normal Spigot

chrome lark
#

Spigot might let you disable loading spawn chunks? not too sure, that would avoid most of the grunt

#

and, yea, if you're doing file IO like copying folders, you /really/ should be doing that on another thread

zenith siren
#

Wait, how can I calculate world parts async and then paste them in sync

#

and, yea, if you're doing file IO like copying folders, you /really/ should be doing that on another thread
@chrome lark

Oki, I'll do that then as well

chrome lark
#

Well, a common approach is to just use schematics

#

paste them in slowly off a queue

frigid ember
#

I'm getting this error when I try to join my server

#

io.netty.channel.AbstractChannel$AnnotatedConnectException

#

any other information needed?

zenith siren
#

Schematics is a world edit feature right?

frigid ember
#

yeah it is

undone narwhal
#

Not only worldedit I think

#

It uses NBT stuff

zenith siren
#

O_o

frigid ember
#

FAWE offers it too

zenith siren
#

I'll look into the WE/FAWE API

undone narwhal
#

@zenith siren maybe you should take a look at SlimeWorld. I've heard of it but never tried

zenith siren
#

Never heard of it but sure

frigid ember
#

I think FAWE would be your best bet

zenith siren
#

I already have FAWE so that's good

#

Thanks!

undone narwhal
#

This is a new world saving loading system (coming from Hypixel if I'm not wrong)

#

They use it for their skyblock

#

And a lot of people here are using it

zenith siren
#

Looks promising

#

Thank you!

undone narwhal
#

np

chrome lark
#

WE just uses the sponge schematic format

#

The doc is spec'd, so, pretty much anything using schematics shooould be using it

frigid ember
#

io.netty.channel.AbstractChannel$AnnotatedConnectException

#

can anybody help me with this error

idle zodiac
#

Uhh WorldEdit ClipboardFormats is throwing a noclassdeffoounderror

#

i'm using maven and spigot 1.15

undone narwhal
#

I never succeed in using the WorldEdit or FAWE schematic api ^^

idle zodiac
#

ok

undone narwhal
#

@frigid ember This is not an error, can you please send the whole stacktrace of the error?

idle zodiac
#

wat do i do

undone narwhal
#

To make a void generator?

idle zodiac
#

noo

#

to paste the sche,

chrome lark
#

That error just says that your connection failed

#

typically, make sure the server is actually running, make sure that it's configured on the correct ports, etc

idle zodiac
#

AH

#

ok

undone narwhal
#

I have an old schematic class but it's not optimized at all :/

idle zodiac
#

i had worldedit and fawe loaded at the same time

#

or i mean

#

i had both in my pom at the same time

undone narwhal
#

Oh

idle zodiac
#

that explains it

chrome lark
#

if you're using WE, make sure that you depend on their plugin in your plugin.yml

idle zodiac
#

ok thanks

undone narwhal
#

But if you read the doc of FAWE their system doesn't work their are some missing class........

idle zodiac
#

my brain

frigid ember
#

@undone narwhal Seems i've fixed it

#

thanks though

undone narwhal
#

Noce

#

Guys I've to understand WorldEdit. When I was playing before the longggggg pause (before 2014) their were only WorldEdit and AsyncWorldEdit was beginning to be known but paid.

#

And now, their are tons of WorldEdit forks

#

And nothing works well

#

What's the best plugin WorldEdit for 1.15.2 ? 😂

idle zodiac
#

lol

tiny dagger
#

i use world edit myself and works fine tbh

idle zodiac
#

WHY

#

IS

#

THIS

#

NOOT

#

WORKING

tiny dagger
#

try restarting?

idle zodiac
#

boolean allowUndo = true; EditSession editSession = ClipboardFormats.findByFile(file).load(file).paste(world, position, allowUndo, !noAir, (Transform) null);

#

.load isnt in clipboardformat

#

my braaaain

zenith siren
#

Guys, for the async world loading I ended up doing this using the FAWE API. It works!

AsyncWorld world = AsyncWorld.create(new WorldCreator(newWorldName));
vital flume
#

Hello! There would be a problem with my user account. I changed my location but it hasn't been updated on google's site preview. Could something be done about it?

undone narwhal
#

Guys, for the async world loading I ended up doing this using the FAWE API. It works!

AsyncWorld world = AsyncWorld.create(new WorldCreator(newWorldName));

@zenith siren Awesome ! Thanks

#

@vital flume What are you talking about? Plugin?

frigid ember
#

How do I check

open girder
#

please someone help me I can't import craftbukkit to maven

#

i've ran buildtools

#

added the jar location as a repo in maven

#

and then the dependency still tries to reference spigot for literally no reason

#

i can't install, clean, package

#

nothing

#

i've spent hours and i've come up with jack

undone narwhal
#

@frigid ember ?

#

@open girder Why do you want to add a local jar to maven?

frigid ember
#

Sorry i im spanish

undone narwhal
#

Google translate ^^

frigid ember
#

Already but it puts it wrong

wraith thicket
#

@open girder
You can use the --compile craftbukkit command line argument when using BuildTools

knotty karma
#

is there a simple way for getting a list of echantments with a level as an input, or would i need to rewrite all of MC's logic for doing that

undone narwhal
#

You want to get like all enchantments with level 1 ?

nova anchor
#

Can some can give me a download link for 1.16 pre-2?

knotty karma
#

no, like in an Enchantment Table, you have a certain levels based on the number of bookshelves

#

like with 15 bookshelves your enchantment table is "level 30"

#

and it generates a set of enchantments to put on an item based on said level

#

the higher the level being, the more enchantents and higher level enchantments are put on the item

nova anchor
#

spigot server

knotty karma
#

that hasnt been released yet

nova anchor
#

uff, beta version?

knotty karma
#

at least im like 99% sure it hasnt

#

yea i dont think they release those

undone narwhal
#

Nop

vital flume
#

@undone narwhal not... -.-

#

spigotmc web page

open girder
#

@wraith thicket i have done that, i have the craftbukkit jar
@undone narwhal to add craftbukkit so i can use NMS

undone narwhal
#

Just import Spigot and not SpigotAPI in maven then you can use NMS

open girder
#

how do I do that?

#

with the spigot repo there's no spigot package

#

just spigot-api

#

just realised

#

and I can just use it from maven?

undone narwhal
#
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot-api</artifactId>
            <version>1.15.2-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <!-- For NMS     -->
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot</artifactId>
            <version>1.15.2-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
open girder
#

but its there

#

using intellij so im sure its something to do with that

quartz trench
#

Did you refresh your pom xml in intellij

#

or just in maven command line

open girder
#

intellij

#

still nothing

#

i deleted .idea and restarted intellij

#

suddenly worked

quartz trench
#

magic

undone narwhal
#

^^

open girder
#

for multiple spigot versions, is it all good to run the same again?

#

java -jar buildtools.jar --rev 1.14 --compile craftbukkit

#

and then mvn clean install from /spigot

frigid ember
#

You know a plugin /Furnace in 1.8

idle zodiac
#

Error:(87,91) java: cannot access com.sk89q.worldedit.world.registry.WorldData

#

uhh

#

that happened when i was building

#

wat

pure pasture
#

Hey! I want to read a String from a file that exists and it tells me it's a nullpointer exception help

velvet halo
#

?paste

worldly heathBOT
velvet halo
#

Could you make a snippet of your code?

pure pasture
#

@velvet halo

fossil shoal
#

Your config doesn't have a key called Material

pure pasture
#

It does

#

I just didn't put the snippet that creates it there

fossil shoal
#

The fact that there is code that is responsible for setting the value exists, does not mean that the value is there

pure pasture
#
cfg.set("Material",  mat.toString());```
fossil shoal
#

Did you call #saveConfig

pure pasture
#

it is i can look into the config xD

#

yes

remote socket
#
        public String getMaterial(String blockLocation, int index) {
        System.out.println("getMaterial Path: '" + blockLocation + ".blockType" + index + "'");
        return dbFile.getString(blockLocation + ".blockType" + index);
    }
#

This is getting the output null

#

[04:08:53 INFO]: getMaterial Path: '7 122 9.blockType1'

#

The println is outputting that

#

and the yaml is

8 120 8:
  blockLocation: 8 120 8
  owner: e6941b1b-ff98-4550-ac83-198ba4b76fdd
  world: Island
  blockType1: IRON_INGOT
  blockAmount1: 49747
  blockType2: STONE
  blockAmount2: 128
torn robin
#

ewwww spaces in keys

remote socket
#

Look, I'm new to java, there's absolutely no reason to be so rude

torn robin
#

the block location isn't the same as the one in the file

#

saying eww isn't rude but ok

remote socket
#

the hell

#

Thank you for pointing that out

torn robin
#

👍

remote socket
#

I manage a GUI in InventoryClickEvent

#

I use this to get the block Block block = player.getTargetBlock((HashSet<Material>) null, 100);

torn robin
#

player#getExactBlock

remote socket
#

Is there a better way

#

player#getExactBlock
Doesn't exist

#

Perhaps because I'm using 1.8

sturdy oar
#

🤦

torn robin
#

¯_(ツ)_/¯

#

it's getTargetBlockExactly

#

but yeah that's not in 1.8

remote socket
#

Hm

#

What can I do then...

#

And why does this only not work certain times

#

can you store metadata in inventories?

#

Like NBT tags

umbral shoal
#

does anyone have any idea how to make a custom gui using mycommand

idle zodiac
#

I stopped using 1.8 and switched to 1.12 because it's so weird

#

@umbral shoal Don't use mycommand

#

simple

umbral shoal
#

what can i use

idle zodiac
#

code a plugin

#

that's better to do

#

XD

sturdy oar
#

Skript

idle zodiac
#

ye

#

skript is good for newcomers

#

skript + tuske or smth is very good for guis

sturdy oar
#

if you real pro you learn Java

idle zodiac
#

yes

#

if you are sane you learn java

#

you mean

sturdy oar
#

but not everyone has time to do it tbh

idle zodiac
#

ye

#

skript is nice and compact and english

sturdy oar
#

I mean advanced Skript stuff takes some good time as well

idle zodiac
#

ye

#

but for most things use java

#

oonly use skript in like emergencies

umbral shoal
#

skript doesnt even work on my server and im not planning on adding it

idle zodiac
#

why

#

waht

#

are you using 1.8?

#

because if you are

#

just use a fork

#

or msht

#

also why are you not planning on adding it?

#

if you aren't using skript dont be lazy and code a plugin

#

it makes 0 sense

umbral shoal
#

dude

#

do you have a stable mental health

#

it doesnt sound like it

idle zodiac
#

yes

#

i do

#

you are trying to make a gui with mycommand

#

who is the real idiot here

#

you cant make a gui with mycommand

#

we have said

#

use. skript.

umbral shoal
#

you can omfg

idle zodiac
#

or code a plugin

sturdy oar
#

Do you need to make a GUI?

umbral shoal
#

dude im asking for help and you start ranting wtf have i done to you

sturdy oar
#

Use DeluxeMenus

#

it's much better

umbral shoal
#

thank you

idle zodiac
#

you havent used a normal plugin

#

like skript

#

can i just ask why the heck you arent using skript

umbral shoal
#

denizen is far better than that weak shit

idle zodiac
#

and why you doont want to

#

THEN USE IT

sturdy oar
#

you can bind commands

#

and stuff with it

idle zodiac
#

stop coming here and saying "i'm not using skript denizen is better"

umbral shoal
#

thank you for being helpful

#

dude occy you're being aggressive for no reason

idle zodiac
#

then the next thing you say is "hOw CaN i UsE mYcOmMaNd"

sturdy oar
#

MyCommand is kinda weird

umbral shoal
#

who are you to force me on using skript smh

idle zodiac
#

I'M NOT

#

ITS JUST

#

BETTER THAN MYCOMMAND

#

YOU ARE TRYING TO USE IT

#

TO MAKE A GUI

umbral shoal
#

you should get your mental health checked

idle zodiac
#

THAT'S INSANE

sturdy oar
#

xd

idle zodiac
#

youir jniuerh k nmteneal healthb checke

umbral shoal
#

no but seriously "im not planning on using skript"

idle zodiac
#

WHY

umbral shoal
#

then you get all triggered

idle zodiac
#

hwat is weontg ito skript

#

what is wrong with skrip

umbral shoal
#

what is wrong with you?

idle zodiac
#

what has skrikpt dooe to you

#

ANSWER

#

THE

#

QUESTRION

umbral shoal
#

I ALREADY SAID

#

IT
D

#

OESNT WORK

idle zodiac
#

HOW

umbral shoal
#

now please shut the fuck up

idle zodiac
#

1.8 NOBNHEAD?

#

USE A FORK

#

ITS EASY

#

HOW DOESNT IIT WORK

umbral shoal
#

IM NOT USING 1.8

idle zodiac
#

SO WHY DOESNT IT WOR

#

HOW

#

DOESNT IT WORK

#

IF IT DOESNT WORK

#

FIX IT

umbral shoal
#

WHY ARE YOU ASKING ME

#

DUDE

#

NO ONE LIKES YOU

idle zodiac
#

BEACUSE I WANT TO KNOW

umbral shoal
#

SHUT UP

idle zodiac
#

toxic

#

reportin

umbral shoal
#

im toxic???

idle zodiac
#

XD

umbral shoal
#

you get all defensive now?

sturdy oar
#

guys stop please

idle zodiac
#

kind person

umbral shoal
#

he is attacking me because skript doesnt work for me

sturdy oar
#

this is the help channel you know, not the be toxic channel

open girder
#

can someone ban @idle zodiac please

umbral shoal
#

dont forget you've been the one that's been shouting at me for no reason smh

idle zodiac
#

I asked him what is wrong with his skript

sturdy oar
#

ban no, but mute maybe

idle zodiac
#

he didnt answer

#

What have I done

#

lol

umbral shoal
#

i literally did

open girder
#

@atomic rapids sorry for the ping mate but can you deal with him?

idle zodiac
#

sorry for caps

#

i'm not stable today

#

i'm sorry

umbral shoal
#

also im not forced to give you any information and to say the least you arent permitted to scream at me for that

idle zodiac
#

i'm not going to scream

umbral shoal
#

you did

idle zodiac
#

I'm not going to

#

XD

#

my braincells hurt

umbral shoal
#

@sturdy oar thank you for the plugin its very helpful xd

idle zodiac
#

its a good plugin

sturdy oar
#

it's not mine

#

i didn't make it

idle zodiac
#

but if you are going to do serious stuff you should really learn java

sturdy oar
#

My stuff is completely useless compared to DeluxeMenus

idle zodiac
#

lol same

#

I used to use mymenu

#

but its so weird to use

#

deluxemenus is good tho

#

@umbral shoal sorry

umbral shoal
#

np

idle zodiac
#

also @open girder shut the 📠 up

#

what did i do banworthy

#

XD

#

then ping a staff member for no reason

#

but ye

#

ima cry over my 1.12 plugin now

#

cya later

native vault
#

Some of my plugin (which they have been uploaded in 2017) have been edited: they don't contains plugin.yml !

undone narwhal
#

How is it possible?

native vault
#

I don't know

#

I'm sure that the plugin was working on 2019, because i get rating (and I never upload a plugin without tested it) but now it doesn't start

sturdy oar
#

🤷‍♂️ idk man

#

I don't think the Plugin YML disappears from the jar

undone narwhal
#

I'm not sure that a yml file disapear from a compiled jar file ^^

calm cloak
#

Probably George Soros at play here

native vault
naive stratus
#

How does some servers manage to draw 3d text in the world?

frigid ember
#

armostands usually

#

or depends what you mean by 3d

naive stratus
#

I see. Thank you.

sturdy oar
#

armorstands = big lag

undone narwhal
#

no 🙂

#

ArmorStands = life

sturdy oar
#

packets are superior

frigid ember
#

huh

#

dont use armorstands

undone narwhal
#

I use armorstands through packets yes

#

To have a fancy moving HUD

chrome edge
#

There isn't any performance fix for armor stand in new versions so do not use much. Consider your players who have poor computer ,_,

undone narwhal
#

They can disable it

frigid ember
#

money could be held

#

by paypal

tiny dagger
#

yeah wait 24 hrs

pastel fox
#

I want my plugin to filter tab completions for all commands

#

TabCompleteEvent doesn't seem to fire

torn robin
#

@pastel fox what mc version

#

If you say 1.8 I’m going to be very disappointed

frigid ember
#

-.-

#

again

#

people can use what they want

pastel fox
#

@torn robin 1.15 ofc

torn robin
#

noice

pastel fox
#

:]

torn robin
#

The java docs I believe say TabComplete isn’t called

#

Lemme check

pastel fox
#

I'm not going to develop for 1.8! that was years ago

#

Yeah you can set the tab completer per command

#

I want to intercept every completion afterwards though. May need to use protocllib

torn robin
#

Note that due to client changes, if the sender is a Player, this event will only begin to fire once command arguments are specified, not commands themselves.

#

Tab complete should work fine

#

Just maybe not for the first part

sturdy oar
#

I never used Bukkit API

#

for tab complete

pastel fox
#

Ah

#

Well, I want to eliminate completions for certain command completely

#

Oh I see

#

It's firing after the label

chrome lark
#

command completions are done on the client, the server sends the command definitions to it

#

iirc, there is an event fired where you can remove stuff, plugins should also implement perms properly so that commands they can't execute won't be seen

tiny dagger
#

well it's sometimes only

dreamy glacier
#

someone know if it's possible to create a squid with guardian power ?

pastel fox
#

Could make a guardian and change it to a squid with protocollib

#

Or could make a squid and give the effect to players nearby

south shoal
#

any one that knows how to get vault money balance in your scoreboard

zenith siren
#

Use the vault API

south shoal
#

do you maybe have a link to it?

zenith siren
#
Economy eco = plugin.getServer().getServicesManager().getRegistration(Economy.class).getProvider()
#
eco.getBalance((OfflinePlayer) p)
#

That's what you need

south shoal
#

ok thanks

#

and were can I find the api?

gleaming helm
#

Cast to offlineplayer is unnecessary ^^

zenith siren
#

Documentation?

#

Oh oops

gleaming helm
#

Player is a subclass of OfflinePlayer so it's redundant to cast to a more generic type.

south shoal
#

so just eco.getBalance(p)

gleaming helm
#

Yeah. His code will work, it's just overly redundant.

south shoal
#

ok

#

I found the api github but can find a download

gleaming helm
#

Use the maven dependency

#

Are you building with maven?

south shoal
#

ecplise and no maven

gleaming helm
#

oof ok idk how to do it then

#

You should probably switch your project to a more modern build tool

#

Like maven or gradle

zenith siren
#

I know

south shoal
#

hahaha

zenith siren
south shoal
#

I don't know how that works it has been 6 nmonths

pastel fox
#

How can I block certain command labels from being sent in Player.updateCommands()?

south shoal
#

so donwload just vault

gleaming helm
#

Maven has existed for many years 😐

south shoal
#

and import it

#

hahahah lol

zenith siren
#

Add it to your build path @south shoal

south shoal
#

ok

zenith siren
#

Download it and add the jar to your build path

south shoal
#

and were do I put it on a orivate void onJoin or onEnbale

frigid ember
#

Help

south shoal
#

what

frigid ember
#

I have lobbysystem plugin
And he have a scoreboard and i have bedwars plugin and he have scoreboard

I want if i go to spawn this scoreboard in spawn if i go bedwars lobby this bedwars lobby scoreboard

south shoal
#

is it a online server hosting?

frigid ember
#

No

south shoal
#

is it a bungeserver?

frigid ember
#

NOO

#

NO Bungeserver

#

Normal server

#

And the scoreboard problem

gleaming helm
#

You're probably going to want to set up bungeecord

south shoal
#

yes

#

that would be mutch easyer

gleaming helm
#

That will also fix the scoreboard issue

frigid ember
#

Other ?

south shoal
#

than every server has his own plugins

dreamy glacier
#

Could make a guardian and change it to a squid with protocollib
@pastel fox have you a tutorial or a docs , so i could know how start.

frigid ember
#

There is no other solution

gleaming helm
#

Unless there's a really good reason not to use bungeecord, that's the only solution I can recommend

frigid ember
#

Oh

#

Ok

#

What hosting?@gleaming helm

#

Free ?

gleaming helm
#

wh..

#

n...

#

I mean

frigid ember
#

Tunity is free.

gleaming helm
#

Any hosting that's going to let you run a bungeecord network

frigid ember
#

Ok

#

Kevin will let you host Tunity on his computer for free.

south shoal
#

@zenith siren somthing is not working

gleaming helm
#

^ tuinity is a god tier spigot fork

#

But not what he's asking about

#

And no

zenith siren
#

What do you mean?

#

What is not working @south shoal

south shoal
#

Well I put it in but I don't know what I am doing wrong

frigid ember
#

This problem bungeecord

the motad in bungeecord cant see it

gleaming helm
#

😐

zenith siren
#

Change that plugin to this

frigid ember
#

I forked Tunity

#

and it make 1.7/1.8

#

😎

gleaming helm
#

😎

frigid ember
#

also added sm00th knockback, and ascyn hit detection

gleaming helm
#

😂 😂 😂 😂 😂 😂 😂 😂

#

😐

frigid ember
#

Tunity is free ?

#

as well as disabling mob-ai

#

24 hours online ? @frigid ember

#

I also fixed cannon glitches, and multi-threaded the mainframe, so each thread will run efficiently.

gleaming helm
#

oh god dude you remind me of the 10 year old me back when minecraft was like still in beta

#

No

south shoal
#

@zenith siren and were do I put the seccond rule eco.getBalance((OfflinePlayer) p)

gleaming helm
#

Tuinity is a fork, just like Spigot

#

It's not relevant to your problem

frigid ember
#

You can use my fork

#

It's so powerful

#

it doesn't need a host

#

😉

#

🍴

gleaming helm
#

LOL

south shoal
#

@zenith siren got it

zenith siren
#

GG

#

+25 Karma!

frigid ember
#

My fork, you just double click, and install

#

25gb free

#

1ms

gleaming helm
#

24/7 online server

frigid ember
#

my fork also runs on specs that are better than hypixel's whole network

#

once u download my fork, make sure you put your credit card information, and your ssn, we take that for security purposes

#

😉

south shoal
#

only he doesn't know p @zenith siren

zenith siren
#

Who is he, and what doesn't he know?

south shoal
gleaming helm
#

@frigid ember i9 9999K? (/s I know that's not a real cpu that's the joke)

south shoal
#

hahah

zenith siren
#

Change that p to player

frigid ember
#

No Kevin.

#

Oh dear boy

zenith siren
#

And you can remove the (OfflinePlayer) before it

frigid ember
#

We used that when we were in beta stage..

zenith siren
#

AMD Threadripper

south shoal
#

well @zenith siren you are a leggend

frigid ember
#

Our team custom made each pc component

zenith siren
#

I know 😎

gleaming helm
#

lol

frigid ember
#

Optimizing it fully for minecraft

gleaming helm
#

Die manufacturing in house

south shoal
#

Do you maybe know how to set date and time in a scoreboard?

gleaming helm
#

@south shoal Get date. Format date. Add to scoreboard.

frigid ember
#

hi

#

We also upped the tps to 120, ensuring no issues will be caused, only better performance, and your cpu usage never going above 40%

gleaming helm
#

LOL

#

Actually I think badlion at one point did like 100tps or something like that

frigid ember
#

tf

#

I'm smarter than badlion

#

badlion had a pedo

#

I had a brain

gleaming helm
#

Unconfirmed *

frigid ember
#

archyb0t

#

gang gang

gleaming helm
#

That's completely unconfirmed

frigid ember
#

yo no cap, back in like 2015, archybot and I used to work on prac servers

#

it was chill

#

what do you mean unconfirmed lmfao?

#

have you seen the nail in the coffin v2 video?

#

It's literally a full video of proof

#

compressed into a video for entertainment, and that shit was fun af to watch

gleaming helm
#

Until he's convicted in a court of law I don't believe in calling people pedos

frigid ember
#

😒

gleaming helm
#

Was he convicted?

frigid ember
#

yeh by me

#

😉

gleaming helm
#

Right so he wasn't

frigid ember
#

yeh he asked a 17 year old girl for ___

#

when his state didn't allow that

gleaming helm
#

So why wasn't he convicted

#

And sent to prison

frigid ember
#

cos he on the chase

#

?

#

So if a guy killed a girl, and no one knows about it, except some people in a small community

south shoal
#

@gleaming helm Date now = new Date(); SimpleDateFormat format = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");

frigid ember
#

who's going to do anything

south shoal
#

like this

frigid ember
#

you

#

it's like

#

oh i saw this guy have sex with a girl

#

but where's your proof?

#

stop dude

gleaming helm
#

Dude

#

It's not that simple

#

Imagine I said

#

"HEY BRO YOU RAPED ME!"

frigid ember
#

...

#

thats gay

gleaming helm
#

Then like

frigid ember
#

ffs

#

go away

#

lol

#

Kevin, watch the nail in the coffin v2 video

#

u raped me

gleaming helm
#

It didn't actually happen but

frigid ember
#

then tell me again

#

I am under 18

#

Haha!

#

it would be uactually lmao, ok this is weird

gleaming helm
#

@frigid ember A fucking youtube video that's designed to be entertaining is not evidence lol

frigid ember
#

?

#

would be weirder to film it for proof

#

It literally shows evidence lmfao

#

Trust me after the video

south shoal
#

@gleaming helm Date now = new Date(); SimpleDateFormat format = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
^^

frigid ember
#

It shows the evidence

#

the dms

#

the messages

#

the official discord account

#

dms can be faked

#

etfc

#

brotha

#

? ?? ? ? ?

gleaming helm
#

^

frigid ember
#

bro

#

he showed it on recording

#

going to discord

gleaming helm
#

Can be faked

frigid ember
#

🤦‍♂️

#

inspect element lOL

gleaming helm
#

🤦

frigid ember
#

just watch the video

#

...

gleaming helm
#

It can all be faked

frigid ember
#

nah

#

he will get +1 view

#

why give him the $

#

can't argue with people who don't want to get evidence

#

🤷‍♂️

#

probs monetized

#

right?

undone narwhal
#

Guys go #general

gleaming helm
#

Until the person is convicted in a court of fucking law I like to be careful about what I believe.

frigid ember
#

mhm

south shoal
#

want to display time and date seprete

frigid ember
#

ho

#

what you need

#

hi*

#

sorry

south shoal
#

I want to discplay the date and time in my scoreboard

#

on the right

frigid ember
#

?

#

ok

south shoal
#

so this is what I come up with

frigid ember
#

I like using the simpledateformatter

#
Date date = Calendar.getInstance().getTime();  
DateFormat dateFormat = new SimpleDateFormat("yyyy-mm-dd hh:mm:ss");  
String strDate = dateFormat.format(date);  ```
south shoal
#

I want to display the time and date seperate

frigid ember
#

taoh

#

oh*

#

then alr good

#

format both the dates you have

#

and store them as strings

south shoal
#

so can you maybe give a exmpale

#

because this is all new for me

frigid ember
#

String s = date1.format(now);

gleaming helm
#

spoonfeed me!

south shoal
#

ok

#

and that for the seccond

frigid ember
#

check this out

south shoal
#

ok

frigid ember
#

and do the same for the next one

south shoal
#

aaaa I see

#

ok thank you man

frigid ember
#

np

#

kevin

#

@gleaming helm

#

hello

south shoal
#

How can i make it that it reloads every sec

pure pasture
#
Bukkit.getScheduler().scheduleAsyncRepeatingTask(Main.getMain(), new Runnable() {
            
            @Override
            public void run() {
                // TODO Auto-generated method stub
                
            }
        }, 20, 20);
south shoal
#

Can you explain how I need to set my thing there the full rule of my code ore a public void ?

brisk iris
#

Any way to display a user input as a placeholder? Like have the user type... their favorite food. then display that using deluxechat when you hover over their name?

shadow orbit
#

I'm getting this error when loading a plugin on 1.14.4 (the version the plugin is built for)

[Server] Server thread/ERROR Error occurred while enabling Citadel v4.0.2 (Is it up to date?)
[Server] INFO java.lang.NullPointerException: null
[Server] INFO at vg.civcraft.mc.citadel.model.CitadelStorage.registerMigrations(CitadelStorage.java:32) ~[?:?]
[Server] INFO at vg.civcraft.mc.civmodcore.locations.chunkmeta.block.table.TableStorageEngine.updateDatabase(TableStorageEngine.java:23) ~[?:?]
[Server] INFO at vg.civcraft.mc.citadel.Citadel.onEnable(Citadel.java:107) ~[?:?]
[Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:461) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:375) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:449) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:266) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:775) [Spigot_Latest_1.14.4.jar:git-Spigot-56f8471-3e3818b]
[Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]
keen compass
#

whatever is wrong with it, it is suffering an NPE

#

means the author of it will have to fix it @shadow orbit

sturdy oar
#

wtf is that syntax highlighting

#

and why did you add it

frigid ember
#

hello

south shoal
#

Hello

odd knoll
#

Hey.

frigid ember
#

Do you guys know how to detect all kinds of reload attempts.

Currently I detect it when a player types it in the chat, or when a console command is sent.
This should detect all kind of reloads right?

#

oh wait, if they use some 3rd party plugin like plugman I'm fucked

sturdy oar
#

"/reload" is the most stupid command ever added into the game

#

expecially since no one programs their plugins to support that feature

keen compass
#

just add a reload command to your plugin and don't worry about what other ways they try to reload with

#

as long as you document that your plugin doesn't support those other ways, everytime someone complains about it that they reloaded, just direct them to your resource comment of that it has a built in reload command 😛

sturdy oar
#

yeah implementing /<plugin> reload

#

is like the most simple thing ever

south shoal
#

@pure pasture It does not work

#

He can't find main

#

someone els?

frigid ember
#

what did he say

#

what u want

timid valley
#

I love how yall put all the hate on /reload, when it's not reloads fault that plugins dont code correctly.

frigid ember
#

protocollib 😡

timid valley
#

reload works perfectly fine for me

undone narwhal
#

Aikar? really quick question. Does TaskChain have a looping task system?

timid valley
#

no, thats not the purpose of TC

#

doesnt align with what its for

undone narwhal
#

Okay thanks, I was thinking it too but a friend told me the opposite...

frigid ember
#

reloads work fine for me

#

i never complained

south shoal
#

underneed the highlightet bar

frigid ember
#

i just wanted my plugin to differenciate a server restart and a reload.

sturdy oar
#

I love how yall put all the hate on /reload, when it's not reloads fault that plugins dont code correctly.
@timid valley I've wrote that if I hate reload, it's because basically no one codes their plugin with the mindset that someone would /reload the entire server

frigid ember
#

why hate the command then

#

hate those devs lol

south shoal
#

/reload reload all plugins

#

/restart the server

sturdy oar
#

wow i didn't know that

#

smh

frigid ember
#

plugins like plugman exists, i don

undone narwhal
#

@south shoal seems that you don't have getMain defined

frigid ember
#

i don't want to manually support each third party plugin yk what i mean

#

onDisable is called whether you restart or are being reloaded

#

would be nice if plugman had an api lol, so it has its custom event

undone narwhal
#

Why do you need to differentiate a reload /restart?

south shoal
#

to reload one plugin just do /reload <pluginname>

sturdy oar
#

but...

frigid ember
#

ik how to reload man

sturdy oar
#

that's why we developers implement /plugin reload

#

instead of realoding the whole server

south shoal
#

yup

frigid ember
#

no just for my api

#

i wanted to have a specific event

#

called

#

ServerReloadEvent

#

so iw anted it specifically for server reloads

south shoal
#

@undone narwhal how can I define Main.getMain

frigid ember
#

.

sturdy oar
#

lol

undone narwhal
#

This is something nobody needs usually, so don't lose your time solving a stuff like that 😉

sturdy oar
#

you write a method?

frigid ember
#

for an api, you can't make a custom command for the user

sturdy oar
#
public static Main getMain() {return plugin;}
frigid ember
#

nah

#

that makes no sense then

#

do this

#

no

#

thats false

#

you cant return this in a static context

#

lmao

timid valley
#

well heres a tip, if your plugin is loaded post world and doesnt support reloading, and uses entities or other world state, your plugins broken 🙂

frigid ember
#
private static Main instance;

public void onEnable.. {
   instance = this;
}

public static Main getInstance() {
     return instance;
}```