#help-archived

1 messages · Page 1 of 1 (latest)

hasty gulch
#

first

frigid ember
#

second

tame coyote
#

You should add a suggestion channel 🙂

frigid ember
#

7th

hallow parrot
#

7th?

dusty topaz
#

6th

spice radish
#

You should have a channel that shows new commits that result in new Spigot versions.
So I don't have to keep doing version in the console.

hallow parrot
#

That’d be useful

viral seal
#

You should add a suggestions channel for suggestions.

golden mulch
#

That sounds like a suggestion!

lavish meteor
#

😮

viral seal
#

petition for Rythm music bot

hasty gulch
#

petition for Spigot custom music bot

#

😎

sharp hollow
#

petition for literally every bot

quick arch
#

petition for Slime Bot

buoyant star
#

petition for more petitions

#

i think that's how it works

golden mulch
#

Petition for the petitions of petitions to be petitioned

agile jungle
#

#rules with copypasta of rules from forum post
Cause lets be real, only a small percentage of people will read the forum post

golden mulch
#

They need to read a small portion of the post to click the link

agile jungle
#

idk about you, but my eyes are immediately drawn to the big bold JOIN NOW! link.

violet ivy
#

help me

fleet crane
#

with..?

coarse shoal
#

They just need help

#

in general

final verge
#

😂😂

#

We need a help hotline

odd silo
#

I need help

#

Where is he?

quick arch
#

help is non existent at the moment

buoyant star
#

oh

final verge
#

Oh

hollow hedge
#

😬

fleet crane
#

Please keep this channel for help requests and use #general for general discussion

violet ivy
#

Does it have to be spigot-related help

fleet crane
#

see topic please

delicate iron
#

You can pinn that message

obtuse glen
#

But its' already in the topic.

echo nacelle
#

is there a way to have the server run a command on start/restart. or maybe a plugin for that?

quick arch
#

use onEnable() & onDisable()?

echo nacelle
#

in the config?

quick arch
echo nacelle
#

im on 1.8.8 :/

silent frost
#

hmm, quick question, how do you migrate mappings quickly
like mojang's obf names change and spigot doesn't have things like srg

quick arch
#

oh...

#

¯_(ツ)_/¯

silent frost
#

also i had a look at the specialsource-2 jar and it has proguard support hmm

safe dragon
#

how often do you upgrade the snapshot server? twice a month/once per 2 week, or?

viral seal
silent frost
#

name the mappings with a .prg extension and it would map

safe dragon
#

also i had a look at the specialsource-2 jar and it has proguard support hmm
probably means the priviledged had access to mojmap long ago, yet a separate stupid project forced mojang to release mojmap to public

echo nacelle
#

@torn robin ive tried looking on the internet but cant find any for 1.8.8

#

thanks

zenith fog
#

@fleet crane thought about adding a showcase channel?

cursive pelican
#

You should try styling this Discord.

violet ivy
#

^ no, emojis look terrible

cursive pelican
#

😦

zenith fog
#

this discord was just made apparently

silent frost
#

probably means the priviledged had access to mojmap long ago, yet a separate stupid project forced mojang to release mojmap to public
yet the mappings are absolutely broken

#

i had to make patches to the mappings to make it work on fabric

minor spruce
#

i'm having a go at making a spigot fork just out of curiosity, and i noticed that not all of the NMS classes are available in BuildTools, is there a reason for this?

fleet crane
#

they don't recompile and aren't needed

#

you can find them in the work/decompile-latest folder from BT

#

many need manual edits to recompile

minor spruce
#

so if i edit the NMS classes in Spigot-Server and recompile, the changes will be visible on the server?

fleet crane
#

yes

minor spruce
#

ok, thanks

round moth
#

i have the big dumb but does a very early development build of spigot available to the public exist or do i have to wait till around the pre releases?

#

alright thats what i thought

cursive pelican
#

@fleet crane Are there any tags available for regular users? Perhaps, "Server Admin" and "Plugin Developer" etc.

#

"Spigot Contributor" - along those lines...

smoky tundra
#

imo that would cause confusion and there is no special distinction for that on the forums anyway

wary furnace
#

when i make custom events does player need to be final?

fleet crane
#

no

#

but query what the use of making it not final would be

wary furnace
#

well im just asking if its good practice to do so if i dont need it?

fleet crane
#

generally you should make things final unless you need otherwise

lusty vortex
#

It looks pretty 😮

#

And then you know that those variables never change. Super helpful on big old functions you wrote ~5 years ago

dusty topaz
#

Do potion effect levels start from 0?

#

new PotionEffect(type, 2) is giving jump boost 3 ... 🤔

smoky tundra
#

yes

dusty topaz
#

huh, never knew. ty

wary furnace
#

yeah to get the real one you make a method and just +1 it

coarse shoal
#

@fleet crane, why no custom emojis? :pepe_sad:

fleet crane
#

for exactly that reason

coarse shoal
#

That's not a reason

#

What if, a perk of server boosting was the ability to use custom emojis?

fleet crane
#

maybe

coarse shoal
#

Sweet, done deal, cheers

wheat birch
#

might be useful to create a channel for forum related questions? would be useful for asking questions about rules and resource rules

#

idk how formal you're wanting this server to get

#

and maybe a plugin development channel? for asking spigot/bukkit/minecraft api and general programming questions

upper skiff
#

Or split into more channels, #general is chaos incarnate

#

Like any channel will do lol

wheat birch
#

I feel like md5 prob is worried about expanding the discord too much, as it might take away from content posted on the forums. Hard line to balance.

strange roost
#

I mean I don't really think it would take anything of value away from the forums, if anything it could potentially keep certain sub forums cleaner because people will post the dead simple questions on discord instead. Actual forums will always be a better platform for discussion regardless of how many channels there are tbh

subtle blade
#

That's an oddly specific meme

barren egret
#

is it possible to ask for the tester rank on the spigotcraft community server here or should I still go through the forums?

fleet crane
#

go through the forums

barren egret
#

alright 👍

#

do I have to join the server prior to requesting it?

fleet crane
#

no

glossy stump
#

SET BINDIR=%~dp0
CD /D "%BINDIR%"

#

I what to ask what is this

#

and does it useful for bathfile minecraft server?

#

thanks!

fleet crane
#

never seen it

#

I dont think its necessary or helpful

glossy stump
#

i see in some post in spigotmc, many user adding this in run.bat

#

but idk

#

thanks!

little crater
#

It allows you to pass an argument to the script from the shell

#

The /d makes cd change dir and drive at same time

#

So, that snippet allows you to pass in a directory to the script

still thunder
little crater
#

And it will change to that directory, even if its on another drive

glossy stump
#

oh thanks

austere ridge
#

Hey can anyone help me with Superb Voting Plugin?

#

when I send a test vote to the server for some reason it is not giving the reward. Any help?

mental field
#

Why not ask that plugin

frigid ember
#

Check your config through a yaml validator

minor laurel
#

^ It'd be best to contact the author or leave a discussion comment in the resources for help with the resource as it's not really a serious spigot and bungeecord help question I would assume.

austere ridge
#

Ok Thank you.

minor laurel
#

Don't bump in #help-archived when it's not really a serious spigot and bungeecord help question.

hard hill
#

fine

hidden tide
#

You need to get buildtools

#

and download the latest spigot version

fleet crane
#

Repeat run BuildTools

#

It'll pull new version

minor laurel
#

@valid zenith Contact the pterodactyl support discord as this is not considered a issue involving spigot nor bungeecord so it's not necessarily a question to be asked here.

#

Попросите птеродактиль о помощи, пожалуйста. (English: Ask pterodactyl for help please)

sturdy oar
#

seems like client issue to me .-.

gray grotto
#

@valid zenith spartan

#

when i added spartan to my server, that issue was announced

#

dunno what it is

#

should prob ask in their dc

fleet crane
#

yeah so seems logical spartan is a bit aggressive/bugged there

gray grotto
#

lmao i should report that bug

#

cause that defo is a bug

tiny dagger
#

And that's why he should make the lore a bit more compact

analog swift
#

I personally have been using AntiAura on a survival server a while and it works good

tiny dagger
#

Upgrading to 1.15

analog swift
#

heart AAC is quite good, but the problem is its quite known so people write bypasses for it

gray grotto
#

it isnt good

tiny dagger
#

Just

fleet crane
#

just compile with java 11

tiny dagger
#

Compile

fleet crane
#

nothing special required

tiny dagger
#

Unless you're using Java 11 api you don't really have to upgrade imo

hoary parcel
#

Running with java 11 is prepared tho

analog swift
#

is there anything worthwhile in java 9+? Last change I have noticed was lambda and haven't read through the new versions yet

hoary parcel
#

Preferred*

tiny dagger
#

Yeah I guess cuz of the improvements

hoary parcel
#

There are very nice new language features and performance is better

gritty mulch
#

Well, Tuinity requires java 11+

lone belfry
#

There's a lot of cool stuff in java 9

tiny dagger
#

Var?

gray grotto
#

i can say that java 11 is worth it

tiny dagger
#

I haven't really looked but none seemed as good as functional programming addition

gritty mulch
#

I Tried to update my server to java 13 and one of my plugins had a fit 😦

hoary parcel
#

Var is the most boring thing about java 11

analog swift
tiny dagger
#

What's the difference between an object and var?

analog swift
#

dont like this part though

gritty mulch
#

I'm sure people are gonna listen to that

hoary parcel
#

Just use openjdk

#

Nobody should use Oracle jdk

#

Even java 8 Oracle jdk isn't free for production use iirc

gritty mulch
#

I Still use java 8 😆

hoary parcel
#

Just for dev and educational work

tiny dagger
#

Is open jdk compiling with the oracle jdk?

analog swift
#

oh, well if that works then I guess its worth it

hoary parcel
#

Oracle jdk is openjdk with a stupid licence

tiny dagger
#

Oh

hoary parcel
#

The code is 100% equal in modern versions, excluding javafx, that's not packaged by default anymore

tiny dagger
#

Oh then that's perfect

#

I was using mostly anyway Lang, util, awt

fiery marten
#

Hi, Since 2 days my all BungeeNetwork is under a bungeeSmasher attack ! I want to ask you if somebody has also recived this kind of attacks, and in this case What do i have to do to fix that "Exploit" ?

tiny dagger
#

Is it an exploit or the internet can't keep up with all the users atm?

fiery marten
#

From what i understood it's a bungee exploit

#

I don't even know how it's work !

prisma nacelle
#

openj9 😍

analog swift
#

Looks like just a bot spam

valid zenith
#

How use BubbleChat in Java 11?

analog swift
#

if u see the link

prisma nacelle
#

@fiery marten set up a basic firewall

tiny dagger
#

But what is there to exploit in bungee tbh?

#

It's open source most likely it was patched by eyes by now

hidden tide
#

@fleet crane I have a weird bug occurring with my plugin. If I right-click a door with nothing in my hand, the door will not open even though I'm hearing the sound my code makes when it automatically opens it. The bug doesn't exist when the player has something in their hand though

tiny dagger
#

Seems like the server thinks you're clicking air then

#

Are you sure the door is there server wise?

hidden tide
#

It is

#

It seems like this occurs when I right-click an iron door and not regular doors

fiery marten
#

@prisma nacelle Yesterday i tried to blacklist all Contruies-IP and i've just Whitelisted FrenchIP and the attack still paralyzed me

tiny dagger
#

Well wait

#

You can't open iron dorrs by hand

hidden tide
#

My code makes it possible

tiny dagger
#

I think it's your code or something

#

Just saying playerinteractevent doesn't trigger when you click air with nothing in your hand

#

Client bug since down of tine

vital delta
#

it does, it just triggers cancelled

#

so if you have ignoreCancelled = true you wont get it

fiery marten
#

@prisma nacelle I've got a very restrictif fierwall, my hosting company, yesterday noticed me that i have to whitelist thier IP 'caus their machines can't connect to mine 😦

hidden tide
#

@vital delta I haven't set that to true

vital delta
#

not sure then

hidden tide
#

@tiny dagger It can't be. I'm hearing the sound play like it does when the code runs

tiny dagger
#

I don't know what is it then, if the sound works then it means something after that doesn't work

hidden tide
#

The sound plays after I call #setOpen()

#

No errors in the console either

#

@fleet crane Thoughts? The sound always plays, but I'm only seeing the iron door actually open if I right-click with a block in my hand

tiny dagger
#

state#update maybe?

#

how do you open the door?

flat aspen
#

Show the code yeah

tiny dagger
#

i recommand just placing a redstone block under the door to see if the theory still holds

valid zenith
#

I don't know

#

How to make the plug-in support Java 11

#

?

hoary parcel
#

Run it using java 11 and see if stuff breaks?

#

Most likely it will run without any issues unless you doing stupid hacks

jade mango
#

looks at Forge

hidden tide
#

@flat aspen @tiny dagger ```code
public void setOpen(boolean flag, boolean playSound) {
Block b = origin.getBlock();
BlockData data = b.getBlockData();

((Openable) data).setOpen(flag);
b.setBlockData(data);

if(!playSound) return;

Sound sound = null;

if(isIronDoor()) {
    sound = (flag) ? Sound.BLOCK_IRON_DOOR_OPEN : Sound.BLOCK_IRON_DOOR_CLOSE;
}else {
    sound = (flag) ? Sound.BLOCK_WOODEN_DOOR_OPEN : Sound.BLOCK_WOODEN_DOOR_CLOSE;
}

origin.getWorld().playSound(origin, sound, 1F, 1F);

}

tiny dagger
#

i don't think block data had even worked for me tbh

#

for pistons i mean

hidden tide
#

It's working when I have a block in my hand

#

I'm making a gif

tiny dagger
#

try adding debug messages

hidden tide
#

I can't see the use in debug messages if I'm hearing the sound playing

hidden tide
#

No, I'm using 1.15.2

#

The thing is that the code is being executed, but it doesn't work when a player isn't holding a solid block

#

The issue persists

#

PlayerInteractEvent, yes

#

I know the code is being executed because I'm hearing the open door sound play

#

and I play the sound after I tell the code to open the door

#

It looks like setOpen is being called twice

#

I'm going to add a short "cooldown"

#

That fixed it!

#

So the state of the door can only be changed every 250ms to prevent this issue

#

I think the reason behind this is because the PlayerInteractEvent is called once per hand

#

Thanks for your help

uncut zealot
#

Hi, we have serious problem with bungeecord. There is probably some botnet, disconnection players with:

[TIME WARN]: [/IP:PORT] <-> InitialHandler - bad packet ID, are mods in use!? Did not read all bytes from packet class net.md_5.bungee.protocol.packet.Handshake 0 Protocol HANDSHAKE Direction TO_SERVER

But it completely lags the bungeecord. Any idea how to prevent the lag?

tiny dagger
#

@hidden tide

#

its cuz

#

the even triggers for both

#

i thought that was known 🤔

uncut zealot
#

@queen bloom It os most probably botnet. Source IPs are from foreign countries like india, china, russia, etc (and are chaning rapidly) and so on, it shows this message like many times per second, it makes bungeecord CPU usage at 100% and completely lags server.

#

yes, but BungeeCord is handling these requests and it takes too much cpu time

harsh solstice
#

@lime goblet If your host don't add any anti ddos, you can try to setup cloudflare, I think they have a free anti ddos, or was it another company? I don't rememeber well

hidden tide
#

If blocks are right next to each other, it appears the block crack effect isn't showing up. My debug print messages are telling me that the nearby glass panes are being iterated over

#

No, this is something different altogether

#

What do you mean?

#

I'm sending a packet to display the crack effect on the glass panes

regal vault
#

Can someone please Help me where it says Rank it only says Vault rank how can i configure that so it says default/Member or Owner which is my rank and other ranks

#

im newbie in minecraft server

hidden tide
#

@queen bloom -_- I figured it out. Each block needs its own unique packet id

regal vault
#

How i can configure that?

#

yes

uncut zealot
#

@uncut zealot What's the current status? Is the attack still going on?
@queen bloom I have added iptables ip protection

regal vault
#

bpermission

#

but idk how to use it

zenith siren
#

I was just about to do that XD

#

Yea I know

#

Yep

#

Works

#

Yea D:

#

But "no" works

#

Thanks!

#

:D

regal vault
#

How? @queen bloom

#

how to figure it?

zenith siren
#

🤔
Good to know

#

Same XD

#

Yea

unique oyster
#

has somebody a good idea for scoreboards except the team variant without flickers

#

it's a bit tricky

hidden tide
astral flower
#

Hi guys I have java 11 for tuinity-paper. And i have this code for start the server. java -Xms7G -Xmx7G -jar tuinity-paperclip.jar

#

Someone know other better code

regal vault
astral flower
#

I have a question, how can I make a player unable to drop items, I don't want everyone not only being able to affect one

tribal coral
#

Attach an event listener to the EntityDropItemEvent @astral flower

#

And then check for either the name of the player, the UUID or check on a permission the player has

#

Your messages probably have some censored stuff in it

#

You can't say the name of the website for some reason

harsh solstice
#

Oooh that's why my message were being deleted

#

@astral flower I guess you can listen for the PlayerDropEvent and cancel it

astral flower
#

@harsh solstice where i can found this?

#

I need do this because i have builders with creative i dont want builders can give items to players

harsh solstice
#

and paste hub. the thing where water comes out + mc.org in front of it

#

Was that clear? 😄

#

You're a god

#

Teach me your knowledge

queen bloom
#

whoops

#

spammed to much

#

got kicked

#

rip

harsh solstice
#

@torn robin How did you do it

#

How is that working

#

Oh

#

Ok until then it works

#

Dammit

#

spigotmc

#

I don't get it

#

spigotmc works but no s p i g o t

dusty topaz
#
            if (line.equals(getLoreLine())) {
                Bukkit.broadcastMessage("returning true");
                return true;
            }
#

am i missing something

harsh solstice
#

Didn't really get what you are trying to do here

dusty topaz
#

trying to check if the lore line is equal to this other string

#

broadcasting them both broadcasts the same thing, but it doesn't return true

harsh solstice
#

Did you include the color codes?

dusty topaz
#

yeah, you can see from the broadcast that they look identical

harsh solstice
#

What does getLoreLine do?

dusty topaz
#

gets the stored loreline for that object

harsh solstice
#

Like, show a little bit more of code

dusty topaz
#

        for (String line : lore) {
            Bukkit.broadcastMessage("line: " + line + "!");
            Bukkit.broadcastMessage("needed: " + getLoreLine() + "!");
            Bukkit.broadcastMessage("equal:" + line.equals(getLoreLine()));
            if (line.equals(getLoreLine())) {
                return true;
            }
        }
``` lol
#
    @Getter
    @Setter
    private String loreLine;
#

there must be a hidden space or something

harsh solstice
#

And where do you set loreLine 😄

#

That code seems ok

dusty topaz
#

constructor

#

it is set since i broadcast it and it shows something

#

the method is also in the object, so the object definitely isn't null

#

hidden space in lore line

#

there we go

harsh solstice
#

That was to be expected 😄

round heath
#

Does anyone know a plugin for autominer for a prison server?

thorny quartz
#

Hello everyone!
I asked if there is a kind of program to create Plugins, a Plugin Maker.
Type like MCreator but for plugins for Minecraft Java Edition servers.

tropic nacelle
#

hdx

frigid ember
#

@thorny quartz

thorny quartz
#

@frigid ember tnx

merry dragon
#

Just learn java

#

@round heath Baritone or the quarry module

torn peak
#

Is chunk loading just bad in 1.15.2 in general?

merry dragon
#

It’s better than 1.14 but worse than 1.12

#

Paper has async chunks loading. Tuinity has fake chunks

torn peak
#

what's:
java.lang.IndexOutOfBoundsException: writerIndex(2053) + minWritableBytes(8) exceeds maxCapacity(2057): UnpooledHeapByteBuf(ridx: 0, widx: 2053, cap: 2057/2057)

round heath
#

Does anyone know a plugin for autominer PLUGIN for a prison server?

torn peak
queen bloom
#

@torn peak seems like a bug

frigid ember
#

everything's a bug

queen bloom
#

try restart your server and just ignore it. If this problem happens again report this to the Spigotmc JIRA

#

seems like something wanted to add a very large string to another very large string causing to reach the string lenght limit. Since this is in the critical part of the server, the server crashed

urban mortar
#

i have problem with joing on the server i have IPv6 and nothing i do....my friend just cant join the server

merry dragon
#

Get your IPv4 address

urban mortar
#

yes but this dont work

queen bloom
#

I don't think IPv6 is supported by the Minecraft Protocol

#

use IPv4 instead

urban mortar
#

use IPv4 instead
@queen bloom easy to say how to di it?

queen bloom
#

that's the IP adress that you should give to your friends

urban mortar
#

and then?

queen bloom
#

however, are you using a host?

dusty topaz
#

that site gives me my ipv6 🤔

queen bloom
#

forgot about that

urban mortar
#

that site gives me my ipv6 🤔
@dusty topaz me to

queen bloom
#

so you guys don't have an IPv4 address?

urban mortar
#

no

frozen hamlet
#

Ask your providers

urban mortar
#

2a02: 810b: 480....................................

dusty topaz
#

no i have an ipv4, i can see it in my command prompt

frozen hamlet
#

They can assign you an ipv4 in most cases

queen bloom
#

@dusty topaz that's your internal IPv4 address

#

you can't use that

dusty topaz
#

🤷‍♀️ guess i don't have on then

#

i'm not trying to host anyway :p

queen bloom
#

Are u using an external host or just hosting the server from your local pc?

urban mortar
#

local PC

queen bloom
#

you probably forgot to port forward

urban mortar
#

i have a port

queen bloom
#

no

urban mortar
#

i set it up in my router

queen bloom
#

ow

#

with the IPv6 IP address?

urban mortar
#

jes

queen bloom
#

not your externel

#

external*

urban mortar
#

the external

queen bloom
#

no don't do taht

#

that

urban mortar
#

?

#

i done it like im the tutorial

queen bloom
#

you should use your internal IPv4 or IPv6 address

#

in the router port forwarding setuip

#

stup

#

setup

#

open cmd run ipconfig and get your "local ip address"

#

IPv4 address *

urban mortar
#

i think i have dont this becuase i warched a tutorial

queen bloom
#

are there any other routers in your home network?

urban mortar
#

nope

queen bloom
#

So, can u join via your host pc ?

urban mortar
#

??

queen bloom
#

but your friend outside the house cant?

urban mortar
#

yes he lives in other city

queen bloom
#

host pc is the pc where the command propt and the server is running

urban mortar
#

this is this pc

queen bloom
#

ok, but you can join your mc server via your pc right?

urban mortar
#

i can

#

lokelhost

queen bloom
#

localhost

urban mortar
#

and through my Ipc6

#

ipv6

queen bloom
#

and that IPv6 is that your internal or external IP?

urban mortar
#

dont know

queen bloom
#

is it equal to what you can find in the cmd or on that website I gave to you?

urban mortar
#

wait

queen bloom
#

yes

urban mortar
#

k

queen bloom
#

Link-local IPv6 address

urban mortar
#

Temporäre IPv6-Adresse. . . . . . : 2a02:810b......................

#

im german

#

but the main is diffrent

#

than this on the webside

queen bloom
#

Temporäre IPv6-Adresse. . . . . . : 2a02:810b......................
@urban mortar this is your internal IP

#

on the website is your external IP

urban mortar
#

dont know

#

this this is my internal

#

the endings are dissrent

queen bloom
#

so what you do is go to your router configuration and check if the port is forwarded to your internal IPv6 address

#

btw, default minecraft port: 25565

urban mortar
#

btw, default minecraft port: 25565
@queen bloom know this

queen bloom
#

IPv6-Addresse

#

that's the one you need

urban mortar
#

so what you do is go to your router configuration and check if the port is forwarded to your internal IPv6 address
@queen bloom but i dont liked MY IPv6 address

queen bloom
#

what?

urban mortar
#

i choose the pc name

#

of this PC

queen bloom
#

ow that could be possible too

#

but the IP addresses are the same?

urban mortar
#

of what the same

queen bloom
#

and port 25565 is forwarded to your internal IPv6 address ?

urban mortar
#

yes i think so

queen bloom
urban mortar
#

dont know i dont have the pannel open my dad have to log in

queen bloom
#

that could be the problem

#

it has to be the same

#

otherwise the router doesn't know to what pc (identified by their internal IP address) he has to send incoming data/packets on port 25565 (default minecraft server port)

urban mortar
#

otherwise the router doesn't know to what pc (identified by their internal IP address) he has to send incoming data/packets on port 25565 (default minecraft server port)
@queen bloom but i could only choose PC names and i clicked my one

queen bloom
#

and forwarded port 25565?

#

to YOUR pc

urban mortar
#

DESKTOP-F...............

#

and forwarded port 25565?
@queen bloom jes

queen bloom
#

and your mate still can't connect to your server?

urban mortar
#

no he cant

queen bloom
#

tried a pc restart?

urban mortar
#

Ths Pop pu

#

Up

#

tried a pc restart?
@queen bloom he or me

queen bloom
#

You

urban mortar
#

k i try

#

wht should he type to conneckt

#

???
???

#

hello?

queen bloom
#

he should use your external ipv6 address

urban mortar
#

kkkkk

queen bloom
#

the one on the site

urban mortar
#

link again?

#

cant finmd it

queen bloom
#

tried adding :25565 behind the ipv6 address?

urban mortar
#

link again?
@urban mortar pls

queen bloom
urban mortar
#

unknownhost

queen bloom
#

hmmm

#

At this point I've no clue what's causing the problem

#

somehow the client (your friend) is unable to get connection with the server (you) through the router. I thought it was the router's firewall blocking the request on port 25565 or didn't know where to send the request to

#

The last thing you could try is this

#

try forwarding your "Temporary IPv6 address" in your router's configuration

urban mortar
#

Mhh ok i can try

#

But thank u very much

queen bloom
#

No problem

ashen stirrup
#
Bukkit.getWorld(MineTropical.spawnLocation.getString("spawn"))
spawn:
  world:
    x: -440.80184182163515
    y: 76.0
    z: 272.6565458596111
    yaw: 12.262695
    pitch: 26.901482

For my spawn plugin, I want to have only 1 spawn. I want the player to teleport to that spawn regardless of what world they're in. The first code snippet shows my code for getting the world. The second is my spawn-locations.yml - when teleporting the player it throws a null pointer and I can only assume it's due to the world - any help?

eager vine
#

use spawnLocation.getLocation() instead

#

that gives you the Location obj directly

queen bloom
#

No

ashen stirrup
#

spawnLocation is a DataFile

eager vine
#

what you are trying to do is get the string "world"

queen bloom
#

he has to have World as a seperated key in his world configuration section

eager vine
#

yea that too

queen bloom
#

however that should work

ashen stirrup
#

I'll do a little debug and see what everything prints, one second

#

(All of the variables, e.g x, y, z)

queen bloom
#

that's a good idea

ashen stirrup
#

Strange

#

Everything is 0

queen bloom
#

then is your key path broken

ashen stirrup
#

I'll try
MineTropical.spawnLocation.getString("spawn."))
For getting the world then

queen bloom
#

for the x coordinate should be: spawn.world.x

frigid ember
#

spawn.world isn't it?

queen bloom
#

yes indeed

ashen stirrup
#

B = world

queen bloom
#

if you want to use multiple worlds you will have to iterate over the different configuration sections

ashen stirrup
#

b is unknown

#

Only one world

#

But world is the worldname

queen bloom
#

MineTropical.spawnLocation.getString("spawn." + myworldobject.getName()))

urban mortar
#

@queen bloom dotn work with changing the IPv6

ashen stirrup
#

Imma quickly try something

#

Since there will only be one configuration section

#

MineTropical.spawnLocation.getConfig().getConfigurationSection("spawn").getKeys(false)

frigid ember
#

Are you utilizing a single world?

ashen stirrup
#

1 world

queen bloom
#

@queen bloom dotn work with changing the IPv6
@urban mortar I'm afraid that the problem is something I can't identify from here.

urban mortar
#

@urban mortar I'm afraid that the problem is something I can't identify from here.
@queen bloom k

frigid ember
#

so don't implement world in that configuration list seperate it.

queen bloom
#

@ashen stirrup are you sure the configuration is loaded correctly into the memory?

ashen stirrup
#

Yes

frigid ember
#

spawn.world is my guess.

queen bloom
#

ow now

#

no

frigid ember
#

or you need to implement a name: string in that configlist

queen bloom
#

I know what the problem is

frigid ember
#

to identify the world_name

ashen stirrup
#

What is it

queen bloom
#

if you try configuration.getString("spawn.world"); it will return the whole world section (x,y,z,pitch,yaw) stuff but not a string

frigid ember
#

^

#

Are you trying to teleport them to Spawn?

ashen stirrup
#
spawn:
  spawnWorld: # *
    x: 0
    y: 0
    z: 0
    yaw: 0
    pitch: 0
#

It doesn't specifically need to be called 'world'

queen bloom
#

you should add World: world to the x,y,z,pich,yaw and get it by using configuration.getLocation("spawn.world");

ashen stirrup
#

Assume * is unknown

frigid ember
#

Don't seperate it like that.

ashen stirrup
#

I want to find *

queen bloom
#

so you would get:

spawn:
  spawnWorld: # *
    x: 0
    y: 0
    z: 0
    yaw: 0
    pitch: 0
    World: world
ashen stirrup
#

Oh, I'll just do it like that

queen bloom
#

and use configuration.getLocation("spawn.spawnWorld");

frigid ember
#

Configuration config = Main.getInstance().getConfig();

player.teleport(new Location(Bukkit.getWorld(config.getString("spawn.spawnWorld"), 
config.getDouble(spawn.x),
config.getDouble(spawn.y),
config.getDouble(spawn.z),
config.getDouble(spawn.yaw),
config.getdouble(spawn.pitch));

ashen stirrup
#

What I was going for was that spawnWorld was the world name

queen bloom
#

then you get a parsed location

frigid ember
#

I just wrote some pseudo code.

ashen stirrup
#

Alright cheers ❤️

frigid ember
#

wouldn't you have to put world underneath spawnWorld?

#

to follow order or does it loop through searching for a string

ashen stirrup
#

spawn - Main Root
spawnWorld - Subroot (also the world name)

queen bloom
#

@ashen stirrup it should be:

Configuration config = Main.getInstance().getConfig();

player.teleport(new Location(Bukkit.getWorld(config.getString("spawn.spawnWorld"), 
config.getDouble("spawn.x"),
config.getDouble("spawn.y"),
config.getDouble("spawn.z"),
config.getDouble("spawn.yaw"),
config.getdouble("spawn.pitch"));

And the configuration:

spawn:
  spawnWorld: world
  x: 0
  y: 0
  z: 0
  yaw: 0
  pitch: 0
dusty topaz
#

Can you not just config.set("location", locationObject)

#

Or is that what you're telling him to do

queen bloom
#

that setting

#

he wants to parse the object

dusty topaz
#

Okay, so

queen bloom
#

from the configuration

dusty topaz
#

Location loc = (Location) config.get("location");

#

?

tiny dagger
#

do you know how ugly the location object looks like?

ashen stirrup
#

I'm gonna do this instead, less hassle.

spawn:
  x: 1
  y: 1
  z: 1
  yaw: 1
  pitch: 1
  world: world
dusty topaz
#

config isn't there to look pretty, it's there to serve a purpose

#

save it to a separate file if you don't want it in your config.yml

ashen stirrup
#
MineTropical.spawnLocation.getConfig.getInt("spawn.x");
MineTropical.spawnLocation.getConfig.getInt("spawn.world");
queen bloom
#

I'm gonna do this instead, less hassle.

spawn:
  x: 1
  y: 1
  z: 1
  yaw: 1
  pitch: 1
  world: world

@ashen stirrup
now you can use
configuration.getLocation("spawn");

ashen stirrup
#

Yeah

#

Thanks everyone

queen bloom
#

No problem

tiny dagger
#

i have people that usemy premade server and creating extra worlds at how eazy it is

#
  • Arcade,-1012.16,124.00,-2500.77,-90.40,-0.45
frigid ember
#

?

tiny dagger
#

like they just change the world

#

and they have more game maps

frigid ember
#

what's the problem here? go more in depth.

tiny dagger
#

I'm just saying that if the database looks pretty people would'nt be afraid to change spawns and so on

frigid ember
#

Which database are you referring to specifically? kxuy's using a flat-file yml?

buoyant knoll
#

Hello. I understand that by the rules of SpigotMC you can refuse support when using a core other than Spigot. But why do not you delete all topics using not Spigot, but only some?

stiff arrow
#

🙋 What event triggers end crystals blowing up blocks on Ender Dragon spawn? I can't for the life of me find what it is...
EntityExplodeEvent works for the dragon
BlockExplodeEvent, BlockIgniteEvent, BlockFadeEvent, ExplosionPrimeEvent, BlockFromToEvent do not work to trigger or prevent blocks from breaking from dragon spawning

frigid ember
#

For the Ender Crystals?

#

BlockStateChangeEvent is my guess if those don't guess.

#

or create your own from PlayerInteractEntity / Interace Event @stiff arrow

#

When I launch my Minecraft server I get two instances of cmd how do I disable this?

unique sapphire
#

Its something to do with the starting vm options ur using

#

I forgot exactly what it is but you can disable the second console by adding the nogui flag

tiny dagger
#

why did they let the gui in ?

#

also i haven't tried but

#

does it open the gui if you click the jar?

#

that would be cool

frigid ember
#

javafx

#

😉

tiny dagger
#

just for when you click

frigid ember
#

I use this

#

java -Xms1G -Xmx1G -XX:+UseConcMarkSweepGC -jar spigot-1.15.2.jar

tiny dagger
#

whats UseConcMarkSweepGC doing?

frigid ember
#

I don't know 😂

tiny dagger
#

why you use it then

#

some garbage collection algoritm

minor spruce
#

add --nogui after the jar

dusty topaz
#

no need for --

#

just nogui

minor spruce
#

either works

dusty topaz
#

(unless you want the gui)

frigid ember
#

Thank you!

merry dragon
#

These are the best flags

runic turret
#

How can I get all the drops using BlockBreakEvent? event.getBlock().getDrops() just give me one of coal or one of potato, I need the real drops

frigid ember
#

I'd believe you have to insert a check for each possibility if one doesn't already exist.

#

I'm surprised it doesn't take Fortune or more ores as a possiblity.

#

pretty sure it takes fortune

runic turret
#

its weird

#

lapis lazuli gives me random

#

but coal ore just give me one

dusty topaz
#

Try getDrops(ItemStack)?

runic turret
#

ok I will try

#

like this?

#

for (ItemStack stack : event.getBlock().getDrops(new ItemStack(block.getType()))) { player.getInventory().addItem(stack); }

robust glade
#

Wdym getDrops gives you one of coal or one of potato

#

It should return a collection with the items that would drop by destroying this block

#

Ohh

#

The amount

mystic mango
#

Hey ! Does someone here knows enought about the way spigot generate the Material.java for each version to help me out ? 😄

tiny dagger
#

reflections i think

mystic mango
#

You think there an open script ?

tiny dagger
#

yeah, it has to be somewhere in there

subtle blade
#

It's not open sourced, no

mystic mango
#

That take the blocks/items from the registries (espacially for the newer version)

subtle blade
#

What reason do you need it?

mystic mango
#

Oh ok thx @subtle blade

#

I'm modding a Spigot

#

I have not much alternatives than that for security reasosn

subtle blade
#

Not really any official support from that as it's beyond Spigot's responsibility. That's on you to write, unfortunately

mystic mango
#

Yeah I know that, it's a bit of a mess 😅

#

Choco can I MP you for more details or you don't wanna be bothered ?

subtle blade
#

I know no more than you do with regards to modding the project. The most I've done is make contributions upstream

#

Manual changes, that is

mystic mango
#

Oh I see, thx for your help anyway 🙂

round lichen
#

Hi guys, Can anybody tell me how to get a target in a listener? Im in general 1

subtle blade
#

That's the most generic question ;P Gonna need a lot more than that

#

Which event

round lichen
#

Can you join general 1

subtle blade
round lichen
#

thast lot to explain

#

ok

#

so, I want to code a troll plugin where you can type /troll player and then a Inventory opens. You can choose the troll and the player gets trolled

#

With InventoryClickEvent

merry dragon
round lichen
#

ok

#

Well theres no Inventory which opens as well no listener

#

can like somebody join gen1 then I can explain better

robust glade
#

Save the target name inside of a hashmap or so. there are many ways to do this

round lichen
#

can you explain more

#

im not that good at coding

#

wdym

#

or join gen1

zealous yoke
#

create a map as a field

round lichen
#

?

#

can I send like the code i wrote?

zealous yoke
#

ah no a Set would probably better

#

yes

round lichen
#

how?

zealous yoke
#

using pastebin or discord's code blocks

round lichen
#

whate are codeblocks?

zealous yoke
#

``````<- Write code between those```

hardy abyss
#

sorry for the interruption but is it possible to use spigot with its plugins like dynamap without the changes that make it "different" from the vanilla minecraft server? Like the changes to AI and redstone to reduce lag for example. I was trying to google around for a while but couldn't find anything on that topic.

zealous yoke
#

i think it is. you have to edit bukkit.yml and spigot.yml

#

but i dont know where you can find the default vanilla values

round lichen
hardy abyss
#

My gut feeling is that it should be possible as well, I just can't find anything on that topic though and I was hoping that there is material on it already present and I just can apply it instead of tinkering around myself

covert hawk
#

I usually work between what's on the Minecraft wiki and sometimes digging in NMS code for vanilla values.

zealous yoke
#

Thats the code for now. And Im german dont mind the names for the items
what exactly doesnt work? what will happen if you execute the code?

round lichen
#

Well, I want the target from the commandexecutor to be the target in the listener

frigid ember
#

Hi

#

I have a serius problem

unborn wolf
#

what is the plugin where you can sell and buy via a sign

frigid ember
#

signshop

zealous yoke
#

I have a serius problem
well we cant guess your problem

median dock
#

is this discord an april fool?

minor kettle
#

Why would it though

minor laurel
#

Sorry but this isn't a serious spigot or bungeecord help question to answer.

sharp nebula
#

hi everybody, i want to make a plugin i have a problem, can you help me ?
My problem is, I want to display spectator player to survival, i find nothing on internet

minor kettle
#

What do you mean

subtle blade
#

That's client-sided. You could send a packet to the client telling it that the player is in creative mode or something but I'm skeptical that would hold true as the server may update that state frequently

sharp nebula
#

ok i see

#

thx

minor laurel
#

This isn't a place to ask or advertise, please keep this for serious spigot and bungeecord help.

#

I suggest removing your advertisement.

#

@twin marten.

zenith siren
#

Is there a way to store an int or even byte in an ItemStack. I want to store how often the wand has been used. It has to break after 3 uses. I got it fully working but now it just stores the an int in a variable called usesLeft and that resets everytime the server restarts so I would like to have some way in which the uses left are imbedded in the item

#

Btw it's a blaze rod so I can't store anything in the durability

twin marten
#

Why not use a hashmap with usesLeft?

zenith siren
#

Well then I would lose all information when the server restarts

#

Wait

#

is the localized name safe to use for this?

quick arch
#

store in nbt? 🤔

zenith siren
#

How would I do that?

#

Oh

#

Wait

#

I really need to google it before I ask

quick arch
#

PersistentDataContainer (nbt wrapper for item & entities) exists in 1.14+

zenith siren
#

I'm in 1.12.2 ._.

quick arch
zenith siren
#

🤔
Not the biggest fan of using API's but I'll take a look

quick arch
#

Bukkit's an API and your using it :p

zenith siren
#

I know XD

tawdry venture
#

how can I make an event listener run on a separate thread? (not spigot, just in general)

muted meadow
#

So where should i learn how to use all this stuff...

#

very confused

cloud sparrow
#

Java first

zenith siren
#

Is localized name safe to use as byte storage (as string)?

zenith siren
#

I decided to use the display name because then it's also easy for the user how many uses the wand has left

minor laurel
#

nbt

alpine musk
#

hi. the server on i7 freezes or starts lagging in a very interesting way. this happens either when entering or when teleporting. timings indicate random plug-ins, i.e. each time the plugin is different, for example

AuthMe::Task: fr.xephi.authme.process.join.AsynchronousJoin$$Lambda$2407/2096775018 (Single)

Essentials::Task: com.earth2me.essentials.EssentialsPlayerListener$1DelayJoinTask (Single)

what could it be? I think it has to do with the hard drive.

cursive pelican
#

I want to get a "work" vc purely for users who are coding

#

make my dreams a reality @fleet crane

#

thank you dad

unborn wolf
#

how do i give the permission to sell with essentials a groupmanager

subtle blade
#

I sent him a message for more VCs because yea, we'll probably need some lol

unborn wolf
#

and buy

cursive pelican
orchid fractal
#

@alpine musk I think opening a thread on the forums and including more information like attaching logs would be a good idea.

valid zenith
#

What the problem?

unborn wolf
#

does still not work

#

@limber moth

limber moth
#

weird

#

even if you op yourself?

unborn wolf
#

no then it works

limber moth
#

what version of essentials are you using?

unborn wolf
#

how can i see that

limber moth
#

./about Essentials I think

unborn wolf
#

essentials.signs.create.sel

#

Version 2.17.2.0

limber moth
#

spigot version and group manager version?

unborn wolf
#

how can i see that

limber moth
#

./ver

#

and ./about GroupManager

unborn wolf
tawny karma
#

!ip

prisma viperBOT
unborn wolf
#

that is the versions

peak flax
#

1.16

#

spigotcraft runs dev builds for testing purposes

unborn wolf
#

?

#

@limber moth

peak flax
#

nvm what i said lol thought you were the other guy

limber moth
#

weird my signs are not working either

#

wait did you turn them on in the essentails config?

unborn wolf
#

yes

limber moth
#

ok I just have to do that myself as I didnt

frigid ember
#

tes

#

yEs

limber moth
#

works for me on latest spigot @unborn wolf

unborn wolf
#

aint my the latest

limber moth
#

have you added the use permission too?

unborn wolf
#

what do u mean

limber moth
#

create shouldn't be added my mistake from earlier

#

essentials.signs.use.buy

#

essentials.signs.use.sell

#

the use permission is what is required for users to use the sign that is created

#

the create should only be given to admins or a staff member (unless you are allowing players to create them)

#

I am deopped, have the correct permission to use the sign

unborn wolf
#

yeesss

#

it owrks

#

works

#

1000000 thanks

limber moth
#

👍

#

use that link for the list of permissions, you can use the search to filter by specific permission

unborn wolf
#

i will

#

thank u

limber moth
#

np

calm frost
#

Can you recommend the ore drop plugin for version 1.15.2?

limber moth
#

huh?

tiny dagger
#

was this channel ever removed or is this guy's weird spigot fork?

analog swift
#

Any plugins like orebfustacor for 1.15.2?
Spigot had anti xray feature before but it seems rmeoved

fleet crane
#

Orebfuscator

hot girder
#

How can i get spigot 1.16?

#

I just need the API

oblique prism
#

Is orebfuscator obfuscated? hmmmmm

zenith palm
#

Any plugins like orebfustacor for 1.15.2?
Spigot had anti xray feature before but it seems rmeoved
@analog swift none that I've seen, I think it's been abandoned, check for forks on github

calm frost
#

I can't write in English, but I try I need a similar plugin to OtherDrops for version 1.15.2

fleet crane
#

Plugins that are 1.13.2+ are very likely to work

frigid ember
#

i need help with firewall of bungee, i can connect to my bungee server but then i cannot connect to my backend

#

😦

fleet crane
#

Your backend firewall needs to allow your bungee ip

frigid ember
#

i blocked all the port's of my backend server

#

is that ok?

fleet crane
#

You need to add an exception for your bungee ip

frigid ember
#

iptables -I INPUT ! -s $BUNGEE_IP -p tcp --dport $portofmybackendservernumber1:$portofmybackendservernumber3 -j DROP

fleet crane
#

Make sure you replaced $BUNGEE_IP with the actual ip

frigid ember
#

i used 127.0.0.1

fleet crane
#

Is your bungee on the same dedicated server as your spigot

craggy frost
#

i'd suggest ufw to configure iptables, easier

frigid ember
#

yes

#

it is

fleet crane
#

Did you use 127.0.0.1 as the server ips in bungees config.yml

frigid ember
#

oh

#

i think not

fleet crane
#

That’s probably it then

frigid ember
#

but I can connect to the IP of the bungee but when redirecting to the IP of the lobby server, it won't let me.

oblique prism
#

What's the email to contact staff?

fleet crane
#

@frigid ember you always need to connect via bungee

#

You can use forced_hosts to set domains for specific servers

oblique prism
#

ty

frigid ember
#

but i'm doing that, for example, my bungee ip is 1.1.1.1 with port 1 and my backend server is 1.1.1 with port 2 so in my bungee configuration its: lobby -> address: 1.1.1.1:2

#

and i'm connecting with 1.1.1.1:1

fleet crane
#

Put the servers as 127.0.0.1 in bungee config

#

And restart

frigid ember
#

iptables -I INPUT ! -s 1.1.1.1 -p tcp --dport 2 -j DRO

#

and i did that

#

okay, i'm gonna do that

austere dock
#

how do i install the compilier

fleet crane
#

Uh

frigid ember
#

you mean buildtools?

austere dock
#

yes

#

sorry im new to this

fleet crane
#

Just download the jar

austere dock
#

off of what website

fleet crane
#

And run it like a server: java -jar BuildTools.jar

#

?bt

worldly heathBOT
fleet crane
#

Wiki page with ok instru

austere dock
#

so i install the git then the JRE

subtle blade
#

Heh. Fake CafeBabe

frigid ember
#

if you need a specific version you can add --rev <version>

fleet crane
#

On windows you just need java

frigid ember
#

samething :(, md_5

austere dock
#

whenever i click open it just goes to view downloads on internet explorer

peak flax
#

because that's a direct link to a download thonk

austere dock
#

so what do i do from there

peak flax
#

move it to a blank folder, run it

frigid ember
#

maybe i did something wrong wiht iptables

#

because before that i could connect

fleet crane
#

Maybe

#

If everything is same server you don’t need iptables

#

Just put server-ip to 127.0.0.1 in server.properties of each server

frigid ember
#

i really don't know what i'm doint wrong, i recently was grief.

oblique prism
#

Are chunks in a compressed state when loaded in memory?

#

What's the expected answer time to the staff email?

frigid ember
#

when i change it to 127.0.0.1 i can't event connect to the bungee

austere dock
#

i created a new folder and put it into the folder but when i open it it still goes to internet explorer download view

sharp hollow
#

@analog swift I'll see what i can do about Orebfuscator ^-^

frigid ember
#

dont put the bungee ip as 127.0.0.1

#

only the other servers connected to it

fleet crane
#

Depends what you mean by compressed

oblique prism
#

Not a 3D array containing block ids.

#

But some sort of indexed table.

fleet crane
#

Yes

frigid ember
#

nope, i can't 😦

oblique prism
#

md5, how difficult do you think it would be to implement an api that would completely replace a chunk, instead of block by block? say chunk.replaceContents(BlockData[][][])?

tiny dagger
#

why would you need an api for that?

fleet crane
#

It’s just gonna do a loop anyway

tiny dagger
#

yeah

#

twice too most likely

oblique prism
#

on a compressed dataset this would be more efficient I think.

frigid ember
#

iptables -I INPUT ! -s 127.0.0.1 -p tcp --dport PORTOFMYLOBBYSERVER -j DROP
is that okay?

oblique prism
#

and this would enable plugins to produce results in parallel, such as regenerating an area

fleet crane
#

It should be @frigid ember

frigid ember
#

im soooo sad

fleet crane
#

The only bulk operation you could make faster with new api would be clearing a chunk(section) to air

frigid ember
#

i don't know why i can't

fleet crane
#

Everything else would just fall back to a loop at some point

oblique prism
#

If you're asking for uses, let me write one.

fleet crane
#

@frigid ember reboot to clear iptables then use the server.properties method I said above

oblique prism
#

So right now you can't write blocks async. This would allow one to get the chunk snapshot, do operations async, and then replace the existing chunk in world without loops.

zealous yoke
#

if you guys code with Java 10+, do you use the var keyword?

frigid ember
#

@frigid ember reboot to clear iptables then use the server.properties method I said above
@fleet crane 127.0.0.1, right?

fleet crane
#

Yeah that’s a bit different

frigid ember
#

okay, i'm gonna do that

fleet crane
#

That would be like a mutable ChunkSnapshot

#

And yes that’s right

oblique prism
#

Yes, and the API would be able to receive that as replacement.

#

I personally think this makes a lot of sense. I needed that many times. If I implement this, do you think you'd let this in?

fleet crane
#

If it’s done as a mutable extension of ChunkSnapshot yes

frigid ember
#

nothing happen, md_5

#

still the same

crimson raft
#

@frigid ember try not port 1 as its for TCPMUX. maybe use a unregistered port? like 49152–65535 range

frigid ember
#

it was an example, but i'm gonna used in that range

crimson raft
#

ah okey

frigid ember
#

but it something with iptables (i think) because it was working before that

crimson raft
#

iptables -I INPUT ! -s $BUNGEE_IP -p tcp --dport $portofmybackendservernumber1:$portofmybackendservernumber3 -j DROP
@frigid ember your not supposed to do accept there?

#

instead of drop

frigid ember
#

i don't know 😦

#

maybe

#

makes sense

#

XD

crimson raft
#

yeah haha

frigid ember
#

hmm

ashen stirrup
#

Could someone in DMs explain how cooldowns work (e.g Kit Cooldown)

frigid ember
#

i'm gonna try that

crimson raft
#

@ashen stirrup "example" is not gonna help much as each plugin is different. some plugins have build in cooldown others not.

ashen stirrup
#

??

#

Cooldown

crimson raft
#

to maybe setup cooldown

ashen stirrup
#

What’re you on about

crimson raft
#

i dont know what your on about with "cooldown"

#

be more specific you want to have cooldown on a command

ashen stirrup
#

Then why give that explanation if you’re unsure.

crimson raft
#

i am guessing because i hope you would give all the info you can right away 🤣

ashen stirrup
#

It’s a cooldown? There’s not much else too it.

crimson raft
#

k, for what command?

#

which plugin

#

your talking about essentials commands?

#

bukkit commands?

ashen stirrup
#

???

oblique prism
#

@ashen stirrup why the attitude lmao, read the documentation

ashen stirrup
#

It’s not attitude my friend

oblique prism
#

did we just bring forum Spigot Plugin Development to Discord xD

#

I think we did.

crimson raft
#

🤷‍♂️ cant help when there is no issue

ashen stirrup
#

So you’ve never heard of a 24 hour cooldown on a /kit?

oblique prism
#

you save it to a database

#

save the moment someone hit the command, and the player's UUID

#

then when they try again you check against the database

crimson raft
#

@ashen stirrup if its essentials kit, see essentials config

frigid ember
#

||who know me here ?||

oblique prism
#

@frigid ember idk

ashen stirrup
#

Thanks Sleepingpie

frigid ember
#

noice

crimson raft
#

||i|| ||d||||o||

oblique prism
#

How do you hide the text?

frigid ember
#

idk when the staff here will realize

#

xd

crimson raft
frigid ember
#

||hidden text||

oblique prism
#

||8=>0 is 8 greater or equal to 0?||

frigid ember
#

||this is maybe not an slooF lirpA||

tiny dagger
#

||0.1 + 0.2 != 0.3||

frigid ember
#

@crimson raft doing ACCEPT instead of DROP

#

it fixs it

#

but i think that's not supossed to be happen

#

because when i try to connect directly to

#

||1 + 1 = 3 because 1 man + 1 girl = 1 child so there is now 3 humans||

#

the bkacend server i can, i man i receive the message of bungee

#

please help 😦 i followed every step

crimson raft
#

you should block direct connection

#

to the spigot one

frigid ember
#

i know

#

i "did it" i only allow connecting to bungee server with iptables

#

but when i try to connect

#

to my backend server

#

i can't

#

i supossed bc that port is blocked

#

?

crimson raft
#

can you show your ip tables

#

how is it now?

frigid ember
#

iptables -I INPUT ! -s 127.0.0.1 -p tcp --dport 25565 -j ACCEPT

#

25565 its the port of my bungee server

#

my backend server haev another port

#
echo "dlrow olleh"
#

😦

crimson raft
#

you should do smth like
iptables -A INPUT -p tcp -s localhost --dport <spigot> -j ACCEPT
iptables -A OUTPUT -p tcp -s localhost --dport <spigot> -j ACCEPT

#

try that?

frigid ember
#

why spigot

#

if i do that

crimson raft
#

your spigot port?

frigid ember
#

they can grief me

crimson raft
#

you want them to connect from bungee to spigot right?

frigid ember
#

right

#

i just recently got hacked

#

because they connect to my spigot server

#

/op Broken_

crimson raft
#

this way it should only allow localhost

#

@frigid ember can you not troll here in help? thanks

frigid ember
#

maybe yes, maybe not

#

idk

crimson raft
#

maybe yes, maybe mods

frigid ember
#

@crimson raft but what is the purpose of the guide from spigot?

#

k

#

doing that is the opposite of following the guide

crimson raft
#

link to guide?

frigid ember
#

😦

#

i mean if i do that, it's like i did nothing

#

that's the problem

wheat yarrow
#

@frigid ember hi 😳

frigid ember
#

42 is the universal answer

#

how annoying xd

#

hi @wheat yarrow

wheat yarrow
#

@frigid ember hi 😳

frigid ember
#

it's working without firewall

#

but i really need that

oblique prism
#

I guess all reviews are valid?

crimson raft
#

@frigid ember okey first, you need to understand what you want to achive:
in this example, bungee is the IP of the bungee server.

SO what they are doing is allow the ip's 111.111.111.111 & 22.222.222.222 (spigot examples)
then they block anything else with a lower rule
iptables -A bungee -j DROP
So now only 111.111.111.111 & 222.222.222.222 are allowed to connect to bungee (spigot)
now they allow the ports to be worked on so:
iptables -I INPUT -m tcp -p tcp --dport 25565 -j bungee
iptables -I INPUT -m tcp -p tcp --dport 25565 -j bungee

frigid ember
#

OMG