#help-archived
1 messages · Page 1 of 1 (latest)
second
You should add a suggestion channel 🙂
7th
7th?
6th
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.
That’d be useful
You should add a suggestions channel for suggestions.
That sounds like a suggestion!
😮
petition for Rythm music bot
petition for literally every bot
petition for Slime Bot
Petition for the petitions of petitions to be petitioned
#rules with copypasta of rules from forum post
Cause lets be real, only a small percentage of people will read the forum post
They need to read a small portion of the post to click the link
idk about you, but my eyes are immediately drawn to the big bold JOIN NOW! link.
help me
with..?
help is non existent at the moment
oh
Oh
😬
Please keep this channel for help requests and use #general for general discussion
Does it have to be spigot-related help
see topic please
You can pinn that message
But its' already in the topic.
is there a way to have the server run a command on start/restart. or maybe a plugin for that?
use onEnable() & onDisable()?
in the config?
im on 1.8.8 :/
hmm, quick question, how do you migrate mappings quickly
like mojang's obf names change and spigot doesn't have things like srg
also i had a look at the specialsource-2 jar and it has proguard support hmm
how often do you upgrade the snapshot server? twice a month/once per 2 week, or?
Am getting this null pointer, any help?
https://pastebin.com/raw/pnT5vNw3
name the mappings with a .prg extension and it would map
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
@fleet crane thought about adding a showcase channel?
^ no, emojis look terrible
😦
this discord was just made apparently
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
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?
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
so if i edit the NMS classes in Spigot-Server and recompile, the changes will be visible on the server?
yes
ok, thanks
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
@fleet crane Are there any tags available for regular users? Perhaps, "Server Admin" and "Plugin Developer" etc.
"Spigot Contributor" - along those lines...
imo that would cause confusion and there is no special distinction for that on the forums anyway
when i make custom events does player need to be final?
well im just asking if its good practice to do so if i dont need it?
generally you should make things final unless you need otherwise
It looks pretty 😮
And then you know that those variables never change. Super helpful on big old functions you wrote ~5 years ago
Do potion effect levels start from 0?
new PotionEffect(type, 2) is giving jump boost 3 ... 🤔
yes
huh, never knew. ty
yeah to get the real one you make a method and just +1 it
@fleet crane, why no custom emojis? :pepe_sad:
for exactly that reason
That's not a reason
What if, a perk of server boosting was the ability to use custom emojis?
maybe
Sweet, done deal, cheers
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
Or split into more channels, #general is chaos incarnate
Like any channel will do lol
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.
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
That's an oddly specific meme
is it possible to ask for the tester rank on the spigotcraft community server here or should I still go through the forums?
go through the forums
no
SET BINDIR=%~dp0
CD /D "%BINDIR%"
I what to ask what is this
and does it useful for bathfile minecraft server?
thanks!
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
And it will change to that directory, even if its on another drive
oh thanks
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?
Why not ask that plugin
Check your config through a yaml validator
^ 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.
Ok Thank you.
Someone an idea what's going on here...? https://www.spigotmc.org/threads/give-command-gives-one-item-too-much-when-playerdropitemevent-gets-cancelled.426303/#post-3737918
Don't bump in #help-archived when it's not really a serious spigot and bungeecord help question.
fine
@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)
seems like client issue to me .-.
@valid zenith spartan
when i added spartan to my server, that issue was announced
dunno what it is
should prob ask in their dc
yeah so seems logical spartan is a bit aggressive/bugged there
And that's why he should make the lore a bit more compact
I personally have been using AntiAura on a survival server a while and it works good
Upgrading to 1.15
heart AAC is quite good, but the problem is its quite known so people write bypasses for it
it isnt good
Just
just compile with java 11
Compile
nothing special required
Unless you're using Java 11 api you don't really have to upgrade imo
Running with java 11 is prepared tho
is there anything worthwhile in java 9+? Last change I have noticed was lambda and haven't read through the new versions yet
Preferred*
Yeah I guess cuz of the improvements
There are very nice new language features and performance is better
Well, Tuinity requires java 11+
There's a lot of cool stuff in java 9
Var?
i can say that java 11 is worth it
I haven't really looked but none seemed as good as functional programming addition
I Tried to update my server to java 13 and one of my plugins had a fit 😦
Var is the most boring thing about java 11
What's the difference between an object and var?
dont like this part though
I'm sure people are gonna listen to that
Just use openjdk
Nobody should use Oracle jdk
Even java 8 Oracle jdk isn't free for production use iirc
I Still use java 8 😆
Just for dev and educational work
Is open jdk compiling with the oracle jdk?
oh, well if that works then I guess its worth it
Oracle jdk is openjdk with a stupid licence
Oh
The code is 100% equal in modern versions, excluding javafx, that's not packaged by default anymore
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" ?
Is it an exploit or the internet can't keep up with all the users atm?
openj9 😍
How use BubbleChat in Java 11?
if u see the link
@fiery marten set up a basic firewall
But what is there to exploit in bungee tbh?
It's open source most likely it was patched by eyes by now
@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
Seems like the server thinks you're clicking air then
Are you sure the door is there server wise?
It is
It seems like this occurs when I right-click an iron door and not regular doors
@prisma nacelle Yesterday i tried to blacklist all Contruies-IP and i've just Whitelisted FrenchIP and the attack still paralyzed me
My code makes it possible
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
it does, it just triggers cancelled
so if you have ignoreCancelled = true you wont get it
@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 😦
@vital delta I haven't set that to true
not sure then
@tiny dagger It can't be. I'm hearing the sound play like it does when the code runs
I don't know what is it then, if the sound works then it means something after that doesn't work
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
Show the code yeah
i recommand just placing a redstone block under the door to see if the theory still holds
Run it using java 11 and see if stuff breaks?
Most likely it will run without any issues unless you doing stupid hacks
looks at Forge
@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);
}
try adding debug messages
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
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?
@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
@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
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
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
@queen bloom -_- I figured it out. Each block needs its own unique packet id
@uncut zealot What's the current status? Is the attack still going on?
@queen bloom I have added iptables ip protection
I'm sure it's YAML
Type
no:
description: "no"
in at http://www.yamllint.com/ and it changes the no to false
I was just about to do that XD
Yea I know
Yep
Works
Yea D:
But "no" works
Thanks!
:D
has somebody a good idea for scoreboards except the team variant without flickers
it's a bit tricky
https://i.gyazo.com/3f5c518dfe5c273e81da171534517f60.mp4 Nothing like throwing garbage at windows lol
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
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
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
Oooh that's why my message were being deleted
@astral flower I guess you can listen for the PlayerDropEvent and cancel it
@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
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
@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
👀
if (line.equals(getLoreLine())) {
Bukkit.broadcastMessage("returning true");
return true;
}
am i missing something
Didn't really get what you are trying to do here
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
Did you include the color codes?
What does getLoreLine do?
gets the stored loreline for that object
Like, show a little bit more of code
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
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
thought it was odd
That was to be expected 😄
Does anyone know a plugin for autominer for a prison server?
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.
hdx
there is visual bukkit, but its very early in development: https://www.spigotmc.org/resources/visual-bukkit.76474/
@thorny quartz
@frigid ember tnx
Is chunk loading just bad in 1.15.2 in general?
It’s better than 1.14 but worse than 1.12
Paper has async chunks loading. Tuinity has fake chunks
what's:
java.lang.IndexOutOfBoundsException: writerIndex(2053) + minWritableBytes(8) exceeds maxCapacity(2057): UnpooledHeapByteBuf(ridx: 0, widx: 2053, cap: 2057/2057)
Does anyone know a plugin for autominer PLUGIN for a prison server?
@torn peak seems like a bug
everything's a bug
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
i have problem with joing on the server i have IPv6 and nothing i do....my friend just cant join the server
Get your IPv4 address
yes but this dont work
use IPv4 instead
@queen bloom easy to say how to di it?
get your external IP address by going to this site: https://www.watismijnip.nl/
that's the IP adress that you should give to your friends
and then?
however, are you using a host?
that site gives me my ipv6 🤔
forgot about that
that site gives me my ipv6 🤔
@dusty topaz me to
so you guys don't have an IPv4 address?
no
Ask your providers
2a02: 810b: 480....................................
no i have an ipv4, i can see it in my command prompt
They can assign you an ipv4 in most cases
Are u using an external host or just hosting the server from your local pc?
local PC
you probably forgot to port forward
i have a port
no
i set it up in my router
jes
the external
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 *
i think i have dont this becuase i warched a tutorial
are there any other routers in your home network?
nope
So, can u join via your host pc ?
??
but your friend outside the house cant?
yes he lives in other city
host pc is the pc where the command propt and the server is running
this is this pc
ok, but you can join your mc server via your pc right?
localhost
and that IPv6 is that your internal or external IP?
dont know
is it equal to what you can find in the cmd or on that website I gave to you?
wait
yes
k
Link-local IPv6 address
Temporäre IPv6-Adresse. . . . . . : 2a02:810b......................
im german
but the main is diffrent
than this on the webside
Temporäre IPv6-Adresse. . . . . . : 2a02:810b......................
@urban mortar this is your internal IP
on the website is your external IP
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
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
what?
of what the same
and port 25565 is forwarded to your internal IPv6 address ?
yes i think so
of what the same
@urban mortar your IPv6 address here: https://discordapp.com/channels/690411863766466590/690470011382267904/694914811665842297 , is the same as in your router configuration right?
dont know i dont have the pannel open my dad have to log in
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)
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
and your mate still can't connect to your server?
no he cant
tried a pc restart?
You
he should use your external ipv6 address
kkkkk
the one on the site
tried adding :25565 behind the ipv6 address?
link again?
@urban mortar pls
unknownhost
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
No problem
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?
No
spawnLocation is a DataFile
what you are trying to do is get the string "world"
he has to have World as a seperated key in his world configuration section
yea that too
however that should work
I'll do a little debug and see what everything prints, one second
(All of the variables, e.g x, y, z)
that's a good idea
then is your key path broken
I'll try
MineTropical.spawnLocation.getString("spawn."))
For getting the world then
for the x coordinate should be: spawn.world.x
spawn.world isn't it?
yes indeed
B = world
if you want to use multiple worlds you will have to iterate over the different configuration sections
MineTropical.spawnLocation.getString("spawn." + myworldobject.getName()))
@queen bloom dotn work with changing the IPv6
Imma quickly try something
Since there will only be one configuration section
MineTropical.spawnLocation.getConfig().getConfigurationSection("spawn").getKeys(false)
Are you utilizing a single world?
1 world
@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 I'm afraid that the problem is something I can't identify from here.
@queen bloom k
so don't implement world in that configuration list seperate it.
@ashen stirrup are you sure the configuration is loaded correctly into the memory?
Yes
spawn.world is my guess.
or you need to implement a name: string in that configlist
I know what the problem is
to identify the world_name
What is it
if you try configuration.getString("spawn.world"); it will return the whole world section (x,y,z,pitch,yaw) stuff but not a string
spawn:
spawnWorld: # *
x: 0
y: 0
z: 0
yaw: 0
pitch: 0
It doesn't specifically need to be called 'world'
you should add World: world to the x,y,z,pich,yaw and get it by using configuration.getLocation("spawn.world");
Assume * is unknown
Don't seperate it like that.
I want to find *
so you would get:
spawn:
spawnWorld: # *
x: 0
y: 0
z: 0
yaw: 0
pitch: 0
World: world
Oh, I'll just do it like that
and use configuration.getLocation("spawn.spawnWorld");
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));
What I was going for was that spawnWorld was the world name
then you get a parsed location
I just wrote some pseudo code.
Alright cheers ❤️
wouldn't you have to put world underneath spawnWorld?
to follow order or does it loop through searching for a string
spawn - Main Root
spawnWorld - Subroot (also the world name)
@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
Can you not just config.set("location", locationObject)
Or is that what you're telling him to do
Okay, so
from the configuration
do you know how ugly the location object looks like?
I'm gonna do this instead, less hassle.
spawn:
x: 1
y: 1
z: 1
yaw: 1
pitch: 1
world: world
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
MineTropical.spawnLocation.getConfig.getInt("spawn.x");
MineTropical.spawnLocation.getConfig.getInt("spawn.world");
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");
No problem
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
?
what's the problem here? go more in depth.
I'm just saying that if the database looks pretty people would'nt be afraid to change spawns and so on
Which database are you referring to specifically? kxuy's using a flat-file yml?
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?
🙋 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
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?
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
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
just for when you click
whats UseConcMarkSweepGC doing?
I don't know 😂
add --nogui after the jar
either works
(unless you want the gui)
Thank you!
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
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
Try getDrops(ItemStack)?
ok I will try
like this?
for (ItemStack stack : event.getBlock().getDrops(new ItemStack(block.getType()))) { player.getInventory().addItem(stack); }
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
Hey ! Does someone here knows enought about the way spigot generate the Material.java for each version to help me out ? 😄
reflections i think
You think there an open script ?
yeah, it has to be somewhere in there
It's not open sourced, no
That take the blocks/items from the registries (espacially for the newer version)
What reason do you need it?
Oh ok thx @subtle blade
I'm modding a Spigot
I have not much alternatives than that for security reasosn
Not really any official support from that as it's beyond Spigot's responsibility. That's on you to write, unfortunately
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 ?
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
Oh I see, thx for your help anyway 🙂
Hi guys, Can anybody tell me how to get a target in a listener? Im in general 1
Can you join general 1
I can respond in #help-archived 😄
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
Look at the github of this plugin: https://www.spigotmc.org/resources/trollcommands-troll-your-frenemies.24237/
ok
Well theres no Inventory which opens as well no listener
can like somebody join gen1 then I can explain better
Save the target name inside of a hashmap or so. there are many ways to do this
create a map as a field
how?
using pastebin or discord's code blocks
whate are codeblocks?
``````<- Write code between those```
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.
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
Thats the code for now. And Im german dont mind the names for the items
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
I usually work between what's on the Minecraft wiki and sometimes digging in NMS code for vanilla values.
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?
Well, I want the target from the commandexecutor to be the target in the listener
what is the plugin where you can sell and buy via a sign
signshop
I have a serius problem
well we cant guess your problem
is this discord an april fool?
Why would it though
Sorry but this isn't a serious spigot or bungeecord help question to answer.
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
What do you mean
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
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.
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
Why not use a hashmap with usesLeft?
Well then I would lose all information when the server restarts
Wait
is the localized name safe to use for this?
store in nbt? 🤔
PersistentDataContainer (nbt wrapper for item & entities) exists in 1.14+
I'm in 1.12.2 ._.
then use this API, https://www.spigotmc.org/resources/nbt-api.7939/
🤔
Not the biggest fan of using API's but I'll take a look
Bukkit's an API and your using it :p
I know XD
how can I make an event listener run on a separate thread? (not spigot, just in general)
Java first
Is localized name safe to use as byte storage (as string)?
I decided to use the display name because then it's also easy for the user how many uses the wand has left
nbt
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.
I want to get a "work" vc purely for users who are coding
make my dreams a reality @fleet crane
thank you dad
how do i give the permission to sell with essentials a groupmanager
I sent him a message for more VCs because yea, we'll probably need some lol
and buy
@alpine musk I think opening a thread on the forums and including more information like attaching logs would be a good idea.
no then it works
what version of essentials are you using?
how can i see that
./about Essentials I think
spigot version and group manager version?
how can i see that
!ip
that is the versions
nvm what i said lol thought you were the other guy
weird my signs are not working either
wait did you turn them on in the essentails config?
yes
ok I just have to do that myself as I didnt
works for me on latest spigot @unborn wolf
aint my the latest
have you added the use permission too?
what do u mean
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
👍
use that link for the list of permissions, you can use the search to filter by specific permission
np
Can you recommend the ore drop plugin for version 1.15.2?
huh?
was this channel ever removed or is this guy's weird spigot fork?
Any plugins like orebfustacor for 1.15.2?
Spigot had anti xray feature before but it seems rmeoved
Orebfuscator
Is orebfuscator obfuscated? hmmmmm
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
I can't write in English, but I try I need a similar plugin to OtherDrops for version 1.15.2
Plugins that are 1.13.2+ are very likely to work
i need help with firewall of bungee, i can connect to my bungee server but then i cannot connect to my backend
😦
Your backend firewall needs to allow your bungee ip
You need to add an exception for your bungee ip
iptables -I INPUT ! -s $BUNGEE_IP -p tcp --dport $portofmybackendservernumber1:$portofmybackendservernumber3 -j DROP
Make sure you replaced $BUNGEE_IP with the actual ip
i used 127.0.0.1
Is your bungee on the same dedicated server as your spigot
i'd suggest ufw to configure iptables, easier
Did you use 127.0.0.1 as the server ips in bungees config.yml
That’s probably it then
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.
What's the email to contact staff?
@frigid ember you always need to connect via bungee
You can use forced_hosts to set domains for specific servers
ty
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
iptables -I INPUT ! -s 1.1.1.1 -p tcp --dport 2 -j DRO
and i did that
okay, i'm gonna do that
how do i install the compilier
Uh
you mean buildtools?
Just download the jar
off of what website
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
Wiki page with ok instru
so i install the git then the JRE
Heh. Fake CafeBabe
if you need a specific version you can add --rev <version>
samething :(, md_5
whenever i click open it just goes to view downloads on internet explorer
because that's a direct link to a download 
so what do i do from there
move it to a blank folder, run it
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
i really don't know what i'm doint wrong, i recently was grief.
Are chunks in a compressed state when loaded in memory?
What's the expected answer time to the staff email?
when i change it to 127.0.0.1 i can't event connect to the bungee
i created a new folder and put it into the folder but when i open it it still goes to internet explorer download view
@analog swift I'll see what i can do about Orebfuscator ^-^
Depends what you mean by compressed
Yes
nope, i can't 😦
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[][][])?
why would you need an api for that?
It’s just gonna do a loop anyway
on a compressed dataset this would be more efficient I think.
iptables -I INPUT ! -s 127.0.0.1 -p tcp --dport PORTOFMYLOBBYSERVER -j DROP
is that okay?
and this would enable plugins to produce results in parallel, such as regenerating an area
It should be @frigid ember
im soooo sad
The only bulk operation you could make faster with new api would be clearing a chunk(section) to air
i don't know why i can't
Everything else would just fall back to a loop at some point
If you're asking for uses, let me write one.
@frigid ember reboot to clear iptables then use the server.properties method I said above
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.
if you guys code with Java 10+, do you use the var keyword?
@frigid ember reboot to clear iptables then use the server.properties method I said above
@fleet crane 127.0.0.1, right?
Yeah that’s a bit different
okay, i'm gonna do that
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?
If it’s done as a mutable extension of ChunkSnapshot yes
@frigid ember try not port 1 as its for TCPMUX. maybe use a unregistered port? like 49152–65535 range
it was an example, but i'm gonna used in that range
ah okey
but it something with iptables (i think) because it was working before that
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
yeah haha
hmm
Could someone in DMs explain how cooldowns work (e.g Kit Cooldown)
i'm gonna try that
@ashen stirrup "example" is not gonna help much as each plugin is different. some plugins have build in cooldown others not.
see the plugin config. if that does not help you see https://bukkit.gamepedia.com/Commands.yml
to maybe setup cooldown
What’re you on about
i dont know what your on about with "cooldown"
be more specific you want to have cooldown on a command
Then why give that explanation if you’re unsure.
i am guessing because i hope you would give all the info you can right away 🤣
It’s a cooldown? There’s not much else too it.
k, for what command?
which plugin
your talking about essentials commands?
bukkit commands?
???
@ashen stirrup why the attitude lmao, read the documentation
It’s not attitude my friend
🤷♂️ cant help when there is no issue
So you’ve never heard of a 24 hour cooldown on a /kit?
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
@ashen stirrup if its essentials kit, see essentials config
||who know me here ?||
@frigid ember idk
Thanks Sleepingpie
noice
||i|| ||d||||o||
How do you hide the text?
||awd|| -> ||awd||
||8=>0 is 8 greater or equal to 0?||
||this is maybe not an slooF lirpA||
||0.1 + 0.2 != 0.3||
@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
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
?
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"
😦
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?
your spigot port?
they can grief me
you want them to connect from bungee to spigot right?
right
i just recently got hacked
because they connect to my spigot server
/op Broken_
this way it should only allow localhost
@frigid ember can you not troll here in help? thanks
maybe yes, maybe mods
@crimson raft but what is the purpose of the guide from spigot?
k
doing that is the opposite of following the guide
link to guide?
@frigid ember hi 😳
@frigid ember hi 😳
my configuration it's exactly like this: https://www.spigotmc.org/wiki/example-setup/
it's working without firewall
but i really need that
@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
OMG