#dev-general
1 messages · Page 600 of 1
I love copilot, such a huge help
not on sublime 😦
i wanted to a task to happen in intervals. and i didnt find a method in spigot soo i used both in the dependencies .. spigot for everything else and bukkit for the specific method "BukkitScheduler"
I have that
And i have spigot as the dependency
org.bukkit.scheduler.BukkitScheduler
@hot hull why is the externalPath of PAPI 3's config PlaceholderAPI/config.yml lol
Pig said you wrote it incorrectly and I should blame you lol
lol
uhm ;-; welp didnt notice that :L
thanks for the info btw
Blame Pig
but pig didn't write bad code lol
Spigot API includes bukkit
The same way paper includes spigot
Well yes
You did tho
how did I write bad code here?
I mean that's the path I was told so 🤷
frosty = bad
Very much so
guess who closed port 22 and locked themself out of their oracle cloud instance meee
Jennifer Lawrence

thats painful and funny at the same time
you can probably disable the firewall on the panel
or just acces the emergency shell
or whatever it's being called
I’ve done that many times when setting up droplets
i was setting up pterodactyl
LMAO
happens to everyone every once in a while, I remember once when I did that about 4 or 5 times because I was trying to get OpenVPN to work lol
I did that on my dedi. well not really that but rather I've disabled password connection and accidentally deleted my ssh key (from my pc) lol
LOL
yeah. took me a long time in safe mode to recover it. and to be honest with you, to this day I have no idea what I've done to recover it
well. I've added my new ssh key to the accepted ones but no idea how. bcz it took me days and I had no experience with cli or ubuntu (what my dedi was running on)
I usually use DN
interesting, what do you think about sgm?
i can now use the instance which is all i care about
currently downloading my old server files to transfer them to the ptero server
I NEED HELP
There is no time to wait! Ask your question @winter iron!
NVM
lmao
Rekt
so
me have IJ project with things
and me want to push that project to an already existing github repo
without making a new one
how me do so?
they're not linked rn and you want to link em?
yes?
is the local repo initialized? if not run git init
giv a sec
then add the stuff you want to commit and make a new commit with git commit -m "Commit Message" then set the main branch to something lime main or master (I usually do whatever the github repo main branch is named as) git branch -M main then add the remote git remote add origin REMOTE-LINK then run git push -u origin main
smh
just say yes
then upgrade the gradle version
to 7.3.1 or whatever latest is
you run ./gradlew wrapper --gradle-version 7.3.1 I think and it should upgrade. if that doesn't work just go in gradle > gradle-wrapper.properties and change the version there
and then reload gradle
wait
also
How do I iterate over a config section? I want to run the code for "Main.Abilities.exampleAbility1" then for "Main.Abilities.exampleAbility2". How would I go about doing this? This is my current code and .yaml file: https://paste.helpch.at/epokoqulut.php
I think I fucked it up kekw
xD
wait. but locally do you have anything different than the github repo? like is it a new repo?
oh
yes you are
now deal with it
lol
I actually am not sure what's going wrong there
Still need help 😦

what if you delete the .git directory in your project and start again?
you can't see it from IJ. You have to go in the folder itself and delete it from there
wait u sure u ran git init?

where is the .git directory then lol. its not invisible is it since you clearly can see .idea and .gradle directories
idk
what directory were you in when you ran git init?
like in the terminal
were you in the main project directory? or one of its sub directories?
main one
try running it again. see what happens
How /help pluginname works how can i make the list? (one idea i make in plugin.yml commands and for the look it will work?)
nothing
go to view (file explorer)
And show hidden objects
.git is hidden
Unlike .gradle and .idea
wait. I thought all files starting with . are hidden. I guess that's just popos not linux?
because he looked using the windows file explorer
and its not there
Idk shit bout Linux
but yeah
yeahg I meant to say its just popos not windows as well xD
my bad
Oh yeah
I just assumed windows hides all files starting with a .
ah you really thought windows would be that good?
yeah. lol
Bold assumption 🌝
now can we talk about this? xD
Yeah just upgrade smh
january 1st 2004 version
Are you from the future?
the future is from me actually
🦥
🤔 i didn't know Block#getDrops also checked enchants
i always thought it ignored them
we got one
yugi made one
1 sec
there we go
see pinned
also day 3 part 2 is already way to hard for me to try xD. Like doesn't sound hard but it takes a bit of thinking. and yeah I'm not into that
days of what?
nice
well
just bc I'm a sucker imma not use mcdev and make the new plugin module with gradle by hand
this is gonna be funny
i finally got pterodactyl setup, the mysql database doesnt really work but everything else does.
hey @jovial warren so, I was following the message you made for Lorenzo for mojangs mappings, but I cannot get it working, in settings.gradle it throws:
I hope you know whats up with this
uh god, imagine using paper
look into the future wont you?

is for development mappings
so I dont have to use shitty bukkit ones
in build it reobfs the jar and tada nothing
also is private plugin
so hell yea
or I dont get it
lel
wait a second
maybe I'm more dumb than the dumbest person in earth
yeah
just
I'm a motherfucking dumbass
now dis :)
any one have any plugin ideas? im bored
make a boss using particles, NMS and spigot api
only that
and you have till tomorrow
or make a gun plugin using bows
ill try that one
👍
As in guns what do you mean by that?
I made it you can 1 shot everything
like real guns
ok
and particles 
and reskins
and a scoring system
and integration with my minigame api
and a build of it with the source code licensed to me right now
lmao
Trail works now gotta remove the default one
A trail
to me too
Welp idk how to see if the arrow hits a entity
Apparently trig is actually super useful
I was making the base stuff for a 3D game with movement and all, and the amount of trig needed is insane
But it all works atleast
Yeah
I have a school project where we have to code a simple game in js
Most people are making simple 2D games
I'm making a 3D one 
- Imagine using Groovy DSL
- Show me your settings.gradle
Project Game
A Minecraft server I wanna start with a lot of game modes
Survival
Vanilla
Lifesteal
Events
minigames
prison
skyblock
survival with custom map 60k by 60k and custom bosses and mobs
I need ppl who are good with
-World painter and creating custom maps
-Developers
-People who know how to code discord bots and plugins
-modelers with block bench and animators with block bench
I'm going to help with the modelling and building and also I'm going to be a developer I'm still learning how to model but I'm a pro at dev and building
This is just an idea that i have and I wanna see how much ppl wanna contribute
Dm me if ur any of these
who are these noobs
1 of em is 195442362992820224 aka Marin
no idea who the other one is
anyone finished day 3 part 2 and are willing to borrow me the result? xD can't be asked to think
yes
I did the firts part, will look at the second later
going through discord's source code and just see this
yeah all the code is just bundled and minified in a single file, takes forever to pretty print it
I'm trying to figure out where the default emojis are mapped to specific names
there's gotta be a file or something somewhere with a unicode to names list
well, good luck xd
Wouldn't that be in a database? ;o
it was inlined in the source code
god awful
was literally just wrapped in a JSON.parse()
Lmao
That took some time for my phone to load
it's a giant file
Yeah I know, couldn't find any mapping for the names though
I may have not looked hard enough but I spent a good 20 minutes on Google looking for a mapping for twemoji that matched discord correctly
its so easy when you have a library to do it for you
I should've probably used an imgur gallery but I'm to lazy for that
now that I look at this. its missing something. lol xD Where did my footer go
❌ @static zealot
ah. there we go
looks nice
its the default the library uses. I'll change it tho. I am just happy I got pagination to work
\❌
https://github.com/iGabyTM/adventofcode-2021/blob/master/src/main/java/me/gabytm/adventofcode/days/Day3.java Blitz xD probably not the best sollution
doesnt look very good. and I don't think I Can change the button type
it looks nice wtf
does it? I feel like its just hidden
like it almost blends in with the background
✖️
what if I make it black
idk I like it
\✖️
that could look good too
oh yeah. I like it more
ty
the code behind this is a bit ugly even with the pagination library lol
also this is what I used https://github.com/ygimenez/Pagination-Utils
for aoc, do you get less points for leaderboards if you don't get the correct answer from the first try?
I believe its just based on how fast you do it
ic
1.- no
2.- https://paste.helpch.at/iluturawey.rb
was "following" this: https://github.com/jpenilla/paperweight-test-plugin/blob/master/build.gradle.kts
Ok. Question.
With lavaplayer I have 4 options of loading a track: direct link, yotubue search, ytmusic search and soundcloud search.
Currently I have a /play command with 4 sub commands (one for each of them).
What I was wondering is if I should maybe do instead a /play command with an option and then try searching a song in the following order:
link -- if no result --> youtube keywords -- if no result --> ytmusic keywords -- if no results --> soundcloud keywords -- if no results --> tell user there are no results.
would this be a good alternative?
https://github.com/BomBardyGamer/bardybot/blob/master/src/main/kotlin/me/bardy/bot/services/TrackService.kt#L36 this is what I did for BardyBot, we see if the track is a URL and then otherwise use ytsearch
you probably want some result caching if you want to lookup both YouTube and SoundCloud every time someone wants a track
in BardyBot, I cache the audio item results for 30 minutes, which will really make a difference at scale, but you can choose whatever you want
oh Ic. so no soundcloud. I guess there is no need for yt music since its all on youtube anyways
BardyBot uses LavaLink's rest client to look up audio items, which will do the queries for us on its end, but I imagine Lavaplayer has a way to do that too
- yes
- what's the actual issue? does it throw an error? does it build without the Paper stuff on the classpath? does it fail to reobfuscate your JAR?
I think I'll do the same. thank you very much.
Cause: paperweight requires a development bundle to be added to the 'paperweightDevelopmentBundle' configuration, as well as a repository to resolve it from in order to function. Use the paperweightDevBundle extension function to do this easily.
I also wanna setup shadowJar but 1.- this god damn paper thing is a pain in the ass 2.- I forgot how
idk how to do it with the Groovy DSL, sorry, I'm only familiar with how to do it using the objectively superior Kotlin DSL
lol
so this damn thing is groovy DSL?
¯_(ツ)_/¯
anyone?
I dont wanna lose my mind reading obsfuscated mappings
please dont leave me alone
lol
you could switch to the superior DSL where it works 🤷♂️
other than that, idk
I mean, it's probably doable with the Groovy DSL, I'm just not familiar enough with it to tell you what's wrong with your script
but if I switch to kotlin DSL I will have to code in it?
not true
you change the build.gradle file to build.gradle.kts also the settings.gradle one
to settings.gradle.kts
then you manually change all the options
at least this is the manual way
no idea if there's a more automated way
it'll tell you what's wrong when you change the file names
should be easy enough to fix them
https://docs.gradle.org/current/userguide/migrating_from_groovy_to_kotlin_dsl.html this may help as well
show settings.gradle 🤷
try maven("paperlink-here") instead of the { url = }
Yeah, you're using groovy syntax
or you can parse the string to uri. but best would be just this ^
wait isn't that groovy tho? since the last line uses '
wait no
the error says kts

how does the last line use '?
xD
Yeah that's the issue he's using groovy syntax
dont mind the photo, just private info that me dont want to show
LMAO

you don't need def 
and on kotlin def doesn't exist
Lmao
yeah
btw whats the if statement do?
mcdev
the new Spyglass in minnecraft. lol
kekw
Btw wtf is this challenge for day 4 
What you can see, however, is a giant squid that has attached itself to the outside of your submarine.
Maybe it wants to play bingo?
LMAO. Am doing that rn and had the same reaction
I was like "that squid must be really really bored down there" lol
val
This challenge seems easy, hint Blitz magic square
I think at least
Haven't started yet
?
@sick belfry, Help menu!
@sick belfry, Help menu!

no idea what magic square is but I do think I can solve the part one
You need to stop chopping the image, you're always cutting important parts
Plus just send the entire file lol
yeah. just put the file in a paste bin
that way you don't have info to hide
lol
Like class name xD
OIh no, not the class name
lmao
yeah send the whole script
good point:
build.gradle.kts: https://paste.helpch.at/jazomolega.makefile
settings.gradle.kts: https://paste.helpch.at/wikogepanu.bash
error: Server Plugin\build.gradle.kts:57:26: Unexpected tokens (use ';' to separate expressions on the same line)
I'm back from eating now, I can join in the help brigade lol
remove the apply stuff
the plugins are applied in the plugins block already
line 48, that'll fail
just do ```kotlin
tasks.compileJava {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
options.release = targetJavaVersion
}
}
actually, lemme include the other task configurations in that
matt. what would a magic square have to do with this problem? You're just making me more confused. lol
tasks {
compileJava {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
options.release = targetJavaVersion
}
}
build {
dependsOn(reobfJar)
}
processResources {
val props = mapOf("version" to project.version)
inputs.properties = props
filteringCharset.set("UTF-8")
filesMatching("plugin.yml") {
expand(props)
}
}
}
```something like that may work
though not sure what that processResources setup you got there is lol
if you get "val cannot be reassigned" at inputs.properties = props, try inputs.properties.set(props)
Create an empty 5x5 block, each time a number is given in the bingo mark it own on the position, then check the value of the square, the sum of each column, row, diagonal, is always the same, so if the result is what you think then you have a bingo
replace everything from line 38 to the bottom with that above code
Server Plugin\build.gradle.kts:18:15: Type mismatch: inferred type is String but URI! was expected
oh right
or if you want to keep the names, url = uri("LINK")
but there's not really much point tbh
is it not Uri.parse()? I didn't know you can do Uri()
it's just lowercase uri on Project
the only reason why you'd want to set the name is if you need to login with credentials or something, in which something like PasswordCredentials will look for {name}Username and {name}Password in your gradle.properties
but neither of those need credentials to read, so you don't need to name them
Server Plugin\build.gradle.kts:32:13: Unresolved reference: targetJavaVersion
https://paste.helpch.at/ehuhavixez.cpp
isnt that one of those magical squares thing?
In recreational mathematics, a square array of numbers, usually positive integers, is called a magic square if the sums of the numbers in each row, each column, and both main diagonals are the same. The order of the magic square is the number of integers along one side (n), and the constant sum is called the magic constant. If the array includes...
That is exactly what he said. he was just describing them to me xD
ah
I forgot about your val targetJavaVersion = 8 lol
my bad
that's what that should resolve
Server Plugin\build.gradle.kts:34:13: Val cannot be reassigned
add ```kotlin
val targetJavaVersion = 8
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(targetJavaVersion))
}
}
options.release.set(targetJavaVersion)
still throws same err
https://i.imgur.com/Ztyagd1.png smh cheater
not really
no one is stopping the squid from doing the same
👀
It was not
Well, it was easy just messy
It probably didn't help that I started it late at night lol
for day 4, why does it use 5 numbers for first example and then 6 for second 🤔
Wdym 6 numbers?
Because those are the numbers in the list of guesses, I guess its just saying, that even though 5 numbers are picked,
the numbers don't make a row or column in any of the boards. They probably picked 6 more, because the next guess (12th) solves the bingo board.
i just did a check by seeing if the numbers in the row or column are in the list of drawn numbers ¯_(ツ)_/¯
Yeah probably a better idea
but. what if you chose the worst one?
because there can be multiple correct boards
but you need to chose the one that gets you the win the fastest
i mean i got the correct numbers so ¯_(ツ)_/¯
ok
well
i checked every time i drew a number
then i just did firstOrNull
👀
thats very long
lol
Since forever
but
but
thats
interesting
it reminds me of python
lol
like ```py
print("hello")
def function():
print("bye")
function()
print("under")
Love that one
Where's extended clip in this sever?
clip#0001
day 4 is annoying smh
I love and hate gradle at the same time
well, tomorrow is also a day
i deserve to win a give away
do u?
100% agree
Literally my life motto
yes
Oh no idea lol, nothing ive ever seen

so if I have a bot playing music and someone disconnects it how should I handle that?
I was thinking just pause and then listen for either /play or /join and resume if paused.
I could also clear the entire queue but I think the first option is better? Also by default it just continues "playing" the audio and when it joins back its basically skipped the whatever seconds passed
pause it
yeah. seems like the best option. it would be weird if you disconnect the bot and it continues playing the audio xD
No I mean like what if you accidentally disconnect, then it'd be annoying if it wiped the playlist
well both of those sound annoying. yeah.
hmm. Does JDA have an event for when a member disconnects a voice channel? or do I have to make a runnable or something checking every few seconds if the bot is still connected to a voice channel?
I’d pause, and after 10 minutes if you’ve not reconnected then purge the playlist
its gonna be 5 but yeah planned on doing that
I think it has
mind naming it? I can't seem to find it
all the voice events have to do with updating the channel name, permissions etc.
oh. I might be blind. found it. it was under guild voice events which make sense. GuildVoiceLeaveEvent
Yes
Yeah exactly…. /s

is it just me or does this just look ugly?
It looks ugly
I hate it when intellij formats stuff into
}
) {
}
.queue({
}) {
}
``` 😌
ew
dkim sometimes you should shut up xD
no but his example is gud
what should I use to clear the queue if the bot has been disconnected from a voice channel for 5 minutes unless the bot has joined a voice channel since then?
Oh shit, Mt Semeru in East Java erupted and it looks pretty bad
that looks pretty bad
d; spigot ServicesManager#register
void register(@NotNull Class service, @NotNull T provider, @NotNull Plugin plugin, @NotNull ServicePriority priority)```
Register a provider of a service.
service - service class
provider - provider to register
plugin - plugin with the provider
priority - priority of the provider
like EventHandler priority
event handler priority gives somewhat the order of execution
This on the other hand.... uh
True
d;spigot servicepriority
public enum ServicePriority
extends Enum<ServicePriority>```
ServicePriority has 5 fields, 3 all implementations, 2 methods, and 1 extensions.
Represents various priorities of a provider.
gee nice docs
d;fields spigot servicepriority
org.bukkit.plugin.ServicePriority%Highest
org.bukkit.plugin.ServicePriority%Normal
org.bukkit.plugin.ServicePriority%Lowest
org.bukkit.plugin.ServicePriority%High
org.bukkit.plugin.ServicePriority%Low```
sorry what
@old wyvern just returns the highest priority
ahh
if two plugins register under the same service
Why can you even do that in java lol bm
stoopid ij
it's probably identical to @Nullable LangMessage.SoundConfig
very cursed
Pragma >> Annotations
true!
question, is it possible to modify world gen of end?
It's official boys: https://www.spigotmc.org/threads/sc-cfg-never-worry-about-configuration-files-again.536665/
I've finally finished it! It took me more time than I thought it would
cool
what about adding TOML support? 😳
it already have hocon and json, plus I've never seen someone using toml before, but feel free to open an Issue on github for that
i think it's the format the Velocity config is in
and I think it's the format Velocity LP uses as well
WHAT
it's yaml
LUCKO, WHY
Mald
Bald
Hi! I have a Question! I'm making a Plugin and I would like to block the movement of a player until he write a command. How Can I block the movement ?
Cancel PlayerMoveEvent
Ahh okay! I'm going to investigate that Event! Thx you so much!
Hello!
Someone knows why i'm getting this error with plugin messaging?
||java.io.EOFException at java.base/java.io.DataInputStream.readUnsignedShort(DataInputStream.java:346) at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:595) at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:570)||
Short answer is "there is nothing to read"
Now why that is the case I have no idea but you're definitely doing something wrong 
Also #development for dev support :p
@gusty glen can sc-cfg be used with bungee?

🥲 I want to die
I'd be happy to assist
I got an assignment which was complete 69 problems in C# and I Did, and now turns out I have to explain my thought process thru comments for every single step I took. That means going thru all problems from 0 and writing comments for every line 

nice meme
not sure what part of that is a meme but ty
"69 problems"
Or, as you'd reply.. k
ah. I got 2 assignments that both have 69 problems I Need to solve
anyone got an hexviewer that I can rip off? xD
@obtuse gale you should give me a free website 
I should think not 😠
hahahahahahaha
jijijija
I’d like a free one too
It needs to be 10 pages with an admin panel, that can support load balancing, and databases per user
Spring Boot?
But I wanted it in React with load balancing
Why tho
Svelte :p
export default function page() {
const [test, setText] = useState("text");
return (
<>
<button onClick={() => setText("test2"}/>
<p>{text}</p>
</>
)
}
Ever heard of Elm?
Ever heard of spring boot?
Or ASP.NET
Or uh
Idk
node.js
Node JS is nice but anything else is horrid
I'm true to pure JS, CSS and HTML
I wouldn't even use SCSS
Or Less
What's wrong with spring
This
The average site doesn't need all that funny stuff
This can be done pretty easily in JS 😉
you need to set the element's inner HTML
manually
this does it for you
and is way easier to scale
They're not equivalents
and did I mention changing pages without reloading? 👀
($'html').setContent
If you allow jQuery ofc
what is a good server host?
my budget is abt 5 dollars per month if there is profit 10 dollars
JQuery? 🤢
Yeah man
ewww
I love jQuery!
is it 2012
Hey, it still works
anyway, now do that 20 times in one page
any help?
me? I'd just render that component 20 times
sir this is #dev-general
im sorry sir
did not realise
Is the effort of setting up all your fancy things and deploying them worth it
hell yeah
tailwind + styled components 😌
inline easy-to-use tailwind components
Tailwind is nasty
You're trolling
I cannot work tailwind
What's wrong with tailwind?
Much rather do my own styling
...
It's something new to learn
flex flex-row space-3
I went from css to tailwind
it makes life way easier
div {
display: flex;
flex-direction: row;
}
rofl
you forgot the third one my friend
oh oops space-x-3
I'm a bit rusty ig
rust reference?1?1?2!1??
I am much quicker using CSS that Tailwind
Agreed
but what makes it nasty?
you being slow at it doesn't make it "nasty"
It's a great concept but I just can't use it
- Really messy HTML if you don't use apply
well no, you can use something like Twin.macro + Styled components in react 😌
then it auto generates everything for you
Elm elm elm elm elm elm elm elm elm elm elm elm elm
deos anyone know?
It is possible
so i want to develop some plugins, any good tutorials that can help me?, i use IJ IDEA
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
This will be handy https://www.spigotmc.org/wiki/plugin-yml/
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
Look at some source code and see how it's laid out and what does what
oh ok thanks
what is kotlin native?
compiles to native machine code or smth
uses LLVM iirc
so question
I'm looking for a VPS or a server thats less than 50 bucks and its on america
didnt know were to post it so i posted it here
kekw
ok. cool. keep looking
lol
I believe soyoustart has some cheaper servers
if you want a full server
if you want a cheap vps, contabo has some good prices
hetzner or ovh? 
Is damager a word
Is there a better word for damager
Like if you hurt a cow
You are the cow's damager
But the word is shit
attacker?
way to away
??
have you looked at contabo? they have great prices for their VPSs
and from what I understand people in here use/used them. and they weren't that bad
ye, but the problem is that I need a really powerful one, like 32 gigs or more of ram
will check tho
thx
yes..
check it out
@static zealot where is the channel pls im registered
as I said you'll have to wait until the database is updated. it has to be done manually by the admin
and they're sleeping rn
tete de oam je vais t'enclencher
what the
Hello!. any news with javascript extension? my server uses this extension a lot and I can't find any information about it. Thank you
I personally use DigitalOcean and it works fantastic, all comes down to your use case
Contabo is good, i got a likkle 8 gig one which is just used as my pterodactyl server for now
and its cheap
i think they just introduced some nvme ssd's instead of regular ssd's now too
which plan do you use? so I can get an idea
Imagine getting muted on the GeckoLib discord cause you are not understanding something the admin is explaining
Why are devs of big apis (forge, geckolib) so toxic
forge is a cesspool of toxicity
Small ones too, devs are just toxic in general
@static zealot contabo is really really bad
their drives are painfully slow, the cpus are complete shit, and they have no ddos protection, they'll null route your ip the second you get attacked
my friend tried using them for their network a couple years back, that shit lagged to like 10 tps with only 1 person on
it's not a viable host for a minecraft server
also heychazza ^^
uh
digital ocean is very expensive
how do you plan on getting a 32gb server from do with a $50 budget
they charge $5/gb
jesus
probably more for a server with a good cpu which you'd need for minecraft
I don't know of any vps provider that cheap
that budget is very low for what you want
general repo and so provider
I could go up to 100 dollars but I already have the money designed
if you're making a host then buying a vps is not the way to go
for some projects that need communicating using a cloud I maid
you want a dedi if you're making a host
wdym with host?
you're the one who said it
let me re explain
the point of the vps is for hosting a personal repo or maybe public and for a cloud that I use on some projects for player data auth and so
I strongly dislike the word "cloud" because it can mean so many things
just tell me exactly what you're running
are you planning on running some virtualization software?
I don't know what any of that means but it sounds like it doesn't need 32gb
just buy a small ovh vps or something
yeah but it is all the way on europe
or there are vps on america?
ovh has na locations
I hate negative numbers ;-;
I wrote a prerty simple 3D game engine, and everything works in positive coordinates, but breaks in negative ;-;
That is such a shame
What a noob
looking for arm 64 devs
Keep looking
guys I found a single nice thing about C++!
turns out, as of C++17, it has nice tuple destructuring for iterating over pairs, such as a map
for (auto& [player, _] : bets) {
where bets is a std::map<Player*, double> bets;
I was very surprised with this discovery, and it only took about 6 obscure forum searches to find out!
@obtuse gale did you know about this
Digital ocean isn’t the cheapest, but the quality is insane, I run off a $10 droplet for joinservers.com, and we don’t use many resources
I much prefer D.O as you can scale up and down, vs say a Deeicated server
Depends what you want to run on it, but you can check out ReviveNode as they use OVH servers to instance their VPSs (so you get OVH DDoS protection)
Yeah all comes down to usage, I’d much prefer to use D.O personally, DDOS protection doesn’t really matter day time day, unless you’re running a gaming server
Yeah lol
this is literally the only time I have been pleased with C++
why isn't there more like this
I mean templates are REALLY good stuff if you know how to take advantage of them
i physically gag every time I see a template or an error about templates
like is there a good way to learn about them? maybe i'd actually kind of like c++
Has anyone ever used sc-cfg?
no. no one uses secretx's shit lol
when i press Load gradle changes and it just wont download the thing and yeah
no errors, no nothing
@gusty glen fix pls
where can i find it?
it is not in matts website
i already use his command framework
tho it only supports yml
yeah that's what i need
maven("https://repo.mattstudios.me/artifactory/public")
implementation("me.mattstudios:triumph-config:1.0.5-SNAPSHOT")```
and how to use it? are there any examples?
here's the example I learned by
if you just kinda scroll through there, I just asked like a million questions to figure it out
yea
No need to call my stuff shit your know, you can not like them and it's totally fine, just don't call shit stuff I spend my free time creating to help others, thank you
Could you paste your build.gradle?
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.1.0'
}
group 'network.geode'
version '1.0'
repositories {
mavenCentral()
maven { url = "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url = "https://m2.dv8tion.net/release" }
maven { url = "https://repo.mattstudios.me/artifactory/public" }
maven { url = 'https://jitpack.io' }
}
dependencies {
implementation "net.md-5:bungeecord-api:1.18-R0.1-SNAPSHOT"
implementation "net.dv8tion:JDA:5.0.0-alpha.2"
implementation "com.zaxxer:HikariCP:5.0.0"
implementation "org.mariadb.jdbc:mariadb-java-client:2.7.4"
implementation files("libs/FastLoginBungee.jar")
implementation "com.github.secretx33.sc-cfg:bukkit:master-SNAPSHOT"
}
tasks.build.dependsOn tasks.shadowJar
shadowJar {
def yourPackage = "${project.group}.dependencies" as Object
relocate "com.github.secretx33.sccfg", "${yourPackage}.sccfg"
// these are all transitive dependencies, added here as convenience
relocate "com.cryptomorin.xseries", "${yourPackage}.xseries"
relocate "com.typesafe.config", "${yourPackage}.typesafe.config"
relocate "io.leangen.geantyref", "${yourPackage}.geantyref"
relocate "javassist", "${yourPackage}.javassist"
relocate "javax.annotation", "${yourPackage}.javax.annotation"
relocate "org.reflections", "${yourPackage}.reflections"
relocate "org.slf4j", "${yourPackage}.slf4j"
relocate "org.spongepowered.configurate", "${yourPackage}.configurate"
relocate "org.yaml.snakeyaml", "${yourPackage}.snakeyaml"
}
Probably better to use paste.helpch.at next time
it was a joke. and I wasn't saying your stuff is shit, I was just saying your shit as in your stuff. please forgive me SecretX
looks like jitpack is the issue (self host when? 😥), I would try to maybe clean gradle cache (gradle clean), and them reload the gradle script
ic, ok, no worries
yeah no result
gosh how can i disable this pinging in replies
lol
Y'all see MiniMessage got merged into regular Adventure? Meaning it'll be in Paper in the next Adventure release most likely.
I mean that's nice and all but I might keep using matt's msg lib anyways. I like the formatting a bit more
Wow, really neat to see
tho if that becomes a standard I might move to that as well bcz rn its all a mess lol
The idea (on Paper at least) is for MM to become the standard and replace the almost-a-decade old legacy formating
From what I understand tho MM is still very buggy and still in very active development so :')
@cinder flare (about C++ templates) I dunno man, I used to think of templates like Java/C# generics which is totally wrong (in fact, my first question on SO was about templates, first response was "They're not like Java or C# generics […]"),
By that time I also used to watch hours upon hours worth of conference talks and content on YouTube, probably a day or two worth of content, and there is very, very interesting stuff out there
Then I found out about template metaprogramming (how you can use templates to e.g. assert when or how a function can or cannot be used, preventing it at compile time) and then SFINAE
https://youtu.be/vwrXHznaYLA
https://youtu.be/VIz6xBvwYd8
https://youtu.be/ybaE9qlhHvw
https://en.cppreference.com/w/cpp/named_req
https://en.cppreference.com/w/cpp/language/sfinae
https://en.cppreference.com/w/cpp/types
This is a lot of content right here, it might (and likely will) take a bit to learn, it's something I used to have the wrong idea of and then something clicked all of a sudden so idrk how to convey my experience :')
hmu tho if you need anything I can try my best to help
Omega lul
oh hell yeah
hello how can i install python and make discord.py bot on repl.it
please respond
no
Classic
Such a cool idea, I can see paper being the go-to in the future, and people don’t bother with spigot
As I remember paper wanna do their own versions and not be a fork

in the future
you do realise paper has 50% of the market while spigot only has 305 right?
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
305? That’s super high
35%
keyboard is bvroken
it writes double chars, or sometimes my shift doesnt work at all
lol
Yeah I know paper is already dominant, but what I mean is dudes will just end up building plug-ins that use paper api only
Especially when Hangar becomes a thing fully
Help in #general-plugins 😦
that is sad, but it seems like a jitpack issue, I'll try to get it uploaded to maven central repository
jitpack 🚮
I know, but there is no other easy way of deploying libs if you don't have a self hosted repository
You are aware central is a thing
It's way simpler than what it seems at first really
How do I get it to send a broadcast only to the player who put the protection?
events: on_place: - '' on_distory: - 'nodrop; false'
in on_place
Plugin karen protect
https://paste.helpch.at/sesazikuto
or how do I solve this error?
pls help
😬 🤣
I have a seek command with 3 options: hours, minutes and seconds
hours and minutes will be optional and seconds will be required.
Now I'm wondering what would be best?:
- Add the 3 options up and find the specific time in the track (so basically if someone gives me 2 minutes 100 seconds) I'd go to minute 3 second 30
or
- Not add them up and basically if someone gives me 2 minutes 10 seconds go to minute 2 second 10 and if the track is 3 minutes 5 seconds tell them the seconds need to be <= 5?
Right now I prefer the first especially if the track is days long for example, then it'll break. but I could make the hours be special and make them accept more than 24 or whatever the track has.
First one
Stupid people are stupid, and those that can't math at all will just throw big enough numbers
well I'll check if the total is higher than what the track duration is anyways
and I'll tell em
bcz I do expect some confusion
Nah not just me, a friend just asked and it's been slow for him as well
welp time to try
I mean more so, instead of putting 3 minutes 20 seconds they'll just throw in 200 seconds
Lol
now I regret pressing the update button
Last update seems to fuck a lot of shit up
welp I can't cancel anymore... xD
If you use toolbox you can regress/rollback
yeah. I know
Unless you don't keep old versions
oh no. I Forgot they updated the loading screen
this one sucks ass
I liked the blue one
also yes frosty. I can already feel it
its exactly how it was for me before upgrading to the ssd. takes a while to load lol
the theme seems fine
thankfully
hange font size in all the tabs
As requested, we’ve made it possible to change the font size in all open tabs simultaneously with ⌘+mouse wheel on macOS or Ctrl+mouse wheel on Windows and Linux.
omg
thank god
Begone heretic
what's with the ; at the front
fuck knows 😂
fair
eww default vscode theme
That’s not mine, but yeah aha, my go to is One Dark + MonoLisa font
mine is material theme icons and Community Material Theme Darker
I still dont decide the code font
ew vscode*
ew c# learner
yes. indeed. thats my exact same reaction
You just pick whatever is default?
I don’t, I use MonoLisa
yes bcz you're too rich
Aha
this one? (dont mind the bbmodel made to json, exploring model generation from bbmodels)
https://www.monolisa.dev/ it’s a nice font tbf
https://dank.sh would be my 2nd best, then jetbrains mono as a 3rd option
A typeface designed for coding aesthetes with modern displays in mind. Delightful ligatures and an italic variant and bold style.The included character set includes latin uppercase and lowercase letters, all modifiers, and diacritics covering most European languages. Additionally it covers an exhaustive list of math symbols, the basic Greek glyp...
Fire Code Medium best
spread?
mhm
not from what i can see with my plugin it doesn't really spread
I think you need to change the velocity and the offset
¯_(ツ)_/¯
o
But it spreads out
Yeah they always have velocity by default
oh does it depend on the particle?
Yes, some have more than others
use the consumer
?
d;spigot World#spawnParticle
void spawnParticle(@NotNull Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, @Nullable T data, boolean force)```
Spawns the particle (the number of times specified by count) at the target location. The position of each particle will be randomized positively and negatively by the offset parameters on each axis.
particle - the particle to spawn
x - the position on the x axis to spawn at
y - the position on the y axis to spawn at
z - the position on the z axis to spawn at
count - the number of particles
offsetX - the maximum random offset on the X axis
offsetY - the maximum random offset on the Y axis
offsetZ - the maximum random offset on the Z axis
extra - the extra data for this particle, depends on the particle used (normally speed)
data - the data to use for the particle or null, the type of this depends on Particle.getDataType()
force - whether to send the particle to players within an extended range and encourage their client to render it regardless of settings
There, it's the extra
ahhh
o
thanks 😄
had the same problem 🥲
😌
who did day 7?
nvm, looks like it doesn't like that I use a set instead of a list lol
man who is (anonymous user #963181)
much better
if he's the top#1 then I told you when you joined
195442362992820224 he's this user
not gonna ping rn
also I stopped at day 3 
@paper orbit
it was showing Unknown User
59, 99, or 300 € for a fucking font lmao
and that's "discounted"
this better be a joke
Nope, font and font design business is as real as it gets
Really just think about it as art, someone probably put lots of hours into those
idk what your looking at tho
Fira Code Medium is free and open sourced (i know weird for a font but it's on github
) though 😌
Actually the read me is super interesting https://github.com/tonsky/FiraCode



