#help-archived
1 messages · Page 2 of 1
but in your case, you want to do "localhost instead of the "111.111.111.111" "222.222.222.222" because you are hosting on the same server
XD
the only thing that i need it it's
type the real ip of my dedicated server
and not 127.0.0.1
now when i try to connect directly to the spigot server i won't let me in
that would accept all ports yeah
yeah, you should allow the connection between spigot and bungee
@crimson raft thank you so much, tho
npnp ^w^
hehee
tbh who doesn't lol
if you want to allow non premium players on your server skinsrestorer is a must.
non premium
is that what people call "pirates" now?
I like alex and steve
^
How do I fix this on every single item it shows numbers at the end like this one (#0339)
F3 + H
I think it's from the item id.
Oh I thought it was a server thing
Check to see if it works
you update
?
How can I add a space in between rank and username as well as the chat symbol > to a »
format: '{DISPLAYNAME} {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
#format: '&7{PREFIX}&r {DISPLAYNAME}&r &7{SUFFIX}&r: {MESSAGE}'
group-formats:
default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
Use .replace for the >
or just
Set it to the >>
Oh wait thats essentials
Just set it and change the yml formatting
Im in the config.yml for essentials
So yeah
just set it to that symbol
what would I replace in it though
ayo
In the config
format: '{DISPLAYNAME} {MESSAGE}'
format: '{DISPLAYNAME} » {MESSAGE}'
what about adding a space in the rank and username'
Is md_5 the only owner?
Of the discord? Well, a discord server can only have one "owner" who can delete it etc
What are the benefits of paperspigot?
Is paperspigot better than spigot?
Depending on what you wanna do, it is as good as spigot or better
It’s wayyy faster on 1.13+
Owner of spigot
I mean it wont matter whether your lobby server is a spigot or papoer one
It seems easy
Because paper is a fork which adds additions to spigot
The people of paper take spigot and add what they want
Yes he is
But why doesn’t normal spigot adds those improvements too?
Stupid
Is md_5 the owner of spigot?
@frigid ember he is the owner of the website, the discord and many more things but to say he is the owner of spigot as the server is a bit wrong
Wrong?
Spigot is open source, so technically I think its not owned by one person
Thats not right, thats where licenses matter
Yeah I'm not an expert on licenses
Is md_5 his real name? 😂
He puts it togheter when a new mc version comes in then he is the owner
In general, if you write the code you own the copyright.
And everyone can contribute (can write code for spigot)
And what happens when he resign?
Then someone else takes over it like the devs from paper. It is open source and as long as Spigot's license allows it, you can do what you want with the code like for example continue it
For some reason only on my server skins dont show
online mode disabled?
WHere would I check
server.properties
yeah thats it
How can I fix this I deleted the kits and stuff from Essentials already but this is still happening
I can not accept my confirmation email it just keeps throwing an error.. i have also tried resending another link and every time it just errors and says my account is not confirmed
SpigotMC - High Performance Minecraft - Error
Security error occurred. Please press back, refresh the page, and try again.
just ask your question.
every time someone sends a message in chat they can't see their message pop up. death messages and commands still show but not chat. anyone know why?
probably another plugin of yours
i havent added any new plugins since it started happening
list them
what's harbor
oh wait
u need vault
for luckperms to work
and essentials need dat
theyve been working without it... but alright
https://sourceb.in/7179529d70
Trying to get the player from the ServerSwitchEvent in BungeeCord.
is there a question there
Yes sorry, I am trying to get the player from the ServerSwitch event and it's erroring.
@random rivet Get EssentialsChat.
its definitely a method
make sure your bungee is up to date
also if you imported the bungee source code your IDE may do weird things without lombok
Well I added the javadoc dependency and that didn't do anything. I am currently using maven I am using Lombok but don't know how to integrate it here.
Using Eclipse should lower your credit score; who's with me?

i haven't looked for a few years until now, are there any free anticheat plugins for spigot? lol
NCP is the only one that comes to mind
- that support 1.15.2
does NCP not?
as n tities
on the jenkins there's a bleeding 1.13 build from 2018
I think one server I play on for 1.15 still uses NCP. Mostly cuz I had to add support
does the server run 1.15 or is it just using viaversion?
it runs 1.15
oh i guess i could just run an older version for my kitpvp server lol
What are the chances that the packet-handler channel to not exist? 🤔
hi guys
Where spigot for support java 11? 1.15.2
public void onDisable() {
for (Player p : Bukkit.getOnlinePlayers()) {
if (p.getOpenInventory().getTitle()
.equalsIgnoreCase(getConfig().getString("gui-title").replaceAll("&", ")))
p.closeInventory();
}
}
,
how can i solve this it gives me an error exactly on this .replaceAll ("&", "error ->))) <- error
just compare colored inventory names? and if you don't wanna do that then strip the color from the getTitle(0 and compare to just a name.
The type of error is important.
if you read the stack trace and see what kind of error it is, it should help you figure out why
like are you getting NullPointerErrors?
Where spigot for support java 11? 1.15.2
what change?
I don't know
I mean... it should just work lmao
BubbleChat not supported for Java 8
Work Java 11
Your minecraft version doesn't determine which Java version you're using. If you host the server at your house on a personal computer, just install Java 11 on the computer. If you pay for an online host, then try the plugin and if it doesn't work, that means they are using Java 8. Simply email their support and request them to upgrade you to Java 11.
@dusky herald exactly where is it missing? I am new at this
("&", "")))
@valid zenith spigot is not java. There is no spigot build that contains java 11. You need to contact the server host if you’re being hosted or update your own java
add another " behind that one and see if that works for oyu
you
** .equalsIgnoreCase(getConfig().getString("gui-title").replaceAll("&", ""))) **
^ That works too. I pretty much forgot the entire API after not messing with it for years.
I managed to solve this error but now it gave me many more errors, do you know how I could solve this error?
@crimson marsh i would recommend watching some java tutorials or spigot tutorials. Thenewboston has some lovely java ones
is that they gave me permission to modify a plugin but I really don't know much about the new spigotAPI
It appears you also aren’t very familiar with java in general. If you’re trying to do this for an extended period, investing in java tutorials early on will save you much heart ache
.getTitle()
I can vouch on that for sure. When I first started to learn, I jumped in and realized I didn't know enough. I actually read the entire Oracle Docs on Java when I started out.
If that gives me an error, which one can I change it for?
Do you have links to the tutorials? I don't understand very well why I speak Spanish and I don't know much English
I stopped programming in java more than 6 years ago
Those are two tutorial series (for java and spigot respectively) you could look at
Hello, i use essentials and luckperms for the managing of my server, i have set prefixes for all the roles and i can see them in chat just fine, but i cannot see them in tab (in tab its just player names like in vanilla) how to show my prefixes in tab?
I will take it into account, I want to program in java again, because I am about to open my server and I could use unique plugins
@stone spoke I just googled it for you; hopefully it's accurate but
go into the config.yml file for Essentials
and set ** change-playerlist: false **
to ** change-playerlist: true **
^
@stone spoke is ** change-displayname: true ** set as well?
It should be set to true.
it is :(
ok
@frigid ember
@valid zenith The server does not support Java 11. It supports Java 8.
The plugin will not load, your server provider does not support Java 11.
@frigid ember It does not. However, if he's using another plugin to change the display name it could be interfering with his prefixes.
now it doesnt show prefixes even in chat
and now its confirmed it didnt work.
** # Disable this if you have any other plugin, that modifies the displayname of a user.
change-displayname: true ** that was why I suggested it;
What are you using to add your prefixes/suffixes?
Essentials? Or the permissions plugin?
and are you using EssentialsChat?
does ** add-prefix-suffix: true ** have an # infront of it?
can i send the tutorial i wasdoing the prefixes after?
He has them enabled.
does ** add-prefix-suffix: true ** have an # infront of it?
@dusky herald it does
It was the first suggestion I tried to give him.
He said it was set to true.
to ** change-playerlist: true **
@dusky herald
lol
its true
I found a fix
i am not doing the ranks using essentials guys i have done it after a luckperms tutorial
its in the Youtube comments
lmao
change-displayname: true
and set add-prefix-suffix: false
trying blackveileds fix now
Change-display name:true
Change-playerlist: true
Add-prefix-suffix: true
Add-prefix-in-playerlist: true
Add-suffix-in-player list: true
do all those
Yeah; I double checked more
Do what I just suggested; hopefully that actually takes care of it.
hey do these have to be 1 spot away from hashtag or nah?
If it doesn't work, then it could be another plugin interfering like SystemEncryption is saying.
The hashtag has to be gone.
When this option is enabled, player prefixes will be shown in the playerlist.
This feature only works for Minecraft version 1.8 and higher.
This value of change-playerlist has to be true
add-prefix-suffix: true
#add-prefix-in-playerlist: true
and no spaces before it
so like this?:
They're comments, to help you read what each field means.
The server ignores the lines with hashtags.
So you would have to change it to this
When this option is enabled, player prefixes will be shown in the playerlist.
This feature only works for Minecraft version 1.8 and higher.
This value of change-playerlist has to be true
add-prefix-suffix: true
add-prefix-in-playerlist: true
ok now did this without hashtags
starting server
ok idk why it was like that by default then
ok
i just had an encounter with mentaly unstable person (not me) on the server
IT WORKS
thx guys love you
the essentials setspawn sets spawn for the entire server when they join right?
hmm ok thx
So I read multiple times that spigotmc.org has a REST api, e.g. to check for plugin updates, but I couldn't find a documentation about that api.
Can somebody send me a link?
thx
but the api link there is legacy, is there a new one?
okay, thanks!
starting my first server, writing my first plugins, worldpainter voxelsniper and world edit for build tools, adventure gamemode with destruction downgrading blocks rather than destroy. Any advice on building a plugin stack, and server admin considerations? Its a lot to take in and options to make my vision come to life.
@mossy condor https://spiget.org/ might also be worth a glance
@frigid ember do updates work for premium plugins too
i think there would be an authentication issue, right?
I am confused
Let's say I have a premium plugin
I push an update on the premium
and I want all users with the plugin to update.
How will a request work
Since it's premium?
but the author would need to integrate the updates is what I think sys is saying
There is only one requirement: Your resource must be uploaded on SpigotMC.org.
👀
I know, I am not dumb.
Well kinda.
Well, so premium cannot use this API.
I guess that is not the only requirement.
??
Ohhh
It notifies if there is an udpate
update*
what does that mean
version number string most likely
ok
@frigid ember You seem like you know some stuff; with the UUID Rate Limit imposed by Mojang, is this limit factored each time we use the getUniqueId() method?
I'm not having any issues with it, but I never noticed anything about it until now after going over the Spigot documents.
So, I'd like to plan ahead if I have to at least.
for a Player
or is it only concerning OfflinePlayers?
Alright good. That's how I was thinking it would function.
That makes more sense now, I just wanted to double check, I dont want to go back over my code and make a ton of changes because of that limit implementation.
So I shouldn't really even have to worry about it then.
I usually do that anyways, just for logging purposes mainly.
use Mojang api
make a request
why not?
Oh, what is it
??
What is the rate limit?
ELLO
am i dreaming?
600 requests every 10 minutes
oh my fans are coming
and the discord server is still here?
the server is requesting, not your client
ignore that
IK
IGNORE
BYE
u saw nothing
IK
so add a cooldown
or
queue system
E.Z
or just dont allow them to use a command to access an offline player request
use a database?
but how do u store theyre uuid
to store them in the database
u need to request
EXACTLY
I SAI DTHAT
so add a queue system
if u don't want spam
queue system to queue the bans for request needs is optional
incase u are a larger server
who knows
be prepared for anything
@frigid ember btw can u help me think of a new username
I mean, I dont personally see a need for that anyways.
even for a larger server...lol
but do you expect 600 requests in 10 minutes alone?
OPTIONAL
lol
@frigid ember help me think of a cool short catchy untaken name
urs is nice just kinda long
600 requests is a lot. Most people wouldn't really run into the issue anyways.
Especially since most servers are small.
u sound like a hard cool coder wannabe
but can't you tell he was abusing this?
lol systemencryption
slowdown for the command is another solution
but
lets say its not abuse
and u really need to ban
and u cant
so queue it
for the next 10 minutes
purple
NOT PURPLE, but that's a theme
not like an already famous yter name
purple, and maybe a drug
im a lit kid
DankCoder
I know, thats why I suggested it.
yo can y'all add me
y'all some lit people
@frigid ember maybe fitting to my pfp#
if purple aint enough
CokeNCodes
no
if its a drink
must be a drug
coke doesn't sound lit
help me please
maybe a name with purp in it
loL
BihCoduh
no, i sound like a md_6 wannabe
what does md mean
alchohol is for losers
md_5_2nd
its weak af
drink purp
nah, i got a job
purpyderpy
no faze is gay
no contract guy with fortnite player
tfue
messed up contract
nah no faze fam
purpie sounds gay
like a kid
so...why did you name yourself Retrooper
just seems like you replaced ard with rooper
Please move all non-help chat to #general
I used Inventory#removeItem and then I get this error in console, it doesn't even say what's wrong. How do I fix this?
https://pastebin.com/cVxZ07VG
It's being called from a PlayerInteractEvent
XD
The item the player has in their hand when PlayerInteractEvent is being called
Yea, the idea is that if the player uses a wand 3 times it "breaks". It fully works but I get that error at the 3rd time when the items is being removed from the inventory
So first I check if the item they use to click is the wand
Sure
I still get the same error when I do this
Oh
Nope
Still get the error
🤔
Hello everyone ! -- Brewery Plugin
I can't make Red wine (in version 1.15.2), warts nether don't want to go into the cauldron!!
Do you have any ideas for making this alcohol?
Thank you ^^
(I'm also looking for the tea recipe if you have :3)
Sorry, I don't know anything about the Brewery plugin.
Does anyone know how to see if the player has an X amount of empty slots in their inventory
couldn't you iterate over the inventory and check if the itemstack is equal to null or AIR
Yea I just thought of that
Stupid me
I'm still having trouble with https://pastebin.com/cVxZ07VG
I'm removing the item in the main hand of the player when PlayerInteractEvent is called
Changing items in the event it's being used is messy
Fairly certain there's a bug report for that particular one already
Any work around?
I mean there's the same workaround for like every event bug ever
Put it in a scheduler!
If anyone is down to help
oh
posted it in the wrong section
oh really?
How do I make it so the player can see their own arm swing then?
hmm
Could somebody be so kind as to jump in general-2 voice chat and answer some of my stupid questions?
I use a resourcepack, maybe there's a way for me to do an animation
Hey, can we get a copy of the invite link in the announcements channel, pinned, so we can easily grab and share without digging through web pages?
Or even just in the #announcements topic, yea. I'll let md know
Gracias Choco, Lax :)
anyone wanna help me so i made a scoreboard and it pretty simple and for some reason people without any op cant see it
alr
this is the MainClass.java: https://hasteb.in/zodofesa.java
and this is the EventsClass.java: https://hasteb.in/oxihamib.swift
or actually only i can see it not even people with ops
cuz when i take off op from my self i still see it
oh whatt how should i do it
@frigid ember
where is that
im new to coding in this
so del the whole for loop
oh alr i get u
To do custom timing handling i should just make a nee CustomTimingHandler and call startTiming on it? And that will make it show up in timing?
I'm trying to convert an enum constant to an entitytype. Here is what I have so far.
public EntityType toEntity() {
for (MobType type : MobType.values()) {
switch(type) {
case BLAZE:
return EntityType.BLAZE;
case CHICKEN:
return EntityType.CHICKEN;
case COW:
return EntityType.COW;
case CREEPER:
return EntityType.CREEPER;
case IRON_GOLEM:
return EntityType.IRON_GOLEM;
case PIG:
return EntityType.PIG;
case SHEEP:
return EntityType.SHEEP;
case SKELETON:
return EntityType.SKELETON;
case SPIDER:
return EntityType.SPIDER;
case ZOMBIE:
return EntityType.ZOMBIE;
case ZOMBIE_PIGMAN:
return EntityType.PIG_ZOMBIE;
default:
return EntityType.CHICKEN;
}
}
return null;
}
For some reason it only returns EntityType.IRON_GOLEM.
Am I doing this the right way? The method is in the enum and I want to be able to get an entitytype by doing something like MobType.COW.toEntity()
it's only iterating 1 time as you are returning the value
In another class I did MobType.COW.toEntity() and it returned EntityType.IRON_GOLEM.
Dont use a loop
Use this as the parameter for the switch
Just remove the loop
And use my msg above ^
Or, if it's an enum, make EntityType an argument
No reason for loops or switches at all
No need for pram either
Thanks for the help, it should work now. I don't know why I used a loop but I looked online for something similar and it said to use a loop.
public enum MobType {
COW(EntityType.COW);
// etc.
private final EntityType type;
private MobType(EntityType type) {
this.type = type;
}
public EntityType toBukkitEntityType() {
return type;
}
}```
What I'm saying is, there's no reason for switches
yeah that looks much cleaner
Thats an even more elagant solution yes
everything should be working once i test this. you guys are great, thanks for the help 🙂
Not sure why you're mimicking the EntityType constants to begin with though. If you want to restrict the constants used (i.e. for a configuration), create an EnumSet of valid entity types for which you can compare against
If anyone knows
To do custom timing handling i should just make a nee CustomTimingHandler and call startTiming on it? And that will make it show up in timing?
Of course, you removed the loop
for(Player online : Bukkit.getOnlinePlayers()){
if (online.isOp())
online.setScoreboard(s);
}
i think that was the method
yea so what was i supposed to do thats what @frigid ember tolf me to do
not just ops
then remove the isOp method
and just use
for(Player online : Bukkit.getOnlinePlayers()){
online.setScoreboard(s);
}
oh i just noticed
you are doing this on join
Change
online.setScoreboard(s);
}```
to
```online.setScoreboard(s);```
Yeah
i just noticed
oh really
i thought u said the whole loop
he removed the entire thing
including that
@frigid ember I recommend you doing a course so you dont run into more trouble, try SoloLearn, is for free.
He removed the loop and the methods inside, thats what i meant with the entire thing
oh
i didnt see that
damn
im dizzy
im too bad at correcting code, sorry
he said it wasnt showing after doing that
how can i create spigot server?
To download it follow this https://www.spigotmc.org/wiki/buildtools/
there are better ways to make a scoreboard
like only giving the scoreboard once then update the score that needs change instead of everythinh
teams are amazing
To fix flickering i just update/reset scores
it actually works, anyways i think teams its better and more optimized, never tried it out
I'm having a really weird issue with MySQL
exception spam on 1 project
but the exact same code works on the other
Thank you SystemEncryption and knat, I made it work
And also 1o ther guy
Exceptions are thrown when trying to get the GAMES value
Sorry Can't find his nickname
and then this
Yes and Yes
looks like this
Should still work
I'm using my SQL Util
which is a bit redundant but whatever
no
@frigid ember ```java
online.setScoreboard(s);
when i do this it doesnt know what online is
any idea why build tools for 1.12.2 compiles with errors?
or is it a map error
wait let me see
Anyone have ideas on this? https://www.spigotmc.org/threads/no-gravity-velocity-on-custom-entity.426615/#post-3739599
I got a general question, currently doing some modifications to my Command framework library, when does spigot register HelpTopics for commands in the knownCommands map in the SimpleCommandMap class?
I need help
ok
using the ultimate homes plugin how do I make it so everyone can use the commands
Ex. Luckperms or PermissionsEx
I need that plugin?
Yes
which one do you reccomend is better
Every server should have a permissions plugin, just to manage things easier
I pernally prefer LuckPerms, because it has a nive web editor to manage the perms
So you dont have to do it ingame :3
I spoke to the Pex developer some time ago, they are (or were) doing some pretty neat things
Spigot?
However, I in LuckPerms team. It has everything you would probably ever need.
I have multiverse on the server as well
can Luckperms allow permisison to that as well?
so how do I set it up? I am new to the whole plugins thing, and I want to learn java
You won't need to use java to set it up
Have you added LuckPerms to your Plugins folder and restarted your server?
Em, depends on what type of server you are running.. But ideally yes.
How do I make it so the ultimate homes command is for everyone?
Give the permission in the default group
do I find that in the config file?
Luckperms by default saves the permissions on a database that is not meant to be read by humans.
You can use /lp editor, this will give you a link where you can see all the groups and users you have
it says that there was an error loading the data
Can you send us your complete console log?
?
Where does it says that there was an error loading the data?
when I click the /lp editor link
Interesting.. You just did a fresh install and didnt change the config at all, right?
yea
Which is your server version?
Not really, but you can try
You can always try adding permissions via the in-game commands
How to make another ranks as default with groupmanager
You mean that you want to give another rank to all players like the default one?
yes
Oh, interesting
Im not sure if you can make that, but you can make so the default group has the same permissions as another group.
What plugins are best for a survival server
With /mangaddi, you can "Add a group to another group inheritance list" @unborn wolf
A lot of Songoda's plugins add a custom taste to survival.
However, the basic/common ones are essentials, vault (if you want to add economy), a shop plugin, mcmmo (for abilities), a protection plugin.
All depends on where you want to guide your server
I have the ultimatehomes, multiverse
one player sleep
do you know how to make it so when players spawn in it sends them to a "hub" worlld ???
i made a cell to my prison server but when normal people buy them they cant place or break even that i made the flags block-place and block-break
allow
@proper sapphire https://www.spigotmc.org/resources/tponjoin.5861/
@unborn wolf Which messege do users get when they try to break/place blocks?
and @proper sapphire u said earlier you were interested in learning java a TP on join would probably be a good starting point
teh standard one "Hey! Sorry, but you cant okace that block here"
Check the flags of the __global__ region
With /rg flags __global__
it does just say this when i do that https://gyazo.com/ade95403de901589bc4d75eb1bf48b36
either that
what do you mean
When you do /rg flag __global__
Here it says "flags" https://worldguard.enginehub.org/en/latest/regions/commands/#flags
¯_(ツ)_/¯
Ohhh
Nvm
i have never made a region called global
itaquito no there are no console errors
The __global__ is a default region that includes all the world
There was an error loading the data. Either the URL was copied wrong or the session has expired.
Please generate another editor session with /lp editor.
is what I get
awd
ok
non of the pages says global
no
why is that ?
what do i have to wirte otherweise
cuz i have a regian that cover all my build
called MainC
My main region MainC has thease flags
i cant see that
arr
hereh
that is my main region
There is your problem
It has priority 1, it ovverides all of the regions that are inside it.
2
oh
Then it should be fine :3
However, try allowing the breaking of the blocks there for a second and see if the problem is solved
If not, then you know is not that
What happens when you do /rg info in the cell?
And you say the member cant break blocks..?
/lp editor wont work
i have now allowed build in the cell but still not work
Itaquito how does one do that
I have items you get when you join to access menus but essentials overwrites it with the stone starter toold ive went into the Essentials plugin and deleted the kits.yml 3 times already but the file just keeps coming back and I cant get rid of the stone tools.
@frigid ember On the Essentials config, set this to ''
# Do we want to give users anything on first join? Set to '' to disable
# This kit will be given regardless of cost and permissions, and will not trigger the kit delay.
#kit: ''
kit: tools```
/lp group (group) permission set (perm) true/false
or
/lp user (user) permission set (perm) true/false
Also, you downloaded the latest version?
/lp user <user> parent add <group>
make the grouP?
lp creategroup name
where should i buy the epicboss on sogonda or on spigot
idk where is the official author
so i need to buy on sogonda?
not on spigot?
iam right?
Yes you would need to contact Songoda wherever she is selling her plugins, which is no longer Spigot.
ok ty
Why not just use MythicMobs 🤔
np
Hey, so, i have a problem with the login on Spigotmc.org, it tells me to confirm my email, eventhough i already did that. Could somebody help me possibly?
Okay, so i had to open the link i a new tab
Weird
Well i fixed it
Can you upload gifs in your resource thread?
Or do I have to make a youtube video? Imgur and Gyfcat gifs aren't going in
The book exploit was fixed in 1.8.3 right? don't exist in 1.8.8 right?
sounds like a guy keep crashing a 1.8.8 server i have with a book exploit
Is there a way to get my donnor rank over here?
You know where the book exploit doesn't exist?
1.15.2
The latest version
You know. Where all the bug fixes have been made
yea most servers are 1.15.2, wondering to update that one server self alot complain about it as them want 1.8 pvp and don't want 1.8 pvp plugin as its not same :/
@dusty topaz Gifs are possible, but they seem to be finicky. You can upload them directly to Spigot through the upload images option, but they have to be small
(Like, really small. I had to shrink mine)
And, unlike URL images, I was never able to get URL gifs to display correctly when I tried
I've just made a youtube video instead
I wanted it to automatically play but I suppose if people care enough they'll click
Thank you though
What time is it for md_5 rn?
Friday, April 3, 2020, 5:19 AM
@dusty topaz for future reference, iirc, your gifs will not render if they exceed 5mb
Hi, can anoyne help me test my plugin? I'm looking for developers that can give suggestions on what other features I could implement
I'm going to message you the ip address of my server
oh i'm looking for people that could help me test the plugin
it uses a lot of packe bandwith so it's hard to test if it works for people with high ping
ok thanks for the suggestion
btw the plugin i'm working on is a fully working touchscreen display in minecraft that can update with a frame rate of 5-20 fps and can convert bufferedimages to map colors realtime
i have implemented a markup language for it that consists of buttons, image renderer, background renderer, music player, item shop, gif player
idk what else i can implement
i will try to record one now
dang that discord file limit
can't send a video
will try to compress
here is a quick example video of what the plugin can do
if you have some suggestions on what i should implement i will try
@analog swift I'll see what i can do about Orebfuscator ^-^
@sharp hollow Thanks man :)
Tried fixing it myself but just got errors
Is this going to be a library devs can hook into?
@frigid ember thanks a lot
I have some cool ideas I could use that for
yes i will try making an api for it
What’s the name of it so I can be on the lookout for it’s release?
it will be called interactiveboard I think
it will be a premium plugin at first but i hope to make it open source and only some premium version but basic rendering with api will be free in the future
I was just going to say, 👏 o 👏 p 👏 e 👏 n 👏 👏 s 👏 o 👏 u 👏 r 👏 c 👏 e 👏
😂😂
Yeah I'm planning to make it open source
I mean u can take the road like libsdisguises
kinda like chromium / chrome
premium, but open source
so ppl need to buy to get support, but developers can complile themselves if they really dont want to pay
I wanna add quests in the future to McRPG and this would be an amazing thing to have, like just a quest board where people can go and accept and turn in quests or something
There’s so many cool plugins I wanna support 😂
yeah you will be totally able to do that
Some guy was showing off his world generator plugin he’s working on and when that drops I wanna support that too
Idk I just love all this innovative stuff that’s coming out
@sharp hollow Seems like orebfuscator actually was updated to 1.15, just had to download from github 🙂
@final verge there is kind of a problem where gif playback can use too much packet bandwith for people with bad internet
and idk what to do for that
@analog swift Only seeing 1.13 releases on that github
Can you lower the resolution if they have bad internet?
you can make it smaller
but you can't make it smaller and upscale
since upscaling will be server side anyways
idk how minecraft packet compression works maybe if it finds a 2x2 area of same pixels it just compresses it
so it might save bandwith
what do you mean?
when i started learning about maps
i use a simple thread about maps made by stef i think
it teaches you the basics
but the default implementations are limited to 2 fps
https://www.spigotmc.org/threads/tutorial-maps.136533/ this is the thread i started with
but you can't achieve a lot of things if you go bukkit api route
i only use bukkit api for scheduling tasks and seeing if a map is in render distance currently
@sharp hollow https://github.com/TeamWuffy/Orebfuscator/tags
i think she uses the same color converter as me
yo
Problem: after I giving permission they work, but rejoining makes permission gone.
Code: https://pastebin.com/3pNTbSZa
any idea why extending entity wither on 1.12 goes invisible?
it happened for armorstands too
aparenty not extending it works
🤔
that's pretty sweet pog https://canary.discordapp.com/channels/690411863766466590/690470011382267904/695341869994999968
I should use that in my RPG plugin too
Hey!!
I've added a small feature in a plugin which lets you use color codes in Anvils. It uses the PrepareAnvilEvent and it works flawlessly. Now I also added a few special item with colored names. What I want is to check if one of those special items has been put in an anvil and then set the cost super high so it will basically be impossible to change those special items. Now I know how to change the cost but I can't seem to find a way to see which item has been put in the anvil. The only thing that I can see is the result item, but I don't need that for this.
This is for normal items?
If so, you could detect if they have a special NBT tag i.e. customItem or something, If they do then disallow the name changing
But how do I check the NBT if I can't seem even get the input ItemStack
embed test- https://i.imgur.com/UwXW2zF.png
ok, embeds aren't available, rip
NBT-API has a lot of examples
NBTItem nbti = new NBTItem(item); // item being an ItemStack
// Setting nbt
nbti.setBoolean("customItem", true);
// Getting nbt
nbti.getBoolean("customItem");
// Turning it back into an itemstack
nbti.getItem();```
No
In the PrepareAnvilEvent event
He's on 1.12.2 iirc
if spigot dont have what you need, write a pr xD
Real quick. I'm setting the repair cost super high so players can't change those items but is there also a way to change the inventory to this mode?
https://gyazo.com/dd841659615e2c1cef7f58a46d1331a1
👺
No embeds
An internal Error is a fault on the plugins behalf
you should contact the developer about the issue
Message him on Spigot
The forum
Then there's not much hope to be honest
Hey fellas, what's the best way to get a random block? Would I just iterate through the material list
Wait, so Inventory#getItem(Integer) doesn't work?
I could just wait a tick to get the items
._.
I'm going to try it, we'll see
Hey fellas, what's the best way to get a random block? Would I just iterate through the material list
Get a random Material constant from the values()
ensure isLegacy() is false and isBlock() is true
Else, re-roll for a random material
For what?
Hi friends! I have a doubt. I don't want free code, I just want to understand why my code does not work.
The objective is pretty simple, I want a command that can enable or disable the flight for a player.
So this is what I've written so far:
if (sender instanceof Player) {
if (args.length == 0 || args.length > 1) {
return false;
} else {
if (args[0] != "off" && args[0] != "on") {
return false;
} else {
Player targetPlayer = (Player) sender;
if (args[0] == "on") {
targetPlayer.setAllowFlight(true);
return true;
} else {
targetPlayer.setAllowFlight(false);
return true;
}
}
}
}
First I test to see if the CommandSender is an instance of Player, then I test to see if the player has used too much or too few arguments (given only one is needed), and if he has used the correct amount of args (one). It seems simple for me, but I can't understand why that doesn't work. Thank you for you time tho ^^
Get the item in the input slot from the inventory?
The PrepareAnvilEvent events called before the items set in the AnvilInventory. - SystemEncryption
I technically don't need it but it would be helpful :p
ah, the $1000 fork
What's wrong with PrepareAnvilEvent#getResult()?
uh... that's the result
basically want the anvil in the first slot (and possibly 2nd slot)
@crimson monolith your method is wrong
I'm confused
for letting them fly i believe
I'm foncused by your confusion
i could be wrong
Why is the item not present in the slot?
If you get slot 0, it should get that item
I see, but why is it wrong tho? When I simply do "targetPlayer.setAllowFlight(true);" it works normally
😠
That doesn't make any sense. The event is called as a result of it being in the inventory
oh
Doesn’t spigot deal with events in pre
So the events get called before anything is changed
I have made a test to see if it's not catching the arguments or anything, but it seems it is.
So if the ingredients aren’t exposed then getting them from the inventory might not do anything
Prepare event would have to have been initiated by an item in that slot, so if it's not there, it's called too early and someone should PR a fix
uh.. I suggested you to do it 😏
sighs and adds to list
I will, thank you!
o
guess DiamondDagger has decided do it then 🤔
I don't want the player to simply fly, I want it to be Able to fly if he wants it.
I just have a list of PR’s I wanna do 😂
That's what I'd thought
I will make more tests and come back with the answer if I find it out I guess :/
Also wait what version of MC is this issue occurring in
I never said it didn't work 😳
pretty sure... as early as 1.8.8? (wasn't added in 1.8.8)
or atleast somewhere in 1.12.2
PR’s will only change 1.15.2, I’m not sure if they get sent downstream to 1.14? @subtle blade do you know more on how that works?
We don't revert changes to previous versions, no
Just latest because latest is all we support
that's still good
Aight that’s what I thought
If you can confirm issue happens on latest spigot then I’ll get to it sometime this week hopefully
I'll probably do that on the weekends
I have homework and other stuff to do....
Indeed
Ping me and remind me or dm me once you confirm 😘
Alright :D
Problem: after I giving permission they work, but rejoining makes permission gone.
Code: https://pastebin.com/3pNTbSZa
Can someone help please? 🥺
Also you didn't label the PlayerQuitEvent as @EventHandler
Soooo It seems that using args[0] == "off" does evaluate to false even if args[0] is "off";
But args[0].equalsIgnoreCase("off") works.
because == is referential equation
Thanks for the explanation!
public static Main plugin;
``` is just a no go.
```java
Player player = (Player) sender;
Player p = player.getPlayer();
if(((args[2].isEmpty())) {
``` how can it be empty if you earlier checked for the length?
@fluid basin im kind of new in making plugins and I really try to figure it out by myself but most of the information I can get are about PEx, LuckPerms.
About the middle one, you are not checking if your sender is an instance of Player. So it can crash if called from a console or command block
@peak marten It's in the [...] 😅
someone what know a guns plugin (1.14.4)?
If it is there, it's in the wrong position
Quick question. is it possible to change a block permanently in the world. As an example: make all dirt blocks into cobblestone
you are still casting it without checking
I just paste the most important things that can affect at not saving permissions I gave by command.
CrackshotPlus is an addon for Crackshot
G r a c i a s
Because me and my friends mess around with plugins and I think it would be interesting to gradually change random blocks.