#help-archived

1 messages ยท Page 60 of 1

chrome edge
#

@light geyser event.

light geyser
#

??

frigid ember
#

any work arounds? that you may be aware of

chrome edge
light geyser
#

let me see how I did the unloading, deny

chrome edge
#

event.setRespawnLocation

light geyser
#

Huh thats a good point

frigid ember
#

just bear in mind that the method works on older version of minecraft

light geyser
#

I do ```java
overworld.unloadChunkRequest(x, z);

chrome edge
#

I meant to say just write "." and wait until see IDE options

frigid ember
#

i see but

#

i want to unload the chunk without saving it

light geyser
#

overworld is well a World, x,z are the chunk coords

frigid ember
#

unload(boolean save);

light geyser
#

why would you even load it then?

frigid ember
#

so basically

#

i load it in

#

i disable auto saving

#

mess around with the current loaded chunks

#

and unload them to restore them from a file

#

skywars arenas

#

its a plugin ive been working on

#

i could use getServer().unloadWorld();

#

but will probably halt the parent process

chrome edge
#

You may check out keep chunks in memory feature.

frigid ember
#

ChunkSnapshot?

rugged void
#

only seems to happen while i am in op

frigid ember
#

portals i think

rugged void
#

sorry i'm kind of new to this, but why?

frigid ember
#

cause its a feature to select an area for a portal i think

dense escarp
#

guys i have server crackd mod bungeecord authme i want when player premium join with ip premium .example.com

#

how ?

noble bolt
#

youre looking to make a cracked server?

#

or.. you want premium accounts to join on a special ip?

dense escarp
#

yp

noble bolt
#

wait first or second

dense escarp
#

second

rugged void
#

oh man i probably need that plugin to make a hub world, but that's super annoying with a wooden axe

noble bolt
#

if you want premium players only to join on a certain ip you need the bungeecord proxy set to online mode true

#

nunuhaza you can most likely change the tool in the plugins config

rugged void
#

so i have no idea why it's doing that

frigid ember
#

if you want to change the wand

noble bolt
#

271 is the item number of the axe

frigid ember
#

change the wand:

#

part

noble bolt
#

change it to something else

rugged void
#

o

#

hmm i guess i should change to bedrock since it's the only indestructible item

upper hearth
#

Change it to something you'll never use

frigid ember
#

like deadbush

#

oh wait

rugged void
#

what's the id of bedrock?

frigid ember
#

u said you need op or something?

#

maybe there is a permission to set

rugged void
#

plus once i set the first position and the second position how to put the portal up anyways?

frigid ember
#

if u use permissionex try negative nodes

rugged void
#

i'm sure bedrock would do, since not even op can break it right?

noble bolt
#

if theyre opped theyll have all perms anyway

#

anyone in gmc can break bedrock

rugged void
#

i jsut want to play normal in op

frigid ember
#

yeah i think u can still remove specific perms

#

with a perms plugin

#

pretty sure u cant if you have * perms

#

op and * are different

noble bolt
#

hm.. im not sure about permissionex, i use luckperms

rugged void
#

anyways quick question

#

tried throwing it in

#

but the block doesn't seem to work and i fall

#

using multiverse import

noble bolt
#

does itjust generate a void?

rugged void
#

it gives me that grass block to stand on like it should

#

but i break it

#

i just fall

noble bolt
#

what is meant to happen?

rugged void
#

keep generating random block to mine

#

it's the oneblock skyblock

noble bolt
#

you may need a plugin for it

rugged void
#

it's originally a single player map

#

so it shouldn't need any

#

wait give me a sec i try the 1.15.1 version and see if that works

noble bolt
#

you must have command blocks enabled

#

for it to work

strange grove
#

hey does anyone know how to make custom map images align into an image in order and don't tell me to google it I already have im asking if you can show me how to do this using spigot and not how to make a custom image on a map but how to align them in order to make a big image like this!

rugged void
#

i had command blocks enabled

noble bolt
#

im not too sure then nunuhaza, make sure the command blocks are loaded and activated

dusty topaz
#

Does updating an NBTCompound automatically update it on the item

#

Or do you need to re-set it

#

I'm pretty sure it does?

frigid ember
#

i think it depends on how its implemented

rugged void
#

ok i delete the world and reload a new one while command block is enabled in server properties and see if that works

#

i have to point out though mvtp just kills me on tp to oneblock lol

noble bolt
#

sometimes mv worldspawns are off from what they should be

#

set the worlds default gamemode to gmc so you can save yourself then go to gms

golden chasm
#

If I ran recordings would someone be able to decipher them to help me diagnose lag or other issues before my server goes live?

rugged void
noble bolt
#

i mean recordings can be difficult from deduce lag from

rugged void
#

wait what's gmc?

noble bolt
#

plugin list and console errors would be more helpful

#

gamemode creative

rugged void
#

o that

frigid ember
#

u can use god i think and should never kill you

noble bolt
#

they dont have a plugin with godmode

rugged void
#

sadly i just can't get it to work

noble bolt
#

:<

frigid ember
#

install essentials

#

its gud

rugged void
#

?

frigid ember
#

it has "essential" stuff

strange grove
#

well

#

for one thing

#

creative will never work on void

frigid ember
#

yes

strange grove
#

and so will godmode

frigid ember
#

i think it will

strange grove
#

i already tried doing this in the void

noble bolt
#

ah no im not recommending they fall into the void

strange grove
#

and it failed

noble bolt
#

im saying fly up, lol

strange grove
#

oh

#

well

#

if you install world edit

#

or give the player the ablilty to fly

#

it should work

#

world edit has a command that allows you to /fly

noble bolt
#

although the main issue for them is the block not regenerating

#

as the map describes

strange grove
#

wdym by this?

#

i wasn't fully entwined in the conversation

#

๐Ÿ™‚

noble bolt
#

theyre trying to install a one blockskyblock map, which generates a new block whenever you break the one thats there

rugged void
noble bolt
#

but the block isnt regenerating

strange grove
#

your saying you want to stop the block break event

noble bolt
#

no, not at all

#

the block breaks, you get the drop, but a new random block is placed there

rugged void
noble bolt
#

yes that should work

strange grove
#

hmm

rugged void
#

and man i am getting tired of the vanilla map generating small islands surrounded by water

strange grove
#

you could have the block break event

rugged void
#

in the middle of crack no where

frigid ember
#

u can use tp command

strange grove
#

and then you could call it to replace a block

noble bolt
#

lmao

strange grove
#

using math random

frigid ember
#

to tp ur self as soon as u tp to world

strange grove
#

and to give the player that block

noble bolt
#

they arent looking to create a whole new settup for it, its meant to come with the map using command blocks

#

although the map might be flawed

strange grove
#

๐Ÿ˜ฆ

rugged void
#

alright lets see if this shit works

strange grove
#

oof

rugged void
golden chasm
rugged void
#

this piece of junk

#

someone please figure this shit out

noble bolt
#

try run the map in a singleplayer world with cheats on first

frigid ember
#

so u keep dying?

noble bolt
#

to see if its a map issue or not

frigid ember
#

just use god

#

i checked

rugged void
#

maybe i should load the map data in the default world and see if that works

frigid ember
#

it does not kill u when in void

#

/god

#

and fly up

strange grove
#

oof man

#

umm

#

hmm

#

well

#

i can see if i can try to make a script of some sort

#

i'll probably scour the internet for help lol

#

๐Ÿ™‚

frigid ember
#

also

#

/speed 10 to fly fasta

rugged void
strange grove
#

so it works?

upper hearth
#

What are you trying to do?

rugged void
#

what's the dif between that file and an imported one through multiverse commands?

#

the same file works as the default world but not a multiverse import

#

what the hell man

strange grove
#

@upper hearth he's trying to give the player a block when the block break event happens and after the block break event happens he will turn it into a random block.

#

well

#

the block under the player

#

I think

upper hearth
#

He's trying to give them a random block on BlockBreakEvent?

strange grove
#

cuz i also joined late in the conversation

#

no

#

when the block break event happens

rugged void
#

the map only has 1 block

#

you break it

#

it randomly generates a new one

#

and keeps going

#

as a skyblock

strange grove
#

it will break and generate a new random block

#

right @rugged void

#

?

rugged void
#

so can someone tell me why it works as a default world and not a sub world with multiverse?

strange grove
#

hmm

#

i think i know

noble bolt
#

multiverse is just an annoying plugin

strange grove
#

let me send you a video

noble bolt
#

ive had more bad than good with it lol

upper hearth
#

Pretty sure this isn't a Multiverse problem.

rugged void
#

yeh but i need something like it eventually if i want to run multi world files right?

#

unless someone gives me an alternative

upper hearth
#

What are you using to generate the random block?

rugged void
#

i'm not using anything

noble bolt
#

it uses command blocks

rugged void
#

i downloaded the map

#

with no mods

strange grove
noble bolt
#

have you command blocks enabled in the specific multiverse world?

frigid ember
#

//up 0 give block under you

strange grove
#

no

#

then that's manual

#

and it just doesn't work

rugged void
#

yes i have command block on

strange grove
#

hmm

rugged void
#

and this map doesn't need mods

strange grove
#

so no spigot?

#

or yes spigot

rugged void
#

paper spigot

strange grove
#

i dunno what that is

rugged void
#

it's basically spigot

noble bolt
#

^

upper hearth
#

It's a Spigot fork, if this is a PaperSpigot problem then you need to go to their Discord.

strange grove
#

whats the difference

#

?

rugged void
#

in my opinion not much

noble bolt
#

it has more plugin support and all that stuff

strange grove
#

oh then why use that?

#

oh oh

#

ok

vernal spruce
upper hearth
#

Wdym more plugin support? They support the same plugins

strange grove
#

what

rugged void
#

that's what i am playing

noble bolt
#

eh, not entirely sure dude, it has some advantage i guess?

#

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

frigid ember
#

what is the problem i dont uderstand

strange grove
#

it adds more color to the game i guess

rugged void
#

eh bukkit support i guess?

frigid ember
#

what are you guys talking about

strange grove
#

but i still hate that mode especially hypixels

upper hearth
#

I think it just fixes some issues. Personally I use real Spigot. You'd have to ask someone in the Paper Discord what the difference is.

rugged void
#

the oneblock map is working in the default map directory

noble bolt
#

thats fair

rugged void
#

and not a sub directory with import using multiverse

strange grove
#

anywho

upper hearth
#

If it's working off the default world, how is it supposed to work in the sub-world?

vernal spruce
#

its most likely because

noble bolt
#

are you importing the block data correctly?

vernal spruce
#

its a commandblock basedmap

upper hearth
#

You have to put it in all the worlds.

strange grove
#

yeah

#

just set it through the code

#

to this _____ < name of world here

rugged void
#

wait what import block data?

vernal spruce
#

or recreate it through code

strange grove
#

like so

vernal spruce
#

i dont see it being that hard

strange grove
#

"yeet"

#

i dunno

#

what your world it named

rugged void
strange grove
#

is this the .minecraft folder?

vernal spruce
#

its not just that its most likely commandblock based

rugged void
#

with import command from multiverse

vernal spruce
#

placed extremly far away from spawn

noble bolt
#

yeah, thats what i assumed

#

its not being loaded

frigid ember
#

does spigot have github?

strange grove
#

uh

#

well i think you make your own

#

through github

#

not spigot

#

but you can set it up

#

so you do commits and whatnot

vernal spruce
#

?stash

worldly heathBOT
strange grove
#

huh

frigid ember
#

ty

#

๐Ÿ™‚

upper hearth
#

It doesn't work off physical command blocks. Loading shouldn't be a problem.

strange grove
#

for once maybe a bot is right

#

she is a bot right?

#

or he

vernal spruce
#

its he

#

its not cafe babe

strange grove
#

yeah i just realized

#

๐Ÿ˜

#

hey by any chance here does anyone know how to make custom maps with big images without using a plugin but using spigot and your brain?

frigid ember
#

i never knew md_5 works on spigot

#

nice

quaint flax
#

okay im curious why my console of bungeecord keeps doing this

vernal spruce
#

he had a big part in making it

#

thats a debug

#

from a plugin

quaint flax
#

is there a way to find wich one

vernal spruce
#

the thunder wolf? is that a boss

#

usually debug are disabled once a plugin is released.. unless manually turned on

quaint flax
#

i might have by accident

vernal spruce
#

dont think there is a way of knowing what plugin

#

sends it

quaint flax
#

i just recheck all the configs

dense escarp
#

how can i make iptables

rugged void
strange grove
#

umm

rugged void
#

but only if the world is the default world

strange grove
#

ok

rugged void
#

so what is wrong here?

strange grove
#

hmm

vernal spruce
#

well it doesnt say

strange grove
#

well

vernal spruce
#

it meant to be community based

rugged void
#

as soon as i rename the folder and import with multiverse

strange grove
#

i think i have a video that might help

vernal spruce
#

he most likely created with the ideea of 1/friends

rugged void
#

the block doesn't regen

vernal spruce
#

if he somehow hidden the logic behind "world=OneBlock'' ur screwed

#

why not make it from scratch though?

upper hearth
#

afaik that's not even possible ^

vernal spruce
#

looks pretty simple

upper hearth
#

But you probably have to reload the datapack.

vernal spruce
#

you never know what can be done through command blocks these days..

#

im amazed myself seeing what crap comes out

rugged void
#

can someone explain to me why the block regen only works as the default world?

strange grove
#

because

upper hearth
#

True, but I can't think of a reason Mojang would add the ability to see the worldname

strange grove
#

i think that something in your files is set to default world

#

and not to the specific world you wanyt

vernal spruce
#

its hard for me to even comprehend how someone can create something so complex

strange grove
#

i said i have a video that can help

vernal spruce
#

he mustv spent a while making dem command blocks

strange grove
#

i'll post it now

quaint flax
#

i think i found it

#

UltraStaffChat - Debug Permission. ( Allows use of "/usc debug" which is only used to give some info that is helpful during support )

debugperm: "ultrastaffchat.usedebug"

#

i got all the perms

strange grove
#

their

#

just watch it

rugged void
#

"Spigot Plugin Development - 35 - Always Day and Clear Weather" ?

strange grove
#

just watch

#

it's showing you why some things might not work

vernal spruce
#

gamerule dodaylightcycle false ๐Ÿ˜‚

noble bolt
#

oop-

strange grove
#

sighs

#

just watch he has world that named different things

#

and he will tell you why

#

he is good ๐Ÿ™‚

vernal spruce
#

idk if same logic can be apllied

strange grove
#

well

vernal spruce
#

he most likely gets all the world from bukkit

#

and loops through each

strange grove
#

he said spigot and paper spigot are simialr right?

vernal spruce
#

almost the same..

noble bolt
#

yeah, pretty much the same

strange grove
#

anyway you just have to watch the whole thing

#

in order to understand

#

just trust me

vernal spruce
#

or... ask the actual guy who made it if he knows the reason

strange grove
#

ok

#

i could

#

i litreally have his discord chatroom in my thing

#

well

#

my chatroom menu

#

this chatroom is just one of them

vernal spruce
#

oh wow hes really into command blocks

rugged void
#

i'm falling asleep 2 mins into the vid

strange grove
#

man

#

sometimes

#

boring stuff helps

#

jsut

#

watch

#

speed it up x2

#

that helped me

noble bolt
#

bruhh kody simpsons plugin series is god tier tho

strange grove
#

yes

rugged void
#

i can't, my brain isn't designed to process all that

strange grove
#

this man understands

#

ok brb

#

lunch time

noble bolt
#

i used it to get into some spigot development a while back lmao

vernal spruce
#

what exactly does he do all i see is him using the motd

rugged void
#

all i see is a bunch of config files

#

and codes

vernal spruce
#

w/e gonna give that map a try myself

#

tomorrow

rugged void
#

it's pretty straightforward and fun

#

if u can get it to load properly

vernal spruce
#

it loaded first time for me

#

to test it

rugged void
#

think it works fine for my default folder too

#

just can't seem to work with multiverse

brisk mango
#

@noble bolt kody simpon is a noob dev advice

vernal spruce
#

ask the author for a advice

#

TheSourceCode all the way ๐Ÿ˜‚

brisk mango
#

both shit

vernal spruce
#

shit or not there arent many

brisk mango
#

yes so you just gotta learn it urself

noble bolt
#

as i said, getting into it, everyones gotta start somewhere yknow?

#

although if you can recommend me some nice resources thatd be great :)

vernal spruce
#

more than enough to get an ideea on how to do things

noble bolt
#

thanks!

#

woahh theres so much here

#

thanks dude!

vernal spruce
#

yeah.. alot of the api is covered by him

rugged void
#

o i give up is there a multiverse alternative?

vernal spruce
#

making your own..

rugged void
#

that's never going to happen

brisk mango
#

It's really not that hard to create worlds?

vernal spruce
#

he still has the problem of getting that map to work

brisk mango
#
Bukkit.createWorld(new WorldCretor(name).environment(World.Environment.NORMAL));
vernal spruce
#

overall for spigot this would need to be its own skyblock plugin

frigid ember
#

getServer().createWorld(WorldCreator.name("world_name"));

#

this is how i create default worlds

rugged void
#

?

frigid ember
#

you might want to use Bukkit. if you dont have access to the plugin class

vernal spruce
#

we are kinda over that part..

frigid ember
#

Hey guys, is this good design?

    Land land = new Land(5, null, new HashSet<Chunk>());
    Relationships relationship = new Relationships(0, new ArrayList<String>(), new ArrayList<String>());
    Stats stats = new Stats(Tier.TIER_1, 0, 1);

    Kingdom kingdom = new Kingdom(stats, args[0], new HashMap<UUID, Role>(), land, relationship, true);
    kingdom.setRole(p.getUniqueId(), Role.KING);
    kingdomManager.addKingdom(kingdom);

For making a new kingdom instead of having one long constructor

strange grove
#

oof

#

i don't know this typo stuff

#

anywho

#

hey does anyone know how to make custom maps that form together that make one singualar image when put together using spigot of cours

rugged void
#

i give up i guess i can host the oneblock as a standalone for the sake of it

sleek ivy
earnest bay
#

Those should be 3 different characters

sleek ivy
#

hmm, they seem awfully close but you're probably right

lusty vortex
#

So just verifying, the only way to "remove" your map renderer through API, is to remove it directly from the MapView? Just making sure this wont cause memory leaks lmao

frigid ember
#

how can i get a snow flat world, with multiverse?

inland depot
#

@frigid ember i think you can find some plugins that allow for flat world creation using multiverse

#

not sure about the snow part

#

Also, I've been experimenting with FallingBlocks recently. I've tried spawning beacons but sometimes when they hit the ground they turn into tiles. Is there something that I need to fix or is this just standard minecraft physics messing with me?

rugged void
pine goblet
#

Okay, so how do i get each number in an integer (not what you think)

For example if the integer is 20 I want it to be how many 1s are in that number

nova mural
#

I'm confused

#

there's 20 1s in the number 20?

pine goblet
#

yes, okay

#

I gathered

inland depot
#

divide by 1?

nova mural
#

round down 20/x where x is the number you're checking for

pine goblet
#

so like on lunar it goes TPS: 20 [::::::::::]

#

each : = 2

nova mural
#

round down tps/2 ?

pine goblet
#

Okay I want to do this

#

But how will i get it so that every 1 tps makes a :

subtle blade
#

It's going to be 20 no matter what. There will always be 20 lines. If you have the TPS, you have the amount of lines that should be green

#

You can StringBuilder them

tiny dagger
subtle blade
#
StringBuilder barBuilder = new StringBuilder();
barBuilder.append(ChatColor.GREEN);
for (int i = 0; i < 20; i++) {
    barBuilder.append('-');
    if (i == tps) {
        barBuilder.append(ChatColor.RED);
    }
}```
#

Where tps is your tps, obviously.

pine goblet
#

okay ty

tribal coral
#

Boys, I am running into a problem

#

I am dynamically-wise getting values from my YAML file using YamlConfiguration#get(path)

#

When I have a value like this in my .yaml file price: 10 it is being casted into an Integer

#

But for some reason I can't convert this integer to a double

tiny dagger
#

what do you mean

inland depot
#

i think i might be able to help

pastel basin
#

use YamlConfiguration#getDouble(path)

tiny dagger
#

double d;
d = integer;

tribal coral
#

I can change it into price: 10.0, but then I have to do it for every value

inland depot
#

use YamlConfiguration#getDouble(path)
this is the way to go

tiny dagger
#

the value you set is the value you get

tribal coral
#

@pastel basin I made a helper class, so I can get the values by objects and auto-cast them using generic typing

narrow crypt
#
    '2': '{v=2230, type=DIRT, amount=64}'
    '3': '{v=2230, type=DIRT, amount=64}'
    '4': '{v=2230, type=DIRT, amount=64}'

i serialized itemstacks to my configyaml like this

String x = item.serialize().toString();

but how do i get it to an itemstack?

tribal coral
#

Currently I have this

public <T> T getSingleValue(String path) {
  try {
    return (T) this.config.get(path);
  } catch(ClassCastException e) {
    Bukkit.broadcastMessage(ChatColor.RED + "An error occured while trying to get '" + path + "' from the configuration file '" + this.path + "'!");
  }
  return null;
}
subtle blade
#

That's usually not a good idea at all

#

Blind casting is prone to error

#

IDE should be warning you about that too

tiny dagger
#

it was screaming when i was casting a generic

tribal coral
#

But when I retrieve a value like 10 I am getting it as an Integer, and when the value is 10.0 it is a double, but I always want to retrieve it as a double if I cast a value like 10 (without the decimal)

subtle blade
#

That's kind of just what you get. YAML sees 10.0 and it's a double. It sees a 10, it's an integer. It sees 10.0.0, it's a String

#

YAML likes to assume the best type

tribal coral
#

I can understand that

narrow crypt
#

thanks choco, im not completely understanding the docs yet but what do i fill in as second argument

tribal coral
#

But why is Java not casting an Integer to a double when I want to make it a double?

tiny dagger
#

you don't cast this way tho

subtle blade
#

Sorry that link was for Nosai, not you Rik. As for your issue, you shouldn't be setting anything in the configuration to the String representation of a Map

tribal coral
#

Isn't it just a matter of appending a .0? ๐Ÿ™‚

subtle blade
#

You can set an ItemStack directly instead. They're ConfigurationSerializable. #set(ItemStack) and #getItemStack() should work here

narrow crypt
#

well im having issues with that

#

you mean configyaml.set("name", itemstack);

subtle blade
#

Yes

narrow crypt
#

cause if i save another chests it makes the old ones all air

#

so thats why im trying serilizing now

#

so im saving itemstacks to my yaml but after saving another one they are turned to air in the config


loot:
  kist1:
    '4':
      ==: org.bukkit.inventory.ItemStack
      v: 2230
      type: AIR
      amount: 0
    '10':
      ==: org.bukkit.inventory.ItemStack
      v: 2230
      type: AIR
      amount: 0
    '11':
      ==: org.bukkit.inventory.ItemStack
      v: 2230
      type: AIR
      amount: 0
    '16':
      ==: org.bukkit.inventory.ItemStack
      v: 2230
      type: AIR
      amount: 0
    '22':
      ==: org.bukkit.inventory.ItemStack
      v: 2230
      type: AIR
      amount: 0
    '24':
      ==: org.bukkit.inventory.ItemStack
      v: 2230
      type: AIR
      amount: 0
spring sapphire
#

Quick help please

#

To stop player from using any sword or axe, it's player.what?

stone eagle
#

Are you looking to cancel damage being dealt or just interaction overall

spring sapphire
#

interaction overall

stone eagle
#

You could listen to the PlayerInteractEvent and cancel is if the user is holding a sword or an axr

#

Axe*

spring sapphire
#

That's smart

#

but I am working on something like

#

PlayerMoveEvent

#

I want to trigger that action while he is moving

#

nested function or there is an easier solution?

stone eagle
#

There is a player move event

spring sapphire
#

I know I already implement it

#

but I want it to be while moving, cancel block damage

narrow crypt
#
ItemStack x = chestloot.getSerializable("loot." + args[0].toString() + "." + itemname,??? );

What do i fill in on ??? im lost

#

can't find a good explanation on google
Class<T> but i dont know what to do

stone eagle
#

Use the Player Move Event and get getTo to check . Store it in a hash map with the player and check if the location has changed on the player interact event @spring sapphire

#

If it hasn't changed the player isn't moving

spring sapphire
#

I believe there's a simpler way.

#

Like player.setWeapon(const) thing or something like that

tribal coral
#

@narrow crypt That is probably a bug in your code, that your items are being set to AIR again

narrow crypt
#

yes thats true

#

but i didnt found any help here

#

so i tried serialize

stone eagle
#

Like player.setWeapon(const) thing or something like that
@spring sapphire there is no such method, I believe. And if there was, why would that help with your current problem

inland depot
#

Is there a way that I can know if a block is a special type of block when i click it? I know I can use blockdata and blockstate and add a name to the block, but can I do something else using something like NBT tags?

random lark
#

can someone help me with savageftop plugin? (Dev isn't replying)

strange grove
#

does anyone know how to make a large custom map image using spigot? it would rly help I have searched google far and wide but have found nothing and would rly aprecciate if you did help

#

๐Ÿ™‚

vital copper
spring sapphire
#

A quick question

#

what's the event of left click not right?

#

Because I want to disable using a pickaxe for example

#

or swords

dry kiln
#

I'm pretty sure I know the answer to this

#

But is there any way to load tab complete from the alias you're trying to use in commands.yml

#

the alias works but tab complete is still the original command

frigid ember
#

I'm having some trouble with the DiscordSRV plugin. Is anyone familiar with it that can help me out?

boreal spade
#

I teleported to one of my npcs and it brought me to the bottom of the world, i think someone put them there insted of removing them. Anyway i teleported to one and I got kicked for invalid move player packet recived. I tried removing essentials folder, citizens folder, and i still cant join unless I go to console and right as im joining i send myself to another server.

paper compass
#

You need to send yourself to spawn because you could be under the negative 32 bit integer limit in minecraft which can cause that

boreal spade
#

I get kicked right away

paper compass
#

try remove your playerdata from the world

#

only yours

#

whats your IGN?

boreal spade
#

ik how

paper compass
#

Okay

boreal spade
#

il try

#

i tried doing it from user-chache

#

so il try wat u said now

paper compass
#

You need to remove it from the worlds "playerdata" folder

boreal spade
#

there is nothing in playerdata

paper compass
#

try the "world" folder then

#

all the playerdata might be in there

boreal spade
#

just checking my uuid

paper compass
#

yep

frigid ember
#

Hello, I have a problem installing Linux Build Tools, everything step by step how to make a tutorial and I encounter java error -jar Build Tools

paper compass
#

Send your script to run buildtools

#

or whatever you entered to run it

boreal spade
#

im reloading the server now

paper compass
#

Okay

boreal spade
#

thanks!

paper compass
#

np!

agile rock
#

im making a coinflip plugin, every half second i make a new inventory and do player.openInventory(inventory); . But doing it this way seems to drop tps, anyother ways to update/open a players inventory with a new inventory

earnest bay
#

Why not just change the contents of the inventory? That would be much faster

frigid ember
#

Would someone be able to help me. My console and chat is being spammed with 50, false, 100, true

#

Does anyone know anything about DiscordSRV? I followed the Github guide perfectly and hosted my bot on a VPS but it still doesn't work

#

DiscordSRV is a java plugin?

#

wtf it just started working

#

xD

#

it works nvm!

#

what does the BlockData object actually store about a block

agile rock
#

@earnest bay thank you!!

frigid ember
vital copper
#

What plugin did you install?

frigid ember
#

Its not down to any plugin, I've used the server with no plugins on, and still happened

vital copper
#

And just to verify, you are using spigot as your jar?

frigid ember
#

Its not the host, because it would happen on my other spigot server hosted on the same VPS. And yes it is a Spigot Jar

tiny dagger
#

someone had too much fun with debuging

frigid ember
#

I have never seen this in my time

#

All of my known possible debugging options are off

tiny dagger
#

yeah it's some debug left by a dev

frigid ember
#

Even with no plugins active?

#

I find it hard to see that working out

tiny dagger
#

well then it's the server

frigid ember
#

I did go from paperspigot to spigot, but both times, this would be happening

vital copper
#

have you tried yeeting all the files off the server and loading up new server files?

frigid ember
#

And on all 4 of my spigot servers?

#

Its my next option, but I was hesitant to do that, as there are MANY files on there

vital copper
#

Your first step would be to back up anything, of course.

frigid ember
#

Fun lmao

upper hearth
#

Only thing it could really be if you have no plugins is the yml files generated by the jars.

frigid ember
#

Yes thats what I was originally thinking

upper hearth
#

(spigot.yml, bukkit.yml, server.properties, bungee.yml)

frigid ember
#

But even my own paid developer was hella confused as he has never seen it before

upper hearth
#

One of those probably have a debug mode enabled somewhere that you missed.

frigid ember
#

And neither have I and have been developing servers for years

upper hearth
#

Try going back a version on spigot maybe?

frigid ember
#

Guys, how do I stop players from being teleported to their last location when jumping between server? I want them to go to spawn

upper hearth
#

or build latest if you haven't

frigid ember
#

Its odd, because it never used to happen

upper hearth
#

Yeah I've never seen that before

#

@frigid ember with public plugins or custom?

frigid ember
#

In general, is there a setting for it?

upper hearth
#

Not by default afaik

frigid ember
#

I've set spawn with cmi

upper hearth
#

cmi should have an option on join to teleport them to spawn

frigid ember
#

^

#

but bungee teleports you back to where you left, resulting in you going back to the same place as the teleporter....

#

Shouldn't do?

upper hearth
#

CMI should fire after Bungeecord.

frigid ember
#

Unless its setup to do that

#

In the teleporter

dusty topaz
#

any idea why nothing is being shaded?

boreal tiger
#

isnt apache commons already in spigot or bukkit?

#

you dont need to shade it iirc

dusty topaz
#

no, you do

#

and i figured it out

boreal tiger
#

ah wait, its only apache commons lang that is included

dusty topaz
#

*version 2.6

#

which is outdated and volatile since it's in craftbukkit also

boreal tiger
#

yeah its probably not the latest version

#

what do you mean by volatile

dusty topaz
#

it's not reliable

frigid ember
#

Thonk

dusty topaz
#

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

#

maybe I misread that, 2.6 might not be volatile but 3 is

frigid ember
#

Cause it's probably from minecrafts depends not from bukkit

#

Memes

dusty topaz
#

either way I need to shade in 3, so I did

frigid ember
#

Shading 20mb Jars feels bad

dusty topaz
#

good thing it's not 20mb then i suppose

pastel basin
#

If you want to upload this plugin to spigot you wont be able because the limit is 8mb

boreal tiger
#

you dont need to shade the whole thing

#

you can shade certain things only

dusty topaz
#

The jar builds to < 1mb .-.

#

apache commons isn't that big lol

boreal tiger
#

well I guess its volatile because its out of your control

#

apparently 2.6 is also deprecated

#

so I guess 2.6 might be removed in a future spigot build

#

what was the problem with your pom btw @dusty topaz

dusty topaz
#

was shading wrong

#

and my jar is 400kb :p

#

so not a massive shade to do either

boreal tiger
#

thats quite big, iirc there's a way to only shade the necessary stuff

#

(big for a spigot plugin that is)

dusty topaz
#

it is a big plugin

#

and minimizeJar is probably what you're thinking of

boreal tiger
#

what was the previous size?

#

apache commons is around 500kb apparently

#

you should probably try to minimize the jar size as 500kb is quite big

dusty topaz
#

the jar is minimized lol

#

it's a big plugin

frigid ember
#

okay i found the issue never mind lmao

clear crag
#

Hello, i have a bungeecord server running at an external household and the hub for the server is located at my house. The issue is that when my internet goes down then comes back on, the bungeecord refuses to connect to it at all, the only way to get it to work again is to restart bungeecord. What can i do to fix this?

frigid ember
#

Could move the servers to a host

#

That way you will have little issues in keeping it up, such as if your wifi goes down

#

You don't have to worry about the server

#

There are a few cheap(ish) hosts

#

I personally would only use a home hosted server for development, cause someone could always DDOS you and its not worth the trouble

tawny crescent
#

hey, i wan't to download the plugin viabackwards on my 1.12.2 server but nothing happen, how can i enable it ?

agile rock
#

I want to make a chunk hopper plugin. How would i make each "chunk hopper" have a unique id, so when a player clicks on it, i can check the unqiue id of the chunk hopper

dusty topaz
#

UUID.randomUuid();

tiny dagger
#

or create one just like how bukkit does it for offline uuids :p

#

or i dunno, i'm pretty sure chunks have proper hashcode nowdays

dusty topaz
#

hashcode algorithms will usually fail somewhere

#

in one of the quadrillions of multiverses

tiny dagger
#

same with uuid randomuuid

#

more often in a quadrillions of multiverses than an hashcode

dusty topaz
#

you can't guarantee that ๐Ÿ˜ 

tiny dagger
#

i could do the maths if you want :p

lusty vortex
#

Just have an incrementing integer.. Impossible to have collisions

tiny dagger
#

yeah but i still say to use an uuid generated by x and z

lusty vortex
#

I mean use a UUID if you're expecting a number all the way past 9,223,372,036,854,775,807* lol

strange grove
#

does anyone know how to divide in java?

#

this is for a plugin i'm doing ๐Ÿ˜›

#

:d

tawny crescent
#

protocolsupport plugin is activate when i make /pl but he is not activate and i can't connect on 1.9.4

lusty vortex
#

@strange grove /

#

10 / 5 = 2

strange grove
#

no no

tawny crescent
#

and the folder PrtocolSupport don't exist

strange grove
#

how od you divide using java code

lusty vortex
#

That's how

strange grove
#

that's it?

#

is it that simple

lusty vortex
strange grove
#

i thought it was gonna a complex heck hole

#

lol

#

๐Ÿ™‚

lusty vortex
#

This isn't ASM

strange grove
#

define ASM

lusty vortex
#

Assembly

strange grove
#

ok

#

๐Ÿ˜ฆ

arctic cedar
#

how could i make dynamic type holograms with holographic displays

#

where text changes depending on conditions

#

like text is replaced with other text

strange grove
#

if statment

arctic cedar
#

but not placeholders

strange grove
#

i guess

lusty vortex
#

It's just setCustomName. No idea how you'd do it with that plugin

arctic cedar
#

uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

#

idk anything about spigot coding

strange grove
#

oh no

#

dang it man

#

well i can give you a suggestion

#

on a spigot series to get you started

#

...

#

@arctic cedar

#

if you would like

arctic cedar
#

well i'm just good with config editing and that's it

strange grove
#

then that does not cut it

#

i'm still a newbie myself

arctic cedar
#

because idk if holographic displays has a feature with reoplacing text

strange grove
#

it prbobably does in the config

#

but for if statements and crap your gonna need to learn how to code

arctic cedar
#

idk programs to change .jar files

strange grove
#

hmm

#

well

arctic cedar
#

also i would want to make it work with placeholders

strange grove
#

define place holders

#

oh

#

i see i'm dumb today lol

#

well

#

hmm

#

@arctic cedar

arctic cedar
#

huh

strange grove
#

here's a spigot course you should take

arctic cedar
#

cool

strange grove
#

well

#

i suggest you take that if you want to learn how to make your own holograms

#

๐Ÿ™‚

#

bye bye

arctic cedar
#

well ia dont feel like literally making my own plugin

strange grove
#

still

#

good use of if statements

#

anyway gtg

#

๐Ÿ™‚

arctic cedar
#

ok

strange grove
#

- cosversation has been terminated-

river niche
#

HoW Do I MaKE a SeRvEr?

tawny crescent
#

What can i do if the plugin don't load ??

pastel basin
#

delete it

tawny crescent
#

But i wan't to use it i can't fix it ?

pastel basin
#

only the dev can answer

arctic stone
#

How do I make the server icon not pixelated? I have the required image size, and the image isn't blurry in my editor.

#

But as soon as I open up minecraft, the image is extremely pixelated.

pastel basin
#

server icons are limited to 64x64

arctic stone
#

Yup, I used that image size.

pastel basin
#

maybe you are not exporting the image correctly?

arctic stone
#

I am exporting as a 64x64 png file.

pastel basin
#

did you create the image as 64x64 or are you shrinking the size with the editor?

arctic stone
#

I tried both, but the image is still pixelated

pastel basin
#

get verified and send a screenshot of the image on the editor and on the server list

arctic stone
#

when I make an account and do the confirmation thing, it says error...

#

on the spigotmc website

green sparrow
#

The support email on the spigot site doesnt work... How do I talk to someone about getting my 2fa reset?

pastel basin
#

The first one is definitely not 64x64

marsh hawk
#

just scale it down

round dock
#

Hello frriends

#

Just want to know if it's possible to default the nether world as the frist and only one on a server

#

it is possible?

#

Cause i tried with Multiverse-Core Plugin and it doesn't allow it to be like that

#

eather if i disable the option "AutoLoad"

#

i'll be very thankful if you can help me

lilac wasp
#

Just make a spawn at the nether and set the spawn and don't allow people to leave?

#

No need to be complex.

marsh hawk
#

Heyo,
I'm trying to save a class to config using FileConfiguration.

    public UUID auctionID;
    public ItemStack item;
    public UUID playerSelling;
    
    public double startingPrice;
    public double currentBid;
    public UUID playerCurrentBid;```
Thats all i need to save however i get this error when trying to read the file.
```org.bukkit.configuration.InvalidConfigurationException: could not determine a constructor for the tag tag:yaml.org,2002:me.buby.bubyrpg.services.auctionhouse.AuctionInstance``` Is this implying i need a special constructor for yaml?
dusty topaz
#

make the class implement Serializable

marsh hawk
#

easy thankyou

arctic stone
#

@pastel basin no, its 64x64

#

I can remake it

#

@pastel basin I remade the file, its a 64x64 file.

pastel basin
#

64x64 pixels?

arctic stone
#

yep

#

It is still pixelated

#

don't know why

marsh hawk
#

Hmm changing it to serializable didnt seem to do anything

arctic stone
#

Still won't work

inland depot
#

I'm using the holographicdisplays api for one of my plugins, and when I create a hologram using the method below, the hologram isn't centered over the block. How do I center it?

Code:

                        loc.setY(b.getLocation().getY() + 1);
                        Hologram hologram = HologramsAPI.createHologram(plugin, loc);
                        TextLine textLine = hologram.appendTextLine(ChatColor.translateAlternateColorCodes('&', cs.getString("legendary")));
marsh hawk
#

round it to the nearest .5 on x and y axis

inland depot
#

ok thanks

chrome heron
#

how to turn .java to .class

#

i turn the .class file to .java file than i dont know how to return it.
I am trying to edit the file on bungeecord to disable the tabcompleteevent

frosty plank
#

Why doesn't my spigot server appear to anyone?

spring sapphire
#

is EntityDamageByEntityEvent.getDamager()

#

the guy who is being damaged or the attacker?

patent monolith
#

@chrome heron might not be the best way to do it

upper hearth
#

@spring sapphire getDamager() is the entity that did the damage. getEntity() is the entity that was damaged

chrome heron
#

@patent monolith so how?

patent monolith
#

@chrome heron are players without permissions able to tab complete those commands?

chrome heron
#

ys

#

bungeecord cant disable with plugin

patent monolith
#

Ask the devs to fix it

#

Of the plugin

chrome heron
#

whatt dev ?

#

where

patent monolith
#

wait

#

I just realized this is bungeecord

#

LOL

chrome heron
#

ใ€‚ใ€‚ใ€‚

#

lol

paper compass
#

Guys ping me, I want to get a lot of pings

patent monolith
#

@paper compass

chrome heron
#

@paper compass

paper compass
#

Kk ty

spring sapphire
#

if(e.getEntity().getUniqueId() == " fb57db72-65b7-36f9-8438-92f36075321")){

#

why is not working?

final verge
#

@spring sapphire do you know the difference between == and .equals first of all

spring sapphire
#

.equals() take an object?

final verge
#

do you know why you would use each one

patent monolith
#

Also dont forget to add .toString

final verge
#

both have a use case

spring sapphire
#

I tried .toString and it didn't work

final verge
#

but they are both for different things

spring sapphire
#

I can't find the type of getUniqueId so I equal it

chrome heron
#

@patent monolith find any solution?

spring sapphire
#

If someone shown me an example, I would be glad

final verge
#

@spring sapphire let me find you an article or smth on the difference

#

that's your big problem rn

patent monolith
#

@chrome heron do you have a link to the plugin?

final verge
chrome heron
#

what what plugin

final verge
#

review that and it should help

spring sapphire
#

wow thanks

chrome heron
#

i cant find any plugin based on bungeecord to disable tabcompleteevent

harsh anvil
#

Why would you want to?

chrome heron
#

I want to disable the tab complete

patent monolith
#

Players w/o perms see tabcompletes @harsh anvil

#

@chrome heron what is being tab-completed? User names of players online?

harsh anvil
#

Haven't had any issues with that

#

I do use ACF tho

chrome heron
#

no ,i want to make something like noplugin

#

but bungee version

harsh anvil
#

I really don't get why people care so much that others can see your plugins

patent monolith
#

Acf is what ive been looking for all these years

#

Where has it been

harsh anvil
#

Yeah it's great

chrome heron
#

sorry i care :๏ผ‰

harsh anvil
#

Just don't give them permissions to check and you're done

patent monolith
#

@chrome heron how did you test whether or not players can see the tabcompletes? Did you /deop yourself?

chrome heron
#

of course i tested

#

when i deop

patent monolith
#

Do you have any permissions plugins?

chrome heron
#

bungee tab complete still hv

#

luckperms

patent monolith
#

Remove all your perms for your player and try again

chrome heron
#

spigot disabled

patent monolith
#

Your testing may not be extensive enough

chrome heron
#

i dont think this work

buoyant path
#

is entityplayer#ar on 1.8 a boolean for if they are left clicking AND right clicking?

chrome heron
#

they have hv tab complete

#

but cant exe the cmd

patent monolith
#

Doesnt matter if you cant exec it

#

You are trying to see if it tab completes or not

chrome heron
#

ys

#

i dont want people to see the tabcomplete

patent monolith
#

ok here is what you should try

#
  1. stop server
  2. temporarily remove luckperms from your plugin folder
  3. start server
  4. deop yourself
  5. try to tab-complete (you dont need to execute the command)
chrome heron
#

ok

#

just on bungee?

patent monolith
#

on the subserver

harsh anvil
#

Pretty sure you shouldn't have tab complete if you don't have perms. Idk for bungee tho

#

Unless the plugin doesn't do the autocomplete properly

chrome heron
#

sub servers?

#

i disabled the tabcomplete on subservers

#

any subservers tab complete does not exeist on deop

patent monolith
#

but players dont go on the bungee one?

chrome heron
#

wait i give a picture then u will know

patent monolith
#

ohhhh

chrome heron
#

all the available tabcomplete command is on bungee

patent monolith
#

i thought you meant the args okay

chrome heron
#

so i dont know how to disable it

patent monolith
#

there are plugins for that

chrome heron
#

well i cant find

#

i need free plugin

#

if u hv

patent monolith
chrome heron
#

for bungee?

patent monolith
#

for that server you took the screenshot on

chrome heron
#

no this plugin i hv tested

#

it doesnt work

#

the tab complete still get overide

patent monolith
#

ok here is what you should try
0. install that plugin and configure it

  1. stop server
  2. temporarily remove luckperms from your plugin folder
  3. start server
  4. deop yourself
  5. try to tab-complete (you dont need to execute the command)
#

oops
-edit: fixed

#

slightly different than the first one i suggested

chrome heron
#

but i need that plugin...

patent monolith
#

temporarily

#

dont worry, we will put it back

#

its just for testing

#

maybe drag it to another folder idk

#

just for now

chrome heron
#

for sub servers?

patent monolith
#

no, for the server you took the screenshot on

patent monolith
#

no?

#

wrong screenshot?

chrome heron
#

no

#

correct screen

patent monolith
#

i dont see any tab-completions in that screenshot lol

patent monolith
#

okay, here is what I suggest then

#

well

#

what does the config file look like for that plugin?

chrome heron
#

no wait

#

i think this will be better

#

whitelist

#

which i am using now

#

whitelist anti tab

patent monolith
#

k

chrome heron
#

there hv a pro version which support bungee

#

but i dont want to pay any on it๐Ÿ˜…

velvet marten
#

Is there a way to ovveride multiverse enforced gamemode change on world teleport ? I am writing a plugin where I tp players for a pvp fight, so the world is set to survival. When they die, I give them the option to tp back and spectate in spectator mode. I have tried several things including trying to use the bypass permission of multiverse but it doesnt seem to work. I teleport them first and the change their gamemode to spectator within my plugin and it simply doesnt work. They are still in survival!
The question is, is there a way to bypass that and be the last to do the teleporting ?
Should i just listen to the event of teleportation last and just set the latest gamemode ?

chrome heron
#

.

buoyant path
#

Is EntityPlayer#ar a boolean for checking if they are holding either click? Or just left?

frigid ember
#

Guys

#
    @SuppressWarnings("unchecked")
    public Kingdom(Map<String, Object> map) {
    this.stats = new Stats(Tier.valueOf((String) map.get("tier")), (int) map.get("xp"), (int) map.get("level"));
    this.relationship = new Relationships((int) map.get("reputation"), (List<String>) map.get("allies"), (List<String>) map.get("enemies"));
    this.land = new Land((int) map.get("power"), (Chunk) map.get("coreChunk"), (Set<Chunk>) map.get("chunks"));
    this.name = (String) map.get("name");
    this.open = (boolean)map.get("open");    
    }
    @Override
    public Map<String, Object> serialize() {
    Map<String, Object> map = new HashMap<>();
    map.put("tier", String.valueOf(stats.getTier()));
    map.put("level", stats.getLevel());
    map.put("xp", stats.getXp());
    map.put("name", name);
    map.put("members", members);
    map.put("open", open);
    map.put("power", land.getPower());
    map.put("chunks", land.getChunks());
    map.put("coreChunk", land.getCoreChunk());
    map.put("allies", relationship.getAllies());
    map.put("enemies", relationship.getEnemies());
    return map;
    }

    public static Kingdom deserialize(Map<String, Object> map) {
    return new Kingdom(map);
    }

Do I have to check if the cast is safe or can I just cast it if it implements ConfigurationSerializable

lusty vortex
#

@frigid ember Just cast away

frigid ember
#

Alright thanks ๐Ÿ‘

frigid ember
#

Hey guys, I keep getting this error
https://hastebin.com/ahamixemux.bash

    @Override
    public Map<String, Object> serialize() {
    Map<String, Object> map = new HashMap<>();
    map.put("tier", stats.getTier().toString()); //line 96
    map.put("level", stats.getLevel());
    map.put("xp", stats.getXp());
    map.put("name", name);
    map.put("members", members);
    map.put("open", open);
    map.put("power", land.getPower());
    map.put("chunks", land.getChunks());
    map.put("coreChunk", land.getCoreChunk());
    map.put("allies", relationship.getAllies());
    map.put("enemies", relationship.getEnemies());
    return map;
    }

But Tier is not null

mental coral
#

I'd double check what stats.getTier() returns. Java seems to think otherwise that it is not null.

frigid ember
#

How can I remove a specific Pathfinder goal from a Ravager entity?

bleak canyon
#

can you host a server for minecraft win10 edition? And if so, is it up to date with the current patch (1.14.60)

bleak canyon
#

Does spigot only work with Java edition than im guessing?

frigid ember
#

Hi there

#

im having an issue,

vital copper
#

you would be correct in your assumption

frigid ember
#

bungee keeps giving me the error of "io.netty.channel.connecttimeoutexception"

#

when connecting to my lobby

vital copper
#

ConnectException which will be thrown if a connection could not be established because of a connection timeout.

frigid ember
#

how would one go by fixing it?

#

;P

#

as it works when you connect directly

vital copper
#

is this your first time setting up bungeecord?

frigid ember
#

No

#

thats the issue, it was legit working last night

vital copper
#

i would start by making sure in your config.yml, under servers, that lobby is still pointing to the correct server address

frigid ember
#

yeah it is hm ;P

#

i dont understand, its strange

#

Hey guys, is there a better way to do this?

    public Kingdom(Map<String, Object> map) {
    this.stats = new Stats(Tier.valueOf((String) map.get("tier")), (int) map.get("xp"), (int) map.get("level"));
    this.relationship = new Relationships((int) map.get("reputation"), (List<String>) map.get("allies"),
        (List<String>) map.get("enemies"));

    Chunk c = null;

    if (map.get("coreChunk") != null) {
        c = ((Location) map.get("coreChunk")).getChunk();
    }

    Set<Chunk> chunks = new HashSet<Chunk>();

    if (map.get("chunks") != null) {
        for (Location l : (List<Location>) map.get("chunks")) {
        chunks.add(l.getChunk());
        }
    }

    this.land = new Land((int) map.get("power"), c, chunks);
    this.name = (String) map.get("name");
    this.open = (boolean) map.get("open");
    }

I'm trying to save Chunks to the config, but I have to change it to location and then change it back to a chunk.

vital copper
#

Excill

#

Is lobby hosted on the same machine as bungeecord?

frigid ember
#

yeah it is ;P

vital copper
#

okay, next check server.properties, and make sure the port is fine in there.

frigid ember
#

It is, im starting to think its a firewall issue

#

Hm

#

it seems to have different ips if that matters

vital copper
#

wait, what has different ips?

frigid ember
#

the lobby + prison (ones that arent connecting,) and the factions and skyblock (ones that bungee is working)

#

it must be a firewall ;P

marsh hawk
#

anyone know how i can make it so a play can edit a sign to input a value? Like not a physical sign but make it pop up through code

frigid ember
#

Anybody got any idea on why this isn't being cancelled or even called?


    @Override
    public void onEnable() {
        this.protocolManager = ProtocolLibrary.getProtocolManager();

        this.protocolManager.addPacketListener(new PacketAdapter(this, ListenerPriority.LOWEST, PacketType.Play.Client.ITEM_NAME) {
            @Override
            public void onPacketReceiving(PacketEvent event) {
                    event.setCancelled(true);
                    event.getPlayer().sendMessage("cancelled. (1)");
            }

            @Override
            public void onPacketSending(PacketEvent event) {
                    event.setCancelled(true);
                    event.getPlayer().sendMessage("cancelled. (2)");
            }
        });

    }

keen compass
#

you can't bring up the sign edit gui after the sign has been placed, but you can still edit the text of the sign via other means however @marsh hawk

#

but all you do is just get the blockstate of the sign

marsh hawk
#

Nah i mean like shows the sign edit gui without using a physical sign

#

i just need the input from what they put in

frigid ember
#

Oh

keen compass
#

it is client side if I recall for the sign edit gui, you could try sending the packet for it though

#

but I doubt it will work without having a physical sign

marsh hawk
#

hmm ill do some looking around.

#

I know it's possible i've seen it done plenty of times

keen compass
#

for packet stuff

#

are you sure the physical sign isn't just hidden @marsh hawk ?

frigid ember
#

Client Side modifciations for signs

#

you'd probably be best off deleting that sign client sidedly and replacing it

#

with a new one if anything.

keen compass
#

@marsh hawk ok looking at the protocol, it would appear that it might be possible if you send a block change packet to make the client think there is a physical sign there

#

and then you should be able to send the update sign packet

#

I mean Open Sign Editor packet

marsh hawk
#

Awesome thanks, I'll look into it

safe mesa
#

my server just stoped working

#

any help

frigid ember
#

strange - Bukkit.getName was mentioned

#

i havent seen this before

#

heck

#

though i havent looked through many crash logs before lol

#

NullPointerException

safe mesa
#

wait

#

huh