#help-archived

1 messages ยท Page 24 of 1

frigid ember
#

i hope

silk bane
#

lies

frigid ember
#

what

sick citrus
#

How much are you paying ?

naive stratus
#

@sick citrus Works now ๐Ÿ˜‰ Thank you so much!

frigid ember
#

70$/m

#

for 64gb

pale plaza
#

with a skript do i install like a normal plugin PLZ

sick citrus
#

Read the Skript documentation

#

ยฏ_(ใƒ„)_/ยฏ

#

@naive stratus no worries

pale plaza
#

@sick citrus Dont say anyting about install

#

and what would i click new file or new dir or upload

sick citrus
#

@frigid ember for that price it could be either really. But if you're really ready to pay 70$ a month, I strongly suggest renting an actual dedicated machine, that you KNOW is a dedicated machine.

frigid ember
#

its my first time buying one

silk bane
#

'480 gbps' suggests ovh

sick citrus
#

it does.

silk bane
#

their cheapest dedicated server with 64gb ram (on soyoustart) is $66/month

#

and it's never in stock

sick citrus
#

you don't need 64gig of ram tho

#

unless you worldedit like crazy

silk bane
#

he's being advertised a server with 64 gb ram

frigid ember
#

for a network u do

sick citrus
#

32 is WAY more than enough for most applications, even networks

naive stratus
sick citrus
#

who says 12288 MB lol

#

say 12G :v

naive stratus
#

The page does haha

#

I just copied ๐Ÿ˜‰

silk bane
#

cheapest ovh non-sys server is $69/month which only has 32gb ram

sick citrus
#

@silk bane small servers might just require a Kimsufi

#

(same company)

silk bane
#

kimsufi doesn't offer 64gb like solo claims

sick citrus
#

To be honest I'm using a file server for my minecraft server

silk bane
#

best case for him is probably a soyoustart server

sick citrus
#

and it works absolutely great up to 400 players

frigid ember
#

wym by file server

silk bane
#

and i doubt the hosting company is running a profit of $4/month, and is also absorbing the setup fees

sick citrus
#

I mean an actual file server

#

16TB of hard drive, poor CPU, 16Go of ram

#

and a crapload of bandwidth

#

but I don't recommend getting that

amber monolith
#

Heyo! I'm curious if it is possible for players who join my server to automatically get a chat tag? Right now they have to manually do /tags (I'm using the DeluxeTags plugin)

sick citrus
#

get Ovh Rise1

#

@amber monolith well yeah, you can code that yourself

#

ยฏ_(ใƒ„)_/ยฏ

#

Also Ovh rise1 is 52โ‚ฌ a month for 32G, and 66โ‚ฌ a month for 64G

amber monolith
#

There isn't any plugin that might help me with it otherwise?

sick citrus
#

and I suggest keeping the 2x2To hard drive and setting up a ramdisk

#

well, @amber monolith probably, but we don't know all plugins by heart

#

especially since most of us code our own

amber monolith
#

Understandable, I was just wondering that's all.

sick citrus
#

I suggest you browse the Resource on spigotmc.org, filter by "tag" and look for one that does it automatically

#

or keep your plugin and find one that launches the /tags command on player login

#

or do it via permission plugin

#

there's just so many ways

amber monolith
#

I see. Thanks.

velvet halo
#

The xeon for Rise 1 isn't that good

sick citrus
#

Or ask someone for a small plugin, that takes like 15 minutes to do :} @amber monolith

#

lol husker, dont look at benchmarks

amber monolith
#

No it's fine, don't want to bother other people with it.

velvet halo
#

lol don't be stupid

sick citrus
#

Well you do what you want really

#

if you want an i7, take the KS-8

#

16โ‚ฌ a month.

silk bane
#

that's a crap i7 tho

sick citrus
#

But it's 16โ‚ฌ a month, and I highly doubt that, save from worldediting, you will ever max it out.

narrow crypt
#

If i share my screen while hosting my server my ip gets put in the console on join, is it possible to hide that something like the same way as event.setjoinmessage

sick citrus
#

@narrow crypt why do you care if your IP is showing ? not like anyone can do anything with it really.

narrow crypt
#

I just wanna

sick citrus
#

Well then don't show your console in stream :}

narrow crypt
#

haha man

silk bane
#

but they use your ip to connect to your server

narrow crypt
#

never thought of that

#

yea im talking about making a plugin

#

so maybe there was a option to change that console message?

sick citrus
#

not that I know of, but maybe

narrow crypt
#

or disable

silk bane
#

you can probably intercept system.out

#

but why would you

narrow crypt
#

let me have my privary preferences xD

sick citrus
#

use a VPN then

#

easy fix

#

lmao

narrow crypt
#

hahahah pleasseeeeee

sick citrus
#

are you on linux ?

narrow crypt
#

nope

#

windows

sick citrus
#

then you're doomed

#

with linux you could sed it

#

haha

narrow crypt
#

but the server the plugin will be for if it works is linux based

sick citrus
#

well that's what I meant

#

where's the server located ๐Ÿ˜›

narrow crypt
#

xD

frigid ember
#

E3-1275 v5 @ 3.60Ghz
64GB DDR4
1Gbit uplink
480GB SSD
480Gbps ddos prot
CentOS 8.1
mariadb, httpd and multicraft

#

thats the stuff

sick citrus
#

eww multicraft

#

I mean there's probably somethint else going on on your machine. Are you absolutely sure there's no TPS lag ?

#

can you give /timings ?

#

@narrow crypt

#

you can launch the server like this

#

java -jar spigot.jar | sed s/<your ip>//g

#

it will replace "your ip" with ""

#

well with a blank string

narrow crypt
#

ah okay

#

ill search furthur since i want to hide everybody's ip

#

thanks for the effor

sick citrus
#

well you can as well

#

just use a regex instead

#

hang on

#

java -jar spigot.jar | sed s/\(\(1\?[0-9][0-9]\?\|2[0-4][0-9]\|25[0-5]\)\.\)\{3\}\(1\?[0-9][0-9]\?\|2[0-4][0-9]\|25[0-5]\)//g

#

something like that

#

or you could do

#

java -jar spigot.jar | sed s/\(\(1\?[0-9][0-9]\?\|2[0-4][0-9]\|25[0-5]\)\.\)\{3\}\(1\?[0-9][0-9]\?\|2[0-4][0-9]\|25[0-5]\)/<IP REMOVED>/g

narrow crypt
#

cool

#

thanks

sick citrus
#

that doesn't work

#

lemme give it another go

#

do you have a start script ?

narrow crypt
#

can't get to that rn

sick citrus
#

there you go

#

java -jar spigot.jar | sed -r "s/(\b[0-9]{1,3}\.){3}[0-9]{1,3}\b/IP removed/"

narrow crypt
#

poggers

#

ill save it

#

thanks

sick citrus
#

removes all of them obviously

#

it does have the slight inconvenient that you don't see standard input

#

(when you type in console it doesn't show what you type)

narrow crypt
#

thats np

#

thanks for the effort

pure pasture
#

Hi guys I have a Problem: I need to generate a 3x3 chunks area like a normal minecraft map and the rest should be void. Is there a way to do that?

naive stratus
#

Anyone here know a good score board plugin that I can modify? I just need something that looks good, maybe paginated, that I can add a score column to.

frigid ember
#

@pure pasture i reco just making a void map

#

and making the chunks urself

#

or

#

idk

#

but

#

generate a normal world

#

using mv

#

but set your distance in server.properties

#

to like 2

#

and enter the world

#

and then shut hte server

#

got hte mv files

#

and turn the generator to empty or smth

#

idk

#

its so crazy, it just might work

harsh anvil
#

So i'm listening to the EntityShootBowEvent get the force, and add it to another arrow, however the force of that spawned arrow is about 2-3x lower than the original
World#spawnArrow(entity.getLocation(), vector2, force*3, 0);

#

is there any reason for this?

#

or am i doing something wrong

#

the length of both vectors is the same

#

i do use the velocity of the entity though, so not sure if thats the issue

boreal tiger
#

Is force a vector or scalar in that event?

harsh anvil
#

idk

boreal tiger
#

Wait nvm what i said xD

harsh anvil
silk bane
#

i don't think force means the same thing as speed

harsh anvil
#

how would i get the speed of the other entity then?

#

yeah i think that might be the issue

boreal tiger
#

Get the arrow entity and set the velocity?

#

Maybe

#

Not sure if that would work

harsh anvil
#

ig i could do that

#

lets see

silk bane
#

looks like you're right about the speed being 3x the force

#

ItemBow.java:43

wraith dew
#

i think shooting force changes depending on how far you pull the bow

silk bane
#

entityarrow.a(entityhuman, entityhuman.pitch, entityhuman.yaw, 0.0F, f * 3.0F, 1.0F);

#

where f is the force

harsh anvil
#

haha

#

quick maths

tiny dagger
#

isn't the force the vector itself?

harsh anvil
#

no

silk bane
#

so yeah, using spawnArrow with speed = 3 * f

harsh anvil
#

force is a float

silk bane
#

does what you want

harsh anvil
#

odd

half wigeon
#

Hi, I'm wondering where the Spigot Server source code is that parses the Playerdata files - a link to the git would be nice (since I can't work out what git Repo is the right one)

silk bane
#

if you care, default arrow damage is 2.0 + k * 0.5D + 0.5D, where k is the power level of the bow

wraith dew
#

isnt that NMS @half wigeon ?

half wigeon
#

i thought NMS doesn't exist in 1.14.4 anymore...

wraith dew
#

net minecraft server?

tiny dagger
#

okay

silk gate
#

the minecraft server does very much exist

tiny dagger
#

imma go throw myself

wraith dew
#

you know spigot is just NMS with extra code on top

#

it cant function without the core mechanics

silk bane
#

ok nvm the arrow damage code is spread out over a million different classes and is fucked overall

half wigeon
tiny dagger
#

still better than it was in 1.8.8

#

@half wigeon still uses nms

wraith dew
#

just decompile a spigot jar

tiny dagger
#

but the nms code can be found after you use buildtools

silk gate
#

what are you even trying to do

#

if you wanna parse player data nbt

#

just use a lib

tiny dagger
#

playerdata apparently

silk gate
half wigeon
#

ItemStacks get serialized to JSON - I want to know how so that I can save all that data in Neo4j (GraphDB)

silk gate
#

what are you using a graph db

velvet halo
#

Use gson

half wigeon
pure pasture
#

Ok I changed my plans

#

How can you generate a new map from an template map?

shrewd hornet
naive stratus
#

When I pick up an item and drop the item again, is it not still the same item? I get different UUIDs for them. Need to make some sort of workaround now :S

inland meteor
#

Why do you need to get the uuid?

half wigeon
#

the itemmeta should be the same

naive stratus
#

I'm tracking who dropped the item and who picked it up

half wigeon
#

but the entities uuid will be different

naive stratus
#

But when I drop it again, I get a new record with a different uuid in the database.

inland meteor
#

every time you drop it, it generates a new uuid

#

because the item itself hasn't changed, but it's a new entity on the floor

half wigeon
#

you could put the UUID of the player it in the metadata using PersistentData(Container)

naive stratus
#

That's what I tried at first, but for some reason it changes every time I drop it again. Then i tried with the entity uuid instead, but same result.

half wigeon
#

you could also put your own db generated id into the itemmeta - I will have to code that myself sometimes too

naive stratus
#

(Will refactor later :P)

boreal tiger
#

also dont immediately store in the in the database

#

add it to a queue and then update stuff every X minutes or so

naive stratus
#

With this code, I just tried dropping and picking up ONE diamond and ONE spruce_planks. This is my database: https://imgur.com/a/6LWI5FI

#

First column are item ids

uncut whale
#

Anyone heard of or familiar with the "EnderCore" plugin? Its listed as a dependency for another plugin I want but I cannot find "EnderCore" anywhere.

half wigeon
#

@uncut whale give us the other plugin - we might get it from its pom.xml file

uncut whale
#

will do

#

apparently taxes works on the latest version despite not being updated, hopefully thats true

sullen narwhal
#

When you download the plugin, you get EnderCore with it.

uncut whale
#

ah, ok. Feel like an idiot lol. Should have seen that.

#

Thanks

half wigeon
#

@naive stratus I think I know why ... I've sent you a reply on pastebin with a few other corrections too...
But I think your problem is that you write into the persistent data container of the Item(extends Entity) which gets deleted/overwritten on pickup and not into the ItemMeta -> ItemStack

naive stratus
#

@half wigeon Where did you send it exactly?

half wigeon
frigid ember
#

It happens around 0:20

half wigeon
#

looks like a beautiful exsample of server lag

proper bison
#

why do u needed to know can i ask

naive stratus
#

@half wigeon You're the man! Thank you so much. Now I can finally move on.

#

And thank you for pointing out that monsters are able to pick up too. Didn't think about that.

half wigeon
#

was a nice challange ๐Ÿ˜„

naive stratus
#

I actually don't know enough about MC to be doing this haha. Been playing for a day or two, once a year, since 2010, so I am missing a lot of important parts I think ๐Ÿ˜›

#

Any important tips for someone like me?

frigid ember
#

@half wigeon he didn't freeze or rubberband?

half wigeon
#

never give up - im doing that for 5 years now and I've basically drifted away from plugins to wards Plugins that make coding Plugins easier ;)

naive stratus
#

Giving up is never an option for me ๐Ÿ˜› Been doing serious programming for 11 years now. It's my drug. The harder is it, the more I want to solve it ๐Ÿ˜›

next orbit
meager lantern
#

You probably want to remove -Xmx512M from behind BuildTools.jar

next orbit
#

Thanks mate

agile pumice
#

I have one question. Can I with Java without any additional libraries (not counting Spigot API) get one string from GitHub JSON file?

silk gate
#

spigot ships gson

#

just use that

agile pumice
#

Spigot contains gson inside Spigot API jar? Well thats good news

#

Thank you for reply

kindred vector
#

Heya any forums staff member around to ban a member redistributing the jetsminions plugin

keen island
#

is there any way to change my spigot name?

harsh anvil
#

donating

keen island
#

oh, had no idea thanks

harsh anvil
#

yeah thats pretty much the only way

keen island
#

So do i put a name change request in the reason for donating?

harsh anvil
#

not sure

glossy stump
#

hi does this channel support for bungeecord?

#

i want to asking that

tiny dagger
#

no, you get a tab where you can change your name every 60 days

keen island
#

is there anyway you can show me where? i cant find it

tiny dagger
#

you need to donate first

harsh anvil
#

gotta donate first

#

:p

keen island
#

oh alright, Thanks xd

tiny dagger
#

as for the tab it's not hard to find

keen island
#

yea figured, thanks

tiny dagger
#

it's on your profile

keen island
#

Alright

tiny dagger
next orbit
#

Dude my servers taking 132s to start up

tiny dagger
#

everytime?

next orbit
#

yeah

tiny dagger
#

probabily legacy worlds or something

next orbit
#

its like a fresh spigot 1.15.2 install

tiny dagger
#

weird

next orbit
#

wdym legacy world?

tiny dagger
#

like from previous versions

next orbit
#

yeah not that. idk what it could be unless its cause im using an OVH vps

#

but I was running GTA server yesterday so

naive goblet
#

So could you specify what takes so long?

harsh anvil
#

seems like your worlds are taking a long time to load

#

hdd maybe?

next orbit
#

everything just takes forever. is it possible for hardware to be that bad?

frozen cedar
#

Viarewind allows 1.8 support for bossbar and uses a wither within view distance, but when I go to big servers the wither isn't visible to the player, any idea what they do differently?

tiny dagger
#

maybe protocolsupport?

frozen cedar
#

What would protocolsupport do differently tho

tiny dagger
#

i dunno

#

hide it

#

withers can be hidden

frozen cedar
#

By doing? Lmao

#

I think it is hidden but it's charged

tiny dagger
#

oh

#

thats probabily because of bar percentage

frozen cedar
#

Oh shit, you're probably right

harsh anvil
#

display: none

frozen cedar
#

Hm?

harsh anvil
#

its a bad css joke

frozen cedar
#

Rip, I wish dude

tiny dagger
#

what's the joke

frozen cedar
#

To hide the wither

#

display: none

harsh anvil
#

that you hide it with display: none

tiny dagger
#

oh

next orbit
#

So what do you guys think I should do? Is there a way to fix it or do I just need better server hardware?

frozen cedar
#

Probably a failing hard drive at that point

tiny dagger
#

does it make weird sounds?

#

๐Ÿค”

frozen cedar
#

You could try defragmentation if it's windows

#

But yeah, moving to an SSD if you aren't using one currently could fix that

#

Or it could potentially be very slow ram aswell

storm tulip
#

Do u guys reccomend using a custom event bus ?
I have an addon thingy so people can load modules for my plugin,
think plugin for a plugin. - this is just to keep it leaner and less bloated cause factions setups can differ a lot.

public class FWildAddon extends Addon {


    @Override
    protected void onEnable() {
        getInstance().getLogger().info("Enabling FWild-Addon!");

    }

    @Override
    protected void onDisable() {
        getInstance().getLogger().info("Disabling FWild-Addon!");
    }
}

People can basically do this and have access to the server instance and all, but should I fire bukkit events or use a custom event system ๐Ÿค”

dense escarp
#

guys how can i reset all rank too default in luckpermsi

next orbit
#

Its a vps on a SSD

chrome lark
#

i mean, custom vs using the bukkit one really doesn't matter in the long run, but, people are gonna be familiar with how bukkits event system works, so I probs wouldn't bother unless you where going cross platform or had some major benefit of an alternative

storm tulip
#

yeah Im thinking bukkit because people hooking in with actual plugins would have a way to use them at the same time and I wouldnt need 2 events for things

modern sequoia
#

why would you use something else though. whats wrong with the bukkit system

storm tulip
#

I wanna do event for like factions fly checker

#

which runs every 5 ticks

#

I dont know how much slower bukkit owuld be

modern sequoia
#

it depends on what you do within the listeners

#

not on the bukkit api

#

it costs nothing to fire a event

storm tulip
#

Okay cool

chrome lark
#

depends on your needs

storm tulip
#

Honestly didnโ€™t know how it works

#

Also private events

chrome lark
#

could the event system be faster? yes is it generally going to be an issue? no

storm tulip
#

Like in my addons and stuff

#

Okay

gray trout
#

Does anyone know what plugin is responsible for blocking ender pearls, with the message "You can not use enderpearls in survival."?

modern sequoia
#

bukkit keeps a list of listeners classes you registered. then calls them if you call the event

#

basically how every event handler works

chrome lark
#

A plugin I've been working on outside of free time/health is going through a major rewrite and we're switching to a different event system so that we can make a cross platform API

ocean prism
#

Hi! I have a little problem, here I'm trying to retrieve the name of a block, problem being that I was forced to use an iterator to avoid having ConcurrentModificationException but because of that, I only have NullPointerException on custom names when normally not

chrome lark
#
  1. You're using the iterator wrong, next returns the next element, so, you're literally going to be removing the next element in the list each time, use the remove method on the iterator
#
  1. You're not handing if the entity does not have a custom name, it returns null
rotund fulcrum
#

We cannot interact with chests, crafting tables, or furnaces within spawn region. How do I fix this? We've done /rg flag spawn interact allow but never works.

chrome lark
#

also, catching those two exceptions there is just blatently wrong, use instanceof if you need to check the type of class

iron nebula
#

Those regex replaceAll, jezz

ocean prism
#

Oh okay, and what's the right interator ?

chrome lark
#

I'd suggest googling

timid valley
#

@rotund fulcrum that's vanilla, see /gamerule spawnRadius

#

set it to like 1

rotund fulcrum
#

@timid valley We're using Spigot 1.8.8

chrome lark
#

Quite simply, if you're calling next on an iterator more than once in a loop, you're probably doing it wrong

timid valley
#

ok, i think what i said is still valid

chrome lark
#

added in 1.9

#

r i p

iron nebula
#

server.properties has spawn-radius too

chrome lark
#

that's for the protection, doesn't affect the random offset afaik

rotund fulcrum
#

@timid valley We changed it to 0, but still no result.

timid valley
#

well he wants to change protection cat lol

#

try spawn radius in server.properties then

rotund fulcrum
#

He's done it in-game and server.properties

timid valley
#

well, consult your provider of 1.8 for support then, dunno ๐Ÿ˜’

rotund fulcrum
#

Provider = google cloud

#

๐Ÿ˜”

iron nebula
#

Might be saved in level data?

chrome lark
#

protection is done in server.properties

rotund fulcrum
#

We're self-hosted

timid valley
#

i mean whoevers maintaining the 1.8 jar. i hope your not using the last one spigot published

#

if so.... ouch

modern sequoia
#

no one is maintaining 1.8

#

as far as i know of

timid valley
#

there sadly is some people

#

lots of people

iron nebula
#

Hypixel

#

And all the big networks

ocean prism
timid valley
#

hypixel doesnt use anything you can call bukkit anymore

chrome lark
#

nah, hypixel are even older than 1.8

#

but ^

modern sequoia
#

they maintain their servers, not spigot itself

iron nebula
#

Oh yeah, theirs are 1.7

#

But yeah, thats heavily changed

chrome lark
#
  1. Please don't ping
modern sequoia
#

1.7?

chrome lark
#
  1. No, you're still calling next multiple times
ocean prism
#

Like I have to do a variable that's next once and for all?

chrome lark
#

yes

rotund fulcrum
#

We're using Paper Spigot 1.8.8

chrome lark
#

as I said, that spawn-radius thing in server.properties configures the protection radius

frigid ember
#

Hey guys is there a better way to do this?

    if (combat == null) {
        CombatTagTimer newTimer = new CombatTagTimer(10);
        newTimer.runTaskTimer(main, 0L, 20L);
        timer.put(p, newTimer);
    }
    if (combat.isCancelled()) {
        CombatTagTimer newTimer = new CombatTagTimer(10);
        newTimer.runTaskTimer(main, 0L, 20L);
        timer.put(p, newTimer);
    } else {
        combat.setCurrentTime(0);
    }

Can i check for null and if its running on the same line or do they haev to be seperated

#

well, i know you cant have 2 statements on the same line, so try seperating them

#

im not good at codling tho so dont take my word as 100%

arctic cloud
#

codling

modern sequoia
#

you can use a conditional OR to remove the duplicated code

#

if (combat == null || combat.isCancelled())

frigid ember
#

It wont throw an npe?

modern sequoia
#

no

bronze marten
#

No its lazy or

modern sequoia
#

because if combat is null it will return true

bronze marten
#

If first statement is true the other wont be executed

frigid ember
#

Ok thanks

ocean prism
#

Hey, I've got a problem again, this time, every time a tnt explode, the server timed it out :/

slim hemlock
#

how do I tell a plugin to huff my shorts and that I want to hijack their command label?

wanton delta
#

Make a different command

#

Look at CommandPreProcessEvent

#

Nvm, doesnโ€™t give the info I thought it words

#

Would *

old barn
#

Is there a way to check if the player's inventory is empty and the player has no armor placed in the same check?

inland meteor
#

player#getInventory#getContents#length == 0

old barn
#

Does this check if he has any armor on?
@inland meteor

inland meteor
#

player.getInventory().getArmorContents().length

#

?

#

I can't remember whether that exists

lone rapids
#

I'm trying to make my particle move towards a block that the player is looking at. Here's what I have so far. The particle changes its location but never moves more than one block away from my character

#

Now that I think about it, I need to move the 'from' location outside of the bukkit runnable? Is that the fix?

wanton delta
#

first off

#

you should never access bukkit api asyncronously

#

big nono

lone rapids
#

the .runTaskAsynchonously?

wanton delta
#

correct

#

use runTaskTimer

lone rapids
#

ok

#

second?

wanton delta
#

use a block iterator to get all the blocks from a location to another

lone rapids
#

Oh, is that how it's done? lol They already have a method

frigid ember
#

I bought the 32GB plan ($80) from Shockbyte and my server gets 7.42 tps with 15 people on

#

was i scammed?

wanton delta
#

is it a vps

frigid ember
#

what do you mean by vps?

wanton delta
#

yuo should know if you bought a dedicated or vps

#

vCores vs regular cores

silk bane
#

yeah probably

wanton delta
#

vCores dont perform taht well no matter how much ram you have

old barn
#

Is there a way to check if the player's inventory is empty and the player has no armor placed in the same check?

frigid ember
#

@wanton delta

wanton delta
#

hm

#

your plan doesnt even mention processor

#

thats concerning

silk bane
#

if you have $80/month to spend just go straight to the host that shockbyte probably resells

silk gate
#

(ovh)

silk bane
#

cough

inland meteor
#

"Intel Xeon E5-1650v4 @ 4.00GHz CPU"

frigid ember
#

well i already purchased it

#

so am i fucked?

silk bane
#

do they have a refund policy

frigid ember
#

7.42 tps for a month?

#

@silk bane they dont

silk bane
#

lol

wanton delta
#

"Intel Xeon E5-1650v4 @ 4.00GHz CPU"
that is probably what all of their vps are running on

#

no the actual server hes using

ocean prism
#

Hey, I've got a problem again, this time, every time a tnt explode, the server timed it out :/

inland meteor
#

Their refund policy is within 24 hours

frigid ember
#

i tried to refund beforehand and they said they dont allow

#

after 1 hour of buying

inland meteor
#

They do

#

lmao

#

its on their site

frigid ember
#

they didnt let me

inland meteor
frigid ember
#

i messaged them and they said i cant refund though

silk bane
#

depending on how you paid for it, you might have a strong "not as described"/"merchandise unacceptable" case with your payment provider

wanton delta
#

@lone rapids so i would suggest to use BlockIterator(LivingEntity)

#

and then iterate every block

silk bane
#

since they explicitly claim 640 slots and you can't hit 15

frigid ember
#

its 7.1 tps now

#

7.03

lone rapids
#

Ye, I just got it working without BlockIterator, but that sounds the way to go. I will check it out, thanks for your help Martoph!

silk bane
#

if they won't give you a refund, all you have is your payment provider.

frigid ember
#

is it maybe because i have 30 plugins?

silk bane
#

don't need to give us live updates on the tps

wanton delta
#

while the iterator has a next block, create a new runnable on a delay of x ticks (x ticks being however many ticks since the first one was sent)

#

yea no problem!

old barn
#

Is there a way to check if the player's inventory is empty and the player has no armor placed in the same check?

inland meteor
#

hard i already answered that?

wanton delta
#

plugins are usually not the cause for tps dropps

frigid ember
#

ok

inland meteor
#

player.getInventory().getContents().length is to check for the inventory

silk bane
#

@frigid ember you can drop a timings report here, but it's probably the host

frigid ember
#

i made a support ticket 4 hours ago and they never replied

#

by this rate it will be past 24 hours

wanton delta
#

player.getInventory().getContents().length is to check for the inventory
better to use player.getInventory().getContents().isEmpty()

hoary parcel
#

A whole 4 hours?

#

Wow you are such a patient human, lol

inland meteor
#

an

#

I thought that might be a thing mart

frigid ember
#

ok

inland meteor
#

but i couldn't remember xD

silk bane
#

@hoary parcel it actually matters this time because they have a '24 hour' refund policy

wanton delta
#

especially not on a business day >.<

inland meteor
#

You've put in the request

frigid ember
#

they wont reply today then?

hoary parcel
#

/me didn't read the scrollback

inland meteor
#

so you technically requested within 24 hours

hoary parcel
#

/me thought it was about spigot

inland meteor
#

doesn't matter when they reply

#

it matters when you requested it

wanton delta
#

worst comes to worst

#

check what you agreed to

#

and if you arent getting to what you signed up for

#

charge back via your bank

inland meteor
#

@frigid ember did you use paypal?

frigid ember
#

credit card

inland meteor
#

Ah, yeah like they said, just contact your card company if need be

#

they should be good to sort it out

frigid ember
#

ok

silk bane
wanton delta
#

also kimsufi offers fairly cheap dedis

#

child company of ovh

#

ive heard good htings

inland meteor
#

or hetzner

#

they've been really reliable atm

#

for me

silk bane
#

I host a small modded server on kimsufi

wanton delta
#

hetzner is far away but works if youre eu

inland meteor
#

(Oh yeah im eu, mbmb)

wanton delta
#

i actually got fairly good results on a hetzner vps

#

my only issue was latence due to distance

inland meteor
#

I got one from the server auction and we're enjoying it rn

wanton delta
#

minnesota to munich is not exactly close :P

inland meteor
#

haha

wanton delta
#

i know i could probably google this but is VoxelSniper still maintained for 1.15.2?

inland meteor
#

yeah

#

well

#

favs is

wanton delta
#

also how do ppl get their apis on to the public spigot repo?

inland meteor
#

you mean sonatype?

#

or

#

actual github

wanton delta
#

spigot nexus one

inland meteor
#

ah

frigid ember
#

do you know how to make Minecart hopper speed faster
Like how fast the hopper takes and dispenses

#

I cant seem to find in spigot.yml

inland meteor
frigid ember
#

@inland meteor im talking about the minecart hoppers

wanton delta
#

what are you trying to do

#

make it slower?

inland meteor
#

should still be the same setting?

wanton delta
#

theyre different

frigid ember
#

^

inland meteor
#

ah

frigid ember
#

so thats why Im asking

wanton delta
#

i dont think theres a way without a plugin

#

im not sure if its a bug but if you make a ticket on the spigot jira there might be some devs willing to add in support for the future

frigid ember
#

@wanton delta

#

know any plugins

wanton delta
#

i do not

#

@frigid ember i would recommend you create a feature request on the spigot jira

#

?jira

worldly heathBOT
lone rapids
#

Martoph. So I am using the BlockIterator now. Except the particle instantly teleports to the block I'm looking at.

naive stratus
#

@boreal tiger Earlier today, when you told me to add the code to a queue, did you mean BukkitRunnables?

#

Think I'm getting to a point where I need it

bronze marten
#

@lone rapids make from the if (hasNext) a while loop and place the playParticles inside that loop

winged sparrow
#

Is there an event for listening to when a structure is generated?

#

Like dungeons or strongholds

ocean prism
#

Hey, I've a problem :

#

What do I have to do to avoid making that error :x ?

lone rapids
#

Thank you FrankHeijden, will do sir.

pale plaza
#

i use essentils power tool who know how to ban players with a axe

winged sparrow
#

Power tools use a specific command

#

So /pt ban <player name>

ember coral
#

@ocean prism Use an Iterator instead of looping over the list. You cannot remove items in a list while looping over it, that is what is causing the ConcurrentModificationException

hushed tulip
#

I have a problem with the lockettepro, the scrip to edit on the server version1.15.2 would not be appearing to me

pale plaza
#

@winged sparrow How Do i set timere for ban

winged sparrow
#

If youโ€™re using essentials, I suppose /tempban <player> <time>

ocean prism
#

But @ember coral check when I do an iterator :

winged sparrow
#

Can there be two separate channels?

#

Like, #plugin-help and #development-help?

#

Thatโ€™d be nice

ember coral
#

@ocean prism You need to use blockIterator.remove() instead of event.blockList.remove()

trail zephyr
#

For dev things I recommend using Paper discord

winged sparrow
#

True, I forgot I was in that.

ocean prism
#

ohhhh

vapid walrus
#

i've got a spigot server w/ no plugins... players are in survival but can't damage each other... how do i turn on pvp?

winged sparrow
#

Check your server.properties file

#

See if pvp is enabled

vapid walrus
#

@winged sparrow thanks .... pvp=true in server.properties

winged sparrow
#

Also I know that Minecraft has a janky spawn protection system, see if players can hurt each other when they move further from spawn

#

I donโ€™t know if that protection denies pvp

trail zephyr
#

Aren't they in scoreboard team with friendly-fire disabled ?

winged sparrow
#

I donโ€™t see why a scoreboard team like that would exist if he didnโ€™t make it deliberately

vapid walrus
#

@winged sparrow yea i ran a ways away from spawn, still no damage

winged sparrow
#

Alright. Do /teams list

#

Or might be /team list

trail zephyr
#

you said you don't see why scoreboard team would exist lmao

hushed tulip
#

I have a problem with the lockettepro, the scrip to edit on the server version1.15.2 would not be appearing to me

winged sparrow
#

Worth a shot lwit lol

vapid walrus
#

hmm /team list says there's 1 team

winged sparrow
#

What team is that?

vapid walrus
#

[Rule]

#

i don't recall setting that up

winged sparrow
#

Try /team remove Rule

vapid walrus
#

hey that did it!

winged sparrow
#

Weird

vapid walrus
#

thanks so much

winged sparrow
#

Why would that exist?

trail zephyr
#

Yep its common problem

winged sparrow
#

Thatโ€™s so bizarre

vapid walrus
#

i wonder if a plugin i had enabled at some point enabled that?

winged sparrow
#

Oh, if you had plugins at some point then thatโ€™s absolutely possible

vapid walrus
#

right... guess i'll add plugins back carefully and see if i can see which one did it... was using Multiverse2, LuckPerms, Gravy, Seasons, GriefPrevention.

winged sparrow
#

Maybe GriefPrevention

#

It has a lot of non-land claim features

#

It often sticks itโ€™s fingers in a lot of stuff, usually in the best way though

vapid walrus
#

confluence of too many plugins perhaps

hushed tulip
#

Does the lockettepro plugin work for 1.15.2?

river wasp
#

anyone know how to always allow passthrough in regions on worldguard?

#

players arent allowed to interact with armorstands and nothing but passthrough being enabled allows it

#

tried interact flag but that doesnt seem to work

iron nebula
#

use

mellow bobcat
#

EZ

#

Actually if you read the wiki

#

Shouldn't had lead you here

#

๐Ÿ‘Œ ๐Ÿง 

tiny dagger
#

? ๐Ÿค”

#

i think the paramets load before the execution of the method happens

mellow bobcat
#

Is that eclipse?

tiny dagger
#

can you not?

#

i'm trying to minimize the instance creations

mellow bobcat
#

Aight ๐Ÿ‘

iron nebula
#

Read the javadocs

#

getOrDefault returns the object if nothing is found

#

You are setting set variable to empty hash set and then using that value as param

tiny dagger
#

yeah it seems so

#

better as second then

iron nebula
#

But you allocate new empty hashset by doing getOrDefault

#

So thats not really great

wraith dew
#

how do you set xp needed in an anvil?

frigid ember
#

anyone know how to make someone have speed when they join

tiny dagger
#

yes

#

on playerjoinevent

ocean prism
#

Hey, Anyone would know how to change the name of a chest that has already been placed? Because this not work https://prnt.sc/s1xw71

tiny dagger
#

setwalkspeed(0.0) from 0 to 1 max

#

0.2 is default

frigid ember
#

command block?

vagrant rune
#

Hello there guys!
And here I am again!

I have a question for server owners.

I have a private server with 5-15 players on it. Stable online is about 5.

And, right now I'm testing the server performance and launching the server on my i7-9750h with 6gb ram.

RAM usage is ~2-4gb. CPU usage is 30-40%. It's ok.

But the question is: why tps are going down where the count of entities is bigger then 2.5k and also the count of chunks loaded is also more than 3k.

I use paper-171 build

from server properties:
view-distance=8

and also, I do not change the default paper spawn rate for any mobs.

I'm using the Plan plugin to review the stats, and here are the screenshots out from there:
https://imgur.com/ihs0UpA

also, I have some data stored from my /timings paste , and here is my table:
https://imgur.com/YZp9YjR

so, if you have any comment to me please do not restrain yourself!
I'd be very thankful for any advice!

tiny dagger
#

this is not really a forum

frigid ember
#

tps are going down?

#

ok

vagrant rune
#

this is not really a forum
@tiny dagger so?

frigid ember
#

@tiny dagger commandblock?

tiny dagger
#

@frigid ember i don't know how in command block

frigid ember
#

how do you do it then

tiny dagger
#

@vagrant rune well it's your choice but it's gonna dissapear as soon as you've posted it

frigid ember
#

where do you put the playerjoinevent

vagrant rune
#

@vagrant rune well it's your choice but it's gonna dissapear as soon as you've posted it
@tiny dagger but the previous time we have a great discussion with some guys here, and they helped me)

tiny dagger
#

oh good luck then

frigid ember
#

@tiny dagger where do you put it

tiny dagger
#

that's in java

frigid ember
#

Oh

tiny dagger
#

i thought you asked about how to program it in

frigid ember
#

lmao i do

#

my bad

#

i thought it was a command

tiny dagger
#

no

pale plaza
#

who know any faction top plugins

#

???

#

i cant find any what work

frigid ember
#

make you minecraft server version lower

#

*spigot minecraft server version

#

where can I contact support for account issues?

#

plsss

pure pasture
#

How can you create a new map from a template?

halcyon pivot
#

Hello. I got a problem with scheduling tasks at low TPS. I try to use ScheduledExecutorService, but i can't use Bukkit API (include logger). How to fix it (or what can be used instead)?
My code:
`ScheduledExecutorService scheduledService_1 = Executors.newSingleThreadScheduledExecutor();

ScheduledFuture<?> scheduledFuture = scheduledService_1.scheduleAtFixedRate(() -> {
logger.info("8 minutes")
....
}, 0, 8, TimeUnit.MINUTES
);`

wanton delta
#

hi im trying to use Container#addSlotListener but it doesnt seem to be working

#

more specifically i get UnsupportedOperationException, which i dont think has to do with me

winged sparrow
#

Is there an event I can listen to or some other method to check for when and where a structure generates, specifically dungeons and strongholds?

solid ermine
#

Hi is there a way or a plugin that makes the gamertags of my server in colors?

#

i use aternos

high root
#

Hello. I got a problem with scheduling tasks at low TPS. I try to use ScheduledExecutorService, but i can't use Bukkit API (include logger). How to fix it (or what can be used instead)?
My code:
`ScheduledExecutorService scheduledService_1 = Executors.newSingleThreadScheduledExecutor();

ScheduledFuture<?> scheduledFuture = scheduledService_1.scheduleAtFixedRate(() -> {
logger.info("8 minutes")
....
}, 0, 8, TimeUnit.MINUTES
);`
@halcyon pivot Try using Timer.scheduleAtFixedRate
https://docs.oracle.com/javase/7/docs/api/java/util/Timer.html#scheduleAtFixedRate(java.util.TimerTask, java.util.Date, long)

naive stratus
#

I just tried /timings, but it doesn't seem like the url it give me works. It just redirects me to https://www.spigotmc.org/ - Any known issues?

high root
#

Is there an event I can listen to or some other method to check for when and where a structure generates, specifically dungeons and strongholds?
@winged sparrow World has this method wich can be util https://hub.spigotmc.org/javadocs/spigot/org/bukkit/World.html#locateNearestStructure-org.bukkit.Location-org.bukkit.StructureType-int-boolean-
If you want to detect organic structures you can use this https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/world/StructureGrowEvent.html
I couldn't find anything else

winged sparrow
#

Interesting, thank you

high root
#

i don't think if this will solve your problem but you can try it

naive stratus
#

@high root Thats what I followed. When I get a paste like https://www.spigotmc.org/go/timingsrl=kesugosobi it just redirects to https://www.spigotmc.org

winged sparrow
#

I'll mess with it. Might can find some hacky workaround for modifying the structure slightly

high root
#

@high root Thats what I followed. When I get a paste like https://www.spigotmc.org/go/timingsrl=kesugosobi it just redirects to https://www.spigotmc.org
@naive stratus This is a 2 months old thread https://www.spigotmc.org/threads/timings.415882/

plush pewter
#

I wonder how I should organize the structure of my server which could and should support around 300 players.
By the way I try to code the maximum of thing by myself. I can still use some essential plugins which greatly facilitate the tasks.

I know I should use bungeecord but how do I use it well?

First question:
Should I separate all the mini-games in their own respective servers or should I make a server for mini-games in general (and one for hubs, etc)?

Second question:
At the plugin level, if all games have their own servers, should I make sure there is a different plugin for each game?
And the main class of these plugins would have an "instances" property which lists all instances of the Tnt-Run class for example?

wanton delta
#

if your server doesnt have 300 players right now

#

you shouldnt worry about having 300 players

#

as far as minigames go, it depends on how theyre structured

#

some minigames require their own server

#

others dont

frigid ember
#

guess it depends on server load, amount of runnables etc

silk gate
#

per server is generally easier to develop

frigid ember
#

yeye

plush pewter
#

ok

frigid ember
#

it can sometimes be a little more cost effective depending on your host

wanton delta
#

1 server per minigame is probally the ideal world

#

and you should look into redis

plush pewter
#

okay thanks ๐Ÿ˜„

cosmic lily
#

I have a really weird issue right now that I could seriously use some help with if anyone is feeling generous.

I am attempting to enable a resource pack on my server

it prompts clients to download but then the menu just closes and nothing downloads (nothing in server resource packs locally)

It can not be the URL considering I have tried multiple providers and they all were direct links

It also can not be a plugin conflict as I have re launched the server with no plugins enabled with the same issue

the resource pack does work fine locally as it is just some sounds and a money texture

I am also using a Hash and it is in the proper spot in my server.properties

any help would be appreciated!

dusky herald
#

I thought they had to be URLs?

cosmic lily
#

it is a URl

#

I am just saying I have tried multiple URLs from multiple sources

#

all are direct download

frigid ember
#

hm

#

how big is your pack?

#

if it's over 50MB minecraft is goofy and wont accept it

cosmic lily
#

Around 80mb, Its a little big due to custom sounds

frigid ember
#

as far as i know

#

ahhhhh yep, that's probably it

cosmic lily
#

how would I go about making it smaller?

dusky herald
#

Remove custom sounds

frigid ember
#

try compressing your sounds

dusky herald
#

and go from there

#

I would get it to work first, and then add whatever you can

frigid ember
#

you'll lose audio quality, but it'll be at least possible :)

cosmic lily
#

so it needs to be under 50mb?

frigid ember
#

if you have audacity, there is a small option called "Project Rate" in the bottom left

#

yep

#

just change that setting to something lower, the default is 44100

#

i recommend 22050hz

cosmic lily
#

ill give it a try, thanks

#

its really weird though

#

it works fine locally

#

and the DL link works

plush pewter
#

Another question, as I know how to use mongodb is redis better?

silk gate
#

mongo is very different to redis

lean knot
#

how long does it take for a name change request to be handled and are they denied often?

silk gate
#

mongo is a nosql database where redis is a kv cache that doubles as a message queue

dusky herald
#

I don't think they're denied that often? From what I understand you have to pay $10 for a name change.

lean knot
#

i did that already i even requested for the name to be changed

#

i do like the dark theme though

dusky herald
#

I dont see why it wouldnt be denied then, besides if the username is taken then.

#

You just have to wait for the staff response.

lean knot
#

wait that came out wrong...

#

you don't see why it would not be denied? that is double denial which means = truth

#

so you think it will be denied?

dusky herald
#

would*

plush pewter
#

okay thanks @silk gate

dusky herald
#

Lol

lean knot
#

anyway thanks

dusky herald
#

You just gotta play the waiting game, that's all.

pale plaza
#

Whats Command To kill player if they stand on wet sponge using command block

lean knot
#

execute as @a if block ~ ~-1 ~ minecraft:wet_sponge run kill @ s

#

no space between @ and s but otterwise it would try tagging someone here

#

or you could make the execute at then kill @ a with a [distance=0] tag

#

personally i find that to be a bit more foolproof

pale plaza
#

@lean knot The command not work

lone rapids
#

I looped through all entities in a certain radius. I checked if they were an instance of LivingEntity, now I want to damage them. I try to do entity.damage(10); However I think the entity needs to be casted as LivingEntity, any suggestions?

lean knot
#

try the alteration i said

pale plaza
#

iDK

lean knot
#

uhm... btw are you running plugins lewis?

cosmic lily
#

@frigid ember I managed to compress it from 100mb to 40mb ๐Ÿ™‚

pale plaza
#

yEH

lean knot
#

if you run plugins it might mess up minecraft commands

radiant pollen
#

@lone rapids Yes you just need to cast it

lean knot
#

you have to namespace your commands then

lone rapids
#

(LivingEntity) entity.damage(10);?

lean knot
#

minecraft:execute minecraft:kill etc

mental stump
#

Is there an event similar to the PlayerMoveEvent, but instead of players, it's with Entities?

silk bane
#

no

radiant pollen
#

((LivintEntity) entity).damage() I think @lone rapids

lone rapids
#

Yup, that worked.

#

Thanks Zaxarner

lofty otter
#

are plugins loaded by separate classloaders?

#

im getting a classnotfound for a library that im shading in another jar

cosmic lily
#

This resource pack shit is killing me

#

I compressed it to 40mb

high root
#

xD

cosmic lily
#

but im having the same issue

#

it just wont download

#

any ideas anyone?

#

I was up till 9am this morning trying to fix it

mental coral
#

Does anyone know how the actual hell to disable the [Username: Triggered [value] (set value to 1)] cause its getting infuriating.

dusky herald
#

What's the capacity of a player's inventory? 40 slots? Or do the crafting slots count as well?

lofty otter
#

its 41

dusky herald
#

Do the crafting slots count?

lofty otter
#

36 + 4 armor slots + 1 other hand

high root
#

Does anyone know how the actual hell to disable the [Username: Triggered [value] (set value to 1)] cause its getting infuriating.
@mental coral https://youtu.be/-LwwUfwG83Q
Try that

radiant pollen
#

You can't store items in the crafting slots.

dusky herald
#

Wouldn't it be 40 then?

lofty otter
#

36 + 40 + 1 is 41

lean knot
#

@cosmic lily should be fine limit is 50mb, if it's not working you did it wrong

dusky herald
#

I counted 40, starting from 0

lean knot
#

you need to use the resource pack line in server settings rather then texture pack, also it needs to be direct download link

dusky herald
#

lol

lofty otter
#

the index of the last one might be 40

cosmic lily
#

it is

lofty otter
#

but that doesnt change that there are still 41

cosmic lily
#

want me to send you the direct link>

lean knot
#

sure

dusky herald
#

I know what you mean, there's 41 slots. I meant more like indexing from 0, but I didnt specify that either

cosmic lily
#

i have tried, mcpack, mediafire, and dropbox

mental coral
#

@high root how exactly would a resource pack help with that message?

cosmic lily
lean knot
#

dropbox should have been the easiest

lofty otter
#

are plugins loaded by separate classloaders?
im getting a classnotfound for a library that im shading in another jar
anyone?

high root
#

@high root how exactly would a resource pack help with that message?
@mental coral I don't understand

dusky herald
#

I would believe that you have to shade the library in the jar you're referencing it from.

mental coral
lean knot
#

works for me, how did you set up your server join server resource pack disabled/prompt? if so you need to accept the prompt or if disabled not disable it

cosmic lily
#

its weird

#

it prompts me

lofty otter
#

ive got a plugin A where im shading guice

cosmic lily
#

but when i click yes

#

the menu just closes

lofty otter
#

a plugin B wants to use guice too

cosmic lily
#

nothing appears in server-resource-packs

lofty otter
#

and uses it from plugin A

dusky herald
#

You should shade it in both then.

lofty otter
#

bruh

lean knot
#

then it doesn't download it which could mean an error

#

your texture pack could be zipped wrong

cosmic lily
#

im using winrar ๐Ÿ˜›

radiant pollen
#

@cosmic lily The resource pack is formatted wrong, maybe for a different resource pack version.

lofty otter
#

are you telling me its not possible to use libraries shaded by another plugin?

#

why would I shade it twice

#

when i only have to shade it once

cosmic lily
#

@radiant pollen how would I go about fixing it?

lean knot
#

what version is your server supposed to be?

radiant pollen
#

@lofty otter If it's shaded in another plugin, you need to use depends to make sure it loads in the correct order.

lean knot
#

if 1.15/1.16 change pack format to 5

cosmic lily
#

Server is on 1.14.4

mental coral
#

Does anyone know how in the name of all that is holy to disable [Username: Triggered [trigger] (set value to 1)] in chat? I cannot for the life of me figure it out and its driving me up a wall in chat.

lofty otter
#

ah that is a very good point @radiant pollen

lean knot
#

then 4 should be fine afaik

#

maybe some files are in wrong locations, server packs might bug if any little part is wrong

#

client side they can just ignore the errors etc, but server it has to be flawless

cosmic lily
#

the pack was originally for 1.13

#

i added sounds

lean knot
#

i am not sure but sounds.json might be wrong place

#

the sounds.json is outside the sounds folder i think it should be in there

cosmic lily
#

ill see if i can copy the structure of a 1.14 pack

lean knot
#

for me personally my pack also bugged when placing something wrong, it should have been in models but i placed it in textures

#

what i did was disable visual off hand item if totem of undying

cosmic lily
#

it would be so helpful if it would just give me console output

lean knot
#

it should

#

the logs should contain the errors

#

those should be in the world file i believe

cosmic lily
#

nothing in there

#

already checked

lean knot
#

wait really?

cosmic lily
#

I searched resource

#

nothing came up except for spigot links

lean knot
#

you looking in the world files of your server's world?

radiant pollen
#

what

#

no

#

that's not where they are

lofty otter
#

that did it zax, papa bless

radiant pollen
#

No problem!

cosmic lily
#

Nothing was in the console log

vapid walrus
#

not sure if this is a multiverse question or what.... i'm trying to make it so players respawn in the world they've died in. I have /mv set spawn and /mvm set respawnWorld <worldname> but whenever they die they end up back at the global spawn. Any ideas?

cosmic lily
#

Essentials is probably overriding it

#

Check the Essentials Respawn Priority in the config

#

set it to low if you can

#

and @radiant pollen wdym its formatted wrong?

#

I just downloaded a few resource soundpacks online and they dont even have a sounds.json

radiant pollen
#

I'm pretty sure the resource pack version changed between 1.13 and 1.14.

vapid walrus
#

ah thx Voska... its set to "high" currently, will try low

cosmic lily
#

๐Ÿ˜‰

#

but the only change I see

#

do I need to have a sounds.json?

radiant pollen
#

You don't need to have anything except a pack.mcmeta.

vapid walrus
#

hmm changed to low and still respawned in the home world

lofty otter
#
org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register org.anvilpowered.ontime.spigot.listener.SpigotPlayerListener@585ba3f9 while not enabled

so i have a look at that method, it checks Plugin#isEnabled(). But plugin.enabled never gets set to true

#

and for some odd reason i cant send a screenshot in here

cosmic lily
#

@vapid walrus try seeing if there is any console output?

radiant pollen
#

@lofty otter You have to be verified.

#

To send screenshots.

vapid walrus
#

Voska actually you were right... although I had to set it to lowest not low

lofty otter
vapid walrus
#

thanks again!

lofty otter
#

rgh

#

well, anyways

#

that isEnabled never gets set to true

#

so wtf

#

isEnabled is a final method in JavaPlugin so i cant override it

#

and the boolean that it returns is always false

#

and do i really need to go make an account now on spigot forums just to send a screenshot

radiant pollen
#

...yes

lofty otter
#

well, any ideas on the issue

radiant pollen
#

You can override "onEnable"

cosmic lily
#

@radiant pollen how can I get the vanilla resource pack to use as a base? for 1.14.4

lofty otter
#

ah right

radiant pollen
#

@cosmic lily Taken from the wiki:
Located in Windows as: C:\Users\name\AppData\Roaming\.minecraft\versions\your Minecraft version and extract the .jar file

cosmic lily
#

ok thanks

lean knot
#

what can you do by extracting the jar file?

radiant pollen
#

Use the vanilla resource pack as a base.

lean knot
#

do you get all the vanilla files?

radiant pollen
#

@cosmic lily When you copy the vanilla resource pack as a base for your server's pack, you need to remove all of the assets that you're not replacing. Otherwise, you force everyone on the server to use Default which is not a good idea.

#

Yes, you get the whole resource pack.

frigid ember
#

Can someone help me why im getting this?

cosmic lily
#

ok, i am trying it rn

lean knot
#

but also thinks like vanilla datapack right?

cosmic lily
#

@frigid ember plugin conflict

lean knot
#

because i actually need to find a way to make crafting recipes based on my storyline

#

but what happens now is they automatically gain recipes by having the required items

frigid ember
#

Voska how to fix it

cosmic lily
#

@frigid ember or it may not be compatible with your version of spigot

high root
#

Can someone help me why im getting this?
@frigid ember Caused by: java.lang.NoSuchMethodError: org.bukkit.event.block.BlockPlaceEvent.getHand()Lorg/bukkit/inventory/EquipmentSlot;

radiant pollen
#

@lean knot Yes, all of the recipes, advancements, loot tables, etc can be found in the version jar as .json files.

high root
#

@frigid ember In witch version did you code this?

lean knot
#

@radiant pollen i notice you seem to be someone with very good knowledge of the game, do you know the easiest way to prevent automatic crafting unlocks, so i could control them?

frigid ember
#

its not my code its plugin what i download and use

#

Vehicles [no resourse pack]

high root
#

Wich version does the plugin page say then?

frigid ember
#

i download it for 1.8 but more of this plugin its for 1.9

lean knot
#

i disabled advancements and such, however when i get wooden planks for example i unlock all wood recipes or most of them

frigid ember
#

i need this plugin for 1.8.9

cosmic lily
#

@frigid ember talk to the developer and ask for an update

radiant pollen
#

@frigid ember The plugin is using a method that is not found on 1.8.9. That plugin won't work.

cosmic lily
frigid ember
#

so how i can make this plugin work in 1.8.9 version ot change the spigot to 1.9 and natural use 1.8.9 for native version

upper hearth
#

The latest version won't work*

radiant pollen
#

@lean knot There is a PlayerRecipeDiscoverEvent. You can do a lot of stuff with it. You can also prevent players from crafting a recipe they have not yet discovered.

cosmic lily
#

@frigid ember If it isnt open source you really dont have hope, your best bet is to talk to the developer and ask for an update. or update your server

frigid ember
#

i update the server to 1.9 but i cant join it on 1.8.9

lean knot
#

yeah but how do i do it with a datapack zaxarner?

frigid ember
#

i have Via Version installed

lean knot
#

i mean i even got dolimitedcrafting to true but getting planks just "discovers" some recipe's

radiant pollen
#

@lean knot I'm not sure what you're trying to accomplish exactly.

upper hearth
#

ViaVersion works forwards not backwards

radiant pollen
#

@frigid ember You need ViaBackwards

#

In addition to ViaVersion.

frigid ember
#

i have it but doestn work

upper hearth
#

ViaRewind

frigid ember
#

Or use protocolsupport

radiant pollen
#

ViaRewind does nothing for 1.8 client and 1.9 server.

frigid ember
#

are i need to paste all via versions to bungee and all servers

cosmic lily
#

Zax did you see anything wrong with the resource pack?

upper hearth
radiant pollen
#

Oh okay I looked at the graphs wrong

cosmic lily
#

I tried the pack it still doesnt download

#

imma kashoot myself

frigid ember
lofty otter
#

ok so for some reason, plugin.getCommand is returning null

#

even though its registered in the plugin yml

radiant pollen
#

@cosmic lily Why did you put the .ogg files into a "custom" folder.

cosmic lily
#

saw other resource packs doing it

#

and the sounds.json still points to it

high root
#

ok so for some reason, plugin.getCommand is returning null
@lofty otter Can you show the plugin.yml and the code?

lofty otter
#
[00:24:18] [Server thread/INFO]: Plugin: OnTime v1.0.0-SNAPSHOT
java.lang.NullPointerException: OnTime command not registered
    at java.util.Objects.requireNonNull(Unknown Source) ~[?:1.8.0_241]
    at org.anvilpowered.ontime.spigot.command.SpigotOnTimeCommandNode.loadCommands(SpigotOnTimeCommandNode.java:73) ~[?:?]
    at org.anvilpowered.ontime.common.command.CommonOnTimeCommandNode.lambda$new$0(CommonOnTimeCommandNode.java:82) ~[?:?]
frigid ember
lofty otter
#
name: OnTime
version: "1.0.0-SNAPSHOT"
main: org.anvilpowered.ontime.spigot.plugin.OnTimeSpigot
api-version: 1.15
authors: [Cableguy20, STG_Allen]
description: Playtime tracker
depend: [Anvil, LuckPerms]
commands:
  ontime:
    description: OnTime root command
radiant pollen
#

I've never used ViaVersion @frigid ember

lofty otter
#

its weird because I copied the plugin yml from another plugin where it works

frigid ember
#

who know are i need to put ViaBackward in bungee

upper hearth
#

No

#

You need ViaRewind

#

In your Spigot server

lofty otter
#

getCommand is nullable @frigid ember

radiant pollen
#

@frigid ember getCommand can return null if that command is not in your plugin.yml.

frigid ember
#

Ah that would be why

lofty otter
#

does this look wrong to anyone?

#

its returning null for the command "ontime"

radiant pollen
#

@lofty otter I can't tell what's wrong. Haha one sec.

frigid ember
#

@upper hearth im making network server and only need to paste in the spigot server not in the bungee

high root
#
name: OnTime
version: "1.0.0-SNAPSHOT"
main: org.anvilpowered.ontime.spigot.plugin.OnTimeSpigot
api-version: 1.15
authors: [Cableguy20, STG_Allen]
description: Playtime tracker
depend: [Anvil, LuckPerms]
commands:
  ontime:
    description: OnTime root command

@lofty otter

name: OnTime
version: "1.0.0-SNAPSHOT"
main: org.anvilpowered.ontime.spigot.plugin.OnTimeSpigot
api-version: 1.15
authors: [Cableguy20, STG_Allen]
description: Playtime tracker
depend: [Anvil, LuckPerms]
commands:
  ontime:
     description: OnTime root command

Try that

dusky herald
#
  commandName:
    description: Command Description
    usage: /commandName <Arguments...>```

In the plugin.yml file
upper hearth
#

@frigid ember ViaVersion and ViaRewind have to go in all your Spigot servers, not BungeeCord.

cosmic lily
#

I kinda feel bad for Zax lol

#

he is everyones guru rn

radiant pollen
#

Haha

dusky herald
#

At least it's voluntary.

#

ยฏ_(ใƒ„)_/ยฏ

lofty otter
#

uh nemo isnt that exactly what I already have?

frigid ember
#

Who said it's voluntary?

high root
#

uh nemo isnt that exactly what I already have?
@lofty otter I added an space where I think it is missing

frigid ember
#

md_5 can be an unmerciful master.

dusky herald
#

If you say so

lofty otter
#

where?

#

oh description right

high root
#

on the description on the comand

radiant pollen
#

@lofty otter Where are you running that code?

lofty otter
#

which gets run on plugin load basically

upper hearth
#

In the onEnable?

lofty otter
#

sorta

upper hearth
#

wdym sorta

lofty otter
#

in the OnEnable of another plugin

upper hearth
#

Well what if that plugin is enabled first?

#

And OnTime isn't