#help-archived

1 messages ยท Page 13 of 1

subtle blade
#

It's present in BlockBreakEvent

ashen stirrup
#

Found it lmao

#

I'm dumb, don't worry

fleet burrow
#

Thanks

#

What about having characters like ยง in config so I could store an NBTTagCompound
I am getting this error
org.bukkit.configuration.InvalidConfigurationException: unacceptable code point '' (0x15) special characters are not allowed in "'string'", position 306

proper bison
#

[20:32:53] [Server thread/ERROR]: Error occurred while enabling ServerSelector v1.0 (Is it up to date?)
java.lang.NullPointerException: null
at me.kieranslayer.ss.ServerSelector.onEnable(ServerSelector.java:116) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462) [spigot.jar:git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376) [spigot.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:457) [spigot.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:267) [spigot.jar:git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [spigot.jar:git-Spigot-800b93f-8160e29]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]

#

what the problem here ??

fleet burrow
subtle blade
#

at me.kieranslayer.ss.ServerSelector.onEnable(ServerSelector.java:116) ~[?:?]
usually when there's an NPE onEnable() for a plugin it's because you're trying to get a command that does not exist in the plugin.yml

#

Though we don't know. Send your code and the line in question and we'll tell you

#

@fleet burrow Why are you holding section symbols (or NBT for that matter) in a YAML configuration?

proper bison
#

okay thanks

fleet burrow
#

I am making a plugin for custom recipes

#

And it's using ExactChoice

#

So for customrecipes of custom recipes

subtle blade
#

Right. Though you would probably want to use the text component API, no?

#

{"text":"foo ","color":"red","extra":[{"text": "bar","color":"blue"}]}

#

At least if you're holding NBT, I assume you're directly injecting that into an ItemStack and not working with the Bukkit API

#

(because Bukkit doesn't expose NBT)

fleet burrow
#

Yeah

#

Why would I use the text component api though?

subtle blade
#

Because that's how modern chat is handled in the Minecraft server

#

Bukkit's ChatColor system is legacy (and truthfully, BungeeCord's Chat API really should be depended on in Bukkit at this point)

fleet burrow
#

But I am not doing anything in chat

#

๐Ÿค”

subtle blade
#

No, it's a name. Right?

#

All text is handled using text components

#

/give @p diamond_sword{display:{Name:"{\"text\":\"Foo\",\"color\":\"red\"}"}} will work.

fleet burrow
#

ohhh

#

Thanks

subtle blade
#

I'm not sure Bukkit's ItemStack will play nicely with it because it does still use the legacy system, but afaik, it should work fine

#

Though really, items and configuration files are icky

rapid axle
#

Anyone happen to know where i can change the way /who and /list looks, i can't seem to find anything on the internet

subtle blade
#

/who and /list?

#

Bukkit doesn't supply those commands

silk bane
#

it might supply /list

#

if you have who maybe you have essentials or smth

rapid axle
#

oh thats right, lol thanks

near lodge
#

/list is from minecraft itself Iโ€™m pretty sure

dusty topaz
#

Does World#getTime return 0 or 24000 for 12am

#

I'm assuming 0

near lodge
#

It should return 0

dusty topaz
#

thought so

silk bane
dusty topaz
#

ah yeah so will be 0

near lodge
#

Huh, I wonder why the check time < 0

#

Under what circumstances can it have negative times

silk bane
#

seems like plugins are allowed to set negative full time

#

or at least the contrary isn't enforced in code

near lodge
#

Hmm, it should be enforced in the setTime

#

I donโ€™t see a reason for negative times

silk bane
#

doesn't look like setFullTime enforces it

#

unclear if that's a bug, given that getTime accounts for it

#

maybe it makes sense somehow

#

who knows

dusty topaz
#

i'm trying to implement something where you can only do X between configurable times. but if the start time is say, 20000 and the end time is 4000, how would I implement that

#

would i have to manually tick or is there some maths that i'm not seeing

silk bane
#

you could implement that as two ranges

#

20000-24000 and 0-4000

#

there's probably a more elegant way i'm missing

near lodge
#

You mean world time or server tick?

dusty topaz
#

world time

#

@silk bane yeah i thought about that but then i also thought that too

silk bane
#

lol

dusty topaz
#

i'm not the smartest at maths

near lodge
#

Oh I see what you mean

#

Yeah as konsolas said should be the way to go

dusty topaz
#

is there no nicer way of doing it? tbh i'd rather just make a 1 tick runnable

silk bane
#

ok it turns out there is a big brain way of doing it

dusty topaz
#

and count

silk bane
#
{
    return modN(x - a) <= modN(b - a);
}```
tiny dagger
#

best way to cap a number -x to x? ๐Ÿค”

near lodge
#

Is that actually faster @silk bane ?

silk bane
#

doubt it

#

but it's big brained

dusty topaz
#

i think i just make a runnable

#

thanks for the help ๐Ÿ™ƒ

near lodge
#

yeah, mod operators are magic

dusty topaz
#

that goes over my head

near lodge
#

there are really neat things

#

with mod operators

silk bane
#

do a maths degree

dusty topaz
#

pass

silk bane
#

should have applied for maths tbh

#

now i'll be stuck with compsci for 3 years

near lodge
#

@silk bane where are you from?

#

uk?

silk bane
#

uk

#

yeah

near lodge
#

I noticed since you said maths

#

instead of math

#

๐Ÿ˜›

silk bane
#

๐Ÿ˜ฎ

dusty topaz
#

i'm only going into college

#

in uk land

bronze marten
#

compsci better than math

#

less proofs

#

:D

tiny swift
#

Hi, I have a skyblock server. When placing certain items like barrels, bed and some others, they just disappear. Any idea what the issue can be? We have skyblock plugin, worldedit, worldguard, and a few that I cannot imagine being an issue..

#

There is no error message

near lodge
#

What server version are you on?

tiny swift
#

1.15.2

near lodge
#

Do you have ViaVersion or some protocol plugin?

tiny swift
#

No

near lodge
#

They disappear from inventory?

#

or they just don't place?

tiny swift
#

Yes, they just blink where I try to put them and just disappear

subtle blade
#

My concern would immediately go to world protection plugins such as WorldGuard or GriefPrevention. Ensure they're up to date as well

#

If so, check on the configuration files

near lodge
#

check worldguard blacklisted items

#

also check for EssentialsProtect if you have it

#

and it's config if you do have it

tiny swift
#

Griefprotection is not there and the people at worldguard said that if there is no message, it is not worldguard

#

I dont have essentialsprotect

near lodge
#

What plugins do you have?

tiny swift
#

Advanced-portals
Citicens
CitizensServerSelector
EssentialsX
IrdiumSkyblock
Multiverse-Core
PermissionsEx
SetSpawn
Skript
SkyblockX
WorldEdit
WorldEditSelectionVisualizer
WorldGuard

#

Not much of these have possibility to blacklist items,..

near lodge
#

check your skripts

tiny swift
#

There are two scripts, AntiWorld and NoBreak

near lodge
#

Do they cancel the placement?

tiny swift
#

AntiWorld:
on script load:
message "&b&lAntiWorld &bLoaded! &7Developer: &bTrymzii" to the console
#Anti-Break
on break:
if player does not have permission "Antiworld.admin":
cancel event
#Anti-Build
on place:
if player does not have permission "Antiworld.admin":
cancel event
#No PvP
on damage:
cancel event
#Always Sunny
on weather change:
set weather to sunny
#Burning disabled
on burn:
cancel event
#No loss of hunger
on hunger meter change:
cancel event

#

The other just this:
on break:
player is in "{@World}"
player doesn't have permission "{@Permission}":
cancel event

near lodge
#

you can use

test 

for code

tiny swift
#

In the script you mean?

frigid ember
#

how do i check if a section exists in bungee

silver pewter
#

Hello, dose anyone have the forum thread about premium guidelines thanks

keen moth
silver pewter
#

thanks ๐Ÿ™‚

south cedar
#

Hello there!
I'm having some issues with Dynmap not rendering in the web browser correctly as seen in the attached screenshot.
I'm running /dynmap radiusrender 1500 (From the center of the world).
I've got a world border set to a value of 2500 with Minecraft's default system.
I also tried installing WorldBorder and pre-generating the entire world within the border. and this issue still occured.
Someone suggested to remove the WorldBorder plugin and try again (now that the world is pre-generated) although I've still got the same issue.
Is anyone able to assist with this? Thank you!

crystal trench
#

@crystal trench btw this worked just fine lmao https://srcb.in/5e1e0e9f52 40 lines of code
@fleet burrow I don't use minecraft NBT ๐Ÿ˜… I made custom NBT for saving my data and loading fast, and I work with it in Async

jagged umbra
#

@south cedar So, the world is for sure, 100% pre-genned within the purview of dynmap?

#

Just making sure

south cedar
#

I believe so. WorldBorder (Plugin) completed

#

and Dynmap completed rendering

undone moat
#

@south cedar I had a similar issue.

#

Not sure what the cause is.

#

It still happens for me.

jagged umbra
#

Have you tried it in different browsers? It could be a literal rendering issue.

#

Though, based on the patterns, it seems like an issue with the plugin itself

south cedar
#

Just tried now. Same issue

undone moat
#

I pre-genned using WorldBorder as well.

jagged umbra
#

Hmm. If you restart, the dynmap glitches/black spots stay in the same configuration, right? They don't move around?

south cedar
#

Yep

jagged umbra
#

Anything special about those chunks? Have you inspected them with spectator, or anything?

south cedar
#

Nothing seems special. I've teleported to them and they're normal to me

#

I can run radiusrender 8 inside them and some of them fix, although others don't

jagged umbra
#

Be back in a sec

south cedar
#

Alrighty

humble hollow
#

@undone moat it seems to be a render issue with dynmap and this happens all the time regardless for some reason.

#

when zooming in, it usually fixes itself sometimes

winter hare
#

I'm gonna keep on asking this once in a while because I need some assistance on it and I can't seem to find any information anywhere. Is the vanilla commands for /scoreboard bugged in spigot 1.12.2? I can't seem to make my nametag disappear or colour it. I don't have any plug-ins yet so it's something with spigot

undone moat
#

I have no issues with it. Everything important renders fine for me.

#

@humble hollow let me try zooming in.

south cedar
#

Yeah I have noticed zooming in helps with some chunks, not all though

humble hollow
#

^

#

it might be a packet issue if there is too many chunks in the world that us, the user, would have to pull from dynmap

south cedar
#

I only have a 2500x2500 world. Don't think that's an issue

humble hollow
#

@south cedar gonna try for my server and check console

south cedar
#

Alrighty

alpine tide
#

Hi, I need help with plugins

south cedar
#

If you would like to browse around mine let me know I'll DM you the discord with console access

humble hollow
#

@alpine tide ask away, dont wait for a response

#

@south cedar sent FR since i keep dms off

south cedar
#

accepted

alpine tide
#

Anyone teach to make plugins or recommend me to see some tutorials?

humble hollow
#

youtube has some tutorials, but you would need to understand how java works

alpine tide
#

I am learning a bit of Java, then I finish everything about Java, I will see some tutorials

keen moth
#

^^^ been having the same issue with dynmap. unsure what's causing it

#

2500x2500 map, genned, not fully rendering ๐Ÿ˜ฆ

chrome lark
#

I personally just re-ran the pre-gen with the force option and full rendered, wasn't perfect, but left much less unrendered

#

some oddball quirk with mojangs chunk system

tiny dagger
#

How do you usually handle async callbacks? ๐Ÿค”

subtle blade
#

CompletableFuture's #thenRunAsync() or #thenCallAsync()

#

Or, I suppose, handleAsync()

tiny dagger
#

Thank you

modern monolith
#

If sonatype is broken how can we get bungeechat for spigot?

rancid python
#

excuse me, is there a plugin that sets a default spawnpoint? im meaning, (example) i spawn at 0, 100, 0, and i move to 100, 100, 0, i leave the server, and again i am at 0, 100, 0, also, it is for 1.15.2?

frigid ember
wanton delta
#

it may be due to the world youre loading being a legacy world

#

created before 1.13

frigid ember
#

Its a new 1.15 server, the worlds 1.15 generated

wanton delta
#

then it may be due to resources

prime sparrow
#

Can someone help me with some dns stuff?

silver pewter
#

Hello, how can I disable ender pearl throw?

pastel basin
#

Listen for ProjectileLaunchEvent, check if projectile is an ender pearl, cancel the event

silver pewter
#

Okay thanks

#

Will the ender pearl stay in the inventory?

pastel basin
#

maybe

#

you'll need to test

rapid lance
#

If it doesnโ€™t, just give em and ender pearl

#

Easy

pastel basin
#

theres a chance the entity will be killed

#

^

silver pewter
#

I'm making an server selector for someone that's all

rapid lance
#

Why wouldnโ€™t you use a compass

#

Isnโ€™t that the more popular server selection tool

silver pewter
#

Yeah, but they can change it to anything

rapid lance
#

Oh

pastel basin
#

why dont you use playerinteractevent and the setUseItemInHand(Event.Result) method

rapid lance
#

Yea

silver pewter
#

true

rapid lance
#

Because if you use the original method, youโ€™re also gonna have to do something about placing Redstone

#

Wait no

#

Spawn protection

silver pewter
#
                      event.setCancelled(true);``` Like this?
pastel basin
#

yes, but i think event.setCancelled is not necessary

silver pewter
#

okay Il try that

#

It still throws

pastel basin
#

ok then cancel the event

silver pewter
#

I've tried both

dusky herald
#

did you try PlayerUseItemConsumeEvent?

#

PlayerItemConsumeEvent*

silver pewter
#

No

dusky herald
#

You can try that then do

#

if(e.getItem().getType().equals(Material.ENDER_PEARL)){ ///actions

silver pewter
#

okay thanks

#

It's not a method I'm using 1.8

rapid lance
#

Bruh why do people still use 1.8

silver pewter
#

Faction servers

dusky herald
#

What about this thread

rapid lance
#

Ahh

dusky herald
#

Then it says to add p.updateInventory();

#

and it works

silver pewter
#

Okay thanks

dusky herald
#

and lol thats funny about the 1.8 thing

#

That's the last version I was even doing any modding, and I was using factions.

#

and I actually stopped working on Modding specifically because of that update.

#

Well, because of 1.9.

subtle blade
#

well that was a stupid decision lol

naive goblet
#

@subtle blade So I changed my name on spigot. Is it possible to have a change here as well?

subtle blade
#

afaik it refreshes every week or so

#

It will update in due time

naive goblet
#

Okay thanks I love pinging you btw

subtle blade
#

I can tell ๐Ÿ˜ฆ

sharp hollow
#

At least you're not stuck with 100+ bot account reports @subtle blade ๐Ÿ˜‚

subtle blade
#

yet

sharp hollow
#

I can't run the program 24/7 my dude ๐Ÿ˜›

final verge
#

Yet

sharp hollow
#

I have no phone, so no patreon, so no dedi ๐Ÿ˜‚

#

Give it a few months ๐Ÿ˜›

#

Then you'll be stuck with lots of requests ๐Ÿ˜‚
It's not that it will be hard, it will just be repetitive as fuck as well

subtle blade
#

:((

sharp hollow
#

โค๏ธ

#

I'm going to hate it too Choco, so don't worry ๐Ÿ˜›

#

But hey, at least it will make finding bot accounts easier ๐Ÿ˜‚

#

Even if the mods will hate me after it xD

frigid ember
#

Do all forums staff have to be resource staff first?

#

Like is there a hierarchy or something

sharp hollow
#

nah, depends on what you apply for.
Applications are pretty rare though

frigid ember
#

Iโ€™ve just never seen a request thread on forums lol

sharp hollow
#

request thread? for what?

frigid ember
#

For staff

sharp hollow
#

Yea, you don't make request threads.

#

You wait for applications to open

frigid ember
#

I meant md5

#

Yea an โ€œapplications openโ€ thread is what I meant

sharp hollow
#

Ah, applications are incredibly rare ๐Ÿ‘€

fleet crane
#

Theyโ€™re not that rare

#

Once or twice a year usually

sharp hollow
#

Still rare ๐Ÿ˜‚

#

But yea @frigid ember it's pretty noticeable when they're open.
I'd personally apply but FUCK IRC

frigid ember
#

Is it just like any position is open and you can apply for it?

sharp hollow
#

usually a specific one i think, @fleet crane would have to answer that one

frigid ember
#

Gotcha

subtle blade
#

Whatever we need. Next would most likely be for resource staff because we have like... 6 mods

#

Of which, 2 are usually on the forums at any given time

sharp hollow
#

Inb4 still only IRC requirement ๐Ÿ˜‚

#

I'll make it a pain for the staff as a whole once I'm actually capable of automating shit though @subtle blade love you guys โค๏ธ

subtle blade
#

:((

sharp hollow
#

Love you the most Choco โค๏ธ

#

You'll probably hate me after a while though ๐Ÿ˜‚ ๐Ÿ˜‚

#

Even looking for bots murders my PC, I'll most likely have to see what the most resource intensive part of it is ๐Ÿ˜›

#

Maybe I'll open src those projects ๐Ÿค”

keen moth
#

Love you the most Choco โค๏ธ

don't let sam see that ๐Ÿ˜ฎ

sharp hollow
#

Don't worry @keen moth I'll get all the staff to hate me once I can run everything 24/7 ๐Ÿ˜‚

#

Won't matter then ๐Ÿ˜›

keen moth
#

what're we talking about here?

proper bison
#

any ideas

sharp hollow
#

I've got a few programs
@keen moth
1 Auto Detects bot accounts, the one would detect malicious plugins.
You guys would probably hate me simply due to the amount of manual reports you'd receive from me after a while ๐Ÿ˜น

#

Imagine it, 100+ reports... same fucking thing for all of them

#

Easy but repetitive as fuck

quick arch
#

pog

#

@proper bison your in 1.13+?

sharp hollow
#

pog?

quick arch
#

event.getView().getTitle()

#

pog -> pogchamp

sharp hollow
#

why ๐Ÿ˜‚

quick arch
#

too lazy to spell it all

sharp hollow
#

why the pog tho?

quick arch
#

oh cause of your programs

sharp hollow
#

ah :p

#

I've gotten tired of manually doing a whole lot of this ๐Ÿ˜…

quick arch
sharp hollow
#

I've done manual checking since i started the AntiMalware & "list of malware" thread ๐Ÿ‘€

#

The bot finding is just whenever i feel like it ๐Ÿคท

quick arch
#

Should let it continuously run ๐Ÿค”

sharp hollow
#

I've tried

#

It murders my PC ;-;

#

The bot finder gets to around id 2000 before i have to forcefully stop it :/

quick arch
#

rip

#

only 0.003% (assuming there's only 600,000 ids)

sharp hollow
#

RIP indeed If i had a dedi or second computer I'd throw it on there, but i don't have one so i can't

quick arch
#

I wonder if it's possible to get the latest member ๐Ÿค”

sharp hollow
#

I don't think so

quick arch
#

I should open an issue >:)

sharp hollow
#

Currently i just have it loop from 1 to the Integer.MAX_INT

quick arch
#

Time to make a new issue for that

sharp hollow
#

Hopefully at some point that API completely replaces spiget ๐Ÿ˜‚

quick arch
#

Would be amazing if it does

sharp hollow
#

mhm

#

Lets see... id 31 and netbeans is already not responding ๐Ÿ‘Œ

quick arch
#

rip

sharp hollow
#

Yea ๐Ÿ˜‚

#

It seems to be running smoothly again, I'll have to wait and watch it though ๐Ÿ‘€

quick arch
#

Made the issue ๐Ÿ‘€

frigid ember
#

anyone know of a plugin that lets you silktouch spawners for 1.15.2 spigot

clever cargo
#

Please, help me

proper bison
#

@quick arch 1.15.2 bud

quick arch
minor spruce
#
  return subStatistic == null ? player.getStatistic(statistic) : player.getStatistic(statistic, subStatistic);
}```
#

i've haven't used generic types much so idk the right words to use

#

but if i have a generic type, is there any way to cast subStatistic in that method to the generic type and have the player.getStatistic method accept that?

subtle blade
#

Where's statistic defined?

minor spruce
#

at the top of the class

#

the method works differently atm but it has to use a bunch of if statements, just thought it would look a lot nicer if that idea works

ruby plover
#

im making a server on a crappy old pc and I'm detecting 2 gb of ram to it and when I run the .bat file it says "could not reserve enough space for 2097153 KB object heap" what do I do?

ashen stirrup
#

Jesus

drowsy hinge
#

@ruby plover 2097153KB is ~20GB ram lol

ruby plover
#

what......

drowsy hinge
#

ignore me

#

I mathed wrong

ruby plover
#

phew

drowsy hinge
#

bahaha my brain is not functioning tonight - are you running 32 or 64 bit java?

#

nvm - 32 bit max is 4gb

ruby plover
#

ok

#

so how do I fix it?

drowsy hinge
old flower
#

You do not have enough system resources available, you're either using more than what you have. Is your min set the same as your max?

wheat pumice
#

hello

#

anybody can help me

ruby plover
#

how do you check that @old flower

old flower
#

Paste your .bat and just simply open up your task manager to check how much ram you're currently using/have available, it'll give you a good rough estimate of what's going on.

wheat pumice
#

how i can move player crosshair without using teleport

ruby plover
#

paste?

#

where?

old flower
#

Here, so we can see it.

#

The contents of the .bat, right-click > edit.

ruby plover
#

java -Xmx2048M -XMs2048 -jar spigot.jar nogui
PAUSE

old flower
#

Change your xms (This is your min) to something like 128 or 256, this will likely let you start your server but with it not launching at 2gb min start... you'll likely crash if your server ends up using close to whatever amount you do not have available.

ruby plover
#

ok thanks!

#

it came up with the same error message

old flower
#

Change your max (xmx) down to 1024

wheat pumice
#

hello

ruby plover
#

ok

wheat pumice
#

someone see me

#

how i can move player crosshair without using teleportcan you have me

ruby plover
#

It Worked!

#

thank you!

wheat pumice
#

i am invincible

wanton delta
#
    private void writePacketOption()
    {
        int m = 0;

        if (!seeInvis)
        {
            m |= 0x1;
        }
        if (seeInvis)
        {
            m |= 0x2;
        }

        teamPacket.getIntegers().write(1, m);
    }```

PacketPlayOutScoreboardTeam class:

```private String a = "";
  
  private IChatBaseComponent b = new ChatComponentText("");
  
  private IChatBaseComponent c = new ChatComponentText("");
  
  private IChatBaseComponent d = new ChatComponentText("");
  
  private String e = ScoreboardTeamBase.EnumNameTagVisibility.ALWAYS.e;
  
  private String f = ScoreboardTeamBase.EnumTeamPush.ALWAYS.e;
  
  private EnumChatFormat g = EnumChatFormat.RESET;
  
  private final Collection<String> h = Lists.newArrayList();
  
  private int i;
  
  private int j;```

Wiki.vg: https://wiki.vg/Protocol#Teams
#

yet somehow

#

friendly players still dont show

#

this worked for 1.12, idk if im doing something wrong (yes, adjusted all indexes accordingly)

wheat pumice
#

HELP MEEEE

wanton delta
#

wdym without teleport

subtle blade
#

That is the only way you're going to do it

#

When you change a player's coordinates (or look direction in this case), they have to teleport from one set of coordinates to the next

#

If it makes you feel any better, you can call it translocation

storm vessel
#

I'm having problems with my server crashing when I use a flyspeed of 1

#

I have to lower it, which means each player who flys must change their flyspeed to not rubberband, and flying with elytra and fireworks is basically impossible

wheat pumice
#

If it makes you feel any better, you can call it translocation
@subtle blade minefs.net in MineStrike mode, they can do it

subtle blade
#

I assure you they teleport

wheat pumice
#

hmmm

subtle blade
#

The concept of changing a player's coordinates from one to another is teleportation

sharp hollow
#

^ Doesn't matter the game either

old flower
#

@storm vessel Have any crash logs and are you using any anticheats that would be preventing flying?

storm vessel
#

The server hasn't crashed in awhile since I turned the spigot speed settings down

#

I do have antilag but I made sure to disable flyspeed, and the issue was there before I got the antilag

agile whale
#

do you have a crash log?

frigid ember
#

my essentials nickname thing doesnt work with ultrapermissions

#

what do i do

grim sapphire
#

does anyone know if there is a JS or python library for spiget? (not spigot)

sharp hollow
#

@quick arch Decided to throw the code on a separate thread, not doing that might of been one of the main reasons it wasn't playing nice with my PC ๐Ÿ‘€

quick arch
#

pog

sharp hollow
#

Still thinking about making the projects open source, not 100% sure though ๐Ÿ‘€

quick arch
#

๐Ÿ‘€

sharp hollow
#

I don't really think there's that much use making them open source tbh but ๐Ÿคท

frigid ember
#

Is there a way to create a server that redirects players to another server, and that the connection between the player and the server is direct?

#

I mean, that the packets are not forwarded by a proxy server

dusky herald
#

BungeeCord?

frigid ember
#

bungeecord redirect all packets throw the bungeecord server

#

i need only a player redirector

#

not a packet redirector

#

what do i do

#

this is essentialsX

dusky herald
#

It's not disabled.

frigid ember
#

the nick doesnt appear tho

#

i can do /nick but it doesnt show up when i type

#

only in like /baltop or smth

#

how do i fix it

dusky herald
#

Do you have the permission for it / are you operator?

frigid ember
#

yeah people have perms for it

#

they can do /nick

#

it just wont show up for normal chat

#

only in like /baltop

dusky herald
#

So, it wont show when it auto completes?

#

I don't really know how to fix that issue, but the way you showed it in the picture, it's still a functional command and not disabled.

frigid ember
#

like everything works except for it doesnt show up

#

when i type smth

#

and it doesnt show up in tab

dusky herald
#

Yeah, I'm not really sure how to fix that. But it does work at least.

#

Sounds more like an issue with the plugin to me than anything.

#

or you may be having conflicts with another plugin.

frigid ember
#

well it doesnt show up so it doesnt matter if the command works

#

well

#

i think its UltraPermissions

#

they have its own chat manager thingy

#

i dont know how to fix it

dusky herald
#

Personally to me, not a big issue. You could try to find what is causing the problem, maybe the permissions plugin or another plugin that handles nicknames as well.

storm tulip
#

im so confused

#

my plugin has an onEnable method

#

which is RUNNING

#

but it wont broadcast the message from it like 70% of the time

#

I can see it logging in console

#

but I swear its literally not running my loadFiles() methoid

dusky herald
#

That's funny.

#

I swear, I thought I was crazy when I was having issues with broadcasted messages not appearing.

storm tulip
#

dude but like

dusky herald
#

specifically with the onEnable method

storm tulip
#

it feels like

#

it wont run the method at all

#

because my data gets reset

dusky herald
#

and you @Override?

storm tulip
#

yeah

#

i thought its been working perfectly

#

but idk maybe i just didnt notice

#

gonna try logger

dusky herald
#

I personally haven't noticed any issues recently.

#

But I've kept all of my broadcasts out of the Enable now.

storm tulip
#

hmm

#

logger works

#

but my data getting reset cry

#

it cant read it

dusky herald
#

What's the stack trace?

#

or it doesn't show any?

storm tulip
#

no error

#

its been working before

#

and it works randomly

#

which is why im like what the fuck

dusky herald
#

๐Ÿค”

#

Maybe retrace your steps?

#

It hasnt been that long since it worked right?

#

OR

storm tulip
#

yeah

#

I have version control

dusky herald
#

Restart your server.

#

Sometimes you might run into issues when you only reload.

storm tulip
#

i tried that

#

I want it to reload too tho

#

but

#

resytart has same issue

#

so im assuming that aint it

dusky herald
#

Loading from Files or Database?

storm tulip
#

json file

#

gson.fromJson

#

hmm

dusky herald
#

have you looked through the files for any discrepancies?

storm tulip
#

could intellij or somethibng be locking my files

#

I open them all the time and it works tho

dusky herald
#

I was getting some hell just trying to get my database shit to work

#

because of IntelliJ

#

but, you would get stack traces if you had classes that were missing

storm tulip
#

grid had49 chunks

#

as broadcasted

#

loaded into 0

#

lol

#

was working before

#

idk what the fuck i do

dusky herald
#

Hmm...

#

Do you have them pass through a lot of different objects?

storm tulip
#

just 1

dusky herald
#

maybe you can try to designate it as final when it passes through

storm tulip
#

I have a data object for the chunk loc

#

and a value as a Long

dusky herald
#

making a new factions plugin? lol

storm tulip
#

yeah im already done

#

actually

#

like mostly up 2 par with FUUID

#

I just broke this like maybe yesterday

#

and now my data is like fuck you

dusky herald
#

sounds about right

storm tulip
#

i refactored my proj yesterday

#

to make it a aggreator

#

with modules

#

maybe I ruined it then

dusky herald
#

I would consider that a possibility.

storm tulip
#

ok so it seems

#

its not writing to file

#

lol

dusky herald
#

there we go

storm tulip
#

im gonna try something

#

I have a thing in my framework

#

which minimizes data

#

so im gonna say its a config file

#

which means itll still work the same but it just pretty printed

#

maybe its that

#

OR
OR

#

HAHAHA

#

Im using the same instance

#

of SavagePlugin

#

which gets the data folder

#

in another plugin

#

im a dumbass

dusky herald
#

lmao

storm tulip
#

which is why the maven multimodule project broke it lmfao

#

HAHAH

#

Im been staring at this for like an hour

dusky herald
#

yeah, sounds about like the issues I had yesterday

#

I converted my project to Maven yesterday

storm tulip
#

maven multimodule is cool af tho

#

ok but now

#

I think what I can do is

#

shade the savageplugin in diff paths

#

and itll work

dusky herald
#

tf is SavagePlugin anyways lol

storm tulip
#

its a wrapper for JavaPlugin

#

so I can have my GSON utils up and goin

#

and some other stuff

#

it lets me make a plugin in like 5 min

#

It handles like everything

#

basically reduces setup time

#

all my libs are there and all

dusky herald
#

the name of it reminds me of a server I used to play on back in the day lol

storm tulip
#

my name is just ProSavage

#

lol

dusky herald
#

yea, i get that lmao

#

I dont think it's connected, it just reminds me of it

storm tulip
#

yeah idk why i expalined that

dusky herald
#

Savage Realms; it was a popular factions server

storm tulip
#

i c

dusky herald
#

like

#

in 2012 or so I believe

storm tulip
#

damn

#

yeah i was 12 then

dusky herald
#

Ah

#

I was about...shit how old was I then

#

well actually 2011*

#

I was 17 or 18 I guess.

storm tulip
#

cool cool

#

I didnt try to code till like 17

#

im 19 now

dusky herald
#

I didnt either.

#

I was about 19 when I first experimented with it.

#

and I havent really touched it in a few years

storm tulip
#

I changed the class path for FTOPX

#

and made it shade to net.prosavage.factionsx.ftop.shade.baseplugin

#

and factions shades to net.prosavage.factionsx.shade.baseplugin

#

should work i guess

mellow bobcat
#

hi daddy

#

no homo

storm tulip
#

wassup dduee

mellow bobcat
#

lmao illyriaftop gonna be useless

#

with factionsx ftop

storm tulip
#

yeah redoing it

#

everything gonna be next level for FactionsX

mellow bobcat
#

what about the illyria discord

#

i love that one

storm tulip
#

yeah im gonna write discord integration

mellow bobcat
#

u gonna make it on python?

#

or java

storm tulip
#

lol

#

I use kotlin

#

but the bot will be in javascript

#

cuz id rather use the native api

mellow bobcat
#

k sweet.

storm tulip
#

I use js too

dusky herald
#

I cant wait to get somewhere with my project in the future ๐Ÿ˜›

#

so much work to do lel

storm tulip
#

Ive been grinding FactionsX for two months now

mellow bobcat
#

i'm still shit at coding even after 5-6 months

dusky herald
#

but I dont even plan on publicly releasing my plugin either.

storm tulip
#

public release is fun!

mellow bobcat
#

prolly 30% of reaching veteran level ๐Ÿ˜‚

dusky herald
#

I dont plan on publicly releasing it yet

storm tulip
#

o

dusky herald
#

Well

storm tulip
#

yeah im making a factions server first

#

and performance testing

#

im working with a friend who has a large server

dusky herald
#

Probably way after I get my server launched if anything.

#

I used to run a factions server, they're fun.

mellow bobcat
#

make a custom tnt explosion pro

dusky herald
#

I used to have about 500-800 players online at a time on my server I ran

mellow bobcat
#

so they don't have to buy that shitty beerspigot its stuck on 1.8 forever

dusky herald
#

24/7

storm tulip
#

nice

#

idk about doing a spigot

dusky herald
#

but, that was once again also in 2011

#

My server went through a ton of shit, especially within the Notch era.

#

One of the things I remember a lot is when Experience and Enchanting came out

mellow bobcat
#

Notch era was a bliss touch of heaven

dusky herald
#

There was a bug, and XP drops were glitched

mellow bobcat
#

until Microsoft took over and ruined its color

dusky herald
#

and they would spam infinitely

#

and crash your server, lol

#

so like all the server owners were scrambling to figure out how to get it to stop

storm tulip
#

Black so u know how u ran a server in 2011

dusky herald
#

yes

storm tulip
#

all the factions plugins still use the SAME 9 year old base

#

this is why im working on this project

dusky herald
#

I believe it, Factions never really changed much from it's original state

storm tulip
#

thats why I am recoding it

dusky herald
#

There's only a few slight differences.

storm tulip
#

I loaded 2000 chunks

dusky herald
#

1.15.2?

storm tulip
#

1.8

dusky herald
#

Why are all the factions servers 1.8?

#

Because of the combat?

storm tulip
#

yeah

#

Im forced to do it on 1.8

#

i test on 1.8 and then use experience to make it work across trhem all

mellow bobcat
#

there's oldcombatmechanics ๐Ÿคท

storm tulip
#

I have a few tools in SavagePlugin we spoke about

dusky herald
#

1.8 was the last update I stopped working on my old plugin

#

1.9 fucked it all up

storm tulip
#

on 1.13+ it loads the chunks async

#

so the ftop will be a LOT faster on 1.13+ if u use paper

dusky herald
#

My plugin was like severely dependent on the old combat system rofl

#

I probably could have made it work for 1.9; but screw that

storm tulip
#

ya

dusky herald
#

lul

mellow bobcat
#

pro will the factionsx ftop hologram will not have a memory leak? like shit those updating holograms are hella annoying

storm tulip
#

well the ftop hologram has never been handled by me

#

i just give u guys placeholders

dusky herald
#

ugh what to work on now...i really need to do inventories/items

storm tulip
#

dude idk this shading error

#

its acting like it didnt shake kotlin

#

so idek how it ran

#

lol

dusky herald
#

I got nothing for you there.

#

I hate Maven.

#

I think it's stupid, it's like a necessary evil.

storm tulip
#

lol

#

OH

#

I think I know why

#

I changed my classpaths

#

so now it cant find the kotlin

#

Bruh

dusty nova
#

I am new here, but I have a bit of a problem. Got the latest spigot update installed just now, but found out it deleted my target folder, where my MC world was, so now that is gone. I would die to get it back tho, but I havent found any old spigot version folders or anything

mellow bobcat
#

I don't understand why do the community have to always argue whats the best Anticheat on Spigot. which is an endless loop of fixing bugs and false positives.

#

just hire an admin and let them inspect them lmfao.

storm tulip
#

because people like to argue

dusky herald
#

A lot of people don't like hiring admins, because that can also become worse than running an AntiCheat plugin.

mellow bobcat
#

mhm indeed

storm tulip
#

^

mellow bobcat
#

i remember hiring an immature admin

#

he legit banned 25 players on my server on 1 day

dusky herald
#

On my large server I ran, I never had any staff.

mellow bobcat
#

all of them was complaining in the forums

dusky herald
#

I only elected Helpers.

storm tulip
mellow bobcat
#

bruh

dusky herald
#

I was the only staff member, moderating thousands of players. Definitely doable. You dont need a large team of staff for anything.

mellow bobcat
#

thats amazing whats with the dirt value ๐Ÿ˜‚

storm tulip
#

0 value for dirt

#

100 for diamond block

dusky herald
#

in the chunk?

#

wait

storm tulip
#

this is for all chunks

dusky herald
#

idk

#

Ahhh

storm tulip
dusky herald
#

Diamond Block kinda threw me off, that was why I said wait; lmao

mellow bobcat
#

is that a custom emoji using unicode?

storm tulip
#

yeah

#

its two swords

#

cute right

mellow bobcat
#

it fits the faction theme

dusky herald
#

I need to implement the hover-overs in my chat system I'm working on.

storm tulip
dusky herald
#

I remember I figured out how to do it on my plugin when they just came out, I felt badass ๐Ÿ˜†

mellow bobcat
#

now thats a big spam in the console

dusky herald
#

Testing hundreds of times..OKAY..so it IS a()

#

then b()

#

then c()

#

lmao

storm tulip
mellow bobcat
#

now thats epic

dusky herald
#

Asynccc

storm tulip
#

like

#

ye parallell processing

#

10k chunks 20 tps

#

jk jk

#

19.5

mellow bobcat
#

lmao

dusky herald
#

Close enough

mellow bobcat
#

i remember pre-loading my world

#

it went 20 to 8 TPS

storm tulip
#

oh fuck

#

this is not preloaded

#

lol

#

Ive been generating chunks

dusky herald
#

lol

mellow bobcat
#

i7 sucks i mean no cpu can handle pre-loading

storm tulip
#

im using a 8700k @ 5ghz all core

mellow bobcat
#

unless Ryzen 9 can take it without actually dropping 19.99TPS

dusky herald
#

It has nothing to do with i7 anyways, CPUs arent that great at processing shit anyways.

storm tulip
#

GPU chunk loading

#

poggers

dusky herald
#

Their versatility is actually their weakness

mellow bobcat
#

i feel bad for the people using multicraft

storm tulip
#

o shit

mellow bobcat
#

it doesn't use all the threads

storm tulip
#

cant say poggers 2 time

dusky herald
#

Why would you want multicraft to use all threads

#

lol

storm tulip
#

ptero lets u configure percentage use

mellow bobcat
#

like 90% of minecraft hosting today are all multicraft

#

Pebble, Bisec, etc.

dusky herald
#

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

#

I got my dedi now, I'm happy.

mellow bobcat
#

wish i can buy a pc for my server

#

but its not gonna be a good thing either the wifi in our country SUCKS

dusky herald
#

I have a spare PC I probably could use

#

My internet is good, but I definitely dont have upload speed matching my 1gbps download speed

mellow bobcat
#

1gbps port connection is poggers

#

our wifi is only 15mbps

storm tulip
#

I have 1gbps here

mellow bobcat
#

๐Ÿ˜‚

dusky herald
#

1gbps is pretty common nowadays

storm tulip
#

but our plan is now 450/450

dusky herald
#

A lot more common than it used to be.

storm tulip
#

so Im limited

#

my parent downgraded

dusky herald
#

450/450 is still good, more than sufficient to run a server.

mellow bobcat
#

i wish i live in europe

storm tulip
#

I cant complain

#

yea

mellow bobcat
#

fuck the wifi in asia

storm tulip
#

Im in Murica`

dusky herald
#

You can run a server off of fuckin 100mbps easy

storm tulip
#

yeah I just dont wanna expose my home

#

lol

dusky herald
#

yeah, no reason to.

storm tulip
#

plus I go to university

#

where I have 15 mbps

mellow bobcat
#

like 5mbps here is already $40/mo

storm tulip
#

lol

mellow bobcat
#

its so shit

dusky herald
#

and then your ISP would probably disconnect your shit if you got DDOS'd

storm tulip
#

ye

dusky herald
#

5mbps isnt even 1MB/s

#

lol

storm tulip
#

dude

#

ok

#

lol

#

damn

dusky herald
#

thats like what

#

756k/s?

mellow bobcat
#

15mbps here are $200/mo

storm tulip
#

what country are you in

mellow bobcat
#

fucking country man ngl

storm tulip
#

indo?

mellow bobcat
#

philippines

storm tulip
#

o

#

yea

mellow bobcat
#

thats like buying an average gaming cpu $200

dusky herald
#

sucks when your country relies on only underwater fiber optic cables

mellow bobcat
#

for 15mbps lmfao

dusky herald
#

It's probably so expensive because they dont have the capability to support faster speeds for everyone

#

You may be better off just waiting for SpaceX to launch their satellite internet ๐Ÿ˜†

fierce tinsel
#

can someone help me with the voting thing

#

it says detected yml error

late palm
#

What voting thing

fierce tinsel
#

the voting plugin

late palm
#

If you have YMl error then use a ymlparser

#

you can find online

fierce tinsel
#

what does it do???

late palm
#

It checks for errors in a yml file

fierce tinsel
#

ight thx bro

#

much luv m8

#

while parsing a block mapping
in "<unicode string>", line 35, column 9:
Console:
^

#

what does thhat mean

#

@late palm

late palm
#

ye?

#

oh

#

can you send me ur yml file

fierce tinsel
#

i gotchu

#

Reward for any site

Similar to AnySiteReward

This requires the site to be configured in order to get the reward.

VoteSites:
ExampleVoteSite:
Enabled: false
Name: ExampleVoteSite
Priority: 5
ServiceSite: PlanetMinecraft.com
VoteURL: link to vote URL here, used in /vote
VoteDelay: 24
WaitUntilVoteDelay: false
VoteDelayDaily: false
ForceOffline: false
Item:
Material: DIAMOND
Amount: 1
Rewards:
Commands:
- say hello
Messages:
Player: You voted
Site2:
Enabled: true
Name: Site2
ServiceSite: minecraft-server-list.com
VoteURL: https://minecraft-server-list.com/server/456735/
VoteDelay: 24
Item:
Material: DIAMOND
Amount: 1
Rewards:
Commands:
Console:
- 'broadcast %player% has voted for MarcusCraft!
- 'eco give %player% 10000
Messages:
Player: '&aThank you so much for voting!'
MinecraftServers:
Enabled: true
ServiceSite: MinecraftServers.org
VoteURL: https://minecraftservers.org/server/579832
VoteDelay: 24
Item:
Material: GRASS
Amount: 1
Rewards:
Commands:
Console:
- 'broadcast %player% has voted for MarcusCraft!
- 'eco give %player% 10000
Messages:
Player: '&aThank you sp much for voting!'
EverySiteReward: []

late palm
#

Okay can you please send it as a file?

#

it would be easier to check where the error is

fierce tinsel
#

oh sorry XD

dusky herald
#

@ eco

#

'eco give %player% 10000

#

you forgot an '

#

at the end

late palm
#

yea basically at every single string

#

put ' at end

dusky herald
#

^

fierce tinsel
#

do i have to put it for like the service site and url

dusky herald
#

If you open it with an '

#

it has to be closed with an '

fierce tinsel
#

ight

#

it also said something about the console

dusky herald
#

and URLs are usually strings as well, so yeah you'd typically add '' around it as well

#

IF you don't know what a String is, it's simply put a sentence.

#

or a combination of letters that the program can interpret

late palm
#

Console shouldn't be a problem there as it's another string list

dusky herald
#

They typically have to be encapsulated with the '' s

fierce tinsel
#

ok

dusky herald
#

But anything with the : s like Console: ... etc

#

They dont need ''s

fierce tinsel
#

i seee

dusky herald
#
# Reward for any site
# Similar to AnySiteReward
# This requires the site to be configured in order to get the reward.
VoteSites:
  ExampleVoteSite:
    Enabled: false
    Name: ExampleVoteSite
    Priority: 5
    ServiceSite: PlanetMinecraft.com
    VoteURL: link to vote URL here, used in /vote
    VoteDelay: 24
    WaitUntilVoteDelay: false
    VoteDelayDaily: false
    ForceOffline: false
    Item:
      Material: DIAMOND
      Amount: 1
    Rewards:
      Commands:
      - say hello
      Messages:
        Player: You voted
  Site2:
    Enabled: true
    Name: Site2
    ServiceSite: minecraft-server-list.com
    VoteURL: https://minecraft-server-list.com/server/456735/
    VoteDelay: 24
    Item:
      Material: DIAMOND
      Amount: 1
    Rewards:
      Commands:
        Console: 
        - 'broadcast %player% has voted for MarcusCraft!'
        - 'eco give %player% 10000'
      Messages:
        Player: '&aThank you so much for voting!'
  MinecraftServers:
    Enabled: true
    ServiceSite: MinecraftServers.org
    VoteURL: https://minecraftservers.org/server/579832
    VoteDelay: 24
    Item:
      Material: GRASS
      Amount: 1
    Rewards:
      Commands:
        Console: 
        - 'broadcast %player% has voted for MarcusCraft!'
        - 'eco give %player% 10000'
      Messages:
        Player: '&aThank you sp much for voting!'
EverySiteReward: []```
#

you can try that and see if it works

fierce tinsel
#

k ty

dusky herald
#

If that doesnt work, then just try removing all the 's

#

As it seems the example provided doesnt have any

late palm
#

It should work tho

#

๐Ÿ˜„

#

wait u wrote ,,Thank you sp much for voting!'

fierce tinsel
#

oh shit

dusky herald
#

so phucking

fierce tinsel
#

XD

dusky herald
#

lmao

velvet halo
#

So as you all know PlayerChatTabCompleteEvent (Depreciated), I am adding custom commands based on the PlayerPreprocessCommandEvent how would I add a custom command nicely to chat tab completion?

silk bane
#

TabCompleteEvent exists

velvet halo
#

I tried that

#

Doesn't seem to work with player tab

frigid ember
#

i ned a resource staff

solemn grove
#

what do you mean by player tab then?

velvet halo
silk bane
#

PlayerCommandSendEvent

timid basin
#

Does anyone here have a lot of experience with packets / nms? I've been attempting to fix this issue without any success. In all versions 1.8 - 1.14 the armorstand successfully spawns from PacketPlayOutSpawnEntityLiving packet but in 1.15 the armorstand spawns but it is visible and doesn't have a custom name. Why does this happen?

frigid ember
#

i guess me

#

You are using NMS?

#

Why not use ProtocolLib or something?

timid basin
#

I am just using raw NMS no reflection or anything

frigid ember
#

So you handled it for each version

#

and rewrote the code for each version?

timid basin
#

yes

#

That's the problem

#

if there was any constructor chage

#

intellij would see it as an error

#

but there were no constructor changes

frigid ember
#

Try ProtocolLib is all I'd say

#

I don't have much experience with N,S

#

NMS

#

But with packets I do.

#

And reflection

timid basin
#

I just don't want to shade big libraries into my plugin

#

kotlin runtime is already too much ๐Ÿ˜›

frigid ember
#

protocollib is open source

#

ok

#

Well they handle everything for you

#

packet listening to packet sending

winter hare
#

Any luck today? I'm trying to figure out if Spigot blocks the vanilla /scoreboard colour/nametagvisibility command? I've got no plug-ins, it's on 1.12.2. I can't make my nametag disappear on the server, nor colour it. It's a local spigot server.

fierce tinsel
#

can someone help me with mcmmo

#

when i turn on the name tag it says there power lvl is 0

neat oxide
#

Contact the plugin developer

mossy zenith
#

@fierce tinsel tbh happens to me too, never did figure that one out.

sharp jolt
#

does someone know a plugin to display video in minecraft

mossy zenith
#

Is anyone familiar with the WorldGuard API? I've been struggling with the documentation as it doesn't seem very helpful, and would love to soak up some knowledge or see a few examples of what I can do with it. As far as what I need to do is define, redefine, and delete regions via my plugin, as well as set some flags. Flags seem pretty straight forward though.

sour dock
#

@velvet halo If you want to add commands, never use the listeners, create a class that extends Command and add it to the bukkit CommandMap during runtime. That way your commands are actually commands

velvet halo
#

Yeah I changed it @sour dock

limber forge
#

Is it allowed to upload Mc Maps on SpigtoMC?

silk bane
#

There isn't a resource category for that at the moment, but it might not be such a bad idea

sharp jolt
#

does someone know a plugin to display video in minecraft

fierce tinsel
#

@mossy zenith do you know where i can talk to the dev

urban folio
#

Guys, you know what is the IP to the server

oblique sentinel
#

@sharp jolt there are plugins that can display gifs or vids in item frames with maps

sharp jolt
#

@oblique sentinel whats name of that plugin?

oblique sentinel
#

there are several

#

just type in the searchbar sth like "gif/image/vid item frame plugin spigot"

sharp jolt
#

Thx

frigid ember
#

Hello I trued uploading an icon for a resource and it failed to upload

#

Now my resource has no icon

boreal tiger
#

There's a button to change the icon

frigid ember
#

no

#

where

#

@boreal tiger

#

tell me

#

HLP

agile blaze
#

Hello there, the forum private message verification does not work

sour dock
frigid ember
#

@boreal tiger !!!

#

Hello I trued uploading an icon for a resource and it failed to upload
@frigid ember now my resource has no icon

boreal tiger
#

Calm down @frigid ember

frigid ember
#

i waited 3 hours

dusky herald
#

you should see how I feel

#

I wait 12 hours every day

boreal tiger
#

You only asked now lol @frigid ember

dusky herald
#

just to go home after I go to work

boreal tiger
dusky herald
#

๐Ÿ˜†

frigid ember
#

where

#

oh...

#

uhm

limber forge
#

But am i allowed to Upload Maps on spigot mc?

frigid ember
#

thanks

dusky herald
#

I dont think Spigot is used for uploading maps?

#

Have you ever tried Planet Minecraft?

#

lol

sharp jolt
#

is there a way to link projectors to levers in prodigynightclub

brittle lion
frigid ember
#

try again in 15 minutes

#

try every 15 minutes.

brittle lion
#

Okay, thanks :)

glacial plaza
#

I want my command to be executed when the command is /pluginname <command> instead of /<command>

Can anyone message me the appropriate docs or solution cause I can't find it

dusky herald
#

That's not really how it works?

glacial plaza
#

Well I'm new to the API

dusky herald
#

Okay, so you want your plugin's commands to be

#

to start with your plugin name?

glacial plaza
#

example when you prefix the essentials commands with /ess

dusky herald
#

Well, you can do it with YOUR plugin name.

mellow bobcat
#

Its Tutorial coding time ๐Ÿ˜‹

dense stump
#

all you can do is register the "pluginname" command then check args[0] for the subcommand. Then you can implement an autocompleter

dusky herald
#

I doubt you could do it with other plugins.

glacial plaza
#

oh

#

yeah I'm dumb

#

thanks

uneven lake
#

i need a developer for some exsistent plugin menagment for a spigot 1.8.8 prison server (DM me)

frigid ember
#

you need one for exsistent plugin management?

naive goblet
#

I want my command to be executed when the command is /pluginname <command> instead of /<command>

Can anyone message me the appropriate docs or solution cause I can't find it
@glacial plaza If you want a custom prefix for your plugin, /<prefix>:<command> you may use reflections to access the CommandMap and to access a new instance of a PluginCommand.

frigid ember
#

Someone coder here? I would like to ask about my command loader, if it's correct

#

and if you would do it the same

dusky herald
#

@frigid ember go on?

hoary parcel
#

?ask

worldly heathBOT
#

If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.

frigid ember
#

?answer

#

?help

#

?helpmeplease

#

?annoying

#

?dogs

#

?dogtips

#

?catinfo

#

?about

#

?owner

#

OMG

tiny dagger
#

btw, does anyone have any idea where the check is found for ie (the block below the sand has been destroyed so the sand can fall) happens in nms? ๐Ÿค”

uneven lake
#

you need one for exsistent plugin management?
@frigid ember yes for the setup

hoary parcel
#

It's a block update

#

It happens in the main tick loop

tiny dagger
#

yeah i found something by tracking blockphisicsevent

valid zenith
#

Server process detected as entering a crashed state; rebooting.

#

Help

velvet halo
#
final SimplePluginManager manager = (SimplePluginManager) getServer().getPluginManager();
try {
    final Field field = SimplePluginManager.class.getDeclaredField("commandMap");
    field.setAccessible(true);

    final Field field2 = SimpleCommandMap.class.getDeclaredField("knownCommands");
    field2.setAccessible(true);

    CommandMap map = (CommandMap) field.get(manager);

    @SuppressWarnings("unchecked")
    final Map<String, org.bukkit.command.Command> knownCommands = (HashMap<String, Command>) field2.get(field.get(manager));
    knownCommands.forEach((s, command) -> command.unregister(map));

} catch (IllegalArgumentException | NoSuchFieldException | IllegalAccessException | SecurityException e) {
    e.printStackTrace();
}
``` So I logged some of the knownCommands which printed them out successfully but they are not being unregisterd?
unreal light
#

Hi guys, I want to change the map of my server but when I switch the map folder, the server generate a new map, can you help me to change the map please ?

quartz crystal
#

sorry i am a dumdum, but how in the world do i create a post/thread for a question on the forums?

velvet halo
#

@hoary parcel I actually got some of the reflection code from one of the threads you posted in. Do you have any insight?

tiny dagger
#

you can do it a little better tbh ๐Ÿค”

#

you need to delete all the instances for the registered command from the map

#

command.unregister(map) doesn't do much tbh ๐Ÿค”

#

like it still keeps it in the map

quartz crystal
#

sorry i am a dumdum, but how in the world do i create a post/thread for a question on the forums? @tiny dagger do ya know?

tiny dagger
#

uh?

#

it's like in your face

quartz crystal
#

no?

#

what

tiny dagger
#

go inside a category

#

you can't modify this part of the tree

quartz crystal
#

lol i am stupid

#

ty

velvet halo
#

map.clearCommands(); doesnt work tried looking into the source code but it brings me into an interface class so not really helpful

tiny dagger
#

eww

velvet halo
#

k

#

Relax and dont eww me

tiny dagger
#

i mean don't do that either

#

the knownCommands map has all your commands inside

#

just delete every instance from there

#

hell you can just add them manually

velvet halo
#

Clear the known commands map...?

tiny dagger
#

why would you do that

velvet halo
#

Jesus dude

tiny dagger
#

it would mess all the registered commands

velvet halo
#

Give me an example of delete every instance from there

tiny dagger
#

map.entrySet().removeIf(entry -> entry.getValue() == command);

#

this would be java8+