#text
1 messages Β· Page 2 of 1
Pretty sure HelpChat is the biggest with 5k members
essx discord at 7k
A private message has been sent to your SpigotMC.org account for verification!
CafeBabe u gud?
I feel like there was probably a deleted message
Yeah, it took ages to reply and then I saw the verification channel so I thought hey maybe it can't access here.
Turns out it's a tad slow.
Covid slows down economy and internet
yeah
getting a forums page from the forums server: 0.1 seconds
which is about what it normally takes to generate a xenforo page
getting the page from australia directly to the server: 1-1.5 seconds
Random sites are just down or out for me from time to time. It's interesting to see what's been happening
getting the page from australia via cloudflare: 1.5+ seconds
Holy cow
I think both cloudflare and the host are a bit congested
flashbacks to my parents windows pc back in 2004
cloudflare is definitely adding at least 0.3-0.5 seconds of latency here
I remember last year when cloudflare just kept going out every few weeks and taking half the internet with it xD
Time for Cloudflare Argo!
you mean
The hypocrisy of cloudflare on that product is sickening
Only reason I'll be getting it is for Cloudflare Access.
spigot isnt a stable enough source of income to support a premium cloudflare product
I don't think it does anything better for routing.
βCloudflare supports net neutrality, you shouldnβt have to pay for fast lanesβ
π
launches product that is literally a fast lane and refuses to acknowledge it
Thoughts on WARP?
Had a fight with them on twitter about it when it launched
Pretty much that but for consumers.
md, bold to assume that YOU the consumer understand their marketing. The company always knows best obviously. We the laymen need to accept that
π
Can someone unscramble ETEOCNUTRTS it starts with ST
stonecutter? lol
: ( no that didn't work
lol soorry working on mic
for (Player pls : Bukkit.getOnlinePlayers()) {
if (pls.hasPermission("staff.allow"))
staffs.add(pls); ```
Player p = (Player)sender;
Store UUID instead of Player
?dog
The Berger Picard, Miniature American Shepherd and Lagotto Romagnolo are the newest dog breeds recognized by the American Kennel Club in 2015.
"island_member_online_amount", "island_member_online_count" -> iPlayer.getIsland()?.getIslandMembers()?.filter { member -> member.isOnline() }?.size?.toString() ?: "0"
I dig your style
are all those things nullable
Switch expressions <3
surely size isnt nullable
no
so the part before is
iPlayer.getIsland() is nullable
so it needs to be told all the way down
it's so that its passed all the way to toString() so I can use the ?: part and return a "0" or "NA"
is there an intiutive flow to merginging interfaces of two blocks to hybridize the available propertys?
so you want one block to have more data than the other or?
"island_member_online_amount", "island_member_online_count" -> (iPlayer.getIsland()?.getIslandMembers()
?.filter { member -> member.isOnline() }?.size?.plus(if (iPlayer.getIsland()?.getOwnerIPlayer()?.isOnline() == true) 1 else 0) ?: 0).toString()
@neon sapphire we're talking about an mcm post I made a while ago, can I post a link
My head fucking hurts already. What is "isThundering" and what is "hasStorm"?
What's storm? Is it a new weather type in 1.15?
wait you never saw rain in minecraft?
i don't think you see it in deserts but i'm pretty sure you hear when lightning hits anywere else
I saw rain but this seeming redundancy confuses me immensely
With "WeatherType.DOWNFALL" on top of that
lol
I don't get how they all relate to each other
Okay that's a wrong way to formulate my question. WHat I'm trying to do is determine whether it's raining.
Storms and thundering count in too.
if (ehasthundering || eisStorming) { //do something
you could even check that
maybe you need only isstorming
if there is nothing else then it should
It does, thanks man
ah classic discord DM resource drama
yeah my premium resource is GPL and many server hosts allow users to install it for free
it's open source but it still get leaked lmao
in my opinion obfuscation should be removed entirely
maybe even force plugins to be open source :p
you don't have to provide compiled jars for free but at least provide the source code so people have the freedom to look at it and modify it
I don't feel like I get less income because my resource is open source
I hate proprietary software and DRM so it would be hypocritical if I didn't make it open source
@next sapphire and why is that?
you're making software for a platform you don't have control over
you can do that but don't complain if changes happen that you don't like
Like making YouTube videos, right?
every decent youtube channel (like LTT) makes sure to get as many income sources as possible
I don't think that putting advertisements in plugins are going to fly
Yes, but what is wrong with that?
the problem is that they complain for example when spigot changes obfuscation rules
blaming spigot for making less money now or something
I think that there are quite a few developers who have it in them to make a living creating SpigotMC plugins. I would not want to stop them from doing that. Of course whether or not they should use SpigotMC to facilitate their platform is another question
yeah, my resource on spigot is a major source of income for me in fact
I don't really know why anyone would choose spigot to distribute plugins as a job over other websites that are made for that purpose.
That's fair I suppose, can do whatever they want with their platform. My premium resources (and non premium, if I deem them worthy) are all open source, but I must say that the obfuscation rule did not lay too well with me.
discoverability probably
Yeah probably, or they are unaware of those other platforms
I agree but many premium resource authors are barely making minimum wage.
@next sapphire
Never heard of a coder not being lazy π
True, it takes more than some premium plugins to get stable income. But having a passive income from those resources is a great way to increase your income
Coding works quite therapeutic for me, during this time it definitely helps. And if I can make some money with it that's great
I would not be too bothered by SpigotMC requiring source code (especially if it is for staff members to check). I guess I just don't like restrictions
Premium plugins are great for creating a passive income ^^
I tried to upload a premium resource, but could not because the name was too similar to an already existing (non-premium) plugin. There were already plugins out there that where at least as similar, but they were also non-premium, so they did not get checked.
I mean I can understand why, it's just mildly upsetting
didn't realize that was a restriction
but at the same time it makes sense
Guess I'll have to do some research for a name π
@next sapphire Find what?
Yeah, it was a plugin that allowed you to lock things without the need for sings, and since Lockette had not been updated in a good while I thought LocketteX would be fine.
@next sapphire I check every plugin manually.
If i find a malicious resource i report it, update that list, then update a AntiMalware database π€·
spiget π
and if spiget doesn't have it then π€·ββοΈ
Good Afternoon all, i have an issue I'm troubleshooting at the moment and I'm not sure if it's client or server side :S - I'm running Spigot 1.15.2 (2nd March Build) from Build Tools, I upgraded from 1.13.2 at the beginning of March (i think this is relevant) and i have noticed delays in certain parts of worlds when moving through chunks diagonally, there's a noticeable delay on my machine lower spec and on my co-owners machine he has an incredible setup but the delays show in the same area's, I've ran clear lag against the server to rid of ground entities and large mobs, when you use F3 + G to see the chunks it's always stopping/stuttering on crossing chunks only. Now i did read on upgrade i may need to upgrade my maps with a startup flag is this necessary considering my old version? Is this a known bug as i can't seem to locate this in the known bugs, any advice?
The chunk loading is just slower @worn cloak
@echo dome Sorry what do you mean?
from what I know, the performance in loading chunks got worse in 1.14, but a little better in 1.15, but generally worse.
so when yu move through the world, its going to lag
unless I dont understand what you're saying
Gotcha, Ah so this is a more a known issue, do we know if it's a client/server based issue, is there anything i can do improve my performance?
use tuinity?
Hi
that happens when you make stuff with Electron
@zinc willow @paper isle have you all even slept? I sleep and you guys are in a call and youβre still there when I wake up π
yeah lol
@regal pewter I dont sleep
π
oof
What can you really get from ips? Only locations and stuff?
I joined a plugin development voice channel to hear an anti cheat developer talk about the stock market.
Is that not the quality content you came for?
LMAO EVAN
when i play survival minecraft and die
https://downloadmoreram.com/ To get more dedidate wam
what does the plugin do @dapper python
makes creepers powered w/ explosion radius 256
crashes ur server
we're having fun in voice
it's the best plugin evar
#1 plugin
#1
i will try the plugin
see if it will crash meh server
2 secs ill try to run it
set to 256 or 512
im going to try to run it
i've just setup a server with the 256 radius no sand
ip is endprison.tk
@dapper python @zinc willow what is the Server IP u are on?
/ban @a lol
Wait when did spigot get a discord
april 1st
April 1
awhile ago
4 days ago?
yes
o nice
/summon minecraft:creeper ~ ~ ~ {powered:1,ExplosionRadius:1000000000}
i've just setup ip endprison.tk with the 256 radius nosand
big boom
yes
Sick Im verified
looks like the lag caused the timeout to trigger i think
jeez
is it supposed to lag?
oh
how do i even use that nosand plugin?
/summon minecraft:creeper ~ ~ ~ {powered:1,ExplosionRadius:10000000000}
i tried that
but idk how to use
@regal pewter join the general-1
yes
ah dam
wait are yall botting servers? lmao
get me some big servers
149.56.35.241
play.silvercraft.xyz
Why are we posting addresses?
we trying to find a good server to play together sadly lol
having fun
but they keep trashing with 8 people
We are joining random server
crashing*
's fine. So long as you're not advertising it, it's no biggie 
Though I do recommend doing it in a private message instead
Let's all join Brett's server to get him a new world record for 1 second kappa
@whole tusk yes
:)
19/500
Time to join
Joining
Skyblock server
@raven jewel great server, first thing I join, I see this
kekw
Great unscrambler
Best one I've seen so far
Looks like Brett's using Thread.sleep(int)
very smurt
are yall actually trying to crash servers lmao
nope we just joining for a good server.
Hypixel
and they all trash or crash
lul
example @raven jewel's server
@next sapphire i'll DM you.
@dapper python Ask whoever is attacking to attack endprison.tk
They started far before February, but the first snapshot only landed then
Though yeah, I doubt it's been a year lol
Don't like to illegal mirrors of NMS binaries & source. Use common sense
Refer to BuildTools or Spigot's hub for patches / CraftBukkit / Bukkit source
I don't know what you're doing but if you have to ask that question, I'm gonna probably say no
oh whatever. that's fine lol
knock yourselves out
Just don't share illegal mirrors 
You have BuildTools at your fingertips to browse decompiled NMS source
Let's not even go as far as mentioning illegal mirrors. π
@dapper python its when you have more than 1 instance
2 instances
yes its late
2am
@next sapphire How are going about making those? Beacons?
Inside of a minecart pointed at 45% possibly?
hi
gunna play some music, yep schedules all kinda wack for me too
And then the voice channel descended into chaos
not a bad idea
hello
@marsh rover i can't use mic
i use RDP and doesn't work with mic
π€·ββοΈ does it matter?
You are expected to talk usually if you have a mic.
slow claps
Anyone know if there's a way to auto equip armour?
I mean hacked clients
?whois
589898090174218243
16 Jun 19 19:24 UTC
42 weeks and 23 hours
01 Apr 20 20:48 UTC
4 days and 21 hours
Has no active status or is invisible/offline.
01 Apr 20 22:30 UTC: Idriz
01 Apr 20 21:16 UTC: la idriz el cochero
01 Apr 20 21:16 UTC: la idriz el cochero
21 Mar 20 23:17 UTC: Idriz
21 Mar 20 22:11 UTC: back in three days
No nicknames tracked```
lmfao
?whois
578690516947042316
16 May 19 21:09 UTC
46 weeks 3 days and 21 hours
01 Apr 20 06:25 UTC
5 days and 12 hours
Has no active status or is invisible/offline.
28 Dec 19 04:21 UTC: DrDrewskii
29 Aug 19 03:38 UTC: LilDevs
26 Jul 19 04:42 UTC: XGN Scarlet
04 Apr 20 07:58 UTC: LilDevs
02 Apr 20 13:36 UTC: DrDrewskii [LilDevs]
?whois
644280721611030529
13 Nov 19 21:01 UTC
20 weeks 4 days and 21 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
04 Apr 20 21:31 UTC: BorderDamage
19 Jan 20 04:22 UTC: BorderrDamage
04 Apr 20 21:44 UTC: Phaze
?whois
222712607277056000
06 Sep 16 13:40 UTC
3 years 30 weeks 6 days and 5 hours
06 Apr 20 19:34 UTC
less than 1 hour
Custom Status: Davs du
26 Jun 19 19:25 UTC: Stjernholm
08 Feb 19 18:48 UTC: SimonJames
07 Jul 18 13:42 UTC: Simon
No nicknames tracked```
Was not expecting to get brought into a vc
597460875175133352
07 Jul 19 16:16 UTC
39 weeks 1 day and 5 hours
05 Apr 20 02:51 UTC
1 day and 18 hours
Playing: Minecraft
02 Apr 20 15:03 UTC: SysDev
22 Mar 20 22:48 UTC: YoTeezo
No nicknames tracked```
What are all the commands on this discord server
651565728108904448
03 Dec 19 23:29 UTC
17 weeks 5 days and 22 hours
05 Apr 20 01:11 UTC
1 day and 20 hours
Has no active status or is invisible/offline.
23 Mar 20 22:23 UTC: s o l o
05 Apr 20 01:11 UTC: SoloDevelopment
04 Apr 20 17:18 UTC:
03 Apr 20 14:03 UTC: SoloDevelopment
03 Apr 20 05:29 UTC: SoloDevelopment | Parker's Slave
03 Apr 20 00:06 UTC: SoloDevelopment
?whois
?whois
237140151975804929
16 Oct 16 09:10 UTC
3 years 24 weeks 1 day and 13 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
06 Aug 18 19:52 UTC: Demeng7215
No nicknames tracked```
?whois
183954832485253121
22 May 16 14:50 UTC
3 years 45 weeks 1 day and 8 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
02 Apr 20 13:58 UTC: Derkades
04 Apr 20 10:22 UTC: RobinMC
?whois
221359027802603520
02 Sep 16 20:01 UTC
3 years 31 weeks 3 days and 3 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
10 Aug 19 18:08 UTC: MartenM
No nicknames tracked```
?whois
373377037647347733
27 Oct 17 07:47 UTC
2 years 23 weeks 3 days and 15 hours
02 Apr 20 19:49 UTC
4 days and 3 hours
Playing: Eclipse IDE
29 Jul 18 02:12 UTC: rmellis
No nicknames tracked```
Why are we whoising?
?whois
158404937460482048
13 Mar 16 02:44 UTC
4 years 3 weeks 1 day and 21 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
10 May 18 20:53 UTC: S1ant
No nicknames tracked```
Think I got the oldest account π
this is my second account
?whois
128661304754962433
22 Dec 15 00:54 UTC
4 years 15 weeks 6 days and 23 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
21 Jun 19 16:16 UTC: ΠΌΠΌΒ§DiamondDagger590
21 Jun 19 16:06 UTC: ΠΌΠΌΒ§DiamondDagger590
21 Jun 19 15:55 UTC: ΠΌΠΌΒ§DiamondDagger590
21 Jun 19 15:52 UTC: ΠΌΠΌΒ§DiamondDagger590
21 Jun 19 15:16 UTC: ΠΌΠΌΒ§DiamondDagger590
01 Apr 20 19:24 UTC: DiamondDagger590
01 Apr 20 19:24 UTC: DiamondDagger590 | McRPG
?whois @neon sapphire
263617378032680962
28 Dec 16 10:41 UTC
3 years 14 weeks 5 days and 13 hours
20 Mar 20 04:10 UTC
2 weeks 3 days and 19 hours
Has no active status or is invisible/offline.
04 Apr 20 03:09 UTC: md_5
No nicknames tracked```
?whois
562326867781222400
01 Apr 19 17:26 UTC
1 year and 6 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
05 Nov 19 22:45 UTC: AppleMacOS
03 Oct 19 13:39 UTC: SpookyMacOS
02 Oct 19 23:13 UTC: π AppleMacOS π
16 Jun 19 19:50 UTC: AppleMacOS
16 Jun 19 19:50 UTC: AppleMacOS
04 Apr 20 23:09 UTC: SpookyMacOS
?whois
221308386141143040
02 Sep 16 16:40 UTC
3 years 31 weeks 3 days and 8 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
04 Dec 19 19:01 UTC: Ahmet
09 Nov 19 17:06 UTC: AhmetOzkaan
31 Oct 19 19:41 UTC: tan.cot
16 Oct 19 14:48 UTC: cosΒ²+sinΒ²
13 Oct 19 06:27 UTC: actsin
No nicknames tracked```
?whois
284207272471822346
23 Feb 17 06:18 UTC
3 years 6 weeks 4 days and 19 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
22 Jul 18 15:22 UTC: RandomTomato
No nicknames tracked```
?whois
195166954091315201
22 Jun 16 13:23 UTC
3 years 41 weeks 5 days and 12 hours
01 Apr 20 00:18 UTC
6 days and 2 hours
Has no active status or is invisible/offline.
13 Oct 18 23:02 UTC: γγγ΄γΌ [Piiι―δΈ»] / YouTube0099
No nicknames tracked```
?whois
211907263709839371
07 Aug 16 18:03 UTC
3 years 34 weeks 1 day and 8 hours
01 Apr 20 01:07 UTC
6 days and 1 hour
Listening: Spotify
16 Oct 17 15:34 UTC: fatpigsarefat
05 Apr 20 14:02 UTC: LMBishop
04 Apr 20 17:45 UTC: LMBIshop
141709300660830209
27 Jan 16 01:02 UTC
4 years 10 weeks 6 days and 2 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
05 Dec 16 07:17 UTC: Will
No nicknames tracked```
?whois
127887149671383041
19 Dec 15 21:37 UTC
4 years 15 weeks 2 days and 5 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
26 Oct 19 14:39 UTC: kylematzen
25 Mar 19 03:31 UTC: Truth
01 Apr 20 17:36 UTC:
01 Apr 20 05:39 UTC: MCMarter
?whois
219380263422132224
28 Aug 16 08:58 UTC
3 years 31 weeks 1 day and 18 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
01 Apr 20 03:51 UTC: Yap Zhen Yie
05 Apr 20 06:23 UTC: yapzhenyie
can we stop this...
can u enable live-streaming for verified members?
that is coolπ
this isnt twitch
?whois
π€£
smh clip
ππ
?whois @long turtle
161022752923320320
20 Mar 16 08:06 UTC
4 years 2 weeks 1 day and 19 hours
01 Apr 20 00:35 UTC
6 days and 3 hours
Custom Status: HelpCoin.
30 Dec 18 09:30 UTC: funnycube
No nicknames tracked```
old
127887149671383041
19 Dec 15 21:37 UTC
4 years 15 weeks 2 days and 6 hours
Couldn't find out
Couldn't find out
Has no active status or is invisible/offline.
26 Oct 19 14:39 UTC: kylematzen
25 Mar 19 03:31 UTC: Truth
01 Apr 20 17:36 UTC:
01 Apr 20 05:39 UTC: MCMarter
Create a bot-commands area then ez
I got picked for the team? Sweet
You'd be on the bench
Iβll keep it warm for you
@neon sapphire yes it isn't but it is SpigotMC Prime
What can we do it here
@regal pewter what is ChestEvent?
That's back when you were helping teach me stuff xD
xD
oof
How I handle a lot of my commands:
https://github.com/2008Choco/AlchemicalArrows/blob/master/src/main/java/wtf/choco/arrows/commands/GiveArrowCommand.java
(yay for Bukkit.selectEntities() btw)
@regal pewter wouldn't it be better to store a instance of your main uhc in each of those events instead of continuously getting the instance?
I dont
public String color(String msg) {
return ChatColor.translateAlternateColorCodes('&', msg);
}```
thats all the color method is
@near sandal you may hear desktop audio https://streamable.com/3wukwo
from the discord* not me
@marsh rover
why is ur design diffent?
1sec
Wish i could screenshare lol
Firework fw = (Firework) loc.getWorld().spawnEntity(loc, EntityType.FIREWORK);
FireworkMeta fwm = fw.getFireworkMeta();
fwm.addEffect(FireworkEffect.builder().withColor(Color.LIME).flicker(true).build());
how do you make a plugin that unoptimized?
Could be newer to coding
https://timings.aikar.co/?id=c4c68b0e09db4dca91dd1112cea06812#timings only 1 plugin causing a problem on the server
always links back to DrugFun
Timings is quite inaccurate
I recommend Spark or WarmRoast
They tell you where the exact issue is
i can tell when i farm drugs or plant them from visual testing and tps dropping
And making a unoptimized plugin is pretty easy, there are a lot of performance mistakes made all the time
For instance, people love placing loads of blocks using Block#setType
That will easily hold up the main thread
https://paste.md-5.net/viyuqurolo.cs Decompiled the config for it and its literally synced.
1 drug farm wont be a problem, but its an issue when you have thousands of farms and its always saving and pulling from it
Thatβs a lot of static
And why arnt they doing IO operations on another thread
In addition, i hope they are caching or that shit will destroy the server
Obviously a great plugin
Β―_(γ)_/Β―
good plugin idea, but bad at getting it to run without killing the server
I mean most people don't write plugins with the assumption it will reach large servers tbh
good thing im not at peak rn and drugs in my server costs millions to buy the plants
:)
is it a premium plugin
free plugin
I don't see the point of not providing source code for free plugins π€·ββοΈ
Ay yukun
sup
Feel like I havenβt seen any work from you in a while

Ah
all my plugins work now
@steep prairie want to update my plugins?
@steep prairie at least he didnt obfuscate it or i would have reported it if i cant read it or its unreadable
not hanks xd
Lmfao
so fixed in fact
I'm working on a new one
it's coming along really slow cos I don't have much drive to continue tho

Badbones one thing I donβt like about your code is that you wrap like 500 if statements
Kind of hard to read
he proably just prefers it to having 1 long line

you have to realise how lazy he is
Lol
man literally doesn't like making new methods
Donβt you guys work together anymore
even if that same thing he's doing has to be called by a lot of places
I'm still an admin on his discord
Ah
Lol
I think I added over 10 CEs on my server
and made some of them work together
way before it was cool
does the verification message in PM takes time to arrive guys?
added kill trackers and stuff too
Iβve been losing motivation to update, but even though I donβt update, Iβve made more money xD
Probably because of the coronavirus
I added the transmog scroll before badbones did
and then my code got corrupted and I didn't have a backup
how nice
Lol
the whole point of coding is to be lazy
but my plugins don't do too much heavy stuff anyway
like bro lmao
no he's lazy int he wrong places
he's not efficiently lazy
he's inefficiently lazy
XD
Lmfao
I need some help trying to optimize stuff. lol
he was too lazy to make a class to get config with named methods
i think the channel is for /tts
First step to optimizing is cleaning up your code, cause itβs impossible to optimize something you canβt read
nvm it isnt π
XD
Like badbones you write your code in huge blobs
I can read his code
cos I used to write like him
I've since stopped tho
xd
just don't look at the rankquests code
Like that shit is crazy, itβs actually just a square with text
I recoded rankquests during a dark period
even now I refuse to look at rankquests code for too long
XD
Life do really be like that sometimes
I do like looking at my TieredSpawners NMS classes tho
good stuff
I wanted to public it as a blob sometime ago
never got round to it
Lol
it's pretty good stuff for people trying to edit spawner values
i didnt ask
ehh thats not to bad
Itβs 9am for me
badbones sleeps at 6am
My sleep schedule is bad
and sometimes 9am
ya
lol
We dont deliver where i work
My store is still open. Cut back a couple hours but still open
man why does cloudfare check me so often nowadays
used to check me every month or so
yeah their remember me on the ddos attack protection is also broke
theyre all downhill
new BukkitRunnable() {
public void run() {
try {
config.save(file);
} catch (IOException e) {
e.printStackTrace();
}
}
}, 600, 600);
is a temp solution
rip cloudfare
lmao
everytime I go to spigot the site is messed up cos they don't remember me then they have to recheck me when I refresh
god damn cloudfare
are we doing live coding via screenshare now
thonk
whats that school camp game where you put your arms through the other person and act out what theyre saying
because this sounds like that
cause the whole server needs to see clearly
see clearly as in the non-usefulness?
maybe enable it for spigot-crafting relating to the test server.
if it doesn't relate it = warning idk
<exclusions>
<exclusion>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
</exclusion>
</exclusions>```
return "World:" + location.getWorld().getName()
+ ", X:" + location.getBlockX()
+ ", Y:" + location.getBlockY()
+ ", Z:" + location.getBlockZ();
}```
private Location getLocationFromString(String locationString) {
World w = Bukkit.getWorlds().get(0);
int x = 0;
int y = 0;
int z = 0;
for (String i : locationString.toLowerCase().split(", ")) {
if (i.startsWith("world:")) {
w = Bukkit.getWorld(i.replace("world:", ""));
} else if (i.startsWith("x:")) {
x = Integer.parseInt(i.replace("x:", ""));
} else if (i.startsWith("y:")) {
y = Integer.parseInt(i.replace("y:", ""));
} else if (i.startsWith("z:")) {
z = Integer.parseInt(i.replace("z:", ""));
}
}
return new Location(w, x, y, z);
}```
at last verified
that's nice
public void entityExplode(EntityExplodeEvent e) {
List<Block> explodedBlocks = e.blockList();
Iterator<Block> itr = explodedBlocks.iterator();
while (itr.hasNext()) {
Block block = (Block) itr.next();
// do stuff
}
}```
public void pistonExtendGrief(BlockPistonExtendEvent e) {
if (e.getBlocks().size() != 0) {
for (Block block : e.getBlocks()) {
//DO STUFF
}
}```
@twilit nest hope you get it working. Good luck :D
https://tenor.com/bhBqU.gif
if (block.getRelative(BlockFace.UP).getBlockData() instanceof Bisected) {
What server is this?
a whitelisted one
Heh
System.out.println(ChatColor.translateAlternateColorCodes('&', getConfig().getString("prefix") + Bukkit.getVersion() + getConfig().getString("enable")));
omg why are you using windows in light mode
omg why are you using windows in light mode
start = start.add(0, 2, 0);
if (centerBlock) {
start = start.clone().add(0.5, 0, 0.5);
}
WorldServer s = ((CraftWorld) start.getWorld()).getHandle();
EntityEnderCrystal ec = new EntityEnderCrystal(s, start.getBlockX(), start.getBlockY(), start.getBlockZ());
ec.setPosition(start.getX(), start.getY(), start.getZ());
ec.setBeamTarget(new BlockPosition(end.getX(), end.getY(), end.getZ()));
s.addEntity(ec);
}```
String myString = ChatColor.translateAlternateColorCodes('&',"&4Hello!");
what kind of bug makes a server instantly crash without even dumping an error log?
sometimes zombified
is there nothing in your latest log?
hmm
not even a task that starts and doesn't end
does the server just immediately crash or does it hang for some time?
instantly down
except when it instantly goes zombified
but there's no tps drops
also it runs at a smooth 20 all the time outside of the instant crashes
what can cause something like that?
I can't remember if an infinite loop did or not
if (!player.hasPermission("")) {
player.sendMessage("");
return true;
}
messages here
for (String s : stringlist) {
p.sendMessage(convertColor, s);
}
public class PlaceholderUtils {
public static String replace(Player p, String message) {
message = message.replace("%player%", p.getName());
message = message.replace("%player-loc%", p.getLocation().toString());
return getMessage(message);
}
private String getMessage(String message) {
return ChatColor.translateAlternateColorCodes('&', message);
}
}
Using bungeecord configuration provider on my android aplication ^^
@forest olive
I feel like there might be some issues with spigot dark mode theme oof
the Enjin logo at the side is basically obscured as well lol
The author there manually set the text colour
dark reader takes care of it I thikn
it's fine
Yukun I see nothing wrong
I'm just there to get the plugin for build path anyway
I think you're going crazy again
Thats big brain
BlindDagger590
bruh
π¦
π¦
@EventHandler
public void onShear(PlayerShearEntityEvent event)
{
Entity sheep = event.getEntity();
World world = sheep.getWorld();
world.createExplosion(sheep.getLocation(), 3);
}```
yes
why not make them explode when you feed them too much too
make it a random chance to explode but include charged creepers afterwards
wat
what
where do the charged creepers come from
they just spawn
honestly just make a gamemode where you do the stupidest stuff
bruh
like sheep pop out charged creepers when you sheer them
break a block and get met by a blaze
place sugar cane and get shocked by lightning
dig straight down and always fall into water
that sounds like fun to me
except the water is big enough to drown you
mine up and you get incased in bedrock with water
just flip minecraft upside down
see a squid and just die
jump off a cliff and get sent to the end
eat rotten flesh however
and you get hunger bars filled
introduce a death counter as well
we're in the wrong channel, we seem to do that a lot
π€·ββοΈ
@jagged lagoon
bruh
I was just playing around with it to see what I can do with api. but I might make a permission that if a person has it then they will have exploding sheep and maybe some other trollish things will happen to them.
Wait is @jagged lagoon making a rival to my CC..... DUN DUN DUN
π³ π³ π³ π³
@fluid light no im not π¬
Dereference of 'new File(CratesX.getInstance().getDataFolder() + File.separator + "crates").listFiles()' may produce 'NullPointerException'
getFileHandler().get("config")
FileType.CONFIG
setOverflowKeys(CratesX.getInstance().getFileHandler().get(FileType.CONFIG.getName()).get().get(""));
@EventHandler
public void CrateOpenEvent(Player player, Crate crate) { }
CrateOpenEvent crateOpenEvent = new CrateOpenEvent(player, crate);
Bukkit.getPluginManager().callEvent(crateOpenEvent);
if(!crateOpenEvent.isCancelled()){...}```
@jagged lagoon
@jagged lagoon
@regal pewter Would I still need to use an interact event then?
And call my event during that
How though?
You would call this in your event handler for interact event
yeah yeah so
@EventHandler
public void InteractEvent(PlayerInteractEvent event) {
CrateOpenEvent crateOpenEvent = new CrateOpenEvent(player, crate);
Bukkit.getPluginManager().callEvent(crateOpenEvent);
if(!crateOpenEvent.isCancelled()){...}
}
@jagged lagoon You'd want to make sure PlayerInteractEvent isn't cancelled before running your own code inside π
Use the ignoreCancelled parameter in the EventHandler annotation
.
@EventHandler
public void CrateOpenEvent(Player player, Crate crate) { }
@jagged lagoon please use camel case
for what?
your method names
he was trying to figure out how to call the event, he gucci
im pretty sure my conventions are correct?
Nope your java conventions arenβt
oh wait no. method names are camel case
The first word doesnβt have any capitals in it
He does it in his other gists he sent thou so I mean hes been doin it right
crateOpenEvent
I think those were examples
I mean but still
Just make sure to do them
We built this city on rock and roll!

hey guys
uhhh
do anyone of you know any plugin for sign shops that support custom items?
Oh snap @polar flare whats up
Not much - u? π
only on PlayerInteractEvent because theres multiple ways to 'cancel' it
Wait so is there something else to check if it's cancelled?
Ok thanks
Deprecated. This event has two possible cancellation states, one for useInteractedBlock() and one for useItemInHand(). It is possible a call might have the former false, but the latter true, eg in the case of using a firework whilst gliding. Callers should check the relevant methods individually.
Oh so I would just check if it's Event.Result.DENY ?
check what you're concerned about
Aight
Why was built-in anti-xray removed from spigot? (spigot.yml) (I know it was a while back)
because it didn't have an advantage over a plugin when the chunk format changed
so performance wise a plugin would be better than it used to be ?
or the server would be worse π
@forest olive what are those shaders? i love it
thanks!
I'd go for the heavier ones, but this isn't my 2060
I use the extreme volumetric lighting version of his π
Yeah, I know. It was just on a random minecraft server. I was modifying the options of the shaders
!verify @next sapphire
Could not find your SpigotMC.org account!
!verify qbasty
A private message has been sent to your SpigotMC.org account for verification!
Faithful shader? If so name/link?
Nope using Sildurs Vibrant Shaders
no texture pack
extreme volumetric lighting version
though i had depth of field, godrays, distance blurring, lens flares and idk if other stuff on to make it look better
Too much haze
Ever heard of Realistico 512x?
cool, i love shaders on minecraft @hushed marten
How do you guys like my logo
jk
what about mine π€
How about mine now, I changed my discord to Squiggle
okay then
Its hard to read
@zinc willow How are you able to share screens? I haven't been able to ever since discord updated
Calendar calendar = Calendar.getInstance();
calendar.add(CALENDAR.HOUR, 1);
Date date = calendar.getTime();
getServer().getBanList(BanList.Type.NAME).addBan("Player Name", "Reason", date, null);
https://gist.github.com/dcccc6f9372900b91ebba4b58a4a56ee - If you were to download a crate plugin and saw this, would it look too complex as a new person to configure it?
chance:
range: 100
probability: 5
chance:
max: 100
percentage: 5
chance:
max-range: 100
percentage: 5
Which one makes the most sense to use for chance?
range of what?
Oh
5/100 chance of receiving item (aka 5%)
Was it needed tho?
Well it's for configuring my crates rewards
Some players want extremely small chance, so max range configuration is needed
ie maxrange = 1000, percentage = 10 = .01 chance
i just want to make sure they're named in a way that is explained easily
you could just give them fractions
thats the easiest way
or directly
a floating point from 0 to 1
Chance: 0.000005
tho i'm not sure it would be the same due to precision
or you can just divide by 100
so he can just do this
but from 0 to 100
looks neat
I would get rid of range and just make everything out of 100, so they can still use percentage but just 0.0005% if they wanted to
@jagged lagoon Do Max-Percentage-Range:
If you want to keep range modular, I would impliment a modulus. What you working on?
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.BookMeta;
import net.md_5.bungee.api.chat.BaseComponent;
public class BookUtil {
private ItemStack book;
private BookMeta bookMeta;
public BookUtil() {
book = new ItemStack(Material.WRITTEN_BOOK);
bookMeta = (BookMeta) book.getItemMeta();
bookMeta.setTitle("Interactive Book");
bookMeta.setAuthor("gigosaurus");
}
public void createPage(BaseComponent[] page) {
bookMeta.spigot().addPage(page);
}
public void setPage(int pageNumber, BaseComponent[] page) {
bookMeta.spigot().setPage(pageNumber, page); // page numbers start at 1
}
public void setPages(List<String> pages) {
bookMeta.setPages(pages);
}
public void openBook(Player player) {
book.setItemMeta(bookMeta);
player.openBook(book);
}
public void giveBook(Player player) {
player.getInventory().addItem(book);
}
}
Basalt Deltas
@next sapphire
it says you i cant do that
send screenshot of what ur doing
you pressed the window dum dum
hover over the window and you should see what i just posted on the bottom left of the small window
i cant press it and gives me that message
i just turned my computer on
RIP
i will try again then
Can't what?
Also why are the particles client-side? Why not broadcast them to the world? ;P
@wispy idol share screen bypass
Hm?
we still wanting the discord server to support go live at least for verified users