#help-archived
1 messages ยท Page 141 of 1
looking to get the transactions list or get a specific transaction using an ID
isn't transaction a payment doe
Honestly IDK lol they have "Orders", "Payments", "Transactions", "Invoices", etc...
i created minecraft server on rdp and i put ports in firewall port not working yoo
When release of 1.16.1 spigot?
Hey everyone. I have op on a server and a few others do as well. I was just wondering how if I can limit certain commands to the other people with op?
@vestal vapor Soon. (TM)
Spigot 1.16 is in development with no release date. It'll be out when it's out.
@flat topaz You need a permissions plugin and to give the other people roles with the permissions / commands you want them to have.
Ah ok nice thanks.
Ah thank you very much @radiant shard is there one you would recommend?
I use LuckPerms. Check out some Youtube videos on it, there is a web editor so you don't have to spend your life typing in perms commands.
Oh I have LukcyPerms I didnโt know I could do that on it though thank you
Ye ye I have
@quartz trench I get these errors when running your compiled plugin: https://pastebin.com/H8jLiMKa
@pastel condor I just compiled it from GitHub, it's not really mine. However it looks like it can't find some dependencies related to the jetty webserver
ah I see
@flat topaz Do /lp editor, it will give you a link to open, make your changes in the web editor, click save, it will give you a command to run on your server to pull in the changes.
Presuming you just gave your other OPs some permissions, you then just deop those people and you are done.
Ok thank you
@quartz trench Just tested your build, it seems to work except signs are broken. I've quickly tested how well it responds to influxes in purchases/sales and I think it's a lot better than DS' implementation.
...just the Signs. ๐ญ
I'm not familiar with it at all I just cloned the repo and did mvn clean package lol
How does it's implementation work if you dont mind explaining briefly
Does anybody have any experience with custom domains? I'd like my server to be play.servername.org but I've found 0 domain suppliers that will offer it.
12 a year
You have to buy a domain
i got an xyz domain for $0.60 first year from epik
@quartz trench Just for server eco, gets rid of money/items. DS' doesn't do a good job. It seems to just decrease steadily so influxes of items are practically get rich schemes with this it has the exponential curve creating diminishing returns whilst taking the money from the eco. I've raised an issue on his gh, maybe he'll see it. Who knows. ๐ฆ Thanks for compiling it though. At least I have hope.
I don't imagine it would be hard to find the code where it's trying to download those files and putting in updated links
This is to me?
I haven't got that issue anymore. Just signs don't work.
oh
I guess he updated it without updating the code that allows signs to work, I have no idea how to resolve that though. There's no console errors. it just doesn't update the signs when I type in the format it requests.
event.getPlayer().getWorld().dropItemNaturally(event.getBlock().getLocation(), new ItemStack(event.getBlock().getType(), 0, event.getBlock().getData()));
@neat orbit Google Domains has solid support for subdomains (your play.<servername>.org example)
can someone help me set up bungeecord
Well, one... create variables
@frigid ember You'd want to make a function that accepts an event of that type, then pass the event to the function.
void dropItem(<EventType> event) {
event.getPlayer().getWorld().dropItemNaturally(event.getBlock().getLocation(), new ItemStack(event.getBlock().getType(), 0, event.getBlock().getData()));
}
Player player = event.getPlayer();
Block block = event.getBlock();
player.getWorld().dropItemNaturally(block.getLocation(), new ItemStack(block.getType(), block.getData()));```
Though you should consider updating your server, you're 5 years out of date
now its choosing xd
A method is unnecessary
You're wrapping an existing single-line call
Just create variables for things you re-use
True but depending on how often you reuse the same code a util method can be useful
legit anyone can you help? I dont mind who i just need help lmao
Are you using it in different places or in the same place just one after the other?
if (oresMined.get(player.getUniqueId()) >= 2000) {
this goes for 1k 2k till 10k
dropItem(event);
so this is good
than I can just drop it in there
@steady cedar Holy shit I got it to work! In the link I added "Fields="
poggers
@frigid ember Just some constructive feedback, you could also use the modulus operator instead of a branching if statement to clean that up -- this will be true for every 1000
int minedCount = oresMined.get(player.getUniqueId());
if (minedCount % 1000 == 0 && minedCount > 0) {
...
}
All this time... Months wasted just because of a simple word SMH
yep thanks
do we have any prediction how much time will take the spigot 1.16 to be out? (days, weeks?)
@wide moss prolly days
thx
and can ANYONE help me do bungeecord
Me and @gaunt fern need help with setting up BungeeCord your help would be greatly appreciated ๐
@near osprey what y'all stuck on?
@gaunt fern ^, do you have full access to a VM or Dedi?
Does anyone know of any plugins that allow syncing of MC and discord usernames?
No
nice bro
We are getting this error
[WARNING] Could not bind to host /0.0.0.0:25565
io.netty.channel.unix.Errors$NativeIoException: bind(..) failed: Address already in use
[WARNING] Forced host server pvp is not defined
do you have another server open on the same machine?
Bind to another port @near osprey
25565 is taken by your Minecraft server.
I'd suggest using 25565 for Bungee (unless there's some reason not too) and change your Minecraft server to 25575 or something, change all the other ports also rcon, and query to the 2557X range.
This way there's no overlap. In your Bungee settings make sure the minecraft server IP:PORT is correct and start them both
It's old (1.14) but a quick google search: https://www.justdave.net/dave/2015/05/04/how-to-write-a-minecraftbukkit-plugin-for-spigot-1-8/
it can be whatever port you want (up to 65535)
you might have to speak to your provider which ports are allowed
hey have we heard anything about when spigot for 1.16 is gonna be ready?
?eta
There is no ETA. Having an ETA leads to unrealistic deadlines, false hope, and a bad product. It will be ready when it's ready.
This will save you asking questions.
ah, fair enough
I have this
and it deconnects everyone one
from the server
can someone help me
nobody can log onto the server?
https://pastebin.com/ZBH0TH2Z
the dropItemNaturally doesn't allow me to pick the items up again
when they drop they basically just sit there on the ground xD
Errors?
me? if so no
Are they gone if you relogg?
Idk about you but those IPs look mad suspect
Idk about you but those IPs look mad suspect
@frigid ember ik
lmao
I have a question how did you guys learned java?
lemme see Olivo
He said no
They whois to AT&T hmmmm
lol
Any reason anyone might wanna clog your server up?
Because that's what it looks like lmao
ddos be like reeeee
mhm
ill have a look again
1sec
Looks like they're spamming protocols with invalid strings to dos you
fun fun fun
my home ip has been ddosed way too many times
nope no errors
Don't think I've been ddosed since like 2015/16 lmao
still there on relog
Hm do you have any plugins that would cancel and/or listen to the pickup event?
I mean a temporary stopgap could be to block 32.123.* IPs from even connecting to your machine in the first place
@limber summit is the server running on a personal machine you have access to?
Idk about you but those IPs look mad suspect
@frigid ember All from AT&T services in Florida.
Don't think I've been ddosed since like 2015/16 lmao
@frigid ember I have been ddosed because i crashed a server with 3k people online
fun
how? you wonder, well with just putting /help
Hey ya'll! Does anyone know of some API that can be used to get a user's biography
I'm trying to verify that someone actually has the spigot account that they say they do
Or, their profile postings, or something like that
Ohhh hmm... Do you remember where I could find it?
Oh awesome
Ohhh I see, thanks! That actually should work
Is there anything for getting a user's bio or the posts on their profile or anything like that?
I'm looking to prevent players from being able push a specific minecart from outside it or control it from inside it. I only want it to effect a specific minecart and I still want things other than the player to be able to move it. I was told there was some ProtocolLib listener that did exactly this but didn't get any more information on that. A few people have said this wouldn't need to be done with packets but it still looks like I'm going to need ProtocolLib to do this. Any ideas? Is there somewhere else I'd be better off asking this question?
@bitter palm if they dont have some spec ai
they cannot be "pushed"
"entity.setCollidable(false);"
looks like api has this
note, you have to parse entity as LivingEntity
Ok, thanks, I've spent a while looking for this and nobody sent me that lol. However, this still doesn't solve players moving while in the minecart
i dont know how vehicle works
but try to set vehicle's speed to much
but then, it can break while in rail
I still want the minecart to be able to move, though
you can very slowly move in boat outside in boat if im correct
if you give much speed to boat
maybe you can use it as vehicle
dont know if it will work for minecart
Pretty much, I'm trying to make it so that a minecart is completely still and will not move but if a player is inside of it, it will start moving forwards. I don't want the player to be able to go backwards, though
just try
Does anyone know how to make it so that you can connect to a server with a old client like 1.8 to a 1.15.2 serve
^
viabackwards
Hey, I'm on a localhost server running 1.15.2 (there should be no delay in mostly anything), but it still takes a second for chat to be sent. I'm creating a custom plugin, is there anything I might be doing that could be causing this?
^
a constant 20
are you sure that notginh blocks other threads?
or, anyting "big code" slows async chat event
Does anyone know if bungee cord has released a 1.16 version yet
look on the spigot forums
you cant do anything
why?
use bukkit's self feature
I only have one other method using the chat event, and it's a low priority discord webhook
cus it's plugin's problem
but I'll try disabling it
use bukkit's self feature
@fair abyss oh. ok. but it's working and saving, yes?
yes
discord hook can slow, really try to disable
yup, that was it
so you should't wait discord response is done
i dont know much with threading
sorry
what lib you use?
jda javacord?
are you using rest action in chat event ?
I have no idea
.queue(response /* => Message */ -> {
response.editMessageFormat("Pong: %d ms", System.currentTimeMillis() - time).queue();
});```
this is rest action queue
it runs bellow when up effect is done
so, it edit's message when it sent
are you using something like this in chat event?
Okay so
I'm using a class I found on the internet to manage webhooks
I should be able to link, right?
actually, there's the sending part:
URL url = new URL(this.url);
HttpsURLConnection connection = (HttpsURLConnection) url.openConnection();
connection.addRequestProperty("Content-Type", "application/json");
connection.addRequestProperty("User-Agent", "REDACTED");
connection.setDoOutput(true);
connection.setRequestMethod("POST");
OutputStream stream = connection.getOutputStream();
stream.write(json.toString().getBytes());
stream.flush();
stream.close();
connection.getInputStream().close();
connection.disconnect();
the methods dropItem and dropItemNaturally don't allow me to pick the block up after it fell down
or in air
it just doesn't work
=paste
Hi! I'm having a hard time accessing the website
https://cdn.discordapp.com/attachments/388390454787440663/725485579764105256/unknown.png
I'm using a 4-in-6 tunnel because my ISP is a piece of shit, but it looks like SpigotMC might've blocked it in their CloudFlare settings
using vpn?
Nope
what url do you try
it just doesn't work
And no errors
try without www
Redirected to www, then same error
there was an issue with www https (not sure which)
dont know if it fixed
i was afk for 1 month
I tried to disable HTTPS Everywhere and go on the http version, but I got redirected
I dont get pillager raids in my survival server anyone know why?
is teere a gamemode you set
Hm, that article basically says "contact site owner".
Cloudflare Ray ID:
5a8a1687a874ca6f
and, did you kill pillagers to get effect?
Methods dropItem / dropItemNaturally dont allow me to pick the blocks up
They just stay there on the ground xD
You have something else interfering
but i dont get what D:
?1.16
๐ ๐
1.8
thats new?
im kinda new to this whole jazz, what version of bungeecord do i use for 1.15.2? do i need to change to for 1.16?
You should be using the latest version of bungee pretty much at all times
Latest supports 1.8.x - 1.15.x
thank you papa
*1.16.x, rather. It was updated
Hey, where can I keep up with what's happening on 1.16 build? :)
for bungee, do i run all the servers normally, and have progessive ports per server? like localhost:25566 and 25567 ...
well i guess the lobby would be default to allow people to connect
yeah you just run all of the servers normally. they can be on any port you want as long as it matches the config.
oh, sick, thanks ๐
make sure you port forward your bungeecord but not the spigot servers because they're in offline mode and that could cause security problems
@crisp sinew cool name lol
Lol hey
man who would have thought running the webhook post asynchronously is how you get it to not block the event flow
as a discord bot dev, I am ashamed of myself for not thinking of this
?1.16
๐ ๐
sorry if this is a dumb question, but if spigot was updated to 1.16, would there be an announcement on the main page, or would i have to figure it out from build tools?
hmm my verification email doesn't work "Your account could not be activated." what to do ?
Hey for some reason pillagers dont spawn in my world
on my spigot server
anyone know why?
I never got a dm from the bot on the website. I ran the command in #verification
๐ ๐
im getting a failed to bind port on 25566 ?
is port 25566 already used?
that means you already have a server running on that port, try using another port or going into task manager and checking if one is running in the background
Either that or you've bound an IP to the server it doesn't recognise or can't use
is the builds from e.g. today on buildtools, are they likely still 1.15.2 or are they like alpha/beta 1.16 builds?
ok ty
should i change the query.port aswell?
Query port isn't relevant honestly unless you plan to use it
only if you want server lists/other apps to see a list of online players and maybe even your plugins
Should I cache player prefixes in memory, or should I read them from the database every time someone chats?
memory
You know that Spigot lets you use a restart script, right? lol
yes but I want there was some problems with it
it starts a new process before the last one has died
Is there a way that you can help me fixing it?
Does
while :
do
java -jar myjar.jar
sleep 10
done
Not work?
i have the same as you mark, works fine ๐ฎ while true do java command here echo Restarting in 5 seconds, CTRL + C To Terminate. sleep 5 done
how do you guys start the servers and bungeeord at once? also how stop
You don't need to start them at once?
sure, but what about a restart?
you just start them all by hand?
just i can just use screen
oh gosh I tried google and nothing helps
i mean starting and stopping all the servers, including bungeecord
a .kickall
this done do problem
can someone help me
please
It also says "You logged from an other location"
no
Cracked server, abandon ship
fam if it's cracked we ain't able to help
When I test with a cracked launcher it doesnt work
SpigotMC has never supported offline servers. The appropriate response to any question from a server running in offline mode is to not support them whatsoever
my guess is some stray char somewhere?
Rewrite the line maybe?
.sh
Or rather encoding
dose localhost not work for bungee
i have no idea what im doing wrong then
ugg
address allrealdy in use
but the onlyplace i have that port is in the config for the lobby
25576
nah
i mean i did, but no idea where
or how
localhost
one sec
ill take a pic
i cant paste?
discord is not letting me paste the screenshot
i think imma just off myslef
brb gaoing to get coughed on
Can someone help me
is this pvplegacy
i got banned and i wanted to appeal
but it wont let me login my account i just made
can someone help me? i cant paste anything
upload to imgur ace
Only verified users can directly upload images
can someone fucking help me
well it looks like you have lobby and bungee trying to run on same port lol
am i retarted
i am
i saw the -lobby flag and went full donges
thank you papa
sometimes i just loose my mind
guys how can i change this thing's name
ItemStack sword = new ItemStack(Material.STONE_SWORD, 1);```
Get its ItemMeta with ItemStack#getItemMeta()
Get item meta, set name, set item meta
before you give the itemstack to the player
i know u have rl problems here but i cant activate my acc "Your account could not be activated" link in mail doesn't work
and that is sad lol
before you give the itemstack to the player
wdym
i know u have rl problems here but i cant activate my acc "Your account could not be activated" link in mail doesn't work
where that happen?
after u click the link?
Is there a way to cancel the sweep attack animation in 1.9+?
after i click the link ""Your account could not be activated"
maybe xd
Hey! I'm trying to access Spigot using https://github.com/Maximvdw/SpigotSite but Cloudflare is giving me a 1020 access denied error
Does anyone know how I can go about fixing this?
I don't think it's an issue with the API, but rather spigot is blocking my IP
wait, wait, i want that to be host to be 25565 or the lobby to be 25565 if i dont wanna specify a port on the address
i mean for the external address, if i dont want to have people specify a port on the address dose the host address carry the default port or dose my "lobby" carry the default port of 25565
If Im on paper how hard is it to switch to this release of spigot? is it as simple as switching the JAR?
i will re-phrase the question. which service do you have using 25565?
@fair abyss Oh yeah, I actually downloaded the latest version, but still for some reason I'm getting the 1020 error... I believe it has to do with the fact that I'm trying to access Spigot using Amazon AWS API Gateway
host IPs are often blocked due to ddos
the only supported access to the site is https://github.com/SpigotMC/XenforoResourceManagerAPI
@fleet crane Alright, thank you! What I'm trying to do is just verify that a Spigot user is infact who they say they are, but it doesn't seem like it would be possible with that API, unfortunately
One option is to make them paste something in a resource and check the description
But if the user doesn't have any resources that won't work
and /getAuthor only works if the user has created resources
yeah thats a bug
youre welcome to fix it, and the identities section has a spot for discord names if thats what youre verifying
Hmmm ok, yeah, I could try to fix it, cause that's something that I think would be really useful
And, it's actually just for a plugin, so the player is linked with their Spigot account
Out of curiosity, is that a bug that you think could be fixed? It seems like user profiles would be seperate from the Xenforo resource manager, so maybe something completely new would be needed
the actual bug isnt about authors
its about users having no identities
A lot of authors return 404s via the API, even though both their resource overview and profile page exist and are publicly accessible. Possibly related to #17 A few examples: https://api.spigotmc.o...
getAuthor will show people with no resources
it wont show some people with no identities though
how do I fix Exception in thread "main" org.eclipse.jgit.api.errors.ServiceUnavailableException: Signing service is not available at org.eclipse.jgit.api.CommitCommand.call(CommitCommand.java:247) at org.spigotmc.builder.Builder.main(Builder.java:544) at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:34) with build tools building 1.16
if I run again I get Exception in thread "main" org.eclipse.jgit.api.errors.CannotDeleteCurrentBranchException: Branch patched is checked out and cannot be deleted at org.eclipse.jgit.api.DeleteBranchCommand.call(DeleteBranchCommand.java:104) at org.spigotmc.builder.Builder.main(Builder.java:541) at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:34)
@fleet crane ohhh I see... That makes sense
happens right after Patching with WorldUpgrader.patch both times
To verify their spigot account then, I'd probably need to require that they add a new identity?
if i have bungee running and no other servers, should it populate the server screen with the MOTD?
yea, just bungee
ItemMeta meta = item.getItemMeta();
meta.setDisplayName(color(displayName));
item.setItemMeta(meta); ``` that didnt work ๐ฆ
i want to see if it is working
sad ahmed :(((((((((((((((((((((((((((((((
oh shit thanks @fleet crane I'll turn it off
i cant get my lobby, but if i change the servers port to 25565 i can get it
sorry, lobbys port
can #112 build 1.16? also sure!
but running bungee on 25565 is getting me nothing
yeah it can
K cool
i have no idea why its not working
i can have have all the addresses as localhost, and not specified in the server.properties and just use ports, correct?
am i not receiving an answer because im dumb or no one knows?
do i have to open the ports on the localhost?
im on centos8
yea, thats what i thought, im just stuuuuuuuuuucccccckkkkk
Question can i just use --rev latest to upgrate
and i know the port works because i can run one server off of it
Listening on localhost/127.0.0.1:25565 - dose this sound correct?
what should i set my forced host to
also localhost?
if i leave it alone will it work?
@fleet crane Any chance you have any other ideas for verifying that a user is who they say they are, other than making them paste a verification code in one of their identities?
need some help, when I finish doing Buildtools it gives me a 1.15.2 Spigot insted of 1.16
lobby i guess
@frigid ember what dose yours say?
does*
yes. do you leave it alone, or change it. i don't have access to that domain, is it causing me issues?
Im using git bash right now and im getting this error when running the "java -jar BuildTools.jar --rev latest" command
"BuildTools requires at least 512M of memory to run (1024M recommended), but has only detected 247M.
This can often occur if you are running a 32-bit system, or one with low RAM.
Please re-run BuildTools with manually specified memory, e.g: java -Xmx1024M -jar BuildTools.jar --rev latest"
anyone have a fix? I have 16gb of ram and 64 bit windows
Damage and attack damage are different right?
I have a mistake
[Prism Daemon] Server marked as OFF
[Prism Daemon] ---------- Detected server process in a crashed state! ----------
[Prism Daemon] Exit Code: 1
[Prism Daemon] Out of Memory: false
[Prism Daemon] Error Response:
[Prism Daemon] Aborting automatic reboot due to crash within the last 60 seconds.
I get the Exception Connecting: DecoderException without any plugins
what should I do
java.lang.IndexOutOfBOndsException
no plugin
yeah
spigot.jar
i use bungee
spigot
his server is running CraftBukkit version git-Spigot-758abbe-2b00831 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
[INFO] Reactor Summary:
[INFO] Spigot-API 1.15.2-R0.1-SNAPSHOT .................... SUCCESS [ 35.093 s]
[INFO] Spigot-Parent dev-SNAPSHOT ......................... SUCCESS [ 0.214 s]
[INFO] Spigot 1.15.2-R0.1-SNAPSHOT ........................ FAILURE [ 0.876 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.339 s
[INFO] Finished at: 2020-06-24T21:26:17-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project spigot: Could not resolve dependencies for project org.spigotmc
jar:1.15.2-R0.1-SNAPSHOT: Could not find artifact org.spigotmc:minecraft-server:jar:1.15.2-SNAPSHOT in spigotmc-public (https://hub.spigotmc.org/nexus/content/groups/public/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :spigot
Error compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
java.lang.RuntimeException: Error running command, return status !=0: [sh, /home/container/apache-maven-3.6.0/bin/mvn, clean, install]
at org.spigotmc.builder.Builder.runProcess0(Builder.java:804)
at org.spigotmc.builder.Builder.runProcess(Builder.java:741)
at org.spigotmc.builder.Builder.main(Builder.java:617)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:34)
[Prism Daemon] Server marked as OFF
D: ?
dont paste this like that please
helpme :c
oh my god lol
is it possible, to make a public ip adress for my secondary server and my main server, but keep them different?
without buying a new router
lol
how
I have a switch
aswell
no
but they are on the same netowrk
different port?
someone help me?
yo i got a question can someone help me out
so you want to have a same ip or something?
no
different ip
because its insecure currently
for me
bc of ddos and cloudflare not working
please paste your buildlog into hastebin
cloudflare proxy protect is not working for minecraft server
Lol reverse-ddos, when some does a ddos on you just ddos him back
thats risky...
I think i couldn't manage to set up the bungee rogerbleu
how do i set the spigot on proxy?
anyone know if i can move my vanilla world to spigot 1.16.1 by running buildtools ? or do i go to spigot 1.15.2 then run buildtools for 1.16.1
Bungee config.yml online-mode false?
thats risky...
@tiny horizon idK nOW wHaT yOu mEAn
if you want spigot to verify player account
yeah
lol
wait for 1.16.2
Which EssentialsX version works with 1.16?
can someone add 1.16 to this list?
i think there isn't have a lot of plugin work on 1.16
md must have missed that bit
lol
Can someone help me? https://hastebin.com/lotijoture.java line 19 and 21 are returning null and IDK why
https://ci.ender.zone/job/EssentialsX/ btw try the latest dev builds
@lapis plinth Your scoreboard doesn't exist
Did Attributes get changes in 1.16?
Anyone else have a issue with building 1.16 that says Signing service is not available?
nope
๐
oh Atom
ye
@lapis plinth , i got it. Don't do display name. The user might not have a display name. Do player.getName()
kk
also, pls do proper naming conventions
"OnPlayerJoin"
oh wait thats the class name jk
xD
๐ฆ when java hates u
@formal jacinth nope, still broken
?paste
Team is null i suppose
I created the teams in the main class tho :thonk:
You create a new scoreboard at onPlayerJoin event
you are creating it again with that line
not the old own
you have to reference the scoreboard in the onEnable
Rabs, i think EssentialsX doesn't update the new nms lol
alright ima create a scoreboard within the same class and see what happens
well what i would do
create a method that returns a scoreboard, then reference that method in the onEnable and join
and in that method, check if the scoreboard, teams, and objectives are null
and if they are, create them
Who uses essentials, it's 2020
70% of essentials functionality isn't needed
EssentialsX has a lot of heavy stuff that we don't need it
anyone else getting [Netty Epoll Server IO #3/INFO]: Your version isn't recognized, switching to fallback solution: "generic_v3", please update! error with spigot 1.16.1 ?
Hey Michael
There are so many useless commands
Whole plugin is useless
none its not updated yet
What version of EssentialsX is working
@proper wolf custom essentials fork from md5
FUDGE
The spigotcraft server is on GitHub
With the plugins...
OMG why TF fuck would anyone with an normal IQ use essentials?
There are more lightweight alternatives
Or just code it by yourself
Yeah but apparently it's working
yea
it's there for you
@proper wolf what?
๐ ๐ some of us like essentials ๐
I had a thought about moving from essentials
But some people like it
As it's convenient
๐ ๐ some of us like essentials ๐
@formal jacinth ikr
๐ ๐ some of us like essentials ๐
@formal jacinth commit suicide (Kappa)
(but i agree most of the commands are pretty easy to just code yourself)
am so bad at dis
Well you only really use like 20% of Essentials
Your problem is you don't know the basic of OOP
And if you can't code Java use Skript or other coding languages like Javascript (Check out my project SpigotJS lmao)
google oracle
C++ has OOP
^
i dont use objects in c++
OOP is really important in Java
i avoid them
Tf
lol non oop is harder for me
oop is like the foundation of java,
i dont use objects in c++
@lapis plinth then you aren't a programmer in my eyes
^^^
๐ข
aw
oop is like the foundation of java,
@formal jacinth java without OOP is like Javascript without typescript or es6
I try to avoid them as much as possible
Biggest shit
es6 and commonjs are so coool
eh, time to go skid code and hope that it works
Check out my Javascript project, now with the functionality to execute java code from an string
https://www.freecodecamp.org/ I learnt java by reading code from another plugin
I learned portions of java by reading plugins. Like how Enums worked and what not
but if you are just starting out, a traditional tutorial will be best
I have to learn java someday, so Iโd rather not use skript and whatnot
lmfao
lol
Why do peiple use gradle instead of maven
so um I have a different intallation for maven. anyone got any idea how I fix this? its build tools im trying to run
/usr/bin/bash: E:\apache-maven-3.5.3\bin/bin/mvn: No such file or directory
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [cmd.exe, /C, sh, E:\apache-maven-3.5.3\bin/bin/mvn,```
Maven is so much easier imo
Because it's better
Gradle is faster than Maven
And Groovy
And it's really easy to use and develop
i've never used it
@brave vector https://github.com/SpigotJS/SpigotJS-Reloaded
no of() method? (1.16.1) https://i.imgur.com/k506zhq.png https://i.imgur.com/ZhRNrJ7.png
yeah i found it
u just click package
@lapis plinth lol what?
click package?
What TF are you saying
lmao to get the jar file?
dependencies
Iโve never used dependencies cuz Iโm THAT bad
Do you know what Maven profiles are?
atom... I dont know what youre talking about but i've been using maven to build...
bruh?
Do you know what Maven profiles are?
@ashen dove no LOL, I started java coding like 3 days ago
atom... I dont know what youre talking about but i've been using maven to build...
@spice snow I use Sublime Text for building
I use jenkins .-.
who wanna spoon feed me ๐๏ธ๐๐๏ธ
anyways moving forward, my maven has a different installation, I dont think I can modify build tools.
he's talking about this
^
what could I possibly be missing?
Lol
Lol TF who uses that xd
i set the default goal in pom.xml lol
I clicked random buttons until I got a jar file
And who TF uses intellij
i use
my friend use
oh no. he has never executed mvn clean install in his life...
anyone got help for this? it builds fine in 1.15 but it gives this error in 1.16
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project PrisonAPI: Fatal error compiling
^
easier to use with maven and github
VSC can handle it lol
Well for noobs it's easier
I dont like using too much automated tools. it makes me dumb.
But me as an pro I'm using notepad++
lol
Who wanna gimme an example of how I should fix my dum code?
I dont like using too much automated tools. it makes me dumb.
@spice snow definitely, I use VSCode and eclipse
how xD
public Scoreboard getScoreboard()
then check if scoreboard, team, and objective is null
if it is, create it
Who wanna gimme an example of how I should fix my dum code?
@lapis plinth Ctrl +A then Ctrl + D
then return scoreboard
Ah ok
Let me SS this xD
@lapis plinth Ctrl +A then Ctrl + D
@ashen dove idk what control D does ๐
Well I'm using eclipse a lot for complicated projects
Smooth, lightweight and runs on every hardware
my friend told me that eclipse built faster
me vibing with epic pc specs
And is 100% free without an ultimate edition
๐๐๐
my friend told me that eclipse built faster
@brave vector 3 sec Maven build
isn't IntelliJ free?
i use ultimate
community version is
ah
I use eclipse too
My school got me ultimate xD
intellij free has everything i need idk why i would need to update
Well community edition doesn't have every feature
which IDE does md_5 use lol
probably intellij
Notepad
i think is NetBeans
microsoft word
bungeecord source code has nb config
I personally use eclipse and netbeans (ive been testing the new apache version)
intellij free has everything i need idk why i would need to update
@formal jacinth Springboot support only for ultimate edition
ah
Also other ide's from jetbrains cost like clion
Community version is enough for plugin coding
So I use eclipse for c++/C
exactly, Enterprise support (like JBOSS) is not available in commercial edition
Community version is enough for plugin coding
@brave vector well I'm a Java developer, not an spigot API developer
which IDE does md_5 use lol
@brave vector google docs
lol
And everyone that only can make plugins isn't a developer
well
oops
So @lapis plinth learn java before making plugins
Or you will get confused
Yeah you moron.
kek
md uses netbeans
yeah i'm right
Lol look at mister I Skript Plugins in cool way
I'm going to sleep it's 4 am in Germany
And the sun is coming up again
Lmao
Lol i didn't sleep last night
yall are crazy
i can't sleep lol
SkullOwner:{Id:[I;1409841822,-686993484,-1612643286,-414934969] Now there some array of I,and 4 numbers instead of a UUID in the player head NBT
anyone know how it works?
How do I access dimensions with spigot?
HyperVerse
anyways, back to maven configuration issue, what system variable is build tools accessing for maven?
i got it @frigid ember
Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [cmd.exe, /C, sh, E:\apache-maven-3.5.3\bin/bin/mvn, install:install-file, -Dfile=work\mapped.ee3ecae0.jar, -Dpackaging=j```
have you installed maven?
Whenever we use /wild it says command cannot be used in the world does anybody know how to help?
first of, yes I have installed maven way back. thats what im using when im building my codes.
second, yes, thats why im asking what system variable was build tools using so I can modify it
args works? I forgot to check that. thanks
@brave vector Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-25T03:49:05+08:00) Maven home: E:\apache-maven-3.5.3\bin\..
dont ask why lower version, I have custom signatures
ah that one I missed. I guess I'll need to install a separate one
nvm all good now
can i move my vanilla world to spigot 1.16.1 by running buildtools ? or do i go to spigot 1.15.2 then run buildtools
I dont think bt needs any specific maven version
yes you can move your vanilla world, the server will do it automatically on first run
ยฏ_(ใ)_/ยฏ
I dont see any parameters for build tools to use a custom mvn directory
yeah I noticed it downloads portable mvn
as md_5 just said
but I have my own maven which I use to build application
maven version doesnt matter
okay lets go back to the beginnning
(md_5 said)
how do I change the maven directory bt uses via parameter?
yes
I dont want to compromise alot of setup in my coputer
mango, I just said it, changing system variable will the be last resort
I have my tools hooked up to a custom maven w/o any issues
custom maven or apache maven doesn't matter i suppose
yeah but I'll have to shutdown my jboss deployments and jenkins oof
why don't you build at your local pc?
I am at my local pc lmao
wtf jenkins?
nothin
How do I increase water tick without increasing random tickspeed on 1.8
should i update to 1.16 or is it a dangerous boy?
backup all stuff
backup and backup some more
you can never have enough backups
so I guess the best way to deal with system variable for now is to set var=val lmao. I've forgotten how usefull that is.
Anybody know what EntityType.RAVAGER was replaced with?
Or is it just missing :monkahmm:
I've upgraded now BungeeCord + Lobby + Creative + Survival to 1.16.1 - so everything runs fine, except on Creative and Survival. If I join the lobby, the Scoreboard will be displayed perfectly - if I want to join one of the other specified servers, I get this error message (and I never saw it
) https://prnt.sc/t5z98j and also, the other servers have a different objective name 
I haven't messed with my server in a few months so how do I go about redownloading spigot 1.16.1? I completely forgot and this is for java right?? yea
how to I go about remapping the output states of my location and position predicates?
huh weird Ravager is in the docs but is missing from the api as an entitytype
Compiled a temporary working version of EssX
Niceeee
so they added this thing called WorldDataServer in the NMS.... i was just wondering if any of you knew how to access that yet :\
Reflect stuff
?xy
Asking about your attempted solution rather than your actual problem
i mean i knew what the old way was
@frigid ember do you know how to force block_matches for water, grass_blocks and dirt. apparently it's loading randomly and not mapping correctly.
So I downloaded buildtools put inside my server files when I run the .bat file it keeps saying its outdated???
no
I have no idea how I got it to work last time lmao
build when you think its necessary
Reflect stuff
cant reflect anything if i dont know how to get the variable in the first place lmao
so you don't know which method to invoke or which field to use?
Where can I post a server.log snippet for some help understanding my error
?paste
correct
trying to get a WorldDataServer object (which is in 1.16)
i just havent found the location of where it could be lol
use buildtools then read the source code
of org.spigotmc:minecraft-server:1.16
do any plugins work with 1.16
could be
im just upgrading something
thats not my own, wanted to keep the 'intended' way i guess
nmsWorld.getWorldData().setGameType(mode);
looks like setting a gamemode for a specific world?
whenever i try to run anything it loads then disappears
I've upgraded now BungeeCord + Lobby + Creative + Survival to 1.16.1 - so everything runs fine, except on Creative and Survival. If I join the lobby, the Scoreboard will be displayed perfectly - if I want to join one of the other specified servers, I get this error message (and I never saw it
) https://prnt.sc/t5z98j and also, the other servers have a different objective name 
It looks new for me
whoops, posted this in general not Help
[22:31:47] [Server thread/ERROR]: No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Properties:{level:"0"},Name:"minecraft:water"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:dirt"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Properties:{level:"0"},Name:"minecraft:water"},input_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:grass_block"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:always_true"},output_state:{Properties:{snowy:"false"},Name:"minecraft:grass_block"},input_predicate:{predicate_type:"minecraft:random_block_match",probability:0.2f,block:"minecraft:grass_path"}}]; No key position_predicate in MapLike[{location_predicate:{predicate_type:"minecraft:block_match",block:"minecraft:water"},output_state:{Name:"minecraft:spruce_planks"}
i suppose i could open up the craftbukkit folder in buildtools now that i think about it? still unsure of that...
wait lemme build the spigot jar
by Spigot as a dependency
60-70% people use PaperSpigot
and some people use craftbukkit as a dependency, some use spigot-api, spigot jar, paper jar
Its not even opening now
ok
the cmd just flashes open and closes
for once i can say i am actually frustrated
powershell???
well so far i've found that WorldDataServer can reside in the WorldServer object as a field so ill use reflections now i guess :/
link me
does buildtools need installed git?
I just downloaded it o_O
fatal: could not open '/cygdrive/c/Users/redacted/Spigot/Bukkit-Patches/0001-POM-Changes.patch' for reading: No such file or directory
Something did not apply cleanly to Spigot-API.
Please review above details and finish the apply then
save the changes with rebuildPatches.sh
Error compiling Spigot. Please check the wiki for FAQs.
If this does not resolve your issue then please pastebin the entire BuildTools.log.txt file when seeking support.
java.lang.RuntimeException: Error running command, return status !=0: [sh, applyPatches.sh]
at org.spigotmc.builder.Builder.runProcess0(Builder.java:804)
at org.spigotmc.builder.Builder.runProcess(Builder.java:741)
at org.spigotmc.builder.Builder.main(Builder.java:606)
at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:34)
SOS
@frigid ember what command is used to run the bat file
i get that error when running build tools
chmod 777 -r?
don't just chmod 777 shit
i use chmod 755
you could just chown it
Ok so, I tried to update spigot to 1.16.1 but my server starts version 1.15.2. Is there anything else I need to do to update?
Im not sure buildtools supports cygwin
nothing has ever told you to use it
so no idea why you have it
i thought that buildtools only need java
yeah
i use git bash to exec buildtools java command (windows)
I'm getting the following - 25.06 12:40:48 [Server] Server thread/INFO Enabling dynmap v3.0-SNAPSHOT-338 25.06 12:40:48 [Server] Server thread/INFO Dynmap is disabled (unsupported platform)
I'm aware that dynmap might need to update to 1.16.1, but is there a way I alter the plugin jar to have spigot load it, see where it breaks?
now its telling me object not found lmao @frigid ember
for (Player player : Bukkit.getOnlinePlayers()) {
//Do stuff
}
flip... no idea why my wget of lastStableBuild just downloaded 1506 instead of 1508 o_O. Works now
i suppose i could remove cygwin from my PATH and try
I'm no longer able to connect to the spigot servers on my bungee network after updating everything to 1.16.1 I'm able to connect if the spigot servers are on 1.15 (with viaversion). This error shows up in the bungee console [Pempkin] disconnected with: Could not connect to a default or fallback server, please try again later: io.netty.channel.AbstractChannel$AnnotatedConnectExceptionInterestingly, I'm able to connect to a standalone spigot server I updated to 1.16.1. Is there a way to fix this
try to update the latest Bungeecord
I'm using the latest one
1508?
should be 1508
oh F
I'll re-upload 1508 to see if it wasn't
a lot of stuff have been removed
gonna repost my question: Ok so, I tried to update spigot to 1.16.1 but my server starts version 1.15.2. Is there anything else I need to do to update?
Idk just make a backup
Sounds like a setting with your host
You
ah ok
We have no idea which host you're with, the panel or anything lmao