#help-archived
1 messages · Page 34 of 1
@frigid ember You create an itemstack, and then you set the item into the inventory slot. This is how that works. The first slot is 0, everything in code starts at 0.
@haughty stag if i deleteit, the item i added just moved in slot 0, and how i move to slot 1
That's why I'm saying don't use addItem()
addItem() adds it to the next empty slot.
Use setItem() and give it the slot you want it to go into. Slots start at 0.
so the grass in the picture you gave us is in slot 1.
You want to set the specific slot of the inventory. From top left, in reading order, it is 0 to whatever. In your case 0-8.
That's why I'm saying don't use addItem()
@radiant pollen the "setItem()" does not spam in console ?
hm ok
No API methods should spam in console unless that spam was an error
if it was an error you need to share it to resolve it
Error spam isn't just there to ignore.
I'm trying to create something similar to a lobby item, to lock an item in place on the player's hotbar. I've managed to prevent the player from dragging or dropping the item, but they are still able to move the items with a number key. Is there a way to prevent this without disabling number keys in its entirety?
PlayerInteractInventoryEvent (or something like that)
nvm just InventoryInteractEvent
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/inventory/InventoryInteractEvent.html this one? do I need to do something with getResults?
how do u create an item so that when you right click it it triggers a command
PlayerInteractEvent
plugin?
wat
Sorry @velvet veldt, are you using InventoryClickEvent?
thats what im currently using
And that isn't working?
it doesnt prevent number keys from moving items
It should. Make sure its working right.
its working but, when you hover your cursor over a slot and press the number key that the item is on, it moves the item from the hotbar to the slot your cursor is on
getCurrentItem returns the item your hovering over and getCursor returns air
getSlot() returns the slot number of the slot your hovering over
I cant find a way to check for either the item on the hotbar thats being moved or check the number key the player pressed
wait a sec
i just found the getHotbarButton
.-.
I've been talking about a specific GUI but I just realized your talking about is inside their inventory.
thanks I just didnt see the method i was looking for
glad you found it
You guys got any good banking plugins for 1.12.2?
like /bank deposit (amount) and stuff
hey
I'm having an issue on my server, where the server ram steadily goes up until the server crashes, I have view distance at 6, 54 plugins, 1 world, and only around 6-10 players on my server
That is what pops up when I type /memory
any help?
and here is a list of my plugins - https://gyazo.com/e9d33917a8249d4ee8b4dfd290e637e0
Java question!
java answer
lol
:)
lol
So I've got an abstract class that is a superclass of these child classes
There is an abstract method I'm calling from another class, but I'm looking to pass different parameters in for the same method depending on the subclass, if that makes sense.
Should I pass unnecessary parameters for compatibiilty across all sub classes or build another abstract method ?
there it is
it shows us your tps, the memory distribution between your plugins
If you need context, I'll happily show some code
how many plugins do you recommend for a 2gb ram, 35 player cap server?
2gb not enough for 35 peeps lol
how much would u say
i'm not an expert I just know 35 players needs more than 2 gb of ram lol. Also u want a decent cpu
processor speed
one se
if its a vps or vcores skip it
that good?
I did /timings on and /timings paste
for the processor?
thats the link that showed
@wanton delta
not enough info
how many cores?
wht kind of cores?
server hosts love to brag about their processor
talking to me? ;o
no
@stable escarp you need to take the timings when the server is at max memory
or when things slow down
this paste is from when the server is doing fine
whenever i restart the server
it goes back to like 2.5 gb
and than it slowly rises up
mhm
until the server crashes
thats a memory leak
hmm
what im asking of you is to keep track of the memory
how can i locate this memory leak with the timing pastes?
once it gets to its max memory, use the timings paste command
you will see in the website a breakdown of percentages
there will (most likely) be a plugin that is taking up a large Pct Tick or Pct Total
it's essentials X?
if you need help finding what plugin that is, you can show us the timings
nope
and leaderheads revamped 93%
looks like this plugin is your problem
try to remove it and see if the problem persists
if not, paste new timings
@wanton delta it does say dual E5-2600 series CPUs
so i'm assuming those are the cores
@rapid yacht can you link me the website?
okay
is it normal i only have 6 people on my server and it says 2.6 gb ram being used?
or just 2 people i mean
also
essentials ?
Anybody know why a pdf file in the resources folder goes from 261kb and openable with all the contents correct to 378kb and blank when you build the jar with maven?
Is there a way to compile a specific git version of the CraftBukkit or Spigot jar? I'm tryin to regenerate part of my world, but I need to be on git-Bukkit-fc24934 for it to match..
quick question... using the worldguard ___global___ flag; thats only for a sepcific multiverse?
or an entire server
@golden vault make sure you don’t have resource filtering enabled
@lunar rivet world gen only changes across major versions
I do, I think i fixed it with <nonFilteredFileExtensions>
It didn't work the first time i tried it but did after I ran the previous lifecycles
@fleet crane it was another issue that I found, thanks
does the dependency-reduced-pom.xml override the pom.xml?
No, it’s not used anywhere by default
what would be part of the previous build that would override changes to the pom? It didn't work when i tried it first but I figure that "clean" is what made it work the second time.
You wouldve needed to clean it to remove the broken cached file
md_5, could be a good idea to make a coding-help channel to separate from all the other help. Just an idea.
New channels could be good if people actually cared. Everyone just posts their questions in every single channel. :’)
that too
and
general should be renamed to offtopic imo 🙄
general should be renamed to offtopic imo 🙄
@wanton delta "general offtopic discussion"
Will player instance still same even the player disconnected and joined again?
No, they're invalidated
^
If its not too bad on resources just save/unload any specific data you need to save for the player when they quit and remove them from your maps then add/update their player when they rejoin as needed.
Hey does anyone know any 1.15 plugins that will allow 1.8 pvp
i have one but it is to op
Is a FurnaceBurnEvent supposed to execute multiple times when fuel burns?
Should be called just once when the fuel item is consumed
@frigid ember the damage is a lot more then regular
Messages:
Prefix: '§7[§c§3AntiCooldown§7] '
Switch:
WorldEnabled: §ePvP Cooldown is §a§ldisabled §ein this world!
WorldDisabled: §ePvP Cooldown is §c§lnot disabled §ein this world!
Login:
Enabled: §aHey, welcome to the server! §ePvP Cooldown is §a§ldisabled §ein this
world!
Disabled: §aHey, welcome to the server! §ePvP Cooldown is §c§lnot disabled §ein
this world!
Setting:
AddDisabledWorld: §aOK! In the world §e%world% §athe cooldown is now activated.
RemoveDisabledWorld: §aOK! In the world §e%world% §athe cooldown is now deactivated.
Error:
WorldAlreadyDisabled: §cThis world is already §c§ldeactivated§c!
WorldAlreadyEnabled: §cThis world is already §a§lactivated§c!
PlayerNotOnline: §cThe player is not online!
NoPerms: §cNo permissions!
ConfigVersion: 5
Settings:
Messages:
UseLoginMessage: true
UseSwitchWorldMessage: true
Values:
AttackSpeed: 100
Updates:
UseUpdateChecker: true
ConsoleNotify: true
IngameNotify: true
Downgrade:
UseOldDamageValues: false
UseOldOpApple: false
DisabledWorlds:
- YourWorldName
could someone help me configure this to be identical to 1.8 pvp
well which part is not like it
Isn’t there a plugin called like OldCombatMechanics?
ok
i need help i strat my server up anf it raqndomly stops
it says
C:\Users\ayala\OneDrive\Desktop\Plugins>java -Xmx4096M -Xms4096M -jar spigot.jar nogui
*** Error, this build is outdated ***
*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***
*** Server will start in 20 seconds ***
so i feel like it good
but it just stops
it says this at the end
[Server thread/ERROR]: This crash report has been saved to: C:\Users\ayala\OneDrive\Desktop\Plugins.\crash-reports\crash-2020-04-21_23.05.30-server.txt
[23:05:30] [Server thread/INFO]: Stopping server
[23:05:30] [Server thread/INFO]: Saving worlds
C:\Users\ayala\OneDrive\Desktop\Plugins>PAUSE
Press any key to continue . . .
bad idea to run your server in onedrive to begin with
ok
but dont you think the crash report would be helpful
:\Users\ayala\OneDrive\Desktop\Plugins.\crash-reports\crash-2020-04-21_23.05.30-server.txt
upload the whole file
leave server-ip in server.properties blank unless you know what youre doing
leave it blank
where
server.properties
can we screenshare?
server ip right
dont change anything
yes leave it blank like it was
ik i was watching a video
or just delete server.properties and dont touch it
lol wait are you gonna port foward the server
yes
oh boy
did i just delte that for no reason -_-
wait so you want to port forward?
oh ur gonna need server. thjing
can i play with a friend without port fowarding
if you're on the same network, yes
in local yeah
they have to be on the same internet
no. delete the server.properties and then start the server
ok
it will come back
if you start the server
and just put your ip in and portfoward thaT ip
if you know how to
look at default gateway
umm anyone able to help? :d
what u need
then go in router settings
ok its open
there is a portforward tab
^
ok ok
3.8 gb ram being used when only me and my friend are on our server? only have around 55 plugins, and this is my timings, I couldn't find a server leak
memory*
but i can see a nasty world save
wait do i kept the server open
I was told that timings helped identified memory leaks in certain plugins if the % is high, guess I was fooled
why do you think its a leak
someone told me on here earlier
Cause it slowly increases with time until my server crashes
you need a heap dump to identify a leak
ahh rip, I have no idea how to do that sort of stuff ;-;
is the crash actually an out of memory error though
ok put the default gateway on server ip right
yes leave it blank like it was
@fleet crane
@safe mesa you are behind a router right go in its control panel
it doesn't do what you think it does and it doesnt need to be changed
delete server.properties and dont touch the file
use that gateway ip to port forward your server
ok im in my router thingy
screenshot
fr33styler what do i put for external ports
so in order to track this memory leak, i need to do a heap dump, anyone able to help me out on that?
the portforward tab
internal ports?
i just wanna know how are you doing
Live isn’t enabled on the server
IPv4 Address. . . . . . . . . . . : 192.168.0.100(Preferred)
i've just noticed
ipv4 is your local address
not gateway
ok go into dm ima show you what i see
well just do what he said to
@frigid ember Open the eula and agree to it.
anddddd
lul
where is it
specially for you to access
i suppose
i don't know at what location your server root is
just go in your server root
ubuntu 18.04
so cant i just do somethinf like nano /eula.txt
to edit it
I see no eula.txt
go to your server directory
^
the same place the spigot is
what i meant by server root was minecraft server root
See it ty
I got a question
Best way to handle subcommands on a plugin? Is abstraction the way to go?
that's what i do
Is that the conventional way to do it?
I plan to build a map that contains a string key
since maps can sort so quickly
err you know what i mean
find something inside of it lol
The key would be the name for the subcommand
Is dragon proxy enough to play
if you're sure its the same object then go for it
It would be something like this prepare for sudocode
class CommandHandler {
map<String, someAbstractObject> cmds = new HashMap<>();
onCommand(..., String args[]) {
if(cmds.containsKey(args[0].lwrcse) {
//logic
}
return true
}
}
Pretty much the subcmds would be a subclass of someAbstractObject class
You get the drift. Just not sure this is good convention
Trying to stay consistent with widely accepted ways to do things for readabillity across projects that are both mine and not mine
never heard of it
you could just do
Map<String, CommandExecutor> cmds;
@thorny ledge doesn't have to be an abstract object class
Ok
generally you implement CommandExecutor
Yeah, that's what I meant. No idea why i said extends lmao
it's an interface so wouldn't make sense to extend it xD
Well in this case at least
its how I usually do my commands, just make a base command, then stick all the rest into a map and just use the map to call which ever one I want
i have a question
It'd be nice if the API had a built in way to handle sub commands
we just might have an answer
Thanks for the feedback btw, Glad to see a general trend for a way to do this
Well, I am not entirely sure what Optifine does modification wise. But I do know most of it revolves around reducing effects and what not as opposed to modifying the client to be more multi-threaded
mojang should integrate and maintain optifine in the vanilla mc version
oof
Mojang was willing to buy optifine 😉
really?
but after some debate, the Optifine devs felt it be better that they keep it separate
yeah this was like back in 2015? I think
^ 😂
Best way to handle subcommands on a plugin? Is abstraction the way to go?
@thorny ledge I handle commands and arguments with abstraction
^
i want some default logic
for example for tab
my subcommand is more of a subcommands
aka 1 command can have like 3 inputs
ok
Can someone help me
yes
sir
just open up mc and go see if mindustryreborn.ddns.net is up
wait ima check the port
why
nah
you check yourself
what if you try getting our ip and some sus shit
25565
i dont have access to a pc dn
Rn
what if you try getting our ip and some sus shit
@frigid ember then dont play multiplayer is that what ur saying
The only thing i can do with ur ip is geolocate u
you
test
your
self
ok fine
just that ip looks very untrusted
u have a subdomain xd
your server is up
requires a 1.15 client though
but it is online
Ok good
how much ram should I need for a survival server? its one of the gamemodes in my bungee server
im replacing it instead of factions since i heard people play more survival and also it would take less ram and allow me to make more hubs and servers for other gamemodes
Am i doing this wrong
Shouls i make a folder called DragonProxy then run the jar in there?
@frigid ember
If you put the jar in a folder that is not the plugins folder it will not be runned
It says that is a development build and that it may contain bugs so maybe in the future is fixed
@frigid ember
In the plugins folder you put the .jar files
Then the jar files should create their own folders to put their files
Well this is what i got from running the jar
And the server gave me an error when i started it with the plugins folder like this
Oh i think im not done
am i supposed to do this in the plugins folder
i think im retarded
is it not a plugin
am i retarded
can someone tell me what to do
@high root
no its not a plugin
It doesn't say where to run it so I supose you have to run it in the server folder
isnt dragonproxy that compatibility thing with java and bedrock edition?
You shuld do this from a pc
I believe you're thinking of Geyser @bronze marten
dragonproxy may be another, but I have used Geyser
Is there a way to place Structure files (from a structure block) in a BlockPopulator?
Geyser seems better yeh
this is a download of the mvn build container
they want you to build the jar yourself
for structures, is there a way to load and insert a structure block/Minecraft structure, or am I better off exporting as a schematic and just using the WorldEdit API?
Is there a way to place Structure files (from a structure block) in a BlockPopulator?
@knotty karma https://www.spigotmc.org/threads/structure-util-nms-schematics.199250/
https://www.spigotmc.org/threads/tutorial-example-handle-structures.331243/?__cf_chl_jschl_tk__=85455842678cfb5cc5befff704036d0de5a649c6-1587543687-0-AUyd58xt6VeLipOk2iZNVK9oSLNeVQ4e85gff0O23llZ5DV-LK-26-4qMIPO-oMrVClNIeinSA8I3xkbJnF6zfwFAZn70XX-c9Q5kv6-OA7ky0EMzPSJg1ycxYB8we4Ni0yYuFO2G03RswaPT0l1Yd17Ac4rhk2yCDxp0IO7WekwUhCSmJQTT2-IZRkq_5R23VW_iVt5dbZRUYwI9mDBbxXhoF3dkkTsDFCF5c7VfhUAsI1R6Cdu6-nDhu-WHx_8DOdOEUqC2nEyb5YqEfNJuy1crlB8h_oYqtyhKkjpHBT_UBibCS4gZ4J5cm2Gdcw0lM6s_nVG_miMcVNbLfDOwjk
ah, thanks!
Nemo, your personal search engine
Hello anyone able to help me please?
What was your problem?
Can i DM you its way too many errors
@vale slate what?
post them in a pasting website like pastebin or hastebin
okay
@vale slate what?
@high root It looked like someone asked a question and you are replying with 2 links
nothing, I just found it funny
Quick Question.. shuld Spigot folder be in Root dir on mincraft server folder
If you go to the spigot forum and you search the questions, most of the replies are just links to other threads that asked the same question or a https://es.lmgtfy.com link
Quick Question.. shuld Spigot folder be in Root dir on mincraft server folder
@viscid star what?
@vale slate So this is my setcommand thing which sets the spawn and adds data to the config https://hastebin.com/cesizoyeyu.java
Im trying to get it so when the player joins i want them to go to that location if i have it on = true
https://hastebin.com/ewabofajuq.cs
ERROR i get https://hastebin.com/amasalobon.nginx
are you familiar with reading stacktraces?
no
so this bunch of errors says nothing to you?
Caused by: java.lang.NullPointerException -> Something is null
at org.evrstnetwork.core.Events.onFirstJoin.spawnTp(onFirstJoin.java:40) ~[?:?] -> Class and line of your error
I just wanted to know what I need to explain to you
https://hastebin.com/ewabofajuq.cs this is the class @high root
i need MORE HELP
but Nemos explanation is great
oops one sec
how do i op a player
@high root https://hastebin.com/vowutuvidu.java
I think your location in the config is null
@lyric jungle I been looking at your code and I sow this
player.teleport((Location) this.Main.getConfig().get("spawn"));
But Location implements ConfigurationSerializable so you can just use
player.teleport((this.Main.getConfig().getLocation("spawn"));
^
I think your location in the config is null
@vale slate Probably
@lyric jungle can we see the config file and the paths in your plugin?
ye
slowchat:
int: 0
chat_muted: false
AutoSpawn: true
spawn:
==: org.bukkit.Location
world: world
x: -555.425291245561
y: 65.0
z: -171.62818025829407
pitch: -1.9609617
yaw: -2.7291484
Is it a new trend to capitalize variables
my Votifier is not Working i have GAListener and it says 0.0.0.0
It seams i have a server ready
well then have fun
thx.
but i get problems with the server commands.
locate mullcom
[10:40:17] [Server thread/INFO]: Incorrect argument for command
[10:40:17] [Server thread/INFO]: locate mullcom<--[HERE]
this is not a mc structure
well the locate command is for vanilla mc structures
true
Syntax
Java Edition
locate <StructureType>
yes
anybody know what geyser is?
yes but "mullvom" is not a mc structure
its my user name
anybody know what geyser is?
@frigid ember I think is a proxy so java and bedrock players can play in the same server
i wanna ask if u can op a bedrock player who connected through it
its my user name
@viscid star are you a mc structure
Syntax
Java Edition
locate <StructureType>
@viscid star This command only works with VANILLA structures, custom structures probably won't work
cos then the server shld see the player as just a normal player
ahaaaa
So can u op him
so how do i find user then?
rather simple, you can't without plugins
from the console
then nope
now help me
my java acc name is dstormm
So when i connect thru geyser i shld be able to op dstormm
and get op on my phone
is this correct?
@viscid star probably with some intense execute comands you can find the coordenades of a player
Do you have the same names in both acounts?
It was for @frigid ember
ViaticalPlot643 on mobile
@frigid ember you need to op this name
Hi, I'm looking for someone who can do custom command / hide that can only be activated in designated regions (for events)
Dm me
just get like another world and have ppl connect to rhat
Hi, I'm looking for someone who can do custom command / hide that can only be activated in designated regions (for events)
@rain cloud What does the command do?
He wants to hide whole areas of land and show them only when events occur
@high root Hides all players
Pretty sure itd be easier to use a multi world plugin
And have the players go to the other world during events
@high root Hides all players
@rain cloud Can't you use plugins that do that but only use the comand in events?
But if im not wrong geyser will change my name to Dstormm when i log in
@vale slate
like I said, Idk how it works in the moment
how cna i set a lore for an enchantment book ??
Hi, I'm looking for someone who can do custom command / hide that can only be activated in designated regions (for events)
@rain cloud this should be asked on the forum
how cna i set a lore for an enchantment book ??
@proper bison Same as every item
^
@high root ive neer done it before
I have just been warned for tagging a lot of people wtf
yes
nemo ive never had too add a lore before ?
@high root ive neer done it before
@proper bison The plugin page is pretty self explanatoy. Use /hideall to hide the players, /showall to show them
nemo ive never had too add a lore before ?
@proper bison
List<String> lore = ...
ItemMeta meta = book.getItemMeta();
meta.setLore(lore);
book.setItemMeta(meta);
How do I check if the player's inventory and armor is empty?
I have problem with /vote plugin
Hey Staff i need some help please! ii bought ShopGUi+, i got -12$ in my paypal but i didnt get the resource
How do I check if the player's inventory and armor is empty?
@old barn https://www.spigotmc.org/threads/solved-checking-if-an-inventory-is-empty.79230/
Hey Staff i need some help please! ii bought ShopGUi+, i got -12$ in my paypal but i didnt get the resource
@frigid ember when did you buy it?
Minecart minecart = (Minecart) world.spawnEntity(spawnLocation, EntityType.MINECART);
30 mins ago
well wait some time
this is supposed to spawn a minecart, right?
yes
because it does nothing in my case
are there any conditions that need to be given?
depends on how you are using it
at the moment you are assigning it to an object, but if that object isn't used then it doesn't do anything
assigning an object reference doesn't always invoke the method you are referencing unless it is in some code to invoke the object.
but it all depends how you have it coded too
because that can be at the top of the class and it does nothing until you call minecart in some method
even if i just invoke the mothod without assigning the result
nothing happens
i was able to tp players to the minecart though
but it was invisible
set it to visible?
well it wasn't invisible, just didn't spawn. Its quite possible you are spawning it in the incorrect world
might want to check your world object and ensure you are referencing the correct world you are trying to spawn it in
one moment I'm trying it out
instead of using the world object could do
plugin.getServer().getWorld("whatever world it needs to be in").spawnEntity(loc, EntityType.MineCart);
or that
Location can have the world omitted just fyi
so it is possible to spawn an entity in another world because the world object is specifying a world other then what the players are in
the spawn thing works perfectly
therefore, tping players to the spawn location would take them to the location but not in the same world lol
so that is why I said ensure your world object has the correct world reference you are trying to spawn in entities
also, other plugins can interfere with spawning in entities
instead of using the world object could do
plugin.getServer().getWorld("whatever world it needs to be in").spawnEntity(loc, EntityType.MineCart);
@keen compass That seemed to work
Thank you 😄
are you reassigning the location after tping
so I was correct, your world object you are referencing wasn't using the correct world. I would bet you might just find those minecarts in another world 😛
be hilarious if one of your players stumbles upon many empty minecarts somewhere XD
ah then maybe not then, but who knows you could have sent them to the nether or the end unless you don't have those worlds
maybe xd
at least in the end odds are they vanished because they were spawned over the void lol
What event would I need to use to make custom crafting? I assume something about placing items in the pattern view, but I cant really find what Im looking for.
Oh yeah, you are right. Thank you.
PrepareItemCraftEvent
CraftItemEvent
don't do with events
just depends on what exactly you want to happen and how you want it to happen. Easiest way is to just create a custom recipe
Can I make custom materials? I see the link you shared, uses materials for the ingredients, but in my case one of the ingredients is custom.
Material is a enum, so no you can't add custom bukkit materials
you need to use NMS for this
You cannot make entirley new items as this is all server side
since 1.14 you can with resourcepacks attached
even then its not exactly a new item
oh really?
resourcepacks just makes use of an existing item that isn't commonly used to create custom items
that is true
But that is advanced stuff
Will the code below work well?
public boolean hasIntersectingRegion(ProtectedRegion region) {
return region.getIntersectingRegions(regions.getRegions().values()).isEmpty();
}
Why wouldn’t it?
test it
Maybe he asked for the quality side...
oh
What does PaperSpigot do that makes it more optimized than spigot?
don't open up that jar in here
lol
What does PaperSpigot do that makes it more optimized than spigot?
doesnt care about some restrictions
and less stable
just b ecause we are in spigotmc doesn't mean we should suc spigot's dic
and proned to breaking vanilla mechanics
and thats why a friend had to switch from paper because plugins kept dieing
then its the plugins
and you base your opinion off of a friend?
urgh
try it yourself before assuming
So?
Try it yourself
PaperSpigot lets you modify some settings
in the paper.yml
that can improve performance
whoopy yey
the way entities are spawned
let me make a plugin in 5mins that does the same
and stuff
u cant start disrespecting it
so helpful
wow
/title command exists
i can make that in 1 minute
u can't just say "oh i can make same in 5 mins2
na
any fork of spigot could potentially be better then spigot itself, but it all depends on your use case. Eventually once you get a super large server you will need your own custom fork anyways 😉 But it does no use to compare forks to spigot here though. The advantage of spigot is that it is more reliable since it is the upstream of pretty much all forks unless a fork decides to go off and do their own thing.
I won't "need" one
Hey, I'd like to know how to block crafts on spigot, anybody know how to guide me? 😄
reliable
yes
that is a fact
atleast you don't lie to my face
unlike the other dude
saying it messes everything up
and his server dies
and breaks mechanics
nah
Here is the spoonfeed code ||| what dose this meening?
https://www.spigotmc.org/threads/enderdragon-not-moving-within-overworld.127559/
well it is possible that a fork can cause issue with some plugins, just all depends what that fork decides to change is all. Most plugins are built against the bukkit/spigot api and therefore have an expectation in how certain things are done
paper is a fork
yes but youc ant generalize
not all forks are the same
Paper extends and improves the Bukkit and Spigot APIs so that you and your developers have more features and functionality at your fingertips. All the meanwhile, Paper retains compatibility with plugins written for Spigot and Bukkit.
FACT
Paper contains numerous improvements and optimizations resulting in a significant improvement in performance. Paper also includes the next version of Timings, enabling you to quickly find out what's slowing down your server.
FACT
sometimes not always the case, for instance their async chunk loading caused problems with plugins that didn't expect chunks to be loaded in such a manner
ok
I mean thats logical
what else should they do about it?
their async loading is able to be TOGGLE DOFF
in their YML
SO?
all you must do is set it to false
and it won't do that
man you like skn papers dck dont ya?
?
10mins of cringe fanboy
I am not entirely sure what exactly you are trying argue here. I am just stating some facts in why it isn't always wise to use a fork of spigot. But it really comes down to your use case. Yes I agree that some forks could be more optimal and others not so much so.
I was trying to spread some facts about paper
I was saying paper's optimizations
and this stellrow says all his plugins die
because of paper
and it breaks mechanics
that is straight up lying
That is not ok.
You might like spigot more, but keep it factual
@frigid ember
Paper modify some stuff so it no longer work in a manner which some plugin, in the edge case, expected
FACT
he said ALL
PLUGINS
DONT WORK
and die
omg
and he hasn't even tried it, he bases it off of his friends' opinion.
Ah well, I just willy nilly switch from Spigot to paper and nothing really break
FACT
"and thats why a friend had to switch from paper because plugins kept dieing" "all"
well I don't recall stellow saying all plugins, just the plugins his friend tried
which could be 5 plugins, 2 plugins or even 10 plugins
doubt
it was 2 in particular wich players loved
I doubt all them mess with the async chunk loading
or even more than 2
ok, if you don't like it is ok
But it does not mess with vanilla mechanics, what do you mean
1 in particular being armored elytra,combining chestplate with elytra
I am not refuting that paper can be more optimal, what I am stating is that it does have the ability of screwing up some plugins due to what they do change though. They can't account for all plugins being compatible just what is most commonly used.
I doubt the armored elytra is because of paperspigot
Alright
But it does not messup the vanilla mechanics
hard to say really, I mean they have so many changes done that it is hard to go through each change and actually see if there is a vanilla mechanic that has been changed which wouldn't surprise me if there is.
I mean some of mojangs code is indeed terrible
mojangs code has nothing to do with paper
|| a lot of Mojang's code is terrible||
btw, my question was what optimizations does paper do to spigot and make it more optimal, he says they break mechanics
Well, that question is best asked in the paper discord/irc areas rather here
Hi! Anyone know how to block crafts?
get the preparecraft event and cancel it
mojangs code has nothing to do with paper
@frigid ember that's false
they are complaining about paper
that mojangs code is bad
paper is not responsible for mojang's paper
so your statement is false
oh it's meant that way around, I understand
well then ban his username
he was my username
he was my username
@whole grove not possible if your server is in online mode
wanna help me test my anti autoclicker
@frigid ember sorry, but I don't have time for that
Not in online mode
If you have found a way to bypass mojangs auth, congrats
i am an anticheat dev
and jouned with this ip without bungee and lobby
That's not online mode..
bungee
@whole grove then you messed it up if it's possible to join internal servers from the outside
The back end servers have their authentication system disabled in that setup, so, no, those are not online mode servers, really
and jouned with this ip without bungee and lobby
@whole grove you need to block these ports
100% sure it;s happend
mfm still n o?
Yes, against the offline mode back end servers
also happend my friend server
Not against an online mode server
when you set up bungee
well, you messed up your firewall
You're dense
yes, but you need to protect your backend servers with a firewall
i think it;s firewall
then you need to block the ports to the outside
all ports your spigot servers are running
If people can login to your servers behind bungee, thats a security issue because you literally disable the authentication system on those servers
^
If you can even see the "enable ip forwarding!", Your setup is broken
i dont know much sys admin
If everything is on the same machine, then there is literally 0 risk unless you're stupidly exposing stuff to the external network
you should know about these things if you are using a proxy like bungeecord
i got only one dedictaed server
If that's a dedi, use the ptero0 interface for all the spigot servers
eletorni what's that ptero0 interface
it's a network interface that ptero creates
So you can bind the servers to a network adaptor which is not exposed to the world
where can i found this?
on iptables
you can create standard IP allocations against that the IP address on that interface as you would for any adaptor, e.g. like the one that has your actual IP address on it, meaning that you can just let everything communicate over that
acf can be used in premium plugins right? given that it uses the MIT license it can be used for commercial purposes. Where would I include the license?
you need to include it visible for the user
Guys who knows how to send an animation packet with the left hand, is it possible server side?
I am only able to send with right hand
what integer value do I need to send with left hand
I wrote I file in the plugin folder with the credits in, that should be ok
I have 0 for right hand, I tried 1 for left hand and the client seems to display the taking damage animation
btw I am sending this using the PacketPlayOutAnimation
packet
^
I am modifying the b integer
if I set it to 0, it sends the arm animation packet
with right hand
I wanna send with left hand.
- Generally not a good idea to link to material which was DMCA'd out of existance
well read the nms package and think about it and try everything out
nice bedrock edition guide
- idgadamn
Best we got outside of running over all the source
You should look at it
Especially if you don't look at the client
tru
And like, why look at the source of others did and documented it for you?
so you can see what spigot did
the server yall suk
and are in
yea
what spigot did
well you still should look into the source for understanding what it does if you want to increase your performance
It's not best to look at 1.8 source
no 1.8 protesting
stfu
ignore the version, what version i use should not be relevant in the discussion
Well you said left hand so I assume you're using 1.15?
Especially not using a repo that violates a DMCA.....
Protocol has changed between 1.8 and 1.15
is it public
yes
so use it
instead of having version protest
answer the question!
you still make yourself culpable in that case
instead of saying use this, dont do that, do that dont use that version
i just wanted the integer value
We tried to but then this happened 😅
such a simple q
well there is no left arm in Mc 1.8
ok
i thought there was
so its only client side
i see
weird mojang didnt make it possible
for left handies
🙂
😛
well it is a 1.9 feature
@frigid ember I don't see the point of asking here if you are going out right refuse suggestion from people who actually experience with protocol stuff.
Hey, here's the nice document you should look at to get started.
"Nah, i'm going to look at obfuscated, uncommented code."
That is kinda offensive.
Whaaaat
I did not ask for your opinion, I just asked a simple question
And you lead me to a whole homepage
To "relearn" everything
mfm answered it
its over
sorry, I don't know you can't click a link
We literally told you to go look at the wiki which has all that info
could we stop offending eachother
The protocol spec is listed on the homepage, as well as a link to the versions page for history if you wanna go take a look at an older version of the proto
its over
it appears someone is in a bad mood today XD
jumps on frostalf
that reminds me, I need to go feed my kitties 😄
ok
1272, ~, 1144 || what dose this is ~
tilde is current position ~
sup man
np
a bit strange i did this in server cli
ok
Hey ! I what's the strenght on PotionEffectType ?
( https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html )
Thanks
np
heh
@dusty topaz there's all sorts of non descriptive, non professional javadocs all in bukkit api. I just came across the one for fire blockdata the other day and just smfh
ok?
haha
then you code your own version
if you're so salty about it
smfh
shakemymotherfuckingonmymomasgiantbigassforhead
Now I remember why I don't talk here... Thanks for reminding me, @frigid ember
This doesn't usually happen 😅
np
I have another question, how do I ensure recovery when an enchantment is performed via an enchantment table? I'd like to remove the fact that you can get the enchantment Unbreaking
er, not sure
No okay it work
I believe you could also listen for PrepareItemEnchantEvent and change the offers
I think too
Not sure if that only gets the visible enchants though
Never messed without myself and doesn't seem to say (I think it will get all though)
But using that event is better so then it doesn't show unbreaking at all 🙂
Thank you for your answers 😄
I got a bungee server with tab_list: GLOBAL_PING but it doesn't show people from other servers...
I got a tablist plugin on the spigot servers but I removed that once and it still didn't work so that's not it
@zenith siren I had to get BungeeTabListPlus and use the dynamic size option https://github.com/CodeCrafter47/BungeeTabListPlus/wiki/Dynamic-Size-Tab-List
Yea, need a plugin for that
Mojang modified how the tab list stuff works a good few years ago which kinda broke that feature in bungee
Is it hard to make it in my own already existing plugin?
what is the command /kit (kitname) in dotted from
for example the dotted form of /kill is minecraft.command.kill
You mean the permission. That depends on the specific plugin you're using.
Use google, the first result contains this:
You need both of these
- essentials.kit
- essentials.kits.*
You should also have a look at this file, if you wanna see the 'best practice' ;D
https://github.com/essentials/GroupManager/blob/master/src/globalgroups.yml
best practice